/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20210719
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root{
	--main-color: #03345C;
	--sub-color: #022541;
	--og-color: #E95A00;
	--gr-color: #5AC300;
	--noto-font: 'Noto Sans JP', sans-serif;
	--heebo-font: 'Heebo', sans-serif;
	--link-color: #005aa3;
}


*,p{ font-family: var(--noto-font); }
.flex{ display:-webkit-box; display:-ms-flexbox; display:flex; }


/*=========== index ===========*/


.index .sec10{ background: url(../img/town02.jpg) no-repeat; background-size: cover; padding: 115px 0; }

.index .sec10 .inner{ max-width: 1080px; width: 100%; }
.index .sec10 .inner > .flex{ align-items: flex-end; }
.index .sec10 *{ color: #fff; }
.index .sec10 .left{ width: 52%; }
.index .sec10 .left .title{ margin-bottom: 35px; text-align: left; font-size: 3.9rem; }
.index .sec10 .left .title .sub{ font-size: 2.3rem; margin-bottom: 25px; }
.index .sec10 .left .title .big{ margin: 0 6px; padding: 0 10px 5px; font-size: 4.6rem; color: var(--main-color); background: #fff; }
.index .sec10 .left p{ margin-bottom: 25px; font-size: 2rem; }
.index .sec10 .left p .og{ color: var(--og-color); }
.index .sec10 .left small{ font-size: 1.3rem; font-weight: 500; }
.index .sec10 .right{ width: 48%; }
.index .sec10 .right .flex{ flex-wrap: wrap; gap: 40px; }
.index .sec10 .right .box{ width: calc( 100% / 2 - ( 20px )); gap: 0 20px; }
.index .sec10 .right .box h3{ font-size: 1.5rem; font-weight: 700; }
.index .sec10 .right .box p{ font-size: 1.3rem; font-weight: 600; }
.index .sec10 .right .box .icon-box{ display: inline-flex; justify-content: center; align-items: center; width: 45px; }
.index .sec10 .right .box .text-box{ width: calc( 100% - 65px ); }
.index .sec5 .reason > * { position: relative; }
.index .sec5 .reason li:nth-child(1) figure:before{ content: ""; position: absolute; background: url(../img/reason_text.svg) no-repeat; background-size: contain; background-position: top; width: 200px; height: 200px; top: -39px; left: 5px; right: 0; margin: auto; }
.index .sec5 .reason li:nth-child(2) figure:before{ content: ""; position: absolute; background: url(../img/reason_text02.svg) no-repeat; background-size: contain; background-position: top; width: 200px; height: 200px; top: -30px; left: 5px; right: 0; margin: auto; }
.index .sec5 .reason li:nth-child(3) figure:before{ content: ""; position: absolute; background: url(../img/reason_text03.svg) no-repeat; background-size: contain; background-position: top; width: 200px; height: 200px; top: -26px; left: 5px; right: 0; margin: auto; }

@media (max-width: 959px) {
.index .sec10 .inner > .flex{ display: block; }
.index .sec10 .left{ width: 100%; margin-bottom: 50px; }
.index .sec10 .right{ width: 100%; }
.index .sec10 .right .box { width: calc( 100% / 3 - ( 30px )); }
.index .sec5 .reason figcaption{ font-size: 1.6rem; }
}

@media (max-width: 768px) { 
.index .sec5 .reason li:nth-child(1) figure:before{ width: 108%; left: -2%; max-width: 200px; }
.index .sec5 .reason li:nth-child(2) figure:before{ width: 108%; left: -2%; max-width: 200px; }
.index .sec5 .reason li:nth-child(3) figure:before{ width: 108%; left: -2%; max-width: 200px; }
}
@media (max-width: 640px) {
.index .sec10{ padding: 80px 0; }
.index .sec10 .left{ margin-bottom: 30px; }
.index .sec10 .left .title .sub { font-size: 2rem; margin-bottom: 10px; text-align: center; }
.index .sec10 .left .title{ text-align: center; line-height: 1.7; }
.index .sec10 .right .flex{ gap: 25px 10px; }
.index .sec10 .right .box { width: calc( 100% / 2 - ( 5px )); gap: 0 10px; }
.index .sec10 .right .box .text-box { width: calc( 100% - 45px ); }
.index .sec10 .right .box p{ font-size: 1.2rem; }
.index .sec10 .right .box .icon-box{ width: 35px; }
.index .sec10 .left p{ text-align: center; }
.index .sec10 .left{ text-align: center; }

.index .sec5{ margin: 0; padding: 80px 0; background-position: center top 25px; background-size: cover; }

.index .sec3 h4{ margin-bottom: 80px; }
.index .sec3 .class{ margin-top: -130px; }
.index .sec3 .class .name{ font-size: 4rem; }
.index .sec3 .class .name span { font-size: 2rem; }
.index .sec3 .class .img { height: 64px; }

.price .sec3 h4{ margin-bottom: 80px; }
 .price .sec3 .class .name{ font-size: 4rem; }
 .price .sec3 .class .name span { font-size: 2rem; }
 .price .sec3 .class .img { height: 64px; }

}

@media (max-width: 559px){
.index .sec5 .reason li:nth-child(1) figure:before { width: 110px; left: -2%; right: auto; left: -4px; top: -23px; }
.index .sec5 .reason li:nth-child(2) figure:before { width: 110px; left: -2%; right: auto; left: -4px; top: -17px; }
.index .sec5 .reason li:nth-child(3) figure:before { width: 110px; left: -2%; right: auto; left: -4px; top: -17px; }
.index .sec5 .reason{ gap: 20px; }
.blog_box2 .bottom { margin-top: 8px; }
}

@media (max-width: 420px){
	.footer .scrollTop{ bottom: 85px; }
}