@charset "utf-8";

/* ===================
  メインコンテンツ
=================== */
.main {
  background-color: #FFF8E9;
  padding-bottom: 90px;
  width: calc(100% - 270px);
  margin-left: 270px;
}

/* ===================
  トップ画像
=================== */

.section-top {
  margin-bottom: 50px;
}
.section-top__image {
  width: 100%;
  height: 400px;
  background-image: url("images/English Music Program.top1.png"); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.description {
  max-width: 670px;
  margin: 0 auto 50px;
  text-align:center;
}
.section-top__title-container {
  color: white;
  text-align: left;
  position: absolute;
  left: 5%;
  bottom: 10%;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.title-group {
  position: absolute;
  top: 75.5%;
  left: 6.4%;
}

.title-group h2 {
  font-size: 3.0rem;
  font-weight: 700;
  color: #FFF8E9;
  line-height: 3.6rem;
  text-shadow: 0px 2px 4px rgba(51, 51, 51, 0.78);
  margin: 0;
}

.subtitle {
  font-size: 1.6rem;
  color: #FFF8E9;
  line-height: 2.4rem;
  margin-top: 2px;
}



/* ===================
  説明文 
=================== */
.section-lessontrip {
  width:90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-catchphrase {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
}
.section-catchphrase::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background: #bba;
  margin: 20px auto 0; 
}
.description {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}
.highlight-red {
  color: 	#D25300;
  font-weight: bold; /* 太字 */
}

/* ===================
  このプログラムで育つこと 
=================== */

.program-growth {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
}

.program-box {
  border: 2px solid #D7D7D6; 
  border-radius: 15px;
  padding: 20px;
  background: #fff8e9;
  position: relative;
}

.program-title {
  position: absolute;
  top: -15px;
  left: 50%; 
  transform: translateX(-50%);
  textalighn: center;
  background: #FE7D78; 
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 2rem
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.program-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 1.6rem
}

.program-left, .program-right {
  flex: 1 1 45%;
  min-width: 300px;
}

.program-item {
  word-break: break-word;
  margin-bottom: 20px;
}

.program-item h4 {
  font-size: 1.6rem;
  margin-bottom: 5px;
  color: #F4A62A;
}

.program-item p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #000;
}
.program-left {
  border-right: 2px solid #D7D7D6;
}


/* レッスンの流れ */

.lesson-flow-section {
  position: relative;
  margin: 50px 20px 70px; /* 下に余白を追加 */
  text-align: center;
}


.lesson-flow-title {
  display: inline-block;
  background-color: #FE7D78;
  color: #fff;
  padding: 10px 30px;
  border-radius: 30px;
  font-size: 2rem;
  font-weight: bold;
  position: absolute;
  top: -20px; /* 点線の上にかぶせる */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.lesson-item h4 {
  color: #F4A62A;
  font-weight: bold;
  margin-bottom: 10px;
}

.lesson-item p {
  color: #000;
  font-size: 1.4rem;
  line-height: 1.6;
}

/* 点線の区切り線 */
.dotted-divider {
  border: none;
  height: 10px;
  width: 80%;
  margin: 40px auto;

  background-image: radial-gradient(ellipse, #bba 6px 4px, transparent 6px 4px);
  background-size: 20px 10px;
  background-repeat: repeat-x;
}


/* 説明文 */
.lesson-description {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 50px;
}

/* 3つのボックス */
.lesson-boxes-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.lesson-box {
  background-color: #ffe6eb; /* 薄いピンク */
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  flex: 1 1 calc(33.333% - 20px);
}

.lesson-box img {
  width: 100%; 
  aspect-ratio: 3 / 2;
  object-fit: contain; 
  background: #fff;    
  border-radius: 10px;
  margin-bottom: 10px;
}

.lesson-box h5 {
  font-size: 1.6rem;
  color: #D25300;
  margin-bottom: 10px;
}

.lesson-box p {
  font-size: 1.4rem;
  color: #000;
}

/* ===== 料金プラン全体 ===== */
.price-section {
  text-align: center;
  margin: 120px auto; 
  max-width: 1200px;
  padding: 0 20px;
  position: relative;
}

/* タイトルをボタン風に中央に */
.price-title {
  display: inline-block;
  background-color: #FE7D78; 
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  position:absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}


.line-divider {
  border: none;
  border-top: 5px solid #D7D7D6;
  width: 80%;
  margin: 60px auto 40px;
}

/* ボックス全体 */
.price-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex: 1 1 30%;
}

/* 個別ボックス */
.price-card {
  flex: 1 1 30%;
  min-width: 250px;
  border-radius: 20px;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  padding: 0;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  border: 3px solid #D7D7D6;
  overflow: hidden;
 }


/* ボックスヘッダーだけ色付き */
.price-card-header {
  padding: 15px 10px;
  font-size: 1.6rem;
  font-weight: bold;
  min-height: 70px;
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  color: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}


  .header-sub {
    font-size: 1.4rem;
    display: block;
    opacity: 0.9;
    color: #333 ;
    text-align: center ;
    margin-bottom: 2px ;
}

/* 色分け */
.price-card.orange .price-card-header { background: #FEE4AB; color:#D25300; }
.price-card.pink .price-card-header { background: 	#FEE1D4 ; color:#D25300; }
.price-card.green .price-card-header { background: #C9E6B1; color:#D25300; }


.price-card-price {
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  position: relative;
  height: 100px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.price-card-price::after {
  content: "";
  position: absolute;
  bottom:0;
  left:50%;
  transform: translateX(-50%);
  display: block;
  width: 60%;
  height: 3px;
  background: #FEE1D4;
} 

.price-sub {
  font-size: 1.2rem; 
  display: block; 
  margin-top: 5px;
  opacity: 0.8;}

/* 説明文 */
.price-card-desc {
  font-size: 1.4rem;
  padding: 0 10px 20px;
  margin-top: 15px;
  color: #000;
}

.price-main {
  font-size: 2.0rem;
  font-weight: bold;
  margin: 15px 0 10px;
}

.price-note {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 15px;
}

.price-badge {
  display: inline-block;
  background: #FE7D78;
  color: #fff;
  font-size: 1.2rem;
  padding: 8px 16px;
  border-radius: 20px;
  margin: 0 auto 20px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  text-align: left;  
  line-height: 1.4;
  font-size: 1.0rem;
}

.price-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
}

/* 全体エリア */
.price-note-area {
  text-align: center;
  margin-top: 40px;
}

/* 注釈リスト */
.price-note-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: block;
  text-align: left;
  font-size: 1.4rem;
  color: #666;
  line-height: 1.5;
}

/* ・マーク */
.price-note-list li::before {
  content: "・";
}

/* お問い合わせテキスト */
.price-contact-text {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

/* ボタン */
.price-contact-btn {
  display: inline-block;
  background: #FE7D78;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ホバー */
.price-contact-btn:hover {
  opacity: 0.8;
}


/* ===================
  レスポンシブ 
=================== */
@media screen and (max-width: 1024px) {
  .main {
    width: 100%;
    margin-left: 0;
  }

  .feature-box,
  .flow-wrapper,
  .price-wrapper {
    flex-direction: column;
  }

  .section-lessontrip {
    width: 95%;
    padding: 0 15px;
  }
}

/* ===================
  スマホ用 768px以下
=================== */
@media screen and (max-width: 768px) {

  /* トップ画像とキャッチフレーズ */
  .section-top__image {
    height: 300px;
  }
  .section-catchphrase {
    font-size: 1.6rem;
  }

  /* 説明文エリア */
  .section-lessontrip {
    width: 95%;
    padding: 0 10px;
  }



  /*このプログラムで育つこと */
  .program-growth {
    width: 95%;
    margin: 40px auto;
    padding: 10px;
  }

  .program-box {
    font-size: 1.4rem;
    padding: 15px 10px;
    word-break: break-word;
  }

  .program-title {
    font-size: 1.6rem;
    padding: 5px 10px;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
  }

  .program-content {
    gap: 15px; 
}

  .program-item h4 {
    font-size: 1.4rem;
    line-height: 1.4;
   word-break: break-word;
  }

  .program-item p {
    max-width: 90%;
    margin: 0 auto;  
    padding: 0 10px; 
    word-break: break-word; 
    line-height: 1.4;
    font-size: 1.2rem; 
  }

  .program-left {
    border-right: none;
  }


  /* レッスンの流れ */
  .lesson-flow-section {
    width: 95%;
    margin: 40px auto;
    padding: 0 10px;
  }

  .lesson-flow-title {
    font-size: 1.6rem;
    padding: 5px 10px;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
  }

  .lesson-item h4,
  .lesson-item p {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  /* 点線の位置をタイトル中央に合わせる */
  .dotted-divider {
    width: 80%;
    margin: 20px auto; /* 上下余白を縮める */
    height: 6px;
    background-image: radial-gradient(ellipse, #bba 4px 3px, transparent 4px 3px);
    background-size: 15px 6px;
  }

  /* レッスンボックス */
  .lesson-boxes-wrapper {
    flex-direction: column;
  }
  .lesson-box {
    flex: 1 1 100%;
    font-size: 1rem;
    padding: 10px;
  }
  .lesson-box img {
    width: 100%;
    aspect-ratio: 16/9;
  }

  /*  料金プラン */
  .price-section {
    width: 95%;
    margin: 40px auto;
    padding: 0 10px;
  }

  .price-title {
    font-size: 1.6rem;
    padding: 5px 10px;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
  }

  .price-cards-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .price-card {
    flex: 1 1 100%;
    min-width: auto;
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 0;
  }

  /* ボックスヘッダー背景をボックス幅に合わせる */
  .price-card-header {
    width: 100%;
    border-radius: 0; 
    padding: 15px 0;
    font-size: 1.6rem;
  }

  .header-sub {
    font-size: 1.2rem !important;
    display: block !important;
    opacity: 0.8;
    color: #333 !important;
    text-align: center !important;
    margin-bottom: 2px !important;
}

  .price-card-price {
  font-size: 2rem;
  font-weight: bold;
  align-items: center; 
}

  .price-card-desc,
  .price-sub {
    font-size: 1.4rem;
    line-height: 1.3;
    font-size: 1.2rem;
  }

  .price-badge,
  .price-contact-btn {
    font-size: 1.6rem;
    padding: 8px 15px;
    width: 90%;
    display: block;
    margin: 10px auto;
    text-align: center;
    white-space: nowrap;
  }

  /* 区切り線の余白を縮める */
  .line-divider {
    margin: 20px auto 20px;
  }

  .price-note-list {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .price-contact-text {
    font-size: 1.3rem;
  }
}