/* アマナ自然学校 販売ページ・申込ページ 共通スタイル */

/* サイトで使う文字に絞った Noto Sans JP（apps/shop/scripts/subset-font.mjs で生成） */
@font-face {
  font-family: "Noto Sans JP";
  src: url(../fonts/noto-sans-jp-subset.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
/* ============================================================
   デザイントークン（使い方は apps/shop/web/DESIGN.md）
   色・文字サイズ・角丸は、ここに定義した変数だけを使う。
   値を変えるとサイト全体が変わる。
   ============================================================ */
:root {
  /* --- 色：ブランド --- */
  --navy: #1c2b37;          /* 見出しの文字・主ボタン・ロゴ */
  --navy-band: #23313c;     /* 暗い帯 */
  --green: #4f7a28;         /* アクセント・リンク */
  --green-dark: #3f6420;
  --green-pale: #e3ead9;    /* フォーカス時の外側の線 */
  --line-green: #cdd9c0;    /* green の線・カード枠 */
  --accent-orange: #c9542c;
  --accent-blue: #3f86b9;
  --season-spring: #d0668a;
  --season-summer: #2f7bbf;
  --season-autumn: #d8742a;

  /* --- 色：文字 --- */
  --text: #2b2f33;
  --muted: #6f747a;         /* 補足・説明文 */
  --text-on-dark: #c9ced3;  /* 暗い背景の上の補足 */

  /* --- 色：背景・面 --- */
  --white: #fff;
  --bg: #ffffff;
  --bg-soft: #f6f9f2;       /* 薄い green のセクション・パネル */
  --bg-tint: #fbfcf9;
  --bg-th: #fafbf8;         /* 表の見出しセル */
  --bg-warm: #fff9ec;       /* 注意寄りのパネル */
  --gray-soft: #e8eae6;     /* 「任意」ラベル */
  --gray-inactive: #d4d7d2; /* 未到達のステップ */

  /* --- 色：線 --- */
  --line: #e4e7e1;
  --border-input: #d5d9d2;

  /* --- 色：状態 --- */
  --req: #bd5b46;           /* 必須・エラー・締切 */
  --warn-bg: #fff6e5;
  --warn-line: #f0d9a8;
  --warn-text: #8a5a12;

  /* --- 文字サイズ（1rem = 16px） --- */
  --fs-4xs: .5625rem;   /*  9px 新規では使わない */
  --fs-3xs: .625rem;    /* 10px 新規では使わない */
  --fs-2xs: .6875rem;   /* 11px 注記 */
  --fs-xs: .75rem;      /* 12px 小さめの本文・ラベル */
  --fs-sm: .8125rem;    /* 13px */
  --fs-md: .875rem;     /* 14px ボタン・ドキュメント本文 */
  --fs-base: .9375rem;  /* 15px 本文（body） */
  --fs-lg: 1rem;        /* 16px */
  --fs-xl: 1.0625rem;   /* 17px */
  --fs-2xl: 1.125rem;   /* 18px 小見出し */
  --fs-3xl: 1.25rem;    /* 20px リード */
  --fs-4xl: 1.375rem;   /* 22px キャッチコピー */
  --fs-5xl: 1.625rem;   /* 26px セクション見出し・ページタイトル */
  --fs-display: 2.375rem; /* 38px 価格 */

  /* --- 角丸 --- */
  --radius-xs: 3px;     /* 小ラベル */
  --radius-sm: 6px;     /* 入力欄 */
  --radius-md: 8px;     /* パネル・表 */
  --radius-lg: 10px;    /* 枠付きボックス */
  --radius-xl: 12px;    /* カード（基本） */
  --radius-card: 14px;  /* 申込カード */
  --radius-2xl: 16px;   /* 大きな枠 */
  --radius-pill: 999px; /* ボタン・バッジ */
  --radius-round: 50%;  /* 丸 */

  /* --- レイアウト --- */
  --container: 1000px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.8;
  line-break: strict;
  word-break: normal;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section--soft { background: var(--bg-soft); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-xs); line-height: 1.8; }
.nowrap { white-space: nowrap; }
:where(.overview__cards, .tutorial, .schedule, .lecture-cards, .mission-cards, .message, .price-cards, .payment-box, .doc-layout, .field-grid) > * { min-width: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: block; flex-shrink: 0; }
.logo img { display: block; width: auto; height: 30px; }
.gnav { display: flex; gap: 34px; }
.gnav a { color: var(--muted); text-decoration: none; font-size: var(--fs-xs); letter-spacing: .15em; }
.gnav a:hover { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 40px; border-radius: var(--radius-pill);
  font: inherit; font-size: var(--fs-md); font-weight: 500; letter-spacing: .12em;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: opacity .2s, background .2s;
}
.btn:hover { opacity: .85; }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--green { background: var(--green); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--sm { min-height: 36px; padding: 0 22px; font-size: var(--fs-xs); }
.btn--lg { min-height: 56px; padding: 0 56px; font-size: var(--fs-base); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
/* 受付終了など、押せないことを示す表示（リンクにしない） */
.btn--closed { background: var(--gray-soft); color: var(--muted); border-color: var(--gray-inactive); cursor: default; }
.btn--closed:hover { opacity: 1; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Info banner ---------- */
.info-banner {
  width: calc(100% - 40px); max-width: 1040px; margin: 0 auto; padding: 16px 24px;
  background: var(--bg-soft); border: 1px solid var(--line-green); border-radius: var(--radius-lg);
  color: var(--text); text-align: center; letter-spacing: .06em;
}
.info-banner__title { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 20px; font-size: var(--fs-sm); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.info-banner__name { color: var(--green); font-weight: 700; letter-spacing: .15em; white-space: nowrap; }
.info-banner__list { display: grid; grid-template-columns: repeat(5, auto); justify-content: center; gap: 8px; margin: 12px 0 10px; }
.info-banner__list > div { min-width: 0; padding: 6px 16px; background: var(--white); border-radius: var(--radius-md); }
.info-banner dt { font-size: var(--fs-2xs); color: var(--muted); line-height: 1.5; }
.info-banner dd { margin: 0; font-size: var(--fs-md); font-weight: 500; line-height: 1.5; white-space: nowrap; }
.info-banner__deadline {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 12px;
  width: fit-content; max-width: 100%; margin: 12px auto 0; padding: 6px 20px;
  background: var(--white); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1.5px var(--req);
}
.info-banner__deadline dt { font-size: var(--fs-xs); }
.info-banner__deadline dt, .info-banner__deadline dd { color: var(--req); font-weight: 700; }
.info-banner__note { font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.info-banner__toggle, .info-banner__more { display: none; }
.info-banner__link { display: inline-block; margin-top: 4px; font-size: var(--fs-xs); font-weight: 700; color: var(--green); }
@media (max-width: 1000px) {
  .info-banner { padding: 14px 12px; }
  .info-banner__list { grid-template-columns: repeat(3, 1fr); }
  .info-banner__list > div { padding: 6px 8px; }
  /* Three columns; the program details span two columns. */
  .info-banner__list > div:last-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  /* Two columns; the program details use a full row. */
  .info-banner__title { flex-direction: column; align-items: center; }
  .info-banner__list { grid-template-columns: repeat(2, 1fr); }
  .info-banner__list > div:last-child { grid-column: 1 / -1; }
  /* モバイルは開催概要（申込締切以外の項目・注記）を折りたたみ、ボタンで開閉 */
  .info-banner { position: relative; }
  .info-banner__toggle { display: block; position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
  .info-banner__toggle:not(:checked) ~ .info-banner__list,
  .info-banner__toggle:not(:checked) ~ .info-banner__note { display: none; }
  .info-banner__more { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; margin-top: 4px; padding: 0 12px; color: var(--green); font-size: var(--fs-xs); font-weight: 700; cursor: pointer; }
  .info-banner__more::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
  .info-banner__more-close { display: none; }
  .info-banner__toggle:checked ~ .info-banner__more::after { transform: translateY(2px) rotate(-135deg); }
  .info-banner__toggle:checked ~ .info-banner__more .info-banner__more-open { display: none; }
  .info-banner__toggle:checked ~ .info-banner__more .info-banner__more-close { display: inline; }
  .info-banner__toggle:focus-visible ~ .info-banner__more { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
}
@media (max-width: 560px) {
  .info-banner { width: calc(100% - 32px); }
}
@media (max-width: 340px) {
  .info-banner__name { letter-spacing: .06em; }
  .info-banner dd { font-size: var(--fs-sm); letter-spacing: .02em; }
}

/* ---------- Section heading ---------- */
.eyebrow { font-size: var(--fs-2xs); font-weight: 700; color: var(--muted); letter-spacing: .12em; }
.heading { display: flex; align-items: center; gap: 20px; margin-bottom: 50px; }
.heading h2 { font-size: var(--fs-5xl); font-weight: 500; letter-spacing: .12em; white-space: nowrap; }
.heading--line::after {
  content: ""; flex: 1; height: 8px;
  background: linear-gradient(var(--line-green), var(--line-green)) left center / 100% 1px no-repeat,
              radial-gradient(circle, var(--line-green) 3.5px, transparent 4px) left center / 8px 8px no-repeat;
}
.heading-wrap { margin-bottom: 50px; }
.heading-wrap .heading { margin-bottom: 0; }

.lead { font-size: var(--fs-3xl); font-weight: 500; letter-spacing: .12em; line-height: 1.9; text-align: center; margin-bottom: 30px; }
.lead-text { color: var(--muted); text-align: center; font-size: var(--fs-md); line-height: 2.1; margin-bottom: 40px; }

/* ---------- Photo placeholder ---------- */
.photo {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: repeating-linear-gradient(135deg, #e3ead9 0 14px, #dbe4cf 14px 15px);
  aspect-ratio: 3 / 2;
  display: flex; align-items: flex-end; padding: 10px 12px;
}
.photo span { font-size: var(--fs-3xs); color: var(--muted); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 60px; }
.hero__title { font-size: var(--fs-5xl); font-weight: 500; letter-spacing: .12em; margin-bottom: 40px; }
.hero__copy { font-size: var(--fs-4xl); font-weight: 500; letter-spacing: .12em; line-height: 1.8; text-align: center; margin-bottom: 30px; }
.hero__text { text-align: center; color: var(--muted); line-height: 2.1; margin-bottom: 30px; }
.hero__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }

/* ---------- Season quest overview ---------- */
.overview {
  border: 1.5px solid var(--green); border-radius: var(--radius-2xl); padding: 26px 26px 30px; background: var(--bg-tint);
}
.overview__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.overview__name { font-weight: bold; color: var(--green); font-size: var(--fs-xs); letter-spacing: .15em; }
.overview__head span { font-size: var(--fs-3xs); color: var(--muted); }
.overview__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ov-card { background: var(--white); border: 1px solid var(--line-green); border-radius: var(--radius-xl); overflow: hidden; }
.ov-card .photo { border-radius: 0; aspect-ratio: 16 / 9; }
.ov-card__body { padding: 16px 18px 18px; }
.ov-card__title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 700; font-size: var(--fs-sm); letter-spacing: 0; white-space: nowrap; margin-bottom: 4px; }
.ov-card__title em { font-style: normal; color: var(--green); font-size: var(--fs-lg); font-weight: 500; }
@media (min-width: 861px) and (max-width: 1000px) {
  .ov-card__title { font-size: var(--fs-xs); }
  .ov-card__title em { font-size: var(--fs-base); }
}
@media (min-width: 861px) and (max-width: 940px) {
  .ov-card__title { font-size: var(--fs-2xs); }
  .ov-card__title em { font-size: var(--fs-md); }
}
.ov-card__body p { font-size: var(--fs-2xs); color: var(--muted); line-height: 1.8; }
.quest-box {
  margin-top: 24px; border: 1.5px dashed var(--green); border-radius: var(--radius-xl); padding: 16px 22px;
  display: flex; gap: 30px; align-items: center; font-size: var(--fs-xs); color: var(--muted);
}
.quest-box__label { color: var(--green); font-weight: 700; letter-spacing: .18em; white-space: nowrap; }
.down-pin { display: flex; justify-content: center; margin: 30px 0 40px; }
.down-pin img { width: 46px; height: auto; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 0 16px; }
.features__num { color: var(--green); font-size: var(--fs-3xs); font-weight: 700; letter-spacing: .15em; }
.features h3 { font-size: var(--fs-md); font-weight: 700; margin: 4px 0 8px; }
.features p { font-size: var(--fs-2xs); color: var(--muted); }

/* ---------- Tutorial ---------- */
.tutorial { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.tut-card { border: 1px solid var(--line-green); border-radius: var(--radius-xl); overflow: hidden; }
.tut-card .photo { border-radius: 0; aspect-ratio: 16 / 9; }
.tut-card__body { padding: 16px; font-size: var(--fs-2xs); }
.tut-card__body h3 { font-size: var(--fs-md); margin-bottom: 6px; }
.tut-card__level { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; margin: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stars { color: var(--green); letter-spacing: 2px; font-size: var(--fs-md); }
.stars span { color: var(--navy); }
.tut-card__date { font-weight: 700; font-size: var(--fs-xs); }
.schedule { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; }
.schedule h3 { font-size: var(--fs-xs); font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--line-green); margin-bottom: 10px; letter-spacing: .1em; }
.schedule__sub { font-weight: 400; margin-left: 8px; font-size: var(--fs-3xs); color: var(--muted); }
.schedule li { display: grid; grid-template-columns: 50px 1fr; padding: 6px 0; }
.schedule time { color: var(--green); font-size: var(--fs-2xs); font-weight: 700; padding-top: 2px; }
.schedule__title { display: block; font-size: var(--fs-sm); font-weight: 700; }
.schedule li span { font-size: var(--fs-2xs); color: var(--muted); line-height: 1.7; display: block; }
/* Center the notes as a group while keeping the text left aligned. */
.notes-row { margin: 40px 0 0; font-size: var(--fs-2xs); display: grid; justify-content: center; gap: 10px; }
/* Size the label column for the longest label, including letter spacing. */
.notes-row__item { display: grid; grid-template-columns: 13em 1fr; gap: 16px; }
.notes-row dt { font-weight: 700; }
.notes-row dd { margin: 0; color: var(--muted); }
.pr-badge { display: inline-block; border: 1px solid #aaa; border-radius: var(--radius-xs); font-size: var(--fs-4xs); padding: 0 5px; line-height: 16px; color: var(--muted); margin-left: 6px; vertical-align: middle; }

/* ---------- Seeds (icons) ---------- */
/* アイコンは SEED OF THE WORLD と同じ画像。文字は読み上げ用に残し、見た目だけ隠す */
.seeds { display: flex; gap: 6px; flex-wrap: wrap; }
.seed {
  width: 26px; height: 26px; color: transparent; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--fs-3xs); font-weight: 700; flex-shrink: 0;
  background: center / contain no-repeat;
}
.seed--water { background-image: url(../images/seeds/water-261104.webp); }
.seed--forest { background-image: url(../images/seeds/forest-261104.webp); }
.seed--life { background-image: url(../images/seeds/life-261104.webp); }
.seed--food { background-image: url(../images/seeds/food-261104.webp); }
.seed--fire { background-image: url(../images/seeds/fire-261104.webp); }
.seed--cloth { background-image: url(../images/seeds/cloth-261104.webp); }
.seed--house { background-image: url(../images/seeds/house-261104.webp); }

/* ---------- Lectures ---------- */
.season-tag { display: flex; align-items: center; gap: 12px; font-weight: 700; margin-bottom: 14px; }
.season-tag span { background: var(--green); color: var(--white); font-size: var(--fs-4xs); padding: 2px 10px; border-radius: var(--radius-pill); }
.lecture-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lecture-card { background: var(--white); border: 1.5px solid var(--green); border-radius: var(--radius-xl); padding: 22px 20px; }
.lecture-card time { color: var(--green); font-size: var(--fs-2xs); font-weight: 700; }
.lecture-card h3 { font-size: var(--fs-xl); font-weight: 700; margin: 6px 0 10px; }
.lecture-card p { font-size: var(--fs-xs); color: var(--muted); }
.year-cycle { margin: 60px 26px 0; }
.year-cycle__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.year-cycle__head h3 { font-size: var(--fs-base); font-weight: 500; }
.year-cycle__head span { font-size: var(--fs-3xs); color: var(--muted); }
.year-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.year-card { background: var(--white); border: 1px solid var(--line-green); border-radius: var(--radius-xl); padding: 18px 16px; }
.year-card h4 { font-size: var(--fs-md); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.year-card li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.year-card li:last-child { border-bottom: 0; }
.year-card__title { font-weight: bold; font-size: var(--fs-xs); display: block; }
.year-card span { font-size: var(--fs-3xs); color: var(--muted); display: block; }
.footnote { margin-top: 50px; font-size: var(--fs-3xs); color: var(--muted); }

/* ---------- Fieldwork ---------- */
.mission-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mission-card { border: 1px solid var(--line-green); border-radius: var(--radius-xl); overflow: hidden; background: var(--white); }
.mission-card .photo { border-radius: 0; aspect-ratio: 3 / 2; }
.mission-card__body { padding: 16px 16px 18px; font-size: var(--fs-2xs); }
.mission-card h3 { font-size: var(--fs-base); font-weight: 700; }
.mission-card h3 em { font-style: normal; color: var(--green); font-size: var(--fs-xs); margin-left: 8px; }
.mission-card__sub { color: var(--muted); font-size: var(--fs-3xs); margin: 6px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { background: var(--bg-soft); border-radius: var(--radius-pill); padding: 1px 10px; font-size: var(--fs-3xs); color: var(--muted); }
.mission-card__seeds { display: flex; gap: 6px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.mission-card__seeds-label { color: var(--muted); font-size: var(--fs-3xs); margin-left: 4px; line-height: 1.5; }
.quest-panel { border: 1.5px dashed var(--green); border-radius: var(--radius-xl); padding: 22px; margin-top: 40px; }
.quest-panel__title { font-weight: 500; font-size: var(--fs-sm); margin-bottom: 14px; }
.quest-panel__label { font-weight: bold; color: var(--green); letter-spacing: .18em; margin-right: 16px; font-size: var(--fs-2xs); }
.quest-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.quest-case { background: var(--bg-soft); border-radius: var(--radius-md); padding: 14px; }
.quest-case__title { font-weight: bold; font-size: var(--fs-xs); display: block; }
.quest-case span { font-size: var(--fs-3xs); color: var(--muted); }
.day-flow-title { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); margin: 40px 0 12px; }
.day-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.day-flow > div { border-top: 3px solid var(--green); border-radius: var(--radius-xl); padding: 14px 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line) inset; }
.day-flow > div:nth-child(2) { border-color: var(--accent-orange); }
.day-flow > div:nth-child(3) { border-color: var(--accent-blue); }
.day-flow time { font-size: var(--fs-3xs); font-weight: 700; color: var(--green); }
.day-flow > div:nth-child(2) time { color: var(--accent-orange); }
.day-flow > div:nth-child(3) time { color: var(--accent-blue); }
.day-flow__title { font-weight: bold; display: block; font-size: var(--fs-sm); }
.day-flow p { font-size: var(--fs-2xs); color: var(--muted); }

/* ---------- Message ---------- */
.message { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.message__role { color: var(--green); font-size: var(--fs-4xs); font-weight: 700; margin-top: 12px; }
.message__name { font-size: var(--fs-base); font-weight: 700; }
.message__copy { font-size: var(--fs-xl); font-weight: 700; line-height: 1.8; margin-bottom: 16px; }
.message__body p { font-size: var(--fs-xs); color: var(--muted); line-height: 2; margin-bottom: 14px; }
.wanted { margin-top: 60px; }
.wanted .heading { margin-bottom: 8px; }
.wanted .heading h2 { font-size: var(--fs-lg); font-weight: 700; }
.wanted ul { margin-top: 16px; border-top: 1px solid var(--line); }
.wanted li { position: relative; padding: 16px 0 16px 18px; border-bottom: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.wanted li::before { content: ""; position: absolute; left: 0; top: calc(16px + .75em); width: 5px; height: 5px; border-radius: var(--radius-round); background: var(--green); }

/* ---------- Price ---------- */
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.price-card { border: 1.5px solid var(--line-green); border-radius: var(--radius-xl); padding: 28px 32px; }
.price-card--main { border-color: var(--green); }
.price-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.price-card__head h3 { font-size: var(--fs-md); }
.badge { font-size: var(--fs-4xs); padding: 1px 10px; border-radius: var(--radius-pill); background: var(--green); color: var(--white); font-weight: 700; }
.badge--outline { background: var(--white); color: var(--navy); border: 1px solid var(--navy); }
.price-card .price { font-size: var(--fs-display); color: var(--text); font-weight: 300; letter-spacing: .02em; }
.price small { font-size: var(--fs-3xs); margin-left: 8px; letter-spacing: .04em; }
.price-card p { font-size: var(--fs-2xs); color: var(--muted); }
.price-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.price-incl h4 { font-size: var(--fs-xs); }
.price-incl p { font-size: var(--fs-2xs); color: var(--muted); }
.detail-list { list-style: disc; padding-left: 1.3em; font-size: var(--fs-2xs); color: var(--muted); }
.detail-list li { margin-top: 4px; }
.detail-list li::marker { color: var(--green); }
.panel .detail-list + .panel__heading { display: block; margin-top: 12px; }
.payment-box { background: var(--bg-soft); border-radius: var(--radius-xl); padding: 24px 28px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.payment-box h4 { font-size: var(--fs-2xs); margin-bottom: 8px; }
.payment-box p, .payment-box li { font-size: var(--fs-3xs); color: var(--muted); line-height: 1.9; }
.payment-dates { margin: 0 0 12px; font-size: var(--fs-3xs); color: var(--muted); }
.payment-dates > div { display: flex; flex-wrap: wrap; column-gap: 12px; }
.payment-dates dt { flex: 0 0 7em; }
.payment-dates dd { margin: 0; }
.payment-notes li + li { margin-top: 6px; }
.payment-deadline { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.payment-deadline__label { font-weight: bold; color: var(--text); }
.cancel-table { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 10px; }
.cancel-table div { padding: 8px 12px; border-right: 1px solid var(--line); }
.cancel-table div:last-child { border-right: 0; }
.cancel-table__term { display: block; font-size: var(--fs-4xs); color: var(--muted); }
.cancel-table__fee { font-weight: bold; font-size: var(--fs-xs); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-top: 12px; font-size: var(--fs-3xs); }

/* ---------- Flow ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.flow li { background: var(--bg-soft); border-radius: var(--radius-xl); padding: 20px 14px; }
.flow__num { color: var(--green); font-size: var(--fs-3xl); font-weight: 700; display: block; }
.flow__title { font-weight: bold; font-size: var(--fs-xs); display: block; margin: 4px 0 6px; }
.flow p { font-size: var(--fs-3xs); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
.faq dl { margin: 0; padding: 16px 0; border-top: 1px solid var(--line); }
.faq dt { font-size: var(--fs-xs); font-weight: 700; margin-bottom: 4px; }
.faq dd { margin: 0; font-size: var(--fs-2xs); color: var(--muted); }

/* ---------- Seven seeds ---------- */
.seeds-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.seed-ring { position: relative; width: min(300px, 100%); aspect-ratio: 1; margin: 0 auto; }
.seed-ring::before { content: ""; position: absolute; inset: 26px; border: 1px solid #c8bf98; border-radius: var(--radius-round); }
.seed-ring .seed { position: absolute; width: 74px; height: 74px; font-size: var(--fs-2xl); transform: translate(-50%, -50%); }
.seed-ring .seed--life { width: 130px; height: 130px; font-size: var(--fs-5xl); left: 50%; top: 50%; }
.seed-ring .s1 { left: 50%; top: 9%; }
.seed-ring .s2 { left: 85%; top: 29%; }
.seed-ring .s3 { left: 85%; top: 71%; }
.seed-ring .s4 { left: 50%; top: 91%; }
.seed-ring .s5 { left: 15%; top: 71%; }
.seed-ring .s6 { left: 15%; top: 29%; }
.seeds-desc h3 { font-size: var(--fs-2xl); color: var(--muted); margin-bottom: 8px; }
.seeds-desc > p { font-size: var(--fs-2xs); margin-bottom: 14px; }
.seeds-desc li { display: flex; gap: 10px; align-items: center; font-size: var(--fs-2xs); padding: 3px 0; }
.seeds-desc .seed { width: 24px; height: 24px; font-size: var(--fs-4xs); }

/* ---------- Closing band ---------- */
.closing {
  max-width: 1040px; margin: 0 auto; border-radius: var(--radius-xl); color: var(--white); text-align: center;
  padding: 60px 24px 40px; position: relative;
  background: repeating-linear-gradient(135deg, var(--navy-band) 0 14px, #26353f 14px 15px);
}
.closing__deadline { font-size: var(--fs-2xs); color: var(--text-on-dark); margin-bottom: 16px; }
.closing h2 { font-size: var(--fs-5xl); font-weight: 300; letter-spacing: .15em; line-height: 1.8; margin-bottom: 14px; }
.closing p { font-size: var(--fs-2xs); color: var(--text-on-dark); line-height: 2; }
.closing .btn { margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { padding: 70px 0 60px; }
.site-footer__copy { font-size: var(--fs-4xl); font-weight: 300; letter-spacing: .15em; color: var(--muted); margin-bottom: 30px; }
.site-footer__cols { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 30px; font-size: var(--fs-2xs); }
.site-footer__cols a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; }
.site-footer__join { text-align: center; }
.site-footer__join a { color: var(--text); font-size: var(--fs-md); font-weight: 700; letter-spacing: .1em; }
.site-footer__join small { font-size: var(--fs-4xs); color: var(--muted); }

/* ============================================================
   規約・ガイド等のドキュメントページ
   ============================================================ */
.doc-hero { background: var(--bg-soft); padding: 60px 0 50px; }
.doc-hero h1 { font-size: var(--fs-5xl); font-weight: 500; letter-spacing: .12em; margin: 4px 0 12px; }
.doc-hero__meta { font-size: var(--fs-2xs); color: var(--muted); }
.doc-hero__lead { font-size: var(--fs-sm); color: var(--muted); margin-top: 16px; max-width: 760px; line-height: 2; }

.doc-layout { max-width: var(--container); margin: 0 auto; padding: 60px 20px 100px; display: grid; grid-template-columns: 200px 1fr; gap: 60px; align-items: start; }
.doc-side { position: sticky; top: 90px; font-size: var(--fs-2xs); }
.doc-side h2 { font-size: var(--fs-3xs); font-weight: 700; color: var(--muted); letter-spacing: .12em; margin-bottom: 8px; }
.doc-side li a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; line-height: 1.6; }
.doc-side li a:hover { color: var(--green); border-color: var(--green); }
.doc-side li a[aria-current="page"] { color: var(--text); font-weight: 700; border-color: var(--green); }
.doc-side__toc { margin-top: 28px; }

.doc { font-size: var(--fs-md); line-height: 2; max-width: 760px; min-width: 0; }
.doc__label { font-weight: bold; }
.doc h2 { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: .08em; padding-bottom: 10px; border-bottom: 1px solid var(--line-green); margin: 56px 0 18px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: var(--fs-base); font-weight: 700; margin: 32px 0 8px; }
.doc h4 { font-size: var(--fs-sm); font-weight: 700; margin: 20px 0 4px; }
.doc p { margin-bottom: 12px; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 1.4em; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li { margin-bottom: 6px; padding-left: 2px; }
.doc li::marker { color: var(--green); }
.doc ol.paren { list-style: none; counter-reset: paren; padding-left: 2.4em; }
.doc ol.paren > li { counter-increment: paren; position: relative; }
.doc ol.paren > li::before { content: "（" counter(paren) "）"; position: absolute; left: -2.6em; color: var(--muted); }
.doc .tbl { font-size: var(--fs-sm); margin: 8px 0 16px; }
.doc .tbl th { width: 30%; }
.doc .tbl thead th { background: var(--bg-soft); width: auto; }
.doc .panel { font-size: var(--fs-sm); color: var(--text); }
.doc .note { font-size: var(--fs-xs); color: var(--muted); }
.doc-end { text-align: right; margin-top: 40px; }

.doc-dl { border-top: 1px solid var(--line); margin: 0 0 20px; }
.doc-dl > div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.doc-dl dt { font-weight: 700; font-size: var(--fs-sm); }
.doc-dl dd { margin: 0; }
.doc-dl dd p:last-child, .doc-dl dd ul:last-child { margin-bottom: 0; }

.doc-toc { background: var(--bg-soft); border-radius: var(--radius-xl); padding: 20px 24px; margin-bottom: 40px; }
.doc-toc h2 { font-size: var(--fs-sm); border: 0; padding: 0; margin: 0 0 8px; }
.doc-toc ol { list-style: none; padding-left: 0; columns: 2; column-gap: 30px; margin: 0; font-size: var(--fs-sm); }
.doc-toc a { color: var(--text); text-decoration: none; }
.doc-toc a:hover { color: var(--green); }

/* ============================================================
   申込ページ
   ============================================================ */
.apply-body { background: var(--bg-soft); }
.apply-wrap { max-width: 640px; margin: 40px auto 80px; padding: 0 16px; }
.apply-card { background: var(--white); border-radius: var(--radius-card); box-shadow: 0 2px 14px rgba(40, 60, 20, .08); overflow: hidden; }
.apply-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 40px; border-bottom: 1px solid var(--line); gap: 12px; }
.apply-head span, .apply-head h1 { font-size: var(--fs-3xs); color: var(--muted); }
.apply-head h1 { font-weight: inherit; }
.stepper { display: flex; align-items: center; gap: 10px; padding: 18px 40px; border-bottom: 1px solid var(--line); }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-3xs); color: var(--muted); white-space: nowrap; }
.stepper li:not(:last-child)::after { content: ""; width: 60px; height: 1px; background: var(--line); margin-left: 8px; }
.stepper i { width: 20px; height: 20px; border-radius: var(--radius-round); background: var(--gray-inactive); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: var(--fs-3xs); font-weight: 700; }
.stepper .is-current { color: var(--text); font-weight: 700; }
.stepper .is-current i, .stepper .is-done i { background: var(--green); }
.apply-main { padding: 30px 40px 40px; }
.apply-title { font-size: var(--fs-2xl); font-weight: 700; }
.apply-title + p { font-size: var(--fs-2xs); color: var(--muted); margin: 4px 0 30px; }

.f-section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.f-section:first-child { padding-top: 0; }
.f-section:last-of-type { border-bottom: 0; }
.f-section__title { display: flex; align-items: center; gap: 10px; font-size: var(--fs-base); font-weight: 700; margin-bottom: 16px; flex-wrap: wrap; }
.num { width: 22px; height: 22px; border-radius: var(--radius-round); background: var(--green); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-2xs); font-weight: 700; }
.letter { min-width: 26px; height: 18px; border-radius: var(--radius-pill); background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-4xs); font-weight: 700; }
.group-title { font-size: var(--fs-lg); font-weight: 500; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin: 30px 0 16px; display: flex; align-items: center; gap: 10px; }
.tag-dashed { border: 1px dashed var(--warn-text); color: var(--warn-text); font-size: var(--fs-4xs); border-radius: var(--radius-pill); padding: 0 10px; font-weight: 400; }

.course { border: 1.5px solid var(--green); border-radius: var(--radius-lg); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.course h3 { font-size: var(--fs-base); margin-top: 4px; }
.course p { font-size: var(--fs-3xs); color: var(--muted); }
.course__price { text-align: right; }
.course__price-value { font-size: var(--fs-5xl); font-weight: 300; display: block; line-height: 1.2; }
.course__price small { font-size: var(--fs-4xs); color: var(--muted); }

.field { margin-bottom: 16px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.label { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; margin-bottom: 4px; }
.req, .opt { font-size: var(--fs-4xs); font-weight: 700; border-radius: var(--radius-xs); padding: 0 6px; line-height: 16px; }
.req { background: var(--req); color: var(--white); }
.opt { background: var(--gray-soft); color: var(--muted); }
.hint { font-size: var(--fs-3xs); color: var(--muted); margin-bottom: 6px; line-height: 1.6; }
.input, .select, .textarea {
  width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--border-input); border-radius: var(--radius-sm);
  font: inherit; font-size: var(--fs-sm); background: var(--white); color: var(--text);
}
.textarea { height: 80px; padding: 10px 12px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--green-pale); border-color: var(--green); }
.input--short { max-width: 200px; }
.inline { display: flex; gap: 10px; align-items: center; }
.inline .input { flex: 1; }

.radio, .check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-xs); cursor: pointer; padding: 5px 0; }
.radio input, .check input { accent-color: var(--green); width: 16px; height: 16px; margin: 3px 0 0; flex-shrink: 0; }
.radio small, .check small { display: block; font-size: var(--fs-3xs); color: var(--muted); }
.check__title { font-weight: bold; }
.radio-row { display: flex; gap: 24px; flex-wrap: wrap; }

.coupon-status.is-ok { color: var(--green); font-weight: 700; }
.coupon-status.is-ng { color: var(--req); font-weight: 700; }
.cond-note { font-size: var(--fs-4xs); color: var(--warn-text); margin: 10px 0 4px; }
.cond { border-left: 3px solid var(--green); padding: 4px 0 4px 14px; margin-top: 6px; }
.registered { border: 1px dashed var(--warn-text); border-radius: var(--radius-md); padding: 14px 16px; font-size: var(--fs-2xs); color: var(--muted); }
.registered h4 { font-size: var(--fs-2xs); color: var(--text); margin-bottom: 6px; }

.panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; font-size: var(--fs-2xs); color: var(--muted); line-height: 1.9; margin-bottom: 12px; }
.panel strong { color: var(--text); }
.panel__heading { font-weight: bold; color: var(--text); }
.panel--warm { background: var(--bg-warm); border-color: var(--warn-line); }

/* A8 のバナーに重ねないよう、PR 表記はバナーの上に置く */
.pr-banner { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 14px 0 8px; }
.pr-banner .pr-badge { margin: 0; }

.err { display: block; color: var(--req); font-size: var(--fs-2xs); margin-top: 4px; }
.submit-error { color: var(--req); font-size: var(--fs-xs); font-weight: 700; margin-top: 12px; }
.has-error .input, .has-error .textarea, .has-error .select { border-color: var(--req); }

.apply-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.apply-actions--center { justify-content: center; border-top: 0; }

.consent-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.consent-item:last-child { border-bottom: 0; }
.consent-item h4 { font-size: var(--fs-sm); margin-bottom: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.doc-links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: var(--fs-2xs); margin-bottom: 10px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; font-size: var(--fs-2xs); margin-bottom: 10px; }
.tbl th, .tbl td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl th { width: 34%; background: var(--bg-th); font-weight: 700; }
.tbl td { color: var(--muted); }
.tbl .total td { color: var(--text); font-size: var(--fs-lg); font-weight: 700; }
.privacy-box { background: var(--bg-warm); border: 1px solid var(--warn-line); border-radius: var(--radius-lg); padding: 0 16px; }

.summary { width: 100%; border-collapse: collapse; font-size: var(--fs-xs); margin-bottom: 20px; }
.summary th, .summary td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.summary th { width: 92px; font-weight: 400; }
.summary td:last-child { text-align: right; white-space: nowrap; width: 60px; }
.summary a { font-size: var(--fs-3xs); }
.consent-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px; font-size: var(--fs-2xs); color: var(--muted); }
.warn { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius-md); padding: 14px 16px; font-size: var(--fs-2xs); color: var(--muted); margin-top: 16px; }
.warn h4 { color: var(--warn-text); font-size: var(--fs-xs); margin-bottom: 4px; }
.turnstile-box { display: flex; flex-direction: column; align-items: center; margin-top: 20px; min-height: 65px; }
.pay-box { border: 1px dashed var(--warn-text); border-radius: var(--radius-lg); padding: 18px; text-align: center; margin-top: 20px; }
.pay-box__total { font-size: var(--fs-sm); font-weight: 700; margin-bottom: 10px; }
.pay-box .btn { width: 100%; max-width: 320px; }
.pay-box p { font-size: var(--fs-3xs); color: var(--muted); margin-top: 8px; }

.done { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 20px; }
.done__icon { width: 40px; height: 40px; border-radius: var(--radius-round); background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: var(--fs-3xl); }
.done h3 { text-align: center; font-size: var(--fs-lg); margin-bottom: 16px; }
.done p { font-size: var(--fs-2xs); color: var(--muted); margin-bottom: 10px; }
.deadline-box { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius-md); padding: 14px 16px; font-size: var(--fs-2xs); color: var(--muted); }
.deadline-box strong { display: block; color: var(--warn-text); font-size: var(--fs-base); margin: 4px 0; }

/* 受付終了の画面（申込フォームの代わりに表示） */
.closed { text-align: center; padding: 16px 0 8px; }
.closed__badge { display: inline-block; padding: 2px 14px; border-radius: var(--radius-pill); background: var(--muted); color: var(--white); font-size: var(--fs-xs); font-weight: 500; }
.closed__title { margin-top: 20px; font-size: var(--fs-3xl); font-weight: 700; line-height: 1.7; letter-spacing: .08em; }
.closed__lead { margin-top: 20px; font-size: var(--fs-sm); color: var(--muted); line-height: 2; }
.closed__box { margin-top: 24px; padding: 18px 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: left; font-size: var(--fs-xs); color: var(--muted); line-height: 1.9; }
.closed__box + .closed__box { margin-top: 20px; }
.closed__box--plain { background: var(--white); }
.closed__heading { margin-bottom: 4px; font-size: var(--fs-sm); font-weight: 700; color: var(--text); }
.closed__actions { margin-top: 26px; }
.closed__contact { margin-top: 20px; font-size: var(--fs-2xs); color: var(--muted); }
.closed__contact a { color: inherit; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .gnav { display: none; }
  .section { padding: 70px 0; }
  .hero__photos, .overview__cards, .features, .lecture-cards, .year-cards,
  .mission-cards, .quest-cases, .day-flow, .price-cards, .price-incl { grid-template-columns: 1fr; }
  .tutorial, .message, .seeds-layout, .payment-box { grid-template-columns: 1fr; }
  .tut-card, .message__photo { max-width: 320px; }
  .schedule { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; }
  .quest-box { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .site-footer__join { text-align: left; }
  .heading h2 { font-size: var(--fs-4xl); white-space: normal; }
  .hero__copy, .lead { font-size: var(--fs-2xl); }
  .closing h2 { font-size: var(--fs-3xl); }
  .year-cycle { margin: 50px 0 0; }
  .doc-hero h1 { font-size: var(--fs-3xl); }
  .doc-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
  .doc-side { position: static; }
  .doc-side__toc { display: none; }
  .doc-dl > div { grid-template-columns: 1fr; gap: 4px; }
  .doc-toc ol { columns: 1; }
}
@media (max-width: 560px) {
  .apply-head, .stepper, .apply-main { padding-left: 20px; padding-right: 20px; }
  .stepper { gap: 6px; }
  .stepper li:not(:last-child)::after { width: 12px; margin-left: 2px; }
  .stepper li span { display: none; }
  .stepper .is-current span { display: inline; }
  .field-grid, .consent-list { grid-template-columns: 1fr; }
  .course { flex-direction: column; align-items: flex-start; }
  .course__price { text-align: left; }
  .flow { grid-template-columns: 1fr; }
  .cancel-table { grid-template-columns: 1fr; }
  .cancel-table div { border-right: 0; border-bottom: 1px solid var(--line); }
  .summary th { width: 76px; }
  .hint--spacer { display: none; }
  .btn--lg { padding: 0 28px; }
}

/* ============================================================
   調整（2026-11）：既存ルールは変えず、このブロックで上書きしている
   ============================================================ */

/* ヒーローの2つのボタンを同じ幅に */
.hero .btn-row .btn { width: 340px; max-width: 100%; padding: 0 24px; }

/* 座学：春・夏・秋を色で見分ける */
.year-card { border-top: 4px solid var(--line-green); }
.year-card:nth-child(1) { border-top-color: var(--season-spring); }
.year-card:nth-child(1) h4 { color: var(--season-spring); }
.year-card:nth-child(2) { border-top-color: var(--season-summer); }
.year-card:nth-child(2) h4 { color: var(--season-summer); }
.year-card:nth-child(3) { border-top-color: var(--season-autumn); }
.year-card:nth-child(3) h4 { color: var(--season-autumn); }

/* チュートリアルのタイムスケジュール：縦線と点で時間の流れを見せる */
.schedule { gap: 40px; }
.schedule h3 { display: flex; align-items: baseline; gap: 10px; font-size: var(--fs-2xl); letter-spacing: .06em; color: var(--navy); padding-bottom: 0; border-bottom: 0; margin-bottom: 14px; }
.schedule__sub { margin-left: 0; font-size: var(--fs-xs); font-weight: 500; color: var(--green); letter-spacing: .1em; }
.schedule ol { position: relative; margin-left: 5px; border-left: 2px solid var(--line-green); }
.schedule li { position: relative; grid-template-columns: 52px 1fr; padding: 8px 0 12px 20px; }
.schedule li::before { content: ""; position: absolute; left: -5px; top: 13px; width: 8px; height: 8px; border-radius: var(--radius-round); background: var(--white); border: 2px solid var(--green); }
.schedule li:first-child::before, .schedule li:last-child::before { background: var(--green); }
.schedule time { color: var(--navy); font-size: var(--fs-sm); padding-top: 1px; font-variant-numeric: tabular-nums; }
.schedule__title { font-size: var(--fs-md); }
.schedule li span { font-size: var(--fs-xs); margin-top: 2px; }

/* 申込ページ：PC で狭く見えないようカードを広げる */
.apply-wrap { max-width: 860px; }
/* 申込ページ（apply.html）はトップと同じヘッダー・フッターを使い、カードの横幅をトップの開催概要の枠（1040px）に揃える */
.apply-page .apply-wrap { max-width: 1080px; padding: 0 20px; }
.apply-page .site-header { background: var(--white); }
.apply-page .site-footer { background: var(--white); }

/* 申込ページ⑤：hinataレンタルのバナー前の案内文 */
.pr-lead { font-size: var(--fs-xs); margin: 20px 0 0; }

/* Keep copy units together, with a fallback for narrow screens and larger text. */
.nb { display: inline-block; max-width: 100%; }
/* span 内の文節（.phrase）に、親の span 向けの指定（display:block など）を効かせない */
.schedule li .phrase, .year-card .phrase, .overview__head .phrase { display: inline; margin-top: 0; font-size: inherit; line-height: inherit; color: inherit; }
@media (max-width: 860px) {
  .schedule li .phrase, .year-card .phrase, .overview__head .phrase { display: inline-block; }
  /* PC用の改行は、スマホでは文の流れを崩すので外す */
  .lead-text br, .quest-box br, .closing p br, .br-desktop { display: none; }
  .lead-text, .quest-box p, .closing p:last-of-type { text-align: left; }
  /* 段落末が1文字だけの行にならないよう、ページ全体で行末を整える（未対応ブラウザは通常の折り返し） */
  body { text-wrap: pretty; }
  .phrase { display: inline-block; max-width: 100%; text-wrap: wrap; vertical-align: top; }
  .heading h2 { min-width: 0; }
  .heading--line::after { min-width: 24px; }
  .ov-card__title { flex-wrap: wrap; white-space: normal; }
  .ov-card__title em { white-space: nowrap; }
  .price-card__head { flex-wrap: wrap; gap: 8px; }
  .price small { display: block; margin-left: 0; }
  .price-card .price { overflow-wrap: anywhere; }
  .mission-card h3 em { display: inline-block; }
  .notes-row { gap: 16px; }
  .notes-row__item { display: block; }
  .notes-row dt { margin: 0 0 4px; }
  .doc a[href^="http"], .doc a[href^="mailto:"] { overflow-wrap: anywhere; }
}

/* 締めの帯：星空の写真を背景に（文字が読めるよう暗く重ねる） */
.closing {
  background: linear-gradient(rgba(10, 16, 30, .2), rgba(10, 16, 30, .2)),
              url(../images/closing-stars.webp) center / cover no-repeat;
}

@media (max-width: 860px) {
  /* 校長の写真と名前をスマホでは中央に */
  .message__photo { width: 100%; margin: 0 auto; text-align: center; }
  /* チュートリアルのカードもスマホでは中央に */
  .tut-card { width: 100%; margin: 0 auto; }
}
/* 背景を明るくした分、文字に薄い影をつけて読みやすく */
.closing h2, .closing p { text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }

/* 申込ページの見出し：スマホでは「お申し込み｜」を省き、折り返さないようにする */
.apply-head > h1 { white-space: nowrap; }
@media (max-width: 560px) {
  .apply-head__label { display: none; }
  .site-header__inner, .apply-head { flex-wrap: wrap; }
  .apply-head > h1 { white-space: normal; max-width: 100%; }
  .heading--line::after { display: none; }
  .heading h2, .doc-hero h1, .doc h2 { letter-spacing: .06em; }
  .overview, .price-card, .payment-box { padding: 20px 16px; }
  .price-incl { gap: 24px; }
  .cancel-table div:last-child { border-bottom: 0; }
  .btn { max-width: 100%; padding-top: 8px; padding-bottom: 8px; text-align: center; }
  .btn--sm { padding-top: 4px; padding-bottom: 4px; }
  .apply-actions { flex-wrap: wrap; }
  .apply-actions .btn, .pay-box .btn { padding-left: 20px; padding-right: 20px; }
  .tbl th, .tbl td { padding: 9px 8px; }
}
@media (max-width: 360px) {
  .apply-head .logo img { height: 28px; }
}

/* Stack table labels above their content on mobile in the guide and application.
   Keep the compact price breakdown (#confirm-price) in columns. */
@media (max-width: 560px) {
  :is(.doc, .apply-main) .tbl:not(#confirm-price) :is(tbody, tr, th, td),
  :is(.doc, .apply-main) .tbl:not(#confirm-price) { display: block; width: auto; }
  :is(.doc, .apply-main) .tbl:not(#confirm-price) thead { display: none; }
  :is(.doc, .apply-main) .tbl:not(#confirm-price) :is(th, td) { border-bottom: 0; }
  :is(.doc, .apply-main) .tbl:not(#confirm-price) th { padding-bottom: 6px; }
  :is(.doc, .apply-main) .tbl:not(#confirm-price) td { padding-top: 6px; }
  :is(.doc, .apply-main) .tbl:not(#confirm-price) td + td { padding-top: 0; }
  :is(.doc, .apply-main) .tbl:not(#confirm-price) tr:not(:last-child) { border-bottom: 1px solid var(--line); }
}
