@charset "UTF-8";
html{
  scroll-behavior: smooth;
}

body{
  color: #333333;
  font-size: 16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  background-size: cover;
  background-attachment: fixed;
  background-image: url(../img/bg.webp);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
  line-height: 0;
}

a{
  text-decoration: none;
}

.container{
  background-color: #ffffff;
  max-width: 540px;
  overflow: hidden;
  margin: 0 auto;
  text-align: center;
}

.img1{
  width: 100%;
  margin: auto;
  background-color: #ffffff;
}

.img2{
  width: 90%;
  background-color: #ffffff;
}

.img3{
  width: 92.5%;
  background-color: #ffffff;
}

.img4{
  width: 90%;
  background-color: #ddf1fb;
}

#banner_area{

}

#section1{
  padding: 30px 0 0;
  background-color: #ffffff;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section1-wrapper{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.section1-wrapper img{
  width: 42%;
}






.section1-wrapper .section1-pair {
  display: flex;          
  justify-content: space-evenly;
  opacity: 0;             
  transform: translateY(50px); 
  transition: all 0.8s ease-out;
}

/* ペアごとに遅延を設定 */
.section1-wrapper .section1-pair:nth-child(1).show {
  transition-delay: 0s;
}
.section1-wrapper .section1-pair:nth-child(2).show {
  transition-delay: 0.3s;
}
.section1-wrapper .section1-pair:nth-child(3).show {
  transition-delay: 0.6s;
}

.section1-wrapper .section1-pair.show {
  opacity: 1;
  transform: translateY(0);
}





#section2{
  background-color: #f5f4ed;
}

.section2-1{
  width: 100%;
  margin-top: 20px;
}

.section2-2{
  width: 90%;
  padding: 20px 0;
}

.section2-3{
  width: 80%;
}

#section3{
  padding: 10px 0 40px;
  background-color: #f5f4ed;
}

.section3-1{
  width: 80%;
  margin-bottom: 20px;
}

.section3-2, .section3-3, .section3-4{
  width: 100%;
}



/* 初期状態：透明＋少し回転 */
.scroll-rotate {
  opacity: 0;
  transform: rotate(-20deg); /* 左回転 */
  transition: all 0.8s ease-out; /* アニメーション速度 */
}

/* 表示状態 */
.scroll-rotate.show {
  opacity: 1;
  transform: rotate(0deg); /* 正位置に戻す */
}






#section4{
  background-color: #ffffff;
  padding: 40px 0 0;
}

.section4-1{
  width: 90%;
  margin-bottom: 30px;
}

.section4-2{
  width: 30%;
  margin-bottom: 20px;
}

.section4-3, .section4-4, .section4-5, .section4-6{
  width: 95%;
}

.section4-bg{
  width: 100%;
}




/* 左右から出る用のクラス */
.scroll-slide-left {
  opacity: 0;
  transform: translateX(-50px); /* 左から出る */
  transition: all 0.8s ease-out;
}

.scroll-slide-left.show {
  opacity: 1;
  transform: translateX(0);
}

.scroll-slide-right {
  opacity: 0;
  transform: translateX(50px); /* 右から出る */
  transition: all 0.8s ease-out;
}

.scroll-slide-right.show {
  opacity: 1;
  transform: translateX(0);
}







#section5{
  background-color: #e9f5ff;
  padding: 40px 0 20px;
}

.section5-1{
  width: 90%;
  margin-bottom: 40px;
}

.section5-2, .section5-3, .section5-4, .section5-5, .section5-6, .section5-7{
  width: 100%;
}

#section6{
  background-color: #97e2f1;
}

.section6-bg{
  width: 100%;
}

.section6-1{
  width: 100%;
  padding-top: 30px;
}

.section6-2, .section6-3, .section6-4{
  width: 100%;
}

#section7{
  background-color: #f5f5f5;
  padding: 40px 0 20px;
}

.section7-1{
  width: 45%;
  margin-bottom: 20px;
}

.section7-2, .section7-3{
  width: 100%;
}




/* 初期状態：透明＋少し小さく */
.scroll-zoom {
  opacity: 0;
  transform: scale(0.8); /* 80%の大きさ */
  transition: all 0.8s ease-out; /* アニメーション速度 */
}

/* 表示状態 */
.scroll-zoom.show {
  opacity: 1;
  transform: scale(1); /* 元の大きさに戻す */
}





#section8{
  padding: 40px 0 60px;
}

.section8-1{
  width: 55%;
  margin-bottom: 30px;
}

.section8-2, .section8-3, .section8-4, .section8-5, .section8-6, .section8-7{
  width: 100%;
  margin-bottom: 10px;
}

#section9{
  margin-bottom: 30px;
}

.section9-1{
  width: 100%;
}

.section9-2{
  width: 95%;
}

#section10{
  padding-bottom: 40px;
}

.section10-1{
  width: 50%;
  margin-bottom: 30px;
}



.faq-wrapper{
  width: 90%;
  margin: 0 auto;
}

.faq-content{
    margin-bottom: 10px;
}

/* アコーディオン開始 */
/* ベース */
.faq-item{
	display: none;
  text-align: center;
  padding: 10px;
}

/* タイトル */
.faq-title{
  display: block;
	padding: 20px;
	color: #ffffff;
	background: #248fdb;
  border-radius: 7px;
  border: 2px solid #00497a;
  font-weight: 700;
}

/* タイトル横の矢印 */
.faq-title::before{
	content: "";
	width: 6px;
	height: 6px;
	border-top: 2px solid #ffffff;
	border-right: 2px solid #ffffff;
	position: absolute;
	top: calc( 50% - 3px );
	right: 20px;
	transform: rotate(135deg);
}

.faq-title, .faq-text{
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: all .3s;
}

/* 本文 */
.faq-text{
	height: 0;
	margin-bottom: 10px;
	padding: 0 20px;
	overflow: hidden;
  background-color: #ffffff;
  font-weight: 500;
}

/* 開閉時 */
.faq-item:checked + .faq-title + .faq-text{
	height: auto;
	padding: 20px;
	transition: all 0.3s;
}

.faq-item:checked + .faq-title::before{
	transform: rotate(-45deg) !important;
}

.faq-detail{
  display: flex;
  line-height: 1.6;
}

.question-q, .answer-a{
  margin: 0;
}

.question-text{
  padding-right: 1.5rem;
}

.question-text, .answer-text{
  margin: 0;
  padding-left: 0.5rem;
  text-align: left;
}

.section10-bg{
  width: 100%;
  margin-top: 40px;
}




#section11{
  padding-bottom: 40px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url(../img/flow-bg.webp);
  background-position: center center;
  background-repeat: repeat;
  background-size: contain;
}

.section11-1{
  width: 100%;
  padding-top: 30px;
}

.section11-2, .section11-3, .section11-4{
  width: 100%;
}



.scroll-fade {
  opacity: 0;               /* 初期は非表示 */
  transform: translateY(50px); /* 下から浮かぶイメージ */
  transition: all 0.4s ease-out;
}

.scroll-fade.show {
  opacity: 1;
  transform: translateY(0);
}






#entry1_area{
}

#entry2_area{
}

#entry3_area{
    background-color: #ffffff;
    padding: 20px 0 50px 0;
}

#entry4_area{
    background-color: #ffffff;
    padding: 30px 0;
}

#entry1_area a:hover, #entry2_area a:hover, #entry3_area a:hover, #entry4_area a:hover{
    opacity: 0.5;
    transition: 0.3s;
}

#school_area{
    padding-bottom: 80px;
    line-height: normal;
}

.area_detail{
    width: 90%;
    margin: 0 auto;
    text-align: left;
    font-weight: bold;
}

.area_item{
    margin-bottom: 40px;
}

.area_title{
    color: #ffffff;
    width: fit-content;
    padding: 4px 12px;
    font-size: 1.4rem;
}

.hokkaido{
    background-color: #00a1d4;
}

.tokyo{
    background-color: #0055c9;
}

.yokohama{
    background-color: #c02121;
}

.fukuoka{
    background-color: #ff6b00;
}

.area_text{
    color: #333333;
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.link_icon{
    width: 14px;
    margin-left: 7px;
}

.copyright{
    background-color: #333333;
    color: #ffffff;
    line-height: normal;
    margin: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* お問い合わせ開始 */
.contact_heading{
    line-height: normal;
    color: #ffffff;
    background-color: #0056aa;
    padding: 20px 30px;
}

.contact_heading h1{
    text-align: center;
    font-size: 1.6rem;
}

.contact_heading p{
    text-align: left;
    font-size: 0.9rem;
    margin: 0;
}

.contact_contents{
    background-color: #ffffff;
    line-height: normal;
}

.contact_wrapper{
    padding: 30px 0 120px;
    width: 90%;
    margin: 0 auto;
}

.contact_method{
    margin-bottom: 50px;
}

.contact_method_heading{
    line-height: 1.6;
    border-left: 5px solid #0056aa;
    margin-bottom: 20px;
    font-size: 0.6rem;
    padding-left: 10px;
}

.contact_method_heading h1{
    margin: 0;
    text-align: left;
    font-size: 1.3rem;
}

.contact_method_district{
    margin-bottom: 10px;
}

.contact_about{
    text-align: left;
    padding-left: 10px;
}

.contact_about_slash{
    display: none;
}

.contact_telnumber{
    width: 100%;
    margin: 0;
}

.contact_telnumber a{
    line-height: normal;
    display: block;
    text-align: center;
    background-color: #333333;
    color: #ffffff;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.contact_table{
    width: 100%;
    border-collapse: collapse;
}

.contact_table th, .contact_table td{
    font-weight: bold;
    display: block;
    padding: 12px 0;
}

.contact_table th{
    background-color: #209bc6;
    padding: 15px 10px;
    border-radius: 5px;
}

.contact_header{
    color: #ffffff;
    margin: 0;
    text-align: left;
}

.contact_title{
    margin: 10px 0;
    text-align: left;
    font-weight: normal;
}

.contact_data{
    margin: 0;
    text-align: left;
    font-size: 1.2rem;
}

.contact_detail{
    margin: 0;
    text-align: left;
}

.contact_name, .contact_select, .contact_tel, .contact_date{
    padding: 12px;
}

.contact_select, .contact_tel{
    font-size: 1rem;
}

.contact_name{
    width: -webkit-fill-available;
    font-size: 1rem;
}

.contact_radio{
  display: grid;
}

.contact_address{
  text-align: left;
}

.contact_address, .data_in{
  margin: 0;
  margin-bottom: 8px;
}

.contact_text{
  font-size: 1rem;
  width: -webkit-fill-available;
  padding: 12px;
  margin: 0;
}

.address{
  margin: 0;
}

.req{
  font-size: 1rem;
	background-color: #f14a34;
	color: #ffffff;
	padding: 3px;
	border-radius: 3px;
	font-weight: normal;
  margin-right: 1px;
}

.unreq{
  font-size: 1rem;
	background-color: #949593;
	color: #ffffff;
	padding: 3px;
	border-radius: 3px;
	font-weight: normal;
  margin-right: 1px;
}

.contact_textarea{
    font-size: 1rem;
    line-height: 1.4;
    resize: vertical;
    width: 100%;
    height: 200px;
    padding: 10px;
    box-sizing: border-box;
}

.g-recaptcha{
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn_area{
    text-align: center;
}

.form_wrapper{
  margin: 0;
}

.form_btn{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.2rem;
    background-color: #00b545;
    padding: 15px 40px;
    color: #ffffff;
    font-weight: bold;
    border: 2px solid #39b500;
    border-radius: 5px;
}

.subtext_area{
    line-height: normal;
}

.subtext_wrapper{
    margin: 0 auto;
    padding: 25px 25px 0 25px;
}

.subtext_wrapper p{
    font-weight: bold;
    font-size: 1rem;
    text-align: left;
    margin: 0;
}


.confirm_area{
    margin: 0 auto;
    width: 90%;
    padding: 20px 0 120px;
    line-height: normal;
    text-align: left;
}

.confirm_form{
    width: 100%;
    margin: 0 auto;
}

.confirm_item{
    border-bottom: 1px solid #989898;
}

.confirm_item h3{
    font-size: 1.1rem;
    color: #0056aa;
    margin: 20px 0 10px 0;
}

.confirm_item h4{
    font-size: 1.1rem;
    margin: 15px 15px 5px 15px;
}

.confirm_item p{
    font-size: 1.1rem;
    font-weight: bold;
    color: #333333;
    margin: 0px 15px 20px 15px;
}

.confirm_btn_area{
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    width: 70%;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.confirm_next_btn, .confirm_prev_btn{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 20px;
    border-radius: 5px;
    color: #ffffff;
}

.confirm_prev_btn{
    background-color: #8d8d8d;
    border: 2px solid #8d8d8d;
}

.confirm_next_btn{
    background-color: #39b500;
    border: 2px solid #39b500;
    margin-bottom: 8px;
}

.complete_area{
    width: 90%;
    padding: 30px 0 120px;
    margin: 0 auto;
}

.complete_img img{
    width: 40%;
}

.complete_title{
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.6;
}

.complete_title p{
    font-weight: 500;
    margin: 30px 0;
}

.return_area{
    line-height: normal;
    width: 60%;
    margin: 40px auto 0;
}

.return_to_top{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.2rem;
    background-color: #ffffff;
    padding: 15px 40px;
    color: #333333;
    font-weight: 500;
    border: 2px solid #333333;
    border-radius: 5px;
}

.confirm_prev_btn{
    color: #ffffff;
    background-color: #8d8d8d;
    border: 2px solid #8d8d8d;
}

@media screen and (min-width:541px){
    body{
        font-size: 1.2rem;
    }

    .contact_heading h1{
        font-size: 2rem;
    }

    .form_btn:hover{
        background-color: #ffffff;
        color: #39b500;
        transition: all 0.3s;
        border: 2px solid #39b500;
    }

    .confirm_prev_btn:hover{
        color: #8d8d8d;
        background-color: #f9f9f9;
        transition: all 0.3s;
        border: 2px solid #8d8d8d;
    }

    .confirm_next_btn:hover{
        color: #39b500;
        background-color: #f9f9f9;
        transition: all 0.3s;
        border: 2px solid #39b500;
    }

    .return_to_top:hover{
        color: #ffffff;
        background-color: #333333;
        transition: all 0.3s;
        border: 2px solid #333333;
    }
}



.fixed-bottom {
  position: fixed;        /* 画面に固定 */
  bottom: 0;              /* 下端に配置 */
  left: 50%;              /* 横中央に配置 */
  transform: translateX(-50%) translateY(50px); /* 下から少しずらして開始 */
  opacity: 0;             /* 初期は透明 */
  transition: all 0.8s ease-out; /* アニメーション速度 */
  z-index: 9999;          /* 前面に表示 */
  width: 100%;            /* 幅を画面いっぱいに（必要に応じて調整） */
  max-width: 540px;       /* スマホサイズに制限 */
  cursor: pointer;
}

.fixed-bottom.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}




@media screen and (max-width:540px){
    body{
        font-size: 1rem;
    }
}