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

＃メインビジュアル
背景のみCSSで固定

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

#MV{
	background-image: url(../img/MV_BG.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	height: 350px;
	position: relative;
}

#MV img{
	object-fit: contain;
	position: absolute;
	width: 100%;
	height: 100%;
}

@media (max-width: 599px) {
#MV{height: 15rem;}
#MV img{object-fit: cover;}

}


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

＃セクション section
 -背景カラー設定(top分のみ)
 -secton wrap はcmn_layput.cssで設定

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

.top-bg01{background: #f2faff;}
.top-bg02{background: #dbeef7;}




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

＃h2設定

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

/*h2タイトル横表示*/
.top-ttl-wrap01{
	text-align: center;
	line-height: 1;
	padding-bottom: 1.5rem;
}


/*h2タイトル縦表示*/
.top-ttl-wrap02{
	line-height: 1;
	padding-bottom: 0.8rem;
	display: flex;
}

.top-ttl-wrap02-txt{margin-left:0.5rem;}



/*h2タイトル飾りCSS*/

.ttl-point{
	position: relative;
	height: 35px;
	width: 35px;
	display: inline-block;
}

.tpt01{
	width: 22px;
	height: 22px;
	border: 3px solid #6db2d1;
	border-radius: 2px;
	position: absolute;
	top: 0;
	right: calc(50% - 10px);
}

.tpt02{
	width: 20px;
	height: 20px;
	background: #95ddff;
	border-radius: 2px;
	position: absolute;
	top: 17px;
	right: calc(50% - 20px);
}

/*h2タイトル*/

.top-ttl-h2{
	color: #2a3f5e;
	font-size: 1.4rem;
	padding: 0.2rem 0;
	line-height: 1.3;
}

.top-ttl-span{
	color: #3296c6;
}

@media only screen and  (max-width: 834px) {
.ttl-point-SP{right: -10px;}
.top-ttl02-wrap {margin-left: 2.1rem;}
.top-ttl-wrap02-txt{margin-left:2rem;}
}


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

#縦割りレイアウト
 -#Message
 -#Message from the dentist

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

.top-partition{
	display: flex;
}

.top-partition-left{
	width: 30%;
}

.top-partition-right{
	width: 68%;
	padding-left: 2rem;
	box-sizing: border-box;
}

.top-partition-img{
	border-radius: 5px;
	overflow:hidden;
	background-image: url(../img/top_mess_image.jpg);
	background-size: cover;
	width: 100%;
    height: 14rem;
    background-position-x: 21rem;
}


@media only screen and  (max-width: 834px) {
.top-partition{	flex-direction: column-reverse;}
.top-partition-left{	width: 100%;}
.top-partition-right{
	width: 100%;
	padding-left: 0;
}
.top-partition-img{
	margin-top: 0.8rem;
	background-position-x: -5rem;
    background-repeat: no-repeat;
}
}




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

＃countermeasuresa
新型コロナウイルス感染対策

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

.top-counter-list{
	margin-top: 1rem;
	display: flex;
	justify-content: space-between;
}

.top-counter-list li{
	width: 31%;
	display: flex;
	align-items: center;
	border: 2px solid #6db2d1;
	box-sizing: border-box;
	border-radius: 4px;
	padding: 0.8rem;
}

.top-counter-list img{
	width: 40px;
	height: 40px;
}

.top-counter-list p{
	color: #3298c6;
	padding-left: 10px;
	padding-bottom: 0;
	font-size: 0.7rem;
}


@media only screen and  (max-width: 834px) {
.top-counter-list{flex-direction: column;}
.top-counter-list li{width: 100%;margin-bottom: 0.5rem;}
}


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

＃feature
選ばれる4つの理由

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

.top-feature{
	display: flex;
	justify-content: space-between;
	padding: 2rem 0;
}

.top-feature li{
	width: 23%;
	background-color: #FFF;
	position: relative;
	padding: 1.5rem 1rem;
	box-sizing: border-box;
	border-radius: 8px;
}

.top-feature span{
	position: absolute;
	top: -10px;
	left: calc(50% - 15px);
	background: #6db2d1;
	border-radius: 3px;
	color: #FFF;
	font-weight: bold;
	text-align: center;
	padding: 5px 10px;
}

.top-feature img{
	width: 88px;
	height: 88px;
	padding: 0.5rem 0 0.6rem;
	margin:0 auto;
	display: block;
}

.top-feature h3{
	color: #2a3f5e;
	font-size: 1.1rem;
	text-align: center;
	padding-bottom: 0.6rem;
}

.top-feature p{
	padding-bottom: 0.5rem;
}

@media only screen and  (max-width: 834px) {
.top-feature{
	flex-wrap: wrap;
	padding: 0;
}

.top-feature li{
	width: 48%;
	margin-bottom: 1.5rem;
}
}


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

＃service
診療案内

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

.top-service-list{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.top-service-list li{
	width: 32%;
	margin-bottom: 1rem;
}

.top-service-list a{
	display: block;
	text-align: center;
	padding: 1rem 0 0.2rem;
	background: #FFF;
	border-radius: 5px;
	box-sizing: border-box;
	box-shadow: 0px 5px 0px 0px #b2ccd9;
	transition : all 0.5s ease 0s;
}

.top-service-list a:hover{
	background: #f2fffe;
	box-shadow: 0px 3px 0px 0px #91ccea;
	transform: translate(0px,2px)
}

.top-service-list img{
	width: 60px;
	height: 60px;
}

.top-service-list h3{
	color: #2490c0;
	font-size: 1.1rem;
	transition : all 0.5s ease 0s;
}

.top-service-list p{
	padding: 0;
	font-size: 0.8rem;

}

.top-service-list a:hover h3{
	color: #1a98d0;
}

/*-----------------------------
＃やじるし
-----------------------------*/

.top-service-list-arrow{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
    right: -41%;
}
.top-service-list-arrow::before,
.top-service-list-arrow::after{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}

.top-slaA::before{
    width: 17px;
    height: 3px;
    background: #8bdbd7;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.top-slaA::after{
    left: 1px;
    width: 12px;
    height: 12px;
    border-right: 3px solid #8bdbd7;
    border-bottom: 3px solid #8bdbd7;
}

@media only screen and  (max-width: 834px) {
.top-service-list li{width: 47%;}
.top-service-list-arrow{right: -37%;}

}