@charset "utf-8";
/*==================================================
	【サービス・施設紹介】ページ固有のスタイル
==================================================*/
h4.sub {
	margin-bottom: 40px;
}
h4.sub span {
	display: table;
	padding: 0 10px 5px;
	background: #fff;
	margin-bottom: 10px;
	font-size : 45px;
	line-height : 70px;
	font-weight: normal;
}
.txt {
	font-size: 110%;
	line-height : 30px;
}
#service .pt {
	padding-top: 100px;
}
#service .pb {
	padding-bottom: 100px;
}
#service .box {
	position: relative;
}
#service .box.bg01::before {
	content: "";
	background: url("../img/service/bg01.png") no-repeat top right/100%;
	width: 321px;
	height: 250px;
	position: absolute;
	top: -200px;
	left: auto;
	right: -200px;
}
#service .txt_box {
	width: 516px;
}
#service .img_box {
	width: 48%;
	position: relative;
}
#service .img_box img {
	border-radius: 100px 20px 20px 20px;
}
#service .img_box .img01 {
	margin-left: auto;
}
#service .img_box .img01 img {
	width: 505px;
}
#service .img_box .img02 {
	position: absolute;
	bottom: -20px;
	left: auto;
	right: 0;
}
#service .img_box .img02::before {
	content: "";
	width: 100%;
	height: 100%;
	border-radius: 100px 0 0 20px;
	background: rgba(255,255,255,0.5);
	position: absolute;
	top: -50px;
	left: -50px;
	z-index: -1;
}
#service .img_box .img02 img {
	width: 402px;
}
#service .box.reverse {
	flex-direction: row-reverse;
}
#service .box.reverse .txt_box{
	width: 60%;
}
#service .box.reverse h4.sub {
	text-align: -webkit-right;
}
#service .box.reverse .img_box {
	width: 395px;
}
#service .box.reverse .img_box img {
	border-radius: 20px 100px 20px 20px;
}
#service .box.bg02::before {
	content: "";
	background: url("../img/service/bg02.png") no-repeat top left/100%;
	width: 293px;
	height: 218px;
	position: absolute;
	top: -150px;
	left: -180px;
	z-index: -1;
}
#service .box.bg02 .txt_box {
	width: 656px;
}
#service .box.bg02 .img_box {
	width: 385px;
	background: #fff;
	padding: 5px;
}
#service .box.bg02 .img_box img {
	border-radius: 0;
}
#facility {
	position: relative;
}
#facility .bg01 {
	position: relative;
}
#facility .bg01::before {
	content: "";
	background: url("../img/service/bg01.png") no-repeat top right/100%;
	width: 321px;
	height: 250px;
	position: absolute;
	top: 0;
	left: auto;
	right: -200px;
}
#facility h4.sub span {
	display: inline-block;
}
#facility .point_box {
	background: rgba(255,255,255,.5);
	border-radius: 100px 20px 20px;
	padding: 30px 50px 40px;
	width: 980px;
	margin: 50px auto;
}
#facility .point_box .ttl {
	font-size : 35px;
	line-height : 65px;
	padding-left: 60px;
	position: relative;
	margin-bottom: 10px;
}
#facility .point_box .ttl::before {
	content: "";
	background: url("../img/service/icon01.png") no-repeat center/100%;
	width: 41px;
	height: 36px;
	position: absolute;
	top: 15px;
	left: 0;
}
#facility .point_box dl:not(:last-of-type) {
	margin-bottom: 30px;
}
#facility .point_box dl {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#facility .point_box dt {
	font-size : 20px;
	color : #AACE9C;
	width: 10%;
	transform: rotate(-10deg);
}
#facility .point_box dd {
	font-size: 110%;
	line-height: 30px;
	width: 90%;
}
#facility .company_box .box {
	width: 50%;
}
#facility .company_box .box dl {
	width: 100%;
	display: flex;
	justify-content: space-between;
	border-top: 1px solid #ccc;
	padding: 15px;
	font-size : 110%;
	line-height : 30px;
}
#facility .company_box .box dl:last-of-type {
	border-bottom: 1px solid #ccc;
}
#facility .company_box .box dt {
	width: 25%;
}
#facility .company_box dd {
	width: 75%;
}
#facility .company_box .photo_box {
	width: 500px;
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(2, 49%);
	gap: 10px;
}
#facility .company_box .photo_box img {
	width: 100%;
	object-fit: cover;
	height: 100%;
}
#facility .map::before {
	background: url("../img/service/bg03.png") no-repeat center/contain;
}
#facility .map img {
	width: 750px;
	margin-bottom: 50px;
}
#facility .movie {
	width: 750px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
}
#facility .movie video {
	width: 100%;
	height: 100%;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	h4.sub span {
		font-size: 23px;
		line-height: 1.8em;
	}
	.txt {
		font-size: 98%;
		line-height: 1.8em;
	}
	#service .box.bg01::before {
		background-size: 45vw;
	}
	#service .pb {
		padding-bottom: 50px;
	}
	#service .txt_box {
		width: 60%;
	}
	#service .img_box {
		width: 38%;
		margin: auto 0;
	}
	#service .img_box .img01 img {
		width: 95%;
		border-radius: 50px 10px 10px 10px;
		object-fit: cover;
	}
	#service .img_box .img02 {
		position: relative;
		right: 0;
		bottom: 30px;
		text-align: right;
	}
	#service .img_box .img02 img {
		width: 85%;
		border-radius: 30px 10px 10px 10px;
	}
	#service .img_box .img02::before {
		border-radius: 30px 10px 10px 10px;
		width: 90%;
		top: -15px;
		left: auto;
		right: 5px;
	}
	#service .box.reverse .txt_box {
		width: 70%;
	}
	#service .box.reverse .img_box {
		width: 28%;
	}
	#service .box.reverse .img_box img {
		width: 100%;
		border-radius: 10px 50px 10px 10px;
		object-fit: cover;
	}
	#service .box.bg02::before {
		background-size: 45vw;
	}
	#service .box.bg02 .txt_box {
		width: 60%;
	}
	#service .box.bg02 .img_box {
		width: 38%;
	}
	#facility .bg01::before {
		background-size: 45vw;
		top: -50px;
	}
	#facility .point_box {
		width: 100%;
		border-radius: 70px 10px 10px;
		padding: 25px 30px 20px;
	}
	#facility .point_box .ttl {
		font-size: 20px;
		line-height: 1.8em;
		padding-left: 40px;
	}
	#facility .point_box .ttl::before {
		width: 30px;
		top: 0;
	}
	#facility .point_box dt {
		width: 15%;
		font-size: 125%;
	}
	#facility .point_box dd {
		font-size: 98%;
		line-height: 1.8em;
		width: 85%;
	}
	#facility .company_box .box {
		width: 100%;
	}
	#facility .company_box .box dl {
		padding: 10px;
		font-size: 98%;
	}
	#facility .company_box .box dl:last-of-type {
		margin-bottom: 30px;
	}
	#facility .company_box .photo_box {
		width: 100%;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	h4.sub {
		margin-bottom: 15px;
	}
	h4.sub span {
		font-size: 125%;
		margin-bottom: 5px;
	}
	#service .pb {
		padding-bottom: 15px;
	}
	#service .txt_box {
		width: 100%;
	}
	#service .img_box {
		width: 100%;
		margin: 15px auto 0;
	}
	#service .box.reverse .txt_box {
		width: 100%;
	}
	#service .box.reverse .txt_box .txt.rit {
		text-align: left;
	}
	#service .box.reverse .img_box {
		width: 100%;
		margin-bottom: 50px;
	}
	#service .box.bg02 .txt_box,#service .box.bg02 .img_box {
		width: 100%;
	}
	#facility .point_box {
		border-radius: 40px 10px 10px;
		padding: 15px;
		margin: 20px auto;
	}
	#facility .point_box .ttl {
		font-size: 120%;
	}
	#facility .point_box dl {
		flex-direction: column;
		align-items: flex-start;
	}
	#facility .point_box dl:not(:last-of-type) {
		margin-bottom: -10px;
	}
	#facility .point_box dt,#facility .point_box dd {
		width: 100%;
	}
	#facility .point_box dt {
		margin-bottom: 25px;
	}
	#facility .company_box .box dl {
		display: block;
	}
	#facility .company_box .box dt,#facility .company_box .box dd {
		width: 100%;
	}
	#facility .map img {
		width: 100%;
		margin-bottom: 30px;
	}
	#facility .movie {
		width: 100%;
	}
}