/* ===============================
   teacher-section 完全版
================================ */
.teacher-section {
  background:#faf9f7;
  padding:60px 20px;
  font-family:'Noto Serif JP','Yu Mincho',serif;
  color:#111;
}

/* レイアウト */
.teacher-section .teacher-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

/* タイトル */
.teacher-section .teacher-title {
  text-align: center;
  margin-bottom: 40px;
}

.teacher-section .teacher-title h2 {
  font-size: 48px;
  letter-spacing: 0.18em;
  color: #072b63;
  margin: 0 0 16px;
  font-weight: 700;
}

.teacher-section .teacher-title p {
  font-size: 18px;
  line-height: 2;
  margin: 0;
}

/* カード */
.teacher-section .teacher-card {
  display: grid !important;
  grid-template-columns: 280px 1.1fr 1fr 260px !important;
  gap: 34px;
  align-items: start;
  background: #fff;
  border: 1px solid #eee4d8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 18px;
}

/* 画像 */
.teacher-section .teacher-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* 名前 */
.teacher-section .teacher-name {
  font-size: 32px;
  margin: 0;
}

.teacher-section .teacher-role {
  font-size: 18px;
  color: #666;
  margin: 6px 0 0;
}

/* 下線揃え */
.teacher-section .teacher-name-line {
  border-bottom: 2px solid #c1841c;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

/* テキスト */
.teacher-section .teacher-text {
  font-size: 16px;
  line-height: 1.9;
}

/* 見出し */
.teacher-section .teacher-heading {
  font-size: 18px;
  color: #072b63;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c1841c;
}

/* 高さ揃え */
.teacher-section .teacher-name-line,
.teacher-section .teacher-heading {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 90px;
  box-sizing: border-box;
}

/* リスト */
.teacher-section .teacher-list {
  list-style: none;
  padding-left: 0;
  font-size: 16px;
  line-height: 1.9;
}

.teacher-section .teacher-list li + li {
  margin-top: 8px;
}

/* ===============================
   ★ここが最重要（sample-area対策）
================================ */
.teacher-section .sample-area {
  display: block !important;
  height: auto !important;
  min-height: 1px !important;
  max-height: none !important;
  overflow: visible !important;

  border-left: 1px solid #e7ded3;
  padding-left: 24px;
  color: #111;
  box-sizing: border-box;
}


/* 音声・iframe対策 */
.teacher-section .sample-area audio,
.teacher-section .sample-area iframe,
.teacher-section .sample-area .mediPlayer,
.teacher-section .sample-area .mediaPlayer {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
}

/* CTA */
.teacher-section .teacher-cta {
  max-width: 980px;
  margin: 40px auto 0;
  border: 1px solid #d9b98a;
  background: #fff;
  border-radius: 6px;
  padding: 24px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.teacher-section .teacher-cta-text {
  font-size: 22px;
  line-height: 1.8;
  color: #072b63;
  font-weight: 700;
  margin: 0;
}

.teacher-section .teacher-cta-button {
  background: #bd7a00;
  color: #fff !important;
  text-decoration: none;
  padding: 18px 54px;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-block;
}

/* レスポンシブ */
@media (max-width: 900px) {

  .teacher-section .teacher-card {
    grid-template-columns: 1fr !important;
  }

  .teacher-section .teacher-name-line,
  .teacher-section .teacher-heading {
    min-height: auto;
  }

  .teacher-section .sample-area {
    border-left: none;
    padding-left: 0;
  }

  .teacher-section .teacher-cta {
    flex-direction: column;
    text-align: center;
  }

  .teacher-section .teacher-cta-button {
    width: 100%;
  }
}

/* ===== PC表示 ===== */

.lesson_260411-pc {
  display: block;
}

.lesson_260411_sp {
  display: none;
}

.lesson_260411-wrap {
  width: 100%;
  margin: 0 auto;
}

.lesson_260411-scroll {
  width: 100%;
  overflow: visible;
}

.lesson_260411-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: center;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-weight: bold;
  color: #666666;
  background: #f3f3f3;
}

.lesson_260411-table th,
.lesson_260411-table td {
  border: 1px solid #bfbfbf;
  padding: 22px 12px;
  vertical-align: middle;
  background: #efefef;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-break: strict;
}

.lesson_260411-table thead th {
  padding: 16px 10px 14px;
  line-height: 1.2;
}

.lesson_260411-empty {
  background: #ffffff !important;
  border-top: none !important;
  border-left: none !important;
}

.lesson_260411-row-title {
  width: 180px;
  font-size: 1.5rem;
  color: #444444;
  background: #e9e9e9 !important;
  line-height: 1.4;
}

.lesson_260411-plan-premium,
.lesson_260411-plan-extra,
.lesson_260411-plan-set {
  color: #ffffff !important;
}

.lesson_260411-plan-premium { background: #ff5a00 !important; }
.lesson_260411-plan-extra   { background: #f7a400 !important; }
.lesson_260411-plan-set     { background: #7cb342 !important; }

.lesson_260411-entrance-text {
  width: 160px;
  background: #e5f2d8 !important;
  color: #5d7d2b;
}

.lesson_260411-common {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
}

.lesson_260411-plan-en,
.lesson_260411-entrancefee {
  display: block;
  font-weight: 800;
  line-height: 1.15;
}

.lesson_260411-plan-en {
  font-size: 2rem;
  margin-bottom: 4px;
}

.lesson_260411-plan-ja,
.lesson_260411-entrancefee_2 {
  display: block;
  font-weight: 700;
}

.lesson_260411-plan-ja {
  font-size: 1.05rem;
  line-height: 1.4;
}

.lesson_260411-entrancefee {
  font-size: 30px;
  margin-bottom: 6px;
}

.lesson_260411-entrancefee_2 {
  font-size: 16px;
  line-height: 1.5;
}

.lesson_260411-price {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.4;
}

.lesson_260411-support {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.6;
}

.lesson_260411-premium-text { color: #ff5a00; }
.lesson_260411-extra-text   { color: #f7a400; }
.lesson_260411-set-text     { color: #7cb342; }

/* ===== スマホカード ===== */

.lesson_260411_card {
  border: 1px solid #cfcfcf;
  background: #ffffff;
  margin-bottom: 14px;
  overflow: hidden;
}

.lesson_260411_card.entrance {
  background: #f4faec;
  border-color: #d7e8c4;
}

.lesson_260411_card_head {
  padding: 12px 10px;
  color: #ffffff;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
}

.lesson_260411_card_head.premium { background: #ff5a00; }
.lesson_260411_card_head.extra   { background: #f7a400; }
.lesson_260411_card_head.set     { background: #7cb342; }
.lesson_260411_card_head.entrance{ background: #9bbb59; }

.lesson_260411_card_sub {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.lesson_260411_card_body {
  padding: 14px 12px 16px;
}

.lesson_260411_card_row + .lesson_260411_card_row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5e5e5;
}

.lesson_260411_card_label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.4;
}

.lesson_260411_card_price,
.lesson_260411_card_text {
  display: block;
  font-weight: 700;
}

.lesson_260411_card_price {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.35;
}

.lesson_260411_card_text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.lesson_260411_card_price.premium,
.lesson_260411_card_text.premium { color: #ff5a00; }

.lesson_260411_card_price.extra,
.lesson_260411_card_text.extra { color: #f7a400; }

.lesson_260411_card_price.set,
.lesson_260411_card_text.set { color: #7cb342; }

.lesson_260411_card_price.entrance,
.lesson_260411_card_text.entrance { color: #5d7d2b; }

/* ===== スマホ表示切替 ===== */

@media (max-width: 767px) {
  .lesson_260411-pc {
    display: none;
  }

  .lesson_260411_sp {
    display: block;
    width: 100%;
  }

  .lesson_260411_card_head {
    font-size: 1.1rem;
    padding: 11px 8px;
  }

  .lesson_260411_card_sub {
    font-size: 0.9rem;
  }

  .lesson_260411_card_body {
    padding: 12px 10px 14px;
  }

  .lesson_260411_card_label {
    font-size: 0.85rem;
  }

  .lesson_260411_card_price {
    font-size: 1.3rem;
  }

  .lesson_260411_card_text {
    font-size: 0.95rem;
    line-height: 1.55;
  }
}

.teacher-card {
  display: grid;
  grid-template-columns: 280px 1.4fr 1.4fr;
  gap: 34px;
  align-items: start;
  background: #fff;
  border: 1px solid #eee4d8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 18px;
}

.sample-area {
  display: none;
}

@media (max-width: 900px) {
  .teacher-card {
    grid-template-columns: 1fr;
  }
}