@charset "utf-8";

body {
  background: #f3f8fe;
}

img {
  vertical-align: top;
}

.sp {
  display: none;
}

.inner {
  padding: 0;
  width: calc(100% - 4.5%);
  max-width: 850px;
  margin: 0 auto;
}

@media screen and (max-width: 640px){

  .sp {
    display: block;
  }

  .pc {
    display: none;
  }  
  
  .wide-sp {
    max-width: 100%;
  }

}
/* Main visual */
#mv { 
    width: 100%;
    position: relative;
    overflow: hidden; /* 子要素がはみ出さないようにする */
}
@media screen and (min-width: 641px){
#mv .mv_pc {
	margin: -4px 0px;
    width: 100%;
    padding-bottom: 53.083%; /* 高さを維持するための比率 (1274 / 2400 * 100) */
    background: url('../img/lp_5/lp5_img_01-MV-pc.webp') center no-repeat;
    background-size: contain; /* 背景画像の縦横比を維持 */
    position: relative; /* ボタンの絶対位置指定のため */
}

#mv .inquiry-button {
    position: absolute;
    bottom: calc(7vw); /* 下からビューポート幅の5%+10pxの位置に配置 */
    left: calc(9vw); /* 左からビューポート幅の5%+10pxの位置に配置 */
    transition: background-color 0.3s, width 0.3s, bottom 0.3s, left 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}
	.inquiry-button img {
	width : 40vw!important;
	max-width:750px!important;
	min-width:350px!important;
}

}

.banner{
  padding: 25px 0;
  text-align: center;
  background: #fff;
}

.banner + .banner{
  margin-top: 25px;
}

.banner a{
  max-width: 1000px;
}

.banner img{
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
}
/* メディアクエリを使用して、レスポンシブデザインをサポート */
@media (max-width: 640px) {
    .inquiry-button {
        width: 30vw; /* 小さい画面でボタン幅をビューポート幅の30%に設定 */
        min-width: 200px; /* 最小幅を200pxに設定 */
        bottom: 10vw; /* 下からビューポート幅の10%の位置に配置 */
        left: 10vw; /* 左からビューポート幅の10%の位置に配置 */
    }
}

@media screen and (max-width: 640px){
  #mv .sp_mv-cta{
	padding: 20px 10px 30px 10px;
	text-align: center;
	}
	.sp_mv-cta img {
		width:0.9wh;
  }
  .banner{
    padding: 25px 20px;
  }
  .banner img{
    width: 100%;
  }
}
/* CTA */
@media screen and (min-width: 641px){
.cta {
    width: 100%;
    height: auto; /* 全画面の高さ */
    background: url('./wp-content/themes/spfb_themes/2024/img/lp_5/lp5_img_cta-bg-pc.webp') center no-repeat;
    background-size: cover; /* 背景画像を全画面にフィットさせる */
	display: flex;
	flex-direction: column; /* 縦方向に要素を配置 */
    justify-content: center; /* 中央に配置 */
    align-items: center; /* 中央に配置 */
    text-align: center; /* テキストを中央揃え */
}
}
@media screen and (min-width: 641px){
.contents-box { margin: 70px auto; text-align: center;}
.contents-box img {
    max-width: 65%; /* 画像の最大幅を65%に設定 */
    height: auto; /* 縦横比を維持 */
    margin: 10px 0; /* 画像の上下にマージンを追加 */
}

}
@media screen and (max-width: 640px){
.cta {
	padding-top: 40px;
	width: 100%;
    height: auto;
	background: url('/wp/wp-content/themes/spfb_themes/2024/img/lp_5/lp-cta_bg.webp') center no-repeat;
	background-size: cover; /* 背景画像を全画面にフィットさせる */
	display: flex;
	flex-direction: column; /* 縦方向に要素を配置 */
    justify-content: center; /* 中央に配置 */
    align-items: center; /* 中央に配置 */
	}

}

.confirm-thanks-box {
	padding: 20px 10px 0px 10px;
	width: calc(100% - 10px);
}
.confirm-thanks-h1{
	width: 100%;
	text-align: center;
	font-size: 2.5rem;
	padding: 0px 0px 30px 0px;
}

/* 不登校 */
section #futoko {
	width:100%;
	margin: 5px;
	padding: 5px;
	background-color: #fff;
}

/*インタビュー*/
#interview .child {
  display: none;
}

#interview .toggle_btn {
  position: relative;
  padding-bottom: 50px;
  margin: 0 auto 50px;
  cursor: pointer;
  max-width: 263px;
}

#interview .toggle_btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: auto;
  background: url(../img/lp_1/ya.png) no-repeat center;
  background-size: cover;
  width: 48px;
  height: 25px;
}

#interview .toggle_btn.active::before {
  transform: translateX(-50%) rotate(180deg);
}

/*FAQ*/
#faq {
  background: #e2ecff;
  padding: 0 0 65px 0;
}

#faq .inner {
  max-width: 950px;
}

#faq .list {
  padding: 0;
  width: calc(100% - 5%);
}

#faq .box {
  background: #fff;
  box-shadow: 0px 0px 15px -5px rgba(22,65,127,.2);
  padding: 20px;
  margin-bottom: 10px;
}

#faq .box .toggle_btn {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: .125;
  position: relative;
  padding: 10px 50px;
  cursor: pointer;
  color: #16417F;
}

#faq .box .toggle_btn::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  background: url(../img/lp_1/q.jpg) no-repeat center;
  background-size: auto 100%;
  width: 26px;
  height: 32px;
}

#faq .box .toggle_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin: auto;
  background: url(../img/lp_1/open.jpg) no-repeat center;
  background-size: 100% auto;
  width: 20px;
  height: 21px;
}

#faq .box .toggle_btn.active::after {
  background: url(../img/lp_1/close.jpg) no-repeat center;
  background-size: 100% auto;
}

#faq .box .child {
  display: none;
  position: relative;
  border-top: 1px solid #ebebeb;
  margin-top: 10px;
  text-align: center;
}

#faq .box .child .txt {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 18px;
  line-height: 2;
  position: relative;
  display: block;
  padding: 20px 50px 0 50px;
  text-align: left;
  color: #16417F;
}

#faq .box .child .txt::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 5px;
  background: url(../img/lp_1/a.jpg) no-repeat center;
  background-size: cover;
  width: 15px;
  height: 17px;
}

#faq .box .child .img {
  width: auto;
  max-width: 100%;
  margin: 30px auto 0 auto;
  max-height: 260px;
}

@media screen and (max-width: 640px){
  
  #faq .box {
    padding: 10px 20px;
  }

  #faq .box .toggle_btn {
    font-size: 16px;
    line-height: 1.5;
    padding: 10px 30px 10px 40px;
  }

  #faq .box .child .txt {
    font-size: 16px;
    line-height: 1.75;
    padding: 40px 0 0 0;
  }

  #faq .box .child .txt:before {
    top: 20px;
    left: 0;
  }

}

/*進学先*/
#course {
}
#course .inner {
  max-width: 946px;
}

#course .flex {
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  column-gap: 50px;
  justify-content: space-between;
	padding: 0px 15px 30px 15px;
}

#course .flex li {
font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
font-size: 16px;
font-weight: 500;
line-height: 2;
}

@media screen and (max-width: 640px){

  #course .flex li {
    font-size: 16px;
    line-height: 1.75;
    }    

}

/*form*/

#form-section .btn_box {
	padding-bottom: 30px;
	}
#form-section {
	background: #fff;
	padding: 70px 20px 20px 20px;
	margin-bottom: 100px;
	max-width: 900px;
	border-radius: 30px;
}
#form-section .intro {
	width: 90%;
	max-width: 700px;
	line-height: 1.8;
	text-align : center;
	font-size : 1.2rem;
	color : #16407e;
	padding-bottom: 20px;
	margin : 0px auto;
}

#form-section .broucher {
	width: 90%;
	max-width:600px;
	margin: 0px auto;
}

#form-section .section-ti {
  margin-bottom: 20px;
}

#form-section .section-ti img {
  max-width: 284px;
  width: auto;
  margin: 0 auto;
}
#form-section ::placeholder {
  color: #c6c6c6;
}

@media screen and (max-width: 640px){

  #form-section {
    width: 100%;
    padding: 50px 0;
  }

  /*セクションタイトル*/
  #form-section .section-ti {
    margin-bottom: 0;
  }

  #form-section .section-ti img {
    max-width: 100%;
  }  

}


#form-section .form {
  width: 90% !important;
}

#form-section input[type="text"],
#form-section input[type="email"],
#form-section textarea,
#form-section select {
  border: 1px solid #777 !important;
}

#form-section .btn-submit {
  margin: 50px auto 0;
  letter-spacing: .1em;
}

.form.h-adr div.bottom_block div.btn_box input.btn-submit.btn, div.form_area section.page-section div.bottom_block.ct div.btn_box a {
  letter-spacing: .1em;
}

form div.form.h-adr em {
  font-size: .9rem !important;
}

@media screen and (max-width: 640px){

  #form-section {
    margin-bottom: 50px;
  }

  .form__address .p-postal-code {
    width: calc(50% - 105px) !important;
  }
.btn-submit+.btn-submit { margin-left: 0px; }
.btn-submit{ margin: 2% 0px }
.btn_box{ margin-bottom: 50px }
}

/*footer*/
#footer {
  padding: 55px 0 30px;
  background: url(../img/lp_1/footer.jpg) no-repeat top center;
  background-size: cover;
  border-top: none;
}

#footer .foot-logo {
  width: 175px;
  height: 37px;
  margin: 0 auto;
}

@media screen and (max-width: 640px){

  #footer {
    padding: 55px 0 20vw;
    background: url(../img/lp_1/footer-sp.webp) no-repeat top center;
    background-size: cover;
  }
  
}

/*fix-btn-pc*/
#fix-pc {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin: auto;
}

#fix-pc .fix {
  width: 60px;
  height: 200px;
  display: block;
}
#fix-pc .fix1 {
	background: url("../img/lp_5/fix1-pc.webp") no-repeat center;
	background-size: cover;
}
#fix-pc .fix2 {background: url("../img/lp_5/fix2-pc.webp") no-repeat center;
	background-size: cover;
}
/*fix-btn-sp*/
#fix-sp {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  background-color: rgba(255,255,255,.8);
}

#fix-sp .inner {
  display: flex;
  flex-wrap: wrap;
  column-gap: 5px;
  padding: 5px 0;
}

#fix-sp .fix {
  width: calc(50% - 5px);
  height: 14vw;
  display: block;
}

#fix-sp .fix1 {
  background: url(../img/lp_5/fix1-sp.webp) no-repeat center;
  background-size: 100% auto;
}

#fix-sp .fix2 {
  background: url(../img/lp_5/fix2-sp.webp) no-repeat center;
  background-size: 100% auto;
}

/*pagetop*/
.pagetop {
  bottom: 40px;
  right: 40px;
}

@media screen and (max-width: 640px){

  .pagetop {
    right: 4%;
    bottom: 18vw;
  }

}