@charset "utf-8";
/*==================================================
	【サブ】ページ固有のスタイル
==================================================*/
#service {
	font-size: 112%;
}
#service .box {
	margin: 80px 0;
	position: relative;
	min-height: 535px;
}
#service .box::before {
	content: "";
	background: url("../img/service/img-bg.png") no-repeat bottom left/cover;
	width: 35vw;
	height: calc(100% - 30%);
	min-height: 350px;
	position: absolute;
	bottom: 50px;
	left: 0;
	z-index: -1;
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
}
#service .box.reverse::before {
	transform: scale(-1,1);
	left: auto;
	right: 0;
	z-index: -1;
}
@media only screen and (max-width: 1150px) {
	#service .box::before {
		margin-left: -25px;
	}
	#service .box.reverse::before {
		margin-right: -25px;
	}
}
#service .box .img {
	width: 435px;
	position: absolute;
	top: 0;
	left: 0;
}
#service .box.reverse .img {
	left: auto;
	right: 0;
}
#service .box .img img {
	border-radius: 10px;
}
#service .box .txt_box {
	width: calc(100% - 480px);
	margin-left: auto;
	padding-top: 50px;
}
#service .box.reverse .txt_box {
	margin-left: 0;
	margin-right: auto;
}
#service .box.reverse h4.sub::before {
	left: auto;
	right: -50px;
}
@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) {  /* タブレット以下 */
	#service .box {
		margin: 30px 0;
		min-height: auto;
	}
	#service .box::before {
		min-height: auto;
	}
	#service .box .img {
		width: 40%;
	}
	#service .box .txt_box {
		width: calc(100% - 43%);
		padding-top: 0;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#service .box {
		margin: 0;
	}
	#service .box::before {
		bottom: auto;
		top: 20px;
		width: 100%;
		height: 200px;
		min-height: auto;
	}
	#service .box .img {
		width: 100%;
		position: relative;
		margin-bottom: 50px;
	}
	#service .box .img img {
		height: 180px;
		object-fit: cover;
		width: 100%;
	}
	#service .box .txt_box {
		width: 100%;
	}
	#service h4.sub {
		text-align: center;
	}
	#service .box.reverse h4.sub::before {
		right: 0;
	}
}