@charset "utf-8";

/*---------------------------------------------

診療内容ページスタイル

-----------------------------------------------*/

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

/* ▼ページタイトルPC */
h1 {
	width: 1100px;
	margin: 0 auto 80px auto;
	background: rgba(143,195,31,0.6) url("../img/top_main_bk.png") top;
	border-radius: 40px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 44px; font-size: 4.4rem;
	line-height: 1.4;
	padding: 50px 0 40px 0;
}

h1 span {
	display: block;
	font-size: 30px; font-size: 3.0rem;
}

/* ▼診療内容部分PC */
#service_area .contents_box {
	width: 1100px;
	margin: 0 auto;
	position: relative;
}

#service_area h2 {
	position: relative;
	text-align: center;
	font-size: 23px; font-size: 2.3rem;
	width: 100%;
	margin: 0 auto 45px auto;
	padding-bottom: 12px;
}

#service_area h2:before {
	content: "";
	position: absolute;
	left: 490px;
	bottom: -1px;
	width: 120px;
	height: inherit;
	border-bottom: 3px solid #23ac38;
}

.kanja_txt {
	text-align: center;
	font-size: 32px; font-size: 3.2rem;
	line-height: 1.7;
	font-weight: bold;
	margin-bottom: 70px;
}

.service_box {
	display: flex;
	flex-wrap: wrap;
}

.service_box li {
	width: 328px;
	margin-right: 58px;
	margin-bottom: 90px;
}

.service_box li:nth-of-type(3n) {margin-right: 0;}

.sphoto img {border-radius: 20px;}

.service_box li h3 {
	text-align: center;
	padding: 30px 0 15px 0;
	font-size: 25px; font-size: 2.5rem;
	line-height: 1.2;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.service_box li h3.long {padding: 50px 0 25px 0;}

.service_box li p {
	font-size: 20px; font-size: 2.0rem;
	line-height: 1.7;
}

.service_box .morebtn a {
	display: block;
	width: 280px;
	margin: 15px 0 0 25px;
	padding: 10px 0 10px 40px;
	background: #fff url("../img/arrow.png") right 20px center no-repeat;
	box-sizing: border-box;
	color: #000;
	text-decoration: none;
	font-size: 23px; font-size: 2.3rem;
	font-weight: bold;
	border-radius: 10px;
	border: solid 1px #009f3b;
}

#top_services .morebtn a:hover {
	color: #23ac38;
	text-decoration: underline;
}

}

@media print, screen and (max-width: 767px) {

/* ▼ページタイトルSP */
h1 {
	width: 94%;
	margin: 0 auto 8% auto;
	background: rgba(143,195,31,0.6) url("../img/top_main_bk.png") top;
	background-size: cover;
	border-radius: 15px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 4.5vw;
	line-height: 1.3;
	padding: 3% 0 2% 0;
}

h1 span {
	display: block;
	font-size: 3.6vw;
}

/* ▼診療内容部分SP */
#service_area .contents_box {
	width: 94%;
	margin: 0 auto;
	position: relative;
}

#service_area h2 {
	position: relative;
	text-align: center;
	font-size: 4.5vw;
	width: 100%;
	margin: 0 auto 5% auto;
	padding-bottom: 3%;
}

#service_area h2:before {
	content: "";
	position: absolute;
	left: 44%;
	bottom: -1px;
	width: 12%;
	height: inherit;
	border-bottom: 2px solid #23ac38;
}

.kanja_txt {
	text-align: center;
	font-size: 4vw;
	line-height: 2;
	font-weight: bold;
	margin-bottom: 7%;
}

.sphoto img {
	border-radius: 10px;
	width: 100%;
}

.service_box li {margin-bottom: 14%;}

.service_box li h3 {
	text-align: center;
	padding: 6% 0 3% 0;
	font-size: 5.5vw;
	line-height: 1.3;
}

.service_box li p {
	font-size: 4vw;
	line-height: 1.7;
}

.service_box .morebtn a {
	display: block;
	width: 60%;
	margin: 3% 0 8% 20%;
	padding: 4.5% 0 3.5% 9%;
	background: #fff url("../img/arrow.png") right 8% center no-repeat;
	background-size: 12%;
	box-sizing: border-box;
	color: #000;
	text-decoration: none;
	font-size: 4vw;
	font-weight: bold;
	border-radius: 5px;
	border: solid 1px #009f3b;
}

}
