/* style */
@media only screen and (max-width: 1000px) {
	.case-detail .inner {
		padding: 0;
	}
}
.case-detail .breadcrumb {
	margin-bottom: 0;
}
.case-detail .visual {
	background: #020202 url("../img/case_visual.jpg") no-repeat center center;
}
.case-detail__title {
	position: relative;
	background: #222;
	zoom: 1;
}
.case-detail__title:after {
	content: "";
	display: block;
	clear: both;
}
.case-detail__title .image {
	width: 71%;
	float: left;
}
.case-detail__title .image img {
	width: 100%;
	height: auto;
}
@media only screen and (max-width: 479px) {
	.case-detail__title .image {
		width: 100%;
		float: none;
		box-sizing: border-box;
	}
}
.case-detail__title .text {
	width: 29%;
	float: right;
	color: #fff;
	padding: 70px 0 0 3%;
	box-sizing: border-box;
}
@media only screen and (max-width: 1000px) {
	.case-detail__title .text {
		padding: 20px 0 0 3%;
		font-size: 12px;
	}
}
@media only screen and (max-width: 479px) {
	.case-detail__title .text {
		width: 100%;
		float: none;
		box-sizing: border-box;
		padding: 1em 0 0 0;
		border-bottom: 4px solid #8a8a7b;
	}
}
.case-detail__title .text .title {
	font-size: 24px;
	font-size: 2.4rem;
	font-weight: bold;
	margin-bottom: 20px;
	line-height: 1.4;
}
@media only screen and (max-width: 1000px) {
	.case-detail__title .text .title {
		font-size: 3vw;
	}
}
@media only screen and (max-width: 479px) {
	.case-detail__title .text .title {
		font-size: 21px;
		font-size: 2.1rem;
	}
}
.case-detail__title .text p {
	margin-bottom: 1em;
}
@media only screen and (max-width: 479px) {
	.case-detail__title .text p {
		padding-left: 20px;
	}
}
.case-detail__title .text .btn {
	position: absolute;
	bottom: 40px;
	right: 0;
	padding: 0 3%;
	box-sizing: border-box;
	width: 29%;
}
@media only screen and (max-width: 1000px) {
	.case-detail__title .text .btn {
		bottom: 10px;
		font-size: 1.5vw;
	}
}
@media only screen and (max-width: 479px) {
	.case-detail__title .text .btn {
		position: static;
		width: 100%;
		font-size: 1.4rem;
	}
}
.case-detail__body__block {
	background: #dbdad5;
	zoom: 1;
}
.case-detail__body__block:after {
	content: "";
	display: block;
	clear: both;
}
.case-detail__body__block .image {
	width: 44%;
	float: left;
	position: relative;
	line-height: 0;
}
.case-detail__body__block .image img {
	width: 100%;
	height: auto;
}
@media only screen and (max-width: 479px) {
	.case-detail__body__block .image {
		width: 100%;
		float: none;
		box-sizing: border-box;
	}
}
.case-detail__body__block .image:after {
	content: "";
	background: url(/common/img/icon-mushimegane.png) no-repeat;
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	display: block;
}
.case-detail__body__block .text {
	width: 56%;
	float: right;
	padding: 45px 40px;
	box-sizing: border-box;
	line-height: 1.6;
}
@media only screen and (max-width: 1000px) {
	.case-detail__body__block .text {
		padding: 25px 20px;
		font-size: 10px;
	}
}
@media only screen and (max-width: 479px) {
	.case-detail__body__block .text {
		width: 100%;
		float: none;
		box-sizing: border-box;
		padding: 10px;
		font-size: 14px;
	}
}
.case-detail__body__block .text p {
	margin-bottom: 1em;
}
.case-detail__body__block:nth-child(2n) {
	background: #fff;
}
.case-detail__body__block:nth-child(2n) .image {
	float: right;
}
.case-detail__body__block:nth-child(2n) .text {
	float: left;
}
.content-recommend {
	min-width: 1000px;
	border-top: 4px solid #FF4400;
}
@media only screen and (max-width: 1000px) {
	.content-recommend {
		min-width: 100%;
	}
}
@media only screen and (max-width: 479px) {
	.content-recommend {
		min-width: 100%;
	}
}
.content-recommend .inner {
	width: 1000px;
	margin: 0 auto;
	position: relative;
	box-sizing: border-box;
	zoom: 1;
}
.content-recommend .inner:after {
	content: "";
	display: block;
	clear: both;
}
@media only screen and (max-width: 1000px) {
	.content-recommend .inner {
		width: 100%;
		padding: 0 20px;
	}
}
@media only screen and (max-width: 479px) {
	.content-recommend .inner {
		width: 100%;
		padding: 0 10px;
	}
}
.content-recommend__head {
	padding: 36px 0 50px;
	font-size: 24px;
	font-size: 2.4rem;
	font-weight: bold;
	text-align: center;
	box-sizing: border-box;
}
@media only screen and (max-width: 1000px) {
	.content-recommend__head {
		font-size: 21px;
		font-size: 2.1rem;
	}
}
@media only screen and (max-width: 479px) {
	.content-recommend__head {
		padding: 20px 0;
	}
}
.content-recommend__body ul {
	zoom: 1;
	margin: 0 -1.2%;
}
.content-recommend__body ul:after {
	content: "";
	display: block;
	clear: both;
}
.content-recommend__body li {
	width: calc(100%/4);
	float: left;
	padding: 0 1.2%;
	box-sizing: border-box;
}
.content-recommend__body li img {
	width: 100%;
	height: auto;
}
@media only screen and (max-width: 479px) {
	.content-recommend__body li {
		width: calc(100%/2);
		margin-bottom: 10px;
	}
}
.content-recommend__body li .title {
	margin-top: 10px;
}


/* 2025.04.11 */

div.case-detail__body__block {
	display: none;
}
ul#detaillist {
	display: flex;
	padding: 50px;
	background-color: #f7f7f7;
	flex-wrap: wrap;
	gap: 20px;
}
ul#detaillist li {
	width: calc(100% / 3 - ((20px * 2) / 3));
}
ul#detaillist li a {
	padding: 0;
	border: none;
	display: block;
	height: 0;
	padding-top: 100%;
	width: 100%;
	overflow: hidden;
	position: relative;
}
ul#detaillist li a:hover {
	opacity: 0.5;
	transition: .5s;
}
ul#detaillist li a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
ul#detaillist li a:after {
	content: "";
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 26px;
	height: 26px;
	background-image: url(https://www.teikin.co.jp/common/img/icon-mushimegane.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}
img {
	max-width: 100%;
}



/*--------------------------------------------
■［モーダル］
--------------------------------------------*/

div.modal {
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	display: none;
	background-color: rgba(0, 0, 0, 0.6);
}
div.modal * {
	box-sizing: border-box;
}

div.modal-container {
	max-width: calc(100vw - 6vw);
	max-height: 90vh;
	width: calc(100vw - 6vw);
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 0;
	z-index: 1200;
	cursor: default;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
}
div.modal.dialog div.modal-container {
	width: 640px;
}
div.modal-container p.close {
	position: absolute;
	left: calc(100% - 36px);
	top: 100%;
	line-height: 1;
	z-index: 1201;
	width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	background-color: transparent;
}
div.modal-container p.close button {
	padding: 0;
	background-color: transparent;
	border: none;
	cursor: pointer;
}
div.modal-container div.modal-content {
	background-color: #fff;
	padding-bottom: 0;
	position: relative;
	border-radius: 0.6rem;
	overflow: hidden;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}
div.modal-container div.modal-content>div.modal-sc {
	overflow-y: auto;
	max-height: 90vh;
	padding: 10px;
}
div.modal-container div.modal-content>div.modal-sc p + p {
	margin-top: 1em;
}
div.modal-container div.modal-content>div.modal-sc p.caption {
	line-height: 1.4;
}
body.modalOpen {
	overflow: hidden;
}

@media only screen and (max-width: 479px) {
	ul#detaillist {
		padding: 3vw;
		gap: 15px;
	}
	ul#detaillist li {
		width: calc(100% / 2 - ((15px * 1) / 2));
	}
	div.modal-container p.close {
		display: block;
	}
}