@charset "utf-8";

/* ===================
  基本のmain設定
=================== */
.main {
  background-color: #FFF8E9;
  padding-bottom: 90px;
  width: calc(100% - 270px);
  margin-left: 270px;
}
@media screen and (max-width: 1024px) {
  .main {
    width: 100%;
    margin-left: 0px;
  }
}

/* ===================
  トップ画像
=================== */
.section-top__image {
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url("images/about_top.png");
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  justify-content: center;
  background-size: cover;
}
.section-top__image h2 {
  position: absolute;
  top: 75.5%;
  left: 6.4%;
  font-size: 3.0rem;
  font-weight: 700;
  color: #FFF8E9;
  line-height: 4.5rem;
  text-shadow: 0px 2px 4px rgba(51, 51, 51, 0.78);
}

/* =================================
  左右交互レイアウト (.section-concept)
================================= */
.section-concept {
  max-width: 1170px;
  padding: 0 65px 75px;
  margin: 0 auto;
  margin-top: 95px; /* ★★★この一行で、上の写真との余白を確保します★★★ */
}
.section-concept img {
  width: 100%;
}
.section-cocept__container-one,
.section-concept__two {
  display: flex; /* 横並びにする */
  justify-content: space-between;
  align-items: flex-start; /* 上揃え */
  margin-bottom: 50px;
}
.section-concept__two {
  flex-flow: row-reverse; /* 左右を反転 */
}
.section-concept__image-one,
.section-concept__image-two {
  width: 50%;
  flex-shrink: 0;
}
.section-concept__text-one {
  width: 48%;
  margin-left: 2%;
}
.section-concept__text-two {
  width: 48%;
  margin-right: 2%;
}
.section-concept__text-one h3,
.section-concept__text-two h3 {
  font-size: 2.0rem;
  font-weight: 700;
  background: linear-gradient(transparent 75%, #FCB61EB2 70%);
  display: inline;
  line-height: 2.2;
}
.section-concept__text-one p,
.section-concept__text-two p {
  line-height: 3.0rem;
  margin-top: 0.8em;
}

.section-concept__merit {
  max-width: 1040px;
  margin: 0 auto;
}
.section-concept__merit-pc {
  width: 100%;
}
.section-concept__merit-sp {
  display: none;
}


/* =================================
  ここから下は lesson.css のスタイル
================================= */

.section-lesson {
  max-width: 1006px;
  padding: 0 40px 0;
  margin: 0 auto 80px;
}
.section-lesson h2 {
  max-width: 160px;
  height: auto;
  margin: 0 auto 65px;
}
.section-lesson img {
  width: 100%;
}
.section-lesson__container {
  display: flex;
  flex-flow: nowrap;
  justify-content: space-between;
  position: relative;
}
.section-lesson__container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0%;
  background: #333;
  width: 1px;
  height: 100%;
}
.lesson__container-one, .lesson__container-two {
  width: calc(50% - 80px);
  text-align: center;
}
.lesson__class-name h3 {
  width: 218px;
  height: auto;
  margin: 0 auto 50px;
}
.lesson__container-one ul, .lesson__container-two ul {
  font-size: 1.6rem; /* 文字サイズ調整 */
  line-height: 2.8rem; /* 行間調整 */
  text-align: left;
}
.lesson__container-one ul li, .lesson__container-two ul li {
  margin-bottom: 1em;
}
.lesson__container-one ul li:last-child, .lesson__container-two ul li:last-child {
  list-style: none;
  font-weight: 700;
}

.section-schedule {
  max-width: 1006px;
  padding: 0 40px 0;
  margin: 0 auto 80px;
}
.section-schedule h2 {
  max-width: 160px;
  height: auto;
  margin: 0 auto 65px;
}
.section-schedule img {
  width: 100%;
}
.section-schedule__container {
  display: flex;
  flex-flow: nowrap;
  justify-content: space-between;
  position: relative;
}
.section-schedule__container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0%;
  background: #333;
  width: 1px;
  height: 100%;
}
.schedule__container-one, .schedule__container-two {
  width: calc(50% - 80px);
}
.schedule__class-name h3 {
  width: 218px;
  height: auto;
  margin: 0 auto 30px;
}
.schedule__container-one p, .schedule__container-two p {
  text-align: center;
  font-size: 2.0rem;
  line-height: 3.2rem;
}
.section-schedule__info {
  margin-top: 50px;
  text-align: right;
  font-size: 2.0rem;
  font-weight: 700;
}
.schedule-lessonday {
  width: 312px;
  height: 50px;
  padding: 10px 40px;
  border-radius: 6px;
  background: #FC6951;
  color: #FFF8E9;
  display: inline-block;
  margin-top: 6px;
}
.schedule-lessonday p {
  color: #FFF8E9;
}
.schedule-lessonday a {
  text-decoration: none;
}

.section-price {
  max-width: 1006px;
  padding: 0 40px 0;
  margin: 0 auto 80px;
}
.section-price h2 {
  max-width: 160px;
  height: auto;
  margin: 0 auto 65px;
}
.section-price img {
  width: 100%;
}
.section-price__container {
  display: flex;
  flex-flow: nowrap;
  justify-content: space-around;
  position: relative;
}
.section-price__container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0%;
  background: #333;
  width: 1px;
  height: 100%;
}
.section-price__container p {
  font-size: 2.0rem;
  line-height: 3.2rem;
  padding: 50px 0px;
}
.section-price__info {
  margin-top: 50px;
  text-align: right;
  font-size: 2.0rem;
  font-weight: 700;
  line-height: 3.2rem;
}

.section-flow {
  max-width: 1006px;
  padding: 0 40px 0;
  margin: 0 auto 80px;
}
.section-flow h2 {
  max-width: 210px;
  height: auto;
  margin: 0 auto 65px;
}
.section-flow img {
  width: 100%;
}
.section-flow__container {
  position: relative;
  max-width: 930px;
  margin: 0 auto;
}
.flow-arrow {
  width: 346px;
  margin: 0 auto;
}
.flow-arrow__image-pc {
  width: 100%;
}
.flow-arrow__image-sp {
  display: none;
}
.section-flow__body {
  position: absolute;
  top: 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.flow-one {
  padding: 20px 27px;
  width: 57%;
  border-radius: 10px;
  background: #FC6951;
  text-align: right;
  margin-bottom: 27px
}
.flow-two {
  width: 57%;
  padding: 20px 27px;
  border-radius: 10px;
  background: #FC6951;
  text-align: right;
  margin-bottom: 27px;
  margin-left: 43%;
}
.flow-three {
  width: 57%;
  padding: 20px 27px;
  border-radius: 10px;
  background: #FC6951;
  text-align: right;
}
.flow-one h3, .flow-two h3, .flow-three h3 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #FFF8E9;
  margin-bottom: 10px;
  text-align: left;
}
.flow-one p, .flow-two p, .flow-three p {
  font-size: 1.8rem; /* 文字サイズ調整 */
  text-align: left;
  line-height: 2.8rem; /* 行間調整 */
}
.lesson-application__button, .lesson-membership-botton {
  width: 312px;
  height: 50px;
  padding: 10px 26px;
  border-radius: 6px;
  background: #205E91;
  display: inline-block;
  margin-top: 10px;
}
.lesson-application__button p, .lesson-membership-botton p {
  color: #FFF8E9;
  text-align: center;
}
.lesson-application__button a, .lesson-membership-botton a {
  text-decoration: none;
}
.lesson-lead__area {
  text-align: center;
}
.lesson-lead {
  font-size: 4.4rem;
  font-weight: 700;
  margin-top: 15px;
  position: relative;
  display: inline-block;
}
.lesson-lead::after {
  content: "";
  background: url(../Lesson/images/Group\ 29.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 257px;
  height: 211px;
  top: -162px;
  left: 291px;
  position: absolute;
  display: inline-block;
}

.section-voice {
  max-width: 1090px;
  margin: 0 auto;
}
.section-voice h2 {
  max-width: 190px;
  height: auto;
  margin: 0 auto 65px;
}
.section-voice img {
  width: 100%;
}
.section-voice__container {
  width: 100%;
  background: #D7B883;
  padding: 45px 15px;
  margin: 0 auto;
}
.voice-one {
  display: flex;
  margin-bottom: 40px;
}
.voice-two {
  display: flex;
  flex-flow: row-reverse;
}
.voice-image {
  width: 70%;
}
.voice-image__one-pc {
  width: 100%;
}
.voice-image__one-sp {
  display: none;
}
.voice-image__two-pc {
  width: 100%
}
.voice-image__two-pc2 {
  display: none;
}
.voice-image__two-sp {
  display: none;
}
.voice-one__text {
  width: 31%;
  margin: 54px 0 0 -316px;
}
.voice-two__text {
  width: 30%;
  margin: 54px -334px 0 0;
}
.voice-one__text h3, .voice-two__text h3 {
  font-size: 2.0rem;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 3.2rem;
}
.section-voice__lead {
  font-size: 1.6rem;
  line-height: 3.2rem;
  margin-bottom: 7px;
}
.section-voice__name {
  font-size: 1.6rem;
  text-align: right;
}

/* ===================
  レスポンシブ対応
=================== */

/* --- タブレット --- */
@media screen and (max-width: 950px) {
  .section-cocept__container-one,
  .section-concept__two {
    display: block;
  }
  .section-concept__image-one,
  .section-concept__image-two,
  .section-concept__text-one,
  .section-concept__text-two {
    width: 100%;
    margin: 0 0 20px 0;
  }
}
@media screen and (max-width: 700px) {
  .section-concept__merit-sp {
    width: 100%;
    display: block;
  }
  .section-concept__merit-pc {
    display: none;
  }
}

/* --- スマホ --- */
@media screen and (max-width: 630px) {
  
  .section-lesson, .section-schedule, .section-price, .section-flow {
    padding: 0 24px 30px;
  }
  .section-lesson__container, .section-schedule__container {
    display: block;
  }
  .section-lesson__container::before, .section-schedule__container::before, .section-price__container::before {
    display: none;
  }
  .lesson__container-one, .lesson__container-two, .schedule__container-one, .schedule__container-two {
    width: 100%;
    margin: 0 0 30px 0;
  }
  .lesson-application__button, .lesson-membership-botton {
    width: 100%;
    box-sizing: border-box; 
  }
}

@media screen and (max-width: 480px) {
  /* top */
  .section-top {
    margin-bottom: 75px;
  }
  .section-top__image {
    height: 400px;
    background-image: url("images/(sp)about_top.png");
  }
  .section-top__image h2 {
    font-size: 1.8rem;
  }
  /* concept */
  .section-concept {
    padding: 0 24px 70px;
    margin-top: 75px; /* ★★★スマホでの余白を再設定★★★ */
  }
  .section-concept__text-one h3,
  .section-concept__text-two h3 {
    font-size: 1.6rem;
  }
  .section-concept__text-one p,
  .section-concept__text-two p {
    font-size: 1.4rem;
    line-height: 2.2rem;
  }
  .section-concept__merit {
    max-width: 327px;
    height: auto;
    margin: 0 auto;
  }
}
/* ===================
  レスポンシブ対応
=================== */

/* --- タブレット --- */
@media screen and (max-width: 1206px) {
  /* voiceセクションのレイアウト調整 */
  .section-voice__container {
    padding: 45px 30px;
  }
  .voice-one, .voice-two {
    display: block; /* PCでの横並びを解除して縦並びに */
  }
  .voice-image {
    width: 100%; /* 画像の幅を100%に */
    margin-bottom: 20px; /* 画像の下に余白 */
  }
  .voice-image__two-pc {
    display: none; /* PC用の大きい画像を非表示に */
  }
  .voice-image__two-pc2 {
    display: block; /* タブレット用の画像を常に表示 */
    width: 100%;
  }
  .voice-one__text, .voice-two__text {
    width: 90%; /* テキストブロックの幅を調整 */
    margin: 0 auto; /* 中央寄せ */
  }
  .voice-one__text h3, .voice-two__text h3 {
    font-size: 1.8rem; /* フォントサイズ調整 */
    line-height: 2.8rem;
  }
  .section-voice__lead {
    font-size: 1.5rem; /* フォントサイズ調整 */
    line-height: 2.6rem;
  }
  .section-voice__name {
    font-size: 1.5rem; /* フォントサイズ調整 */
  }
}

/* --- スマホ (主に732px以下) --- */
@media screen and (max-width: 900px) {
  .section-voice {
    max-width: 100%; /* 幅を広げる */
    padding: 0 0 30px;
  }
  .section-voice h2 {
    width: 193px;
    margin: 0 auto 50px;
  }
  .section-voice__container {
    padding: 34px 24px;
  }
  .voice-one {
    margin-bottom: 40px; /* ブロック間の余白 */
  }
  .voice-image {
    margin-bottom: 15px;
  }
  .voice-image__one-pc {
    display: none;
  }
  .voice-image__two-pc2 {
    display: none;
  }
  .voice-image__one-sp {
    display: block; /* スマホ用画像を有効化 */
    width: 100%;
  }
  .voice-image__two-sp {
    display: block; /* スマホ用画像を有効化 */
    width: 100%;
  }
  .voice-one__text, .voice-two__text {
    width: 100%; /* 幅を100%に */
    margin: 0; /* マージンをリセット */
  }
  .voice-one__text h3, .voice-two__text h3 {
    font-size: 1.6rem;
    line-height: 2.8rem;
  }
  .section-voice__lead {
    font-size: 1.4rem;
    line-height: 2.5rem;
  }
  .section-voice__name {
    font-size: 1.4rem;
  }
}

/* --- スマホ (主に480px以下) --- */
@media screen and (max-width: 480px) {
  /* concept */
  .section-concept {
    padding: 0 24px 70px;
  }
  .section-concept__text-one h3,
  .section-concept__text-two h3 {
    font-size: 1.6rem;
  }
  .section-concept__text-one p,
  .section-concept__text-two p {
    font-size: 1.4rem;
    line-height: 2.2rem;
  }
  .section-concept__merit {
    max-width: 327px;
    height: auto;
    margin: 0 auto;
  }
  /* lesson, schedule, price, flow */
  .section-lesson, .section-schedule, .section-price, .section-flow {
    padding: 0 24px 30px;
  }
  .section-lesson__container, .section-schedule__container {
    display: block;
  }
  .section-lesson__container::before, .section-schedule__container::before, .section-price__container::before {
    display: none;
  }
  .lesson__container-one, .lesson__container-two, .schedule__container-one, .schedule__container-two {
    width: 100%;
    margin: 0 0 30px 0;
  }
  /* voice */
  .section-voice h2 {
    width: 160px; /* 必要であればさらに調整 */
    margin-bottom: 40px;
  }
  .section-voice__container {
    padding: 20px 15px; /* 余白を調整 */
  }
  .voice-one__text h3, .voice-two__text h3 {
    font-size: 1.5rem;
  }
  .section-voice__lead {
    font-size: 1.3rem;
  }
  .section-voice__name {
    font-size: 1.3rem;
  }
}
/* =================================
   お申込みセクションのスマホ・タブレット対応
================================= */
@media screen and (max-width: 900px) {

  /* 親要素(section-flow__body)の特殊な配置を解除し、通常の縦並びに戻します */
  .section-flow__body {
    position: static;
  }
  
  /* 各ステップのブロックのレイアウトを調整します */
  .flow-one,
  .flow-two,
  .flow-three {
    width: 100%;
    margin-left: 0;
    text-align: left; /* テキストは左揃えにします */
    padding: 20px;
  }

  /* ボタンが画面幅に合わせて伸縮するように修正します */
  .lesson-application__button,
  .lesson-membership-botton {
    width: 100%; /* 横幅を画面いっぱいに広げます */
    box-sizing: border-box; /* はみ出しを防ぐための設定 */
    display: block; /* ボタンをブロック要素に変更 */
    text-align: center; /* ボタン内の文字は中央揃え */
    height: auto; /* 高さを自動に */
    padding-top: 10px; /* 内側の余白を調整 */
    padding-bottom: 10px;
  }

}
/* =================================
   お申込みセクション 最終調整コード + Enjoyイラスト修正
================================= */
@media screen and (max-width: 1200px) {

  /* (1) 全体を囲む大きな枠を、重ね合わせの「土台」にします */
  .section-flow__container {
    position: relative;
  }

  /* (2) 矢印画像に下余白を追加して「Lesson Start!」を押し下げます */
  .flow-arrow {
    width: 127px;
    margin: 0 auto;
    padding-bottom: 300px;
  }
  .flow-arrow__image-pc {
    display: none;
  }
  .flow-arrow__image-sp {
    display: block;
    width: 100%;
  }

  /* (3) テキストブロック全体を「土台の上」に重ねます */
  .section-flow__body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
  }

  /* (4) 各テキストブロックを中央に配置し、ボタンの幅を修正します */
  .flow-one,
  .flow-two,
  .flow-three {
    width: 80%;
    margin: 0 auto 60px;
    padding: 20px;
    text-align: left;
  }

  .lesson-application__button, 
  .lesson-membership-botton {
    width: 100%;
    box-sizing: border-box;
  }
  
  /* (5) 「Lesson Start!」のエリアが矢印と重ならないようにします */
  .lesson-lead__area {
      position: relative; 
      z-index: 2; 
  }

  /* (6) 「Lesson Start!」の文字と「Enjoy」イラストの位置を調整します */
  .lesson-lead {
    font-size: 2.4rem;
    margin-top: 15px;
  }
  .lesson-lead::after {
    /* ★★★ ここから修正 ★★★ */
    width: 90px;        /* サイズを少し調整 */
    height: 90px;
    top: -50px;         /* 上からの位置を調整 */
    left: auto;         /* leftの指定を解除 */
    right: -100px;       /* 右からの位置を指定してはみ出しを防ぐ */
    /* ★★★ ここまで修正 ★★★ */
  } 
}
