@charset "utf-8";

/* ===================
  メインコンテンツ
=================== */
.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 {
  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: red; /* 赤色にする */
  font-weight: bold; /* 太字にしたい場合 */
}
.program-growth {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
}

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

.program-title {
  position: absolute;
  top: -15px;
  textalighn: center;
  background: #F4A62A;  /* ボタン風の色 */
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  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;
}

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

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

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

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


/* レッスンの流れ */

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


.lesson-flow-title {
  display: inline-block;
  background-color: #F4A62A;
  color: #fff;
  padding: 10px 30px;
  border-radius: 30px;
  font-size: 1.6rem;
  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);
}

.dotted-divider {
  border: none;
  border-top: 2px dotted #bba;
  margin: 40px auto 40px;
  width: 80%;
  position: relative;
  z-index: 1;
}


.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;
  border-top: 2px dotted #bba;
  margin: 40px auto;
  width: 80%;
}

/* 説明文 */
.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 30%;
}

.lesson-box img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

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

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



/* レスポンシブ */
@media screen and (max-width: 768px) {
  .lesson-flow-wrapper {
    flex-direction: column;
  }
  .vertical-divider {
    display: none;
  }
  .lesson-boxes-wrapper {
    flex-direction: column;
  }
}

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

/* タイトルをボタン風に中央に */
.price-title {
  display: inline-block;
  background-color: #F4A62A; /* 好きな色に変更可 */
  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);
}

/* ボックス全体 */
.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;
  padding: 0;
  text-align: center;
  background: #fff;
  margin-bottom: 20px;

  /* クレヨン風の線 */
  border: 3px solid #000;
  border-image: url('crayon-border.png') 30 round; /* クレヨン風PNG画像を用意すると本格的 */
  position: relative;
}

/* ボックスヘッダーだけ色付き */
.price-card-header {
  padding: 15px 0;
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* 色分け */
.price-card.orange .price-card-header { background: #F4A62A; }
.price-card.pink .price-card-header { background: #ffe6eb; color: #F4A62A; }
.price-card.green .price-card-header { background: #A2D39C; color: #fff; }

/* 値段部分は背景なし */
.price-card-price {
  font-size: 2rem;
  font-weight: bold;
  margin: 20px 0;
}

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

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .price-cards-wrapper {
    flex-direction: column;
    gap: 15px;
  }
}
/* レスポンシブ */
@media screen and (max-width: 1024px) {
  .main { margin-left: 0; width: 100%; }
  .feature-box, .flow-wrapper, .price-wrapper { flex-direction: column; }
  .section-lessontrip {
    width: 95%; 
    padding: 0 15px;
  }
}
@media screen and (max-width: 768px) {
  .section-top__image { height: 300px; }
  .section-catchphrase { font-size: 1.8rem; }
  .section-lessontrip {
    width: 95%; 
    padding: 0 10px;
  }
}