@charset "utf-8";

header{
    height: 90px;
}
#price{
    margin-top:-60px;
    padding-top: 60px;
}

#step,#facility{
    margin-top:-170px;
    padding-top: 170px;

}
main{
    padding-top: 0;
}

main>h2{
    background-image: url(../images/service.jpg);
    background-size: cover;
    margin: 0 calc(50% - 50vw) 40px;
    width: 100vw;
    height: 300px;
    font-size: 40px;
    font-weight: 400;
    line-height: 200px;
    position: relative;
    color: #fff;
    z-index: 1;

}

main>h2::after{
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0,0,0,0.3);
    top:0;
    left:0;
}

main>h2 p{
    width:80%;
    margin: 0 auto;
	line-height: 40px;
	padding-top: 60px;
}

main>h2 p:last-child{
	padding-top: 0;
    padding-left: 30px;
    font-size: 18px;
}

main h3{
    font-size: 32px;
    font-weight: bold;
    border-left: #005c4c 5px solid;
    padding-left: 10px;
    margin-bottom: 30px;
    
}

main h3 small{
    font-size: 20px;
    font-weight: 300;
    margin-left: 40px;
}
.nyukai{
	font-weight: bold;
	font-size: 20px;
	margin-bottom: 50px;
}

.nyukai td small{
	font-size: 12px;
	font-weight: 300;
}
.nyukai th{
	padding-right: 100px;
}

.price_box{
	display: flex;
	justify-content: space-between;
}

.price_box+p{
	text-align:right;
}


.sp{
	display: none;
}

#price article p:last-of-type{
	margin: 20px 0 0 50px;
	font-weight: bold;
}

#price article p:last-of-type span{
	display: inline-block;
	margin: 0 15px 0 15px;
}

.price_table {
    width:45%;
    margin: 0 auto;
    font-weight: bold;
}

.price_table caption{
    text-align: center;
    background-color: #005c4c;
    font-weight: bold;
    color: #fff;
    height: 60px;
    line-height: 60px;
    font-size: 22px;
    margin-bottom: 30px;
}

.price_table span{
    font-weight: 300;
    font-size: 20px;
}

.price_table thead{
    border-bottom: 1px solid #000;
}
.price_table tbody tr{
    border-bottom: #000 dashed 1px;
    line-height: 70px;
}
.price_table tbody th{
    padding-left: 20px;
}
 #facility figure{
    margin-bottom: 30px;
 }

 #facility h4{
    width:fit-content;
    margin: 0 auto;
    padding: 5px 30px;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 24px;
    margin-top: 30px;
 }
.facility_table{
    width: 70%;
    margin: 0 auto;

}

.facility_table th{
    text-align: center;
    padding: 5px 20px;
    font-weight: bold;
}

.facility_table tr{
    border-bottom: #000 dashed 1px;
}

.facility_box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 30px;
}

.facility_box figure{
    width:30%;

}

.facility_box figcaption{
    text-align: center;
    padding: 10px 0;
}

#step article{
    background-color: #005c4c;
    padding: 40px 0 10px;
}

#step article ol li{
    width:80%;
    margin: 0 auto 30px;
    padding:10px 0 20px 40px;
    background-color: #fff;
}

#step article ol li:first-child p:last-child{
    padding-top: 20px;
}

#step article ol li span{
    background-color: #000;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
}

#step article ol li h4{
    font-size: 24px;
    margin: 10px 0;
    border-bottom: #000 solid 1px;
}
.sp_br{
		display: none;
	}
@media screen and (max-width:680px){

	.sp_br{
		display: block;
	}
main{
    width:95%;
}
main>h2 p{
	line-height: 40px;
	padding-top: 30px;
	}
main>h2 p:last-child{
	font-size: 16px;
	font-weight: 300;
	padding-top: 0;
}
	
.price_box{
		flex-direction: column;
	}
.price_table,.facility_table{
    width: 100%;
}
.price_box+p{
	text-align:left;
	font-size: 14px;
}
	
.sp{
	display: block;
}

.first{
	line-height: 20px;
}


.nyukai {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 30px;
}
.nyukai th{
		padding-right: 0;
}

.nyukai td{
    padding-left: 10px;
	}
.price_table{
    margin-bottom: 30px;
}
.price_table tbody th {
    padding-left: 0;
}
.price_table tbody tr{
    line-height: 2em;
}
.facility_box{
    flex-direction: column;
}

.facility_box figure{
    width:90%;
    margin: 0 auto;
}


}
