@import url("case_list.css");

main .title_area p {
	font-size:1.8em;
	font-weight:bold;
	color:#FFF;
	text-align: center;
	line-height: 1.4;
}

main .title_area p span {
	display:block;
	color:#FFCB04;
	font-weight:bold;
	font-size:0.67em;
}

main .case_title_area h1 {
	font-weight:600;
	font-size:1.4em;
}

main .case_title_area ul {
	display: flex;
	flex-wrap: wrap;
	gap:3px;
	align-items: flex-start;
	justify-content: left;
	margin-top:0.5em;
}

main .case_title_area ul li a {
    border: solid 1px #B3B3B3;
    border-radius: 1em;
    line-height: 1.6;
    color: #999;
    padding: 0 0.8em 2px;
    font-size: 1.1rem;
    transition-duration: .3s;
}

main article {
	line-height: 2.0;
	overflow: visible;
	padding-bottom:4em;
}

main article .attributes {
	border: solid 1px #CCC;
    display: inline-block;
    padding: 0.8em 1.5em;
    line-height: 1.7;
    border-radius: 4px;
    margin:2em 0;
}

main article .attributes p a {
	text-decoration: underline;
}

main article h2,
main article h3,
main article h4,
main article h5,
main article h6 {
	font-weight: 600;
	line-height: 1.7;
}

main article h2 {
	border-left:solid 4px var(--Yellow);
	background: var(--PaleBlue);
	padding:0.3em 0.8em;
	font-size:1.25em;
	margin:0 0 0.6em;
}

main article * + h2 {
	margin-top:1.5em;
}

main article h3 {
	font-size:1.25em;
}

main article h4 {
	font-size:1.2em;
}

main article h5 {
	font-size:1.15em;
}

main article h6 {
	font-size:1.1em;
}

main .img_area {
	text-align: center;
	margin:3.6em auto 0;
}

main .swiper {
	width:80%;
	margin: 0 auto 20px;
	height: 70vw;
	max-height: 600px;
	overflow: visible;
}

main .swiper-button-prev:after,
main .swiper-button-next:after {
    font-size: 30px;
}

main .swiper-button-prev {
    left: -38px;
    color: var(--DarkGray);
}

main .swiper-button-next {
    right: -38px;
    color: var(--DarkGray);
}

main .swiper-slide {
	text-align: center;
	display: flex;
	justify-content: center;
}

main .swiper-slide img {
	height: 70vw;
	max-height: 600px;
	max-width: 100%;
	width: auto;
	object-fit: scale-down;
	align-self: center;
}

main ul.slider-thumbnail {
	display: inline-flex;
	flex-wrap: wrap;
	gap:8px;
	padding-left:0;
	margin-bottom:0;
}

main ul.slider-thumbnail li {
	list-style: none;
	width:calc((90vw - 24px)/4);
	margin:0;
}

main ul.slider-thumbnail li.current_slide a {
	outline:solid 5px var(--Yellow);
	filter: brightness(1.0);
}

main ul.slider-thumbnail li a {
	display: block;
	filter: brightness(0.5);
}

main ul.slider-thumbnail li a img {
	width:100%;
	aspect-ratio: 4/3;
	object-fit: cover;
}

main .img_area .mov {
	position: relative;
}

main .img_area .mov:before {
	content:"";
	display: block;
	position: absolute;
	background: #FF0033;
	border-radius: 6px;
	width:60px;
	height:40px;
	top:calc(50% - 20px);
	left:calc(50% - 30px);
}

main .img_area .mov:after {
	content:"";
	display: block;
	width:0;
	height:0;
	position: absolute;
	border-top:solid 8px transparent;
	border-bottom:solid 8px transparent;
	border-left:solid 16px #FFF;
	top:calc(50% - 8px);
	left:calc(50% - 6px);
}

main .img_area ul.slider-thumbnail li a.mov:before {
	border-radius: 4px;
	width:36px;
	height:24px;
	top:calc(50% - 12px);
	left:calc(50% - 18px);
}

main .img_area ul.slider-thumbnail li a.mov:after {
	border-top:solid 6px transparent;
	border-bottom:solid 6px transparent;
	border-left:solid 12px #FFF;
	top:calc(50% - 6px);
	left:calc(50% - 4px);
}

section.related {
	background: var(--PaleBlue);
	padding:3em 0 0;
	overflow: hidden;
}

.result_box > ul > li.show {
	background: #FFF;
}

#results h3 {
	font-size:1.3em;
	margin-bottom: 0.3em;
	font-weight:500;
}

#results table tr td {
	background: #FFF;
}

main section h2.tit {
	font-weight: 500;
    font-size: 1.4em;
    margin-bottom:0.6em;
    line-height: 1.3;
    text-align: center;
}

main section h2.tit span {
	display: inline-block;
	font-weight: 500;
}

main section h2.tit i {
	font-family: "Roboto", sans-serif;
	font-weight:normal;
	font-size:1.5rem;
	display: block;
	line-height: 1.2;
	color:#999;
	margin-bottom:0.3em;
}

main section h2.tit img {
	display:inline-block;
	width:1.6em;
	vertical-align: bottom;
    margin: 0.5em 0.3em 0 0;
}

#cases {
	border-bottom:solid 1px #DDD;
}

#cases > .container {
	padding:3em 0;
}

#main_content + #cases > .container {
	border-top:solid 1px #DDD;
}

#cases .container > p {
	line-height: 2;
	padding:0 0.4em;
	text-align: justify;
}

#cases .container > p.btn {
	text-align: center;
}

p.btn {
	text-align: center;
	display: block;
	overflow: hidden;
}

p.btn a {
	display: inline-block;
	font-weight: 500;
	color: var(--DarkGray);
	background: var(--Yellow);
	border-radius: 3em;
	position: relative;
	text-align: center;
	padding:1.3em 6em 1.3em 5em;
	border:solid 3px var(--Yellow);
	line-height: 1em;
	box-sizing: border-box;
}

p.btn a:before {
	content:"";
	width: 19px;
    height: 19px;
    background: var(--Orange);
    border-radius: 100%;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: calc(50% - 10px);
    right: 19px;
}

p.btn a:after {
	content: "";
    width: 4px;
    height: 4px;
    border-top: solid 1px #FFF;
    border-right: solid 1px #FFF;
    transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 3px);
    right: 27px;
}

.related ul.grid_list {
	background: none;
	padding:0;
	padding-bottom:0;
	display: flex;
	gap:10px;
	flex-wrap: wrap;
	align-items: stretch;
}

.related ul.grid_list li {
	margin:0;
	min-height: 0;
	width:calc((100% - 10px) / 2);
}

.related ul.grid_list li > a,
.related ul.grid_list li > span {
	display: block;
	background: #FFF;
	border:solid 1px #CCC;
	padding:1em;
	color:var(--DarkGray);
	height: 100%;
	box-sizing: border-box;
}

.related ul.grid_list li .img_wrapper {
	/*width:80%;*/
	max-width:160px;
	display: block;
	margin:0 auto 1em;
	text-align: center;
}

.related ul.grid_list li .img_wrapper img {
	width:auto;
	height:96px;
}

.related ul.grid_list li p.spec {
	color:#888;
	line-height: 1.3;
	font-size:0.74em;
	word-break: break-all;
}

.related ul.grid_list li p.spec {
	font-size:0.9em;
}

.related ul.grid_list li p.product_name {
	font-size:1.1em;
	font-weight:600;
	word-break: break-all;
}


@media screen and (min-width: 560px) {

main .case_title_area ul li a {
	font-size:1.2rem;
}

main ul.slider-thumbnail li {
	width:calc((90vw - 32px)/5);
}

.related ul.grid_list li .img_wrapper img {
	height:140px;
}

}


@media screen and (min-width: 768px) {

main .container {
	width: 90%;
}

main #cases > .container {
	width: 96%;
}

main .case_title_area h1 {
	font-size: 1.6em;
}

main .case_title_area ul li a {
	font-size: 13px;
}

main .swiper {
	margin: 0 auto 30px;
}

main .swiper-button-prev:after,
main .swiper-button-next:after {
    font-size: 44px;
}

main .swiper-button-prev {
    left: -55px;
}

main .swiper-button-next {
    right: -55px;
}

main ul.slider-thumbnail {
	margin-bottom: 1em;
}

main ul.slider-thumbnail li {
	width:calc((90vw - 40px)/6);
	min-width: 116px;
	max-width: 120px;
}

main .img_area .mov:before {
	border-radius: 9px;
	width:90px;
	height:60px;
	top:calc(50% - 30px);
	left:calc(50% - 45px);
}

main .img_area .mov:after {
	border-top:solid 12px transparent;
	border-bottom:solid 12px transparent;
	border-left:solid 24px #FFF;
	top:calc(50% - 12px);
	left:calc(50% - 9px);
}

main section h2.tit {
	font-size: 1.8em;
}

main section h2.tit i {
	font-size: 15px;
}

.related ul.grid_list li {
	width:calc((100% - 20px) / 3);
}

.related ul.grid_list li p.spec {
	font-size:13px;
}

}


@media screen and (min-width: 1000px) {

main .case_title_area h1 {
	font-size: 1.8em;
}

main .case_title_area ul li a:hover {
	opacity: 0.6;
} 

main article .attributes p a:hover {
	text-decoration: none;
}

main .swiper-button-prev {
    left: -77px;
}

main .swiper-button-next {
    right: -77px;
}

#results h3 {
	font-size:1.5em;
}

p.btn a:before {
	right: 29px;
}

p.btn a:after {
	right: 37px;
}

p.btn a:hover {
	color:var(--Orange);
	background: #FFF;
	border:solid 3px var(--Orange);
}

p.btn a,
p.btn a:before,
p.btn a:after {
	transition-duration: .2s;
}

p.btn a:hover:before {
	transform: translateX(10px);
}

p.btn a:hover:after {
	transform: translateX(10px) rotate(45deg);
}

.related ul.grid_list li {
	width: calc((100% - 30px) / 4);
}

}


@media screen and (min-width: 1200px) {

main .title_area p {
	font-size:2em;
	letter-spacing: 0.08em;
}

main .title_area p span {
	font-size: 0.75em;
	letter-spacing: 0;
}

main section h2.tit {
	font-size: 2em;
}

main section h2.tit i {
	font-size: 17px;
}

}