/* ==========================================================
   index.css — LP専用スタイル
   各セクションのレイアウトと装飾
   ========================================================== */

/* 仮画像のプレースホルダー */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 14px;
  color: #888;
  background: linear-gradient(135deg, #e8e8e8 25%, #f4f4f4 25%, #f4f4f4 50%, #e8e8e8 50%, #e8e8e8 75%, #f4f4f4 75%);
  background-size: 20px 20px;
}

.bg-soft { background: var(--bg-soft); }

/* ==========================================================
   1. ヒーローセクション
   ========================================================== */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #f8fdf8 0%, #ffffff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.hero-title .accent {
  color: var(--text-dark);
}

/* キャッチコピー(黄色アンダーライン強調) */
.hero-catch {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-skill);
}
.hero-highlight {
  background: linear-gradient(transparent 60%, rgba(255, 210, 63, 0.5) 60%);
  padding: 0 4px;
}

/* ブランド/プロジェクト名 */
.hero-brand {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-skill);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.hero-sub {
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
}

.hero-images {
  display: grid;
  gap: 12px;
  height: 540px;
}

.hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: #eee;
  position: relative;
  box-shadow: var(--shadow);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* 枠いっぱいに表示 */
  object-position: center 20%;  /* 画像の少し下を中央に → 頭が上寄りに見える */
  display: block;
}

/* 画像が読み込まれたらplaceholderを隠す */
.hero-img img + .placeholder { display: none; }
/* 画像読み込み失敗時は onerror がimgをdisplay:noneにし、placeholderを再表示 */
.hero-img img[style*="display: none"] + .placeholder {
  display: flex;
  position: absolute;
  inset: 0;
}

/* ==========================================================
   2. 3本柱(心・技・体)
   ========================================================== */
.pillars { padding-top: 40px; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}

.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.pillar-head {
  padding: 16px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pillar-mind  .pillar-head { background: var(--color-mind); }
.pillar-skill .pillar-head { background: var(--color-skill); }
.pillar-body  .pillar-head { background: var(--color-body); }

.pillar-symbol {
  font-size: 32px;
  font-weight: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.pillar-title strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-top: 4px;
}

.pillar-img {
  height: 160px;
  background: #eee;
}

/* 本文(各囲みの説明文) — pillar-body と命名衝突するため pillar-desc に変更 */
.pillar-desc {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-mid);
  flex-grow: 1;
}

.pillar-features {
  display: flex;
  justify-content: space-around;
  padding: 16px;
  border-top: 1px dashed var(--border);
}

.pillar-features li {
  text-align: center;
  font-size: 12px;
  color: var(--text-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pillar-features .emoji {
  font-size: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
}

/* ==========================================================
   3. 1回のレッスン構成
   ========================================================== */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.flow-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 0 16px 0;
  overflow: hidden;
  position: relative;
}

.flow-card::after {
  content: "▶";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--color-skill);
  z-index: 1;
}
.flow-card:last-child::after { display: none; }

.flow-head {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.flow-body  .flow-head { background: var(--color-body); }
.flow-skill .flow-head { background: var(--color-skill); }
.flow-mind  .flow-head { background: var(--color-mind); }

.flow-label {
  font-size: 22px;
  font-weight: 900;
}

.flow-time {
  font-size: 13px;
  background: rgba(255,255,255,0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

.flow-title {
  padding: 16px 16px 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.flow-title small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-mid);
}

.flow-img {
  height: 110px;
  background: #eee;
  margin: 0 16px 12px;
  border-radius: var(--radius-sm);
}

.flow-list {
  padding: 0 16px;
  font-size: 12px;
  color: var(--text-mid);
}

.flow-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
  line-height: 1.6;
}
.flow-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-skill);
  font-weight: 900;
}

.flow-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 20px;
}

/* ==========================================================
   4. ステップアップ
   ========================================================== */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-badge {
  position: absolute;
  top: -16px;
  left: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.step-badge span { font-size: 20px; }

.step-1 .step-badge { background: var(--color-step1); }
.step-2 .step-badge { background: var(--color-step2); }
.step-3 .step-badge { background: var(--color-step3); }
.step-extra .step-badge {
  background: var(--color-skill);
  text-align: center;
  line-height: 1.2;
  font-size: 12px;
}

.step-lesson {
  font-size: 18px;
  font-weight: 700;
  margin-top: 16px;
}

.step-duration {
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}

.step-heading {
  font-size: 13px;
  font-weight: 700;
  margin: 10px 0 6px;
}
.step-1 .step-heading { color: var(--color-step1); }
.step-2 .step-heading { color: var(--color-step2); }
.step-3 .step-heading { color: var(--color-step3); }

.step-list {
  font-size: 12px;
  color: var(--text-mid);
}
.step-list li {
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}
.step-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.step-goal {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.7;
}

.step-footer {
  margin-top: auto;
  padding-top: 14px;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding-top: 16px;
}
.step-footer small {
  font-size: 11px;
  color: var(--text-light);
  display: block;
  margin-bottom: 4px;
}
.step-1 .step-footer strong { color: var(--color-step1); }
.step-2 .step-footer strong { color: var(--color-step2); }
.step-3 .step-footer strong { color: var(--color-step3); }

.step-img {
  height: 120px;
  background: #eee;
  border-radius: var(--radius-sm);
  margin: 12px 0;
}

.step-body {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ==========================================================
   2.5 JGDPが大切にする5つの力
   ========================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.value-card {
  text-align: center;
  padding: 16px 8px;
}

.value-icon {
  width: 108px;            /* 90%サイズ */
  height: 108px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  transition: transform .2s;
}
.value-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.value-card:hover .value-icon {
  transform: translateY(-4px);
}

.value-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-skill);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mid);
}

/* ==========================================================
   4.5 料金 / スクール概要
   ========================================================== */
.price-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 24px;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  position: relative;
  border-top: 4px solid var(--color-skill);
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.price-card.price-entry  { border-top-color: var(--color-body); }
.price-card.price-monthly { border-top-color: var(--color-skill); }

.price-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.price-value {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}
.price-value small {
  font-size: 0.5em;
  font-weight: 700;
  margin-left: 4px;
}

.price-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

/* 保険の注釈 */
.price-insurance {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 16px 20px;
  background: rgba(255, 210, 63, 0.15);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-dark);
}
.price-insurance strong {
  color: var(--color-skill);
  font-weight: 700;
}

/* スクール概要 */
.school-overview {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}

.overview-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-skill);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-soft);
}

.overview-list { display: grid; gap: 14px; }

.overview-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
  font-size: 14px;
}
.overview-row dt {
  font-weight: 700;
  color: var(--text-mid);
  padding: 6px 12px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  text-align: center;
}
.overview-row dd {
  color: var(--text-dark);
  line-height: 1.7;
  padding-top: 6px;
}

.lesson-content-list {
  display: grid;
  gap: 6px;
}
.lesson-content-list li {
  position: relative;
  padding-left: 20px;
}
.lesson-content-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--color-skill);
  font-size: 10px;
  top: 6px;
}
.lesson-content-list small {
  font-size: 12px;
  color: var(--text-light);
  margin-left: 6px;
}

/* ==========================================================
   5. 会場・開催日
   ========================================================== */
.time-info {
  text-align: center;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-mid);
}
.time-row {
  display: inline-block;
  margin: 0 12px;
  padding: 4px 0;
}
.time-row b {
  color: var(--color-skill);
  margin-right: 6px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.schools-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.schools-table th {
  background: var(--color-skill);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 500;
  font-size: 13px;
}

.schools-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.schools-table tr:last-child td { border-bottom: none; }

.school-name {
  background: #f9fcf9;
  font-weight: 700;
}
.school-name small {
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 400;
}
.school-name strong {
  font-size: 18px;
  color: var(--color-skill);
}

.map-btn {
  display: inline-block;
  padding: 8px 16px;
  background: var(--color-skill);
  color: #fff !important;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s;
}
.map-btn:hover { transform: scale(1.05); }

/* ==========================================================
   5.2 サポート企業ロゴ
   ========================================================== */
.sponsors-lead {
  text-align: center;
  font-size: 14px;
  color: var(--text-mid);
  margin-top: -16px;
  margin-bottom: 32px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* 4社並べる */
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

/* 協力練習施設(4施設)用 — サポート企業と同じ4列 */
.sponsor-grid.facilities-grid {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1080px;
}

/* クリック可能なカード(リンク扱い) */
.sponsor-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.sponsor-card-link:hover {
  text-decoration: none;
  color: inherit;
}

/* 全てのロゴカードを同じ大きさに統一 */
.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  /* 同じ枠サイズに固定(縦長ロゴでも見やすいよう少し背を高めに) */
  height: 180px;
  padding: 16px;
  transition: transform .2s, box-shadow .2s;
}
.sponsor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* 画像は枠内に収め、最大表示エリアを統一 */
.sponsor-card img {
  max-width: 100%;
  max-height: 100%;       /* 枠の高さいっぱいまで使える */
  width: auto;
  height: auto;
  object-fit: contain;
}

/* 縦長ロゴ(MATSUIKONPOU等)は視覚的サイズを揃えるため拡大 */
.sponsor-card img.is-tall {
  transform: scale(1.4);
}
/* 画像が読めなかった場合のフォールバック */
.sponsor-card .placeholder {
  display: none;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 2px;
}

/* ==========================================================
   5.5 監修者紹介(藤田寛之プロ)
   ========================================================== */
.supervisor {
  background: linear-gradient(180deg, #fafdfa 0%, #ffffff 100%);
}

.supervisor-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-skill);
}

.supervisor-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #f0f7f0 0%, #e0eee0 100%);
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
}

.supervisor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.supervisor-photo img + .placeholder { display: none; }
.supervisor-photo img[style*="display: none"] + .placeholder {
  display: flex;
  position: absolute;
  inset: 0;
}

.supervisor-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-skill);
  padding: 4px 12px;
  background: rgba(91, 184, 91, 0.1);
  border-radius: 999px;
  margin-bottom: 14px;
}

.supervisor-name {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
}
.supervisor-name small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  margin-left: 8px;
}
.supervisor-role {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  background: var(--color-skill);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  vertical-align: middle;
}

.supervisor-bio {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.supervisor-bio strong {
  color: var(--color-skill);
}

.supervisor-highlights {
  display: grid;
  gap: 8px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-left: 3px solid var(--color-skill);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
}
.supervisor-highlights li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  font-size: 13px;
  align-items: center;
}
.hi-year {
  font-weight: 900;
  color: var(--color-skill);
  font-size: 15px;
}
.hi-text {
  color: var(--text-dark);
}

.supervisor-quote {
  font-size: 13px;
  color: var(--text-mid);
  padding: 14px 18px;
  background: rgba(91, 184, 91, 0.06);
  border-radius: var(--radius-sm);
  line-height: 1.8;
}
.supervisor-quote strong {
  color: var(--color-skill);
}

/* ==========================================================
   1.7 藤田プロからのメッセージ
   ========================================================== */
.message-section {
  background: linear-gradient(180deg, #f8fcf8 0%, #ffffff 100%);
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

.message-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 48px 56px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--color-skill);
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-dark);
}

.message-card p {
  margin-bottom: 18px;
}

.message-card strong {
  color: var(--color-skill);
  font-weight: 700;
}

/* リード文(導入) */
.message-lead {
  font-size: 17px;
  font-weight: 500;
  padding: 16px 20px;
  background: rgba(91, 184, 91, 0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-skill);
}
.message-lead strong { color: var(--color-skill); }

/* 引用ボックス(キーメッセージ) */
.message-quote {
  margin: 32px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, #f0fbf0 0%, #e8f5e8 100%);
  border-radius: var(--radius);
  text-align: center;
  border: 2px solid rgba(91, 184, 91, 0.2);
}
.message-quote p {
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--text-mid);
}
.message-quote-main {
  font-size: clamp(20px, 3vw, 28px) !important;
  font-weight: 900 !important;
  color: var(--color-skill) !important;
  margin: 8px 0 !important;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}
.message-quote-main::before { content: "「"; opacity: 0.6; }
.message-quote-main::after  { content: "」"; opacity: 0.6; }

/* 4つの大切な要素リスト */
.message-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0 24px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}
.message-values li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}
.message-values li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-skill);
  font-size: 10px;
}

/* 子供達への引用 */
.message-quote-children {
  margin: 24px 0;
  padding: 24px 32px;
  background: rgba(255, 210, 63, 0.12);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-align: center;
}
.message-quote-children p {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 700;
  color: #b8870e;
}
.message-quote-children p:last-child { margin-bottom: 0; }

/* 子供達へのメッセージブロック */
.message-to-children {
  margin: 36px 0 24px;
  padding: 28px 32px;
  background: rgba(91, 184, 91, 0.05);
  border-radius: var(--radius);
  border: 1px dashed rgba(91, 184, 91, 0.3);
}
.message-to-children h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-skill);
  margin-bottom: 16px;
  text-align: center;
  position: relative;
}
.message-to-children h3::before,
.message-to-children h3::after {
  content: "♪";
  margin: 0 12px;
  color: var(--color-accent);
  opacity: 0.7;
}
.message-to-children p {
  font-size: 14px;
  margin-bottom: 12px;
}
.message-to-children p:last-child { margin-bottom: 0; }

/* 署名 */
.message-signature {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: right;
}
.message-signature small {
  display: block;
  font-size: 11px;
  color: var(--text-mid);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.message-signature p {
  margin: 0;
  font-size: 15px;
  color: var(--text-dark);
}
.message-signature strong {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  margin-left: 8px;
  letter-spacing: 2px;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .message-card { padding: 28px 22px; }
  .message-lead { padding: 14px 16px; }
  .message-quote { padding: 22px 18px; }
  .message-values { grid-template-columns: 1fr; padding: 16px; }
  .message-quote-children { padding: 18px 20px; }
  .message-to-children { padding: 22px 18px; }
  .message-signature strong { font-size: 18px; }
}

/* ==========================================================
   6. コーチ一覧
   ========================================================== */
.coach-group {
  margin-bottom: 48px;
}

/* セクション直下の注意書き */
.coach-section-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 32px;
  margin-top: -16px;
}

.coach-group-title {
  display: inline-block;
  padding: 8px 24px;
  background: var(--color-skill);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* 校舎名タイトル内のサブテキスト(曜日)を白文字に */
.coach-group-title small {
  font-size: 13px;
  font-weight: 400;
  margin-left: 6px;
  opacity: 0.85;
}

.coach-group-note {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.coach-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  gap: 16px;
  transition: transform .3s, box-shadow .3s;
}

.coach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.coach-photo {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  font-size: 32px;
  position: relative;
}
/* コーチ写真画像:丸枠いっぱいに表示 */
.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;          /* デフォルトは中央 */
  transform: scale(1.7);             /* 顔を1.7倍に拡大 */
  transform-origin: 50% 50%;
  display: block;
}

/* 事前に丸抜き済みの画像(透明背景PNG等)用 */
.coach-photo.is-prepped img {
  transform: scale(1.2);             /* 1.2倍に拡大 */
  transform-origin: center;
  object-position: center;
  object-fit: contain;
}
.coach-photo.is-prepped {
  background: transparent;            /* 背景の灰色を消す */
}
/* 画像があるときは絵文字を隠す */
.coach-photo img + .placeholder { display: none; }
/* 画像読み込み失敗時はplaceholderを再表示 */
.coach-photo img[style*="display: none"] + .placeholder {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
}
.coach-photo .placeholder { background: linear-gradient(135deg, var(--color-skill), #4aa84a); color: white; }

.coach-info { flex: 1; }

.coach-role {
  display: inline-block;
  padding: 2px 10px;
  background: var(--color-accent);
  color: var(--text-dark);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.coach-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.coach-name small {
  display: block;
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 400;
  margin-top: 2px;
}

.coach-msg {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 10px;
}

.coach-tags {
  font-size: 11px;
  color: var(--text-mid);
}
.coach-tags li {
  padding-left: 10px;
  position: relative;
  margin-bottom: 2px;
}
.coach-tags li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1023px) {
  .pillar-grid       { grid-template-columns: 1fr; }
  .flow-grid         { grid-template-columns: repeat(2, 1fr); }
  .step-grid         { grid-template-columns: repeat(2, 1fr); }
  .coach-grid        { grid-template-columns: repeat(2, 1fr); }
  .flow-card::after  { display: none; }
  .supervisor-card   { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .supervisor-photo  { max-width: 320px; margin: 0 auto; }
  .sponsor-grid      { grid-template-columns: repeat(2, 1fr); }   /* タブレットは2列 */
  .values-grid       { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .value-icon        { width: 86px; height: 86px; font-size: 36px; }
  .value-name        { font-size: 15px; }
  .value-desc        { font-size: 12px; }
}

@media (max-width: 767px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-images      { height: 320px; }
  .flow-grid        { grid-template-columns: 1fr; }
  .step-grid        { grid-template-columns: 1fr; }
  .coach-grid       { grid-template-columns: 1fr; }
  .coach-card       { flex-direction: column; align-items: center; text-align: center; }
  .coach-tags       { text-align: left; }
  .supervisor-card  { padding: 20px; }
  .supervisor-highlights li { grid-template-columns: 50px 1fr; gap: 10px; }
  /* モバイル:全ロゴが1:1の正方形になったのでシンプルに統一表示 */
  .sponsor-grid     { grid-template-columns: repeat(2, 1fr); max-width: 320px; gap: 12px; }
  .sponsor-card     { height: 140px; padding: 14px; }

  .sponsor-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: none;
    max-height: none;
  }
  .price-cards      { grid-template-columns: 1fr; max-width: 360px; gap: 16px; }
  .school-overview  { padding: 20px; }
  .overview-row     { grid-template-columns: 1fr; gap: 6px; }
  .overview-row dt  { text-align: left; padding: 4px 10px; justify-self: start; }
  .values-grid      { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .value-icon       { width: 72px; height: 72px; font-size: 40px; }

  /* ===== 会場テーブルをモバイルではカード型に変換 ===== */
  .table-wrap {
    overflow-x: visible;
    box-shadow: none;
    background: transparent;
  }

  /* テーブル要素を全てブロック化 */
  .schools-table,
  .schools-table tbody,
  .schools-table tr,
  .schools-table td {
    display: block;
    width: 100%;
  }

  /* ヘッダー行は非表示 */
  .schools-table thead { display: none; }

  /* 各行をカード化 */
  .schools-table tr {
    margin-bottom: 18px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  /* 通常のセル — ラベル+値の横書き */
  .schools-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    line-height: 1.7;
    font-size: 14px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  /* ラベル(data-label属性を擬似要素で表示) */
  .schools-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-skill);
    margin-bottom: 4px;
    letter-spacing: 1px;
  }

  /* 会場名のセルはヘッダー風に */
  .schools-table td.school-name {
    background: var(--color-skill);
    color: #fff;
    padding: 14px 16px;
    text-align: center;
    border-bottom: none;
  }
  .schools-table td.school-name small { color: rgba(255,255,255,0.85); }
  .schools-table td.school-name strong { font-size: 18px; display: block; margin-top: 2px; }

  /* 最後のセル(MAPボタン)の下線消す */
  .schools-table tr td:last-child { border-bottom: none; }

  /* MAPボタンをフル幅で見やすく */
  .schools-table td .map-btn {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 18px;
  }
}
