/* =========================================================
   子供向け 日本の歴史教室 LP ／ 再利用テンプレート用 CSS
   ---------------------------------------------------------
   デザイン: 水彩の空色 × 洗練（参照イメージ準拠 2026-07-03）
   第2回以降も原則このままでOK。色を変えたい場合は
   :root の変数（--c-xxx）だけ調整してください。
   ========================================================= */

:root {
  --c-sky-50:  #f5fbff;
  --c-sky-100: #e6f4fd;
  --c-sky-200: #c9e7fa;
  --c-sky-500: #4aa3dd;
  --c-sky-700: #2b7bb5;
  --c-ink:     #4a3f35;      /* 参照イメージの茶系の文字色 */
  --c-ink-soft:#7a6f63;
  --c-cream:   #fffdf6;
  --c-yellow:  #ffd75e;
  --c-yellow-soft: #fff3c9;
  --c-red:     #e94f47;      /* 参照イメージのCTA赤 */
  --c-red-deep:#d43b33;
  --c-green:   #8fc98f;
  --c-white:   #ffffff;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 36px rgba(74, 163, 221, 0.16);
  --shadow-card: 0 5px 20px rgba(74, 100, 130, 0.10);
  --font-head: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --max-w: 1000px;
  --max-w-narrow: 780px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ページ内リンクで飛んだとき、固定ヘッダーに隠れないようにする */
[id] { scroll-margin-top: 72px; }

::selection { background: var(--c-yellow-soft); }

a:focus-visible {
  outline: 3px solid var(--c-sky-500);
  outline-offset: 3px;
  border-radius: 6px;
}

body {
  font-family: var(--font-body);
  color: var(--c-ink);
  line-height: 1.9;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(199, 231, 250, 0.65) 0%, transparent 65%),
    radial-gradient(900px 420px at 88% 4%, rgba(255, 243, 201, 0.55) 0%, transparent 60%),
    linear-gradient(180deg, var(--c-sky-100) 0%, var(--c-sky-50) 560px, var(--c-white) 1100px);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-sky-200);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}

.brand-text {
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--c-sky-500);
  color: #fff;
  font-size: 1rem;
}

.header-cta {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: var(--c-red);
  text-decoration: none;
  padding: 8px 22px;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.header-cta:hover { background: var(--c-red-deep); transform: translateY(-1px); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: 34px 20px 30px;
  overflow: hidden;
}

.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.deco-star {
  position: absolute;
  color: var(--c-yellow);
  opacity: 0.85;
  animation: twinkle 4.2s ease-in-out infinite;
}
.deco-star.s1 { top: 8%;  left: 6%;  font-size: 1.4rem; }
.deco-star.s2 { top: 20%; right: 8%; font-size: 1.1rem; color: var(--c-sky-500); animation-delay: .9s; }
.deco-star.s3 { top: 55%; left: 3%;  font-size: 1rem;   color: var(--c-sky-500); animation-delay: 1.7s; }
.deco-star.s4 { top: 70%; right: 5%; font-size: 1.3rem; animation-delay: 2.4s; }
.deco-star.s5 { top: 38%; left: 12%; font-size: 0.9rem; animation-delay: 3.1s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 0.3;  transform: scale(0.85); }
}

.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  animation: hero-in 0.9s ease both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* メインバナー（タイトル・イラスト込みの完成画像） */
.hero-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
  background: var(--c-white);
}
.hero-banner img { width: 100%; height: auto; }

/* サムネイル上のメイン見出し */
.hero-main-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: var(--c-sky-700);
  padding: 6px 24px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(43, 123, 181, 0.35);
}

.hero-lead {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-ink);
  background: linear-gradient(transparent 58%, var(--c-yellow-soft) 58%);
  padding: 0 6px;
  margin-bottom: 8px;
}

.hero-message {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  line-height: 1.75;
  color: var(--c-ink);
  text-align: center;
  margin: 0 auto 10px;
}

.hero-sublead {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-sky-700);
  margin-bottom: 4px;
}

/* 開催情報カード（4つ） */
.hero-facts {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px auto 26px;
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--c-white);
  border: 1.5px solid var(--c-sky-200);
  border-radius: var(--radius-md);
  padding: 12px 22px;
  min-width: 118px;
  box-shadow: var(--shadow-card);
}

.fact-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-sky-700);
  letter-spacing: 0.08em;
}

.fact-value {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--c-ink);
  line-height: 1.3;
}
.fact-value small { font-size: 0.75rem; font-weight: 700; }
.fact-value-date {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.fact-value-date strong {
  color: var(--c-red);
  font-size: 1rem;
  white-space: nowrap;
}

/* CTA ボタン（参照イメージの赤・横長） */
.cta-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
  text-decoration: none;
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-deep) 100%);
  color: #fff;
  font-family: var(--font-head);
  padding: 18px 54px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(233, 79, 71, 0.38);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(233, 79, 71, 0.48);
}
.cta-button:hover::after { left: 135%; }
.cta-main  {
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.cta-flag  { font-size: 1.2rem; }
.cta-arrow {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease;
}
.cta-button:hover .cta-arrow { transform: translateX(4px); }

.cta-button.large { padding: 20px 64px; }
.cta-button.large .cta-main { font-size: 1.3rem; }

.cta-button.compact {
  width: 100%;
  padding: 14px 20px;
  font-weight: 900;
  font-size: 1rem;
  gap: 8px;
}

.cta-note {
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-red);
}

.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--c-sky-700);
  background: var(--c-white);
  border: 1.5px solid var(--c-sky-200);
  text-decoration: none;
  padding: 9px 26px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: background .15s ease, transform .15s ease;
}
.mail-link:hover { background: var(--c-sky-100); transform: translateY(-1px); }

/* ---------- セクション共通 ---------- */
.section { padding: 64px 20px; }

.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-inner.narrow { max-width: var(--max-w-narrow); }

/* 見出しの上の小さな英字ラベル（余白と品を出す） */
.block-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  color: var(--c-sky-500);
  margin-bottom: 8px;
}
.block-eyebrow::before,
.block-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-sky-200);
}

.block-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.35rem, 3.4vw, 1.75rem);
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--c-ink);
  margin-bottom: 28px;
}
.block-title.center { text-align: center; }
.deco-mini { color: var(--c-yellow); margin-right: 4px; }

/* スクロールに合わせてふわっと現れる（JSが有効なときだけ） */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.js .approach-grid .reveal:nth-child(2) { transition-delay: .08s; }
.js .approach-grid .reveal:nth-child(3) { transition-delay: .16s; }
.js .future-grid .reveal:nth-child(2) { transition-delay: .1s; }
.js .future-grid .reveal:nth-child(3) { transition-delay: .2s; }

/* ---------- ② ご案内 ---------- */
.guide-section { padding-top: 30px; }

.guide-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 42px 40px;
  box-shadow: var(--shadow-soft);
}

.guide-head {
  margin-bottom: 30px;
}
.guide-head--text-only {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.guide-copy { color: var(--c-ink-soft); font-size: 1rem; }
.guide-copy strong {
  color: var(--c-ink);
  background: linear-gradient(transparent 60%, var(--c-yellow-soft) 60%);
  font-weight: 700;
}
.guide-reflection {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 20px 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(230, 244, 253, 0.7), rgba(255, 253, 246, 0.9));
  color: var(--c-ink);
  font-size: 0.95rem;
  line-height: 2.05;
  text-wrap: pretty;
}
.guide-reflection strong {
  color: var(--c-ink);
  background: linear-gradient(transparent 60%, var(--c-yellow-soft) 60%);
}

.story-journey-art {
  margin: 30px auto 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(227, 202, 152, 0.55);
  background: var(--c-cream);
}
.story-journey-art img {
  width: 100%;
  aspect-ratio: 2.32 / 1;
  object-fit: cover;
}

/* テーマカード */
.theme-card {
  background: linear-gradient(150deg, var(--c-cream) 0%, var(--c-yellow-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 1.5px solid rgba(255, 215, 94, 0.55);
}

.theme-ribbon {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: var(--c-green);
  padding: 4px 22px;
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(143, 201, 143, 0.4);
}

.theme-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: var(--c-ink);
  margin-bottom: 14px;
}

.theme-copy { color: var(--c-ink-soft); font-size: 1rem; }

/* 火焔型土器の紹介（5000年前からのおくりもの） */
.jomon-feature {
  display: grid;
  grid-template-columns: minmax(190px, 260px) 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 24px;
  padding: 32px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--c-cream) 0%, #f6ede0 100%);
  border: 1.5px solid #e6d5bd;
}

.jomon-photo img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
  border: 5px solid #fff;
  box-shadow: 0 10px 26px rgba(120, 96, 60, 0.18);
  transform: rotate(-1.2deg);
}

.jomon-ribbon {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: #b5895f;
  padding: 4px 22px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.jomon-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: 0.04em;
  color: var(--c-ink);
  margin-bottom: 12px;
}

.jomon-ruby {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-ink-soft);
  margin-left: 4px;
}

.jomon-copy {
  color: var(--c-ink-soft);
  font-size: 0.98rem;
  line-height: 1.9;
}

.jomon-copy + .jomon-copy { margin-top: 10px; }

.jomon-copy strong {
  color: var(--c-ink);
  background: linear-gradient(transparent 60%, var(--c-yellow-soft) 60%);
  font-weight: 700;
}

.jomon-credit {
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--c-ink-soft);
  opacity: 0.85;
}

.jomon-credit a {
  color: inherit;
  text-decoration: underline;
}

/* 短い語尾が1文字だけ次の行に残らないよう、塊で折り返す */
.no-orphan { display: inline-block; }

/* ---------- ③ 心を育む3つのアプローチ ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.approach-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-sky-200);
  border-radius: var(--radius-lg);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(74, 100, 130, 0.16);
}
.approach-card img {
  width: 100%;
  aspect-ratio: 11 / 15;
  object-fit: contain;
  border-radius: 18px;
  background: var(--c-cream);
}

/* ---------- ④ 心の根っこ ---------- */
.roots-section { padding-top: 26px; }
.roots-card {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(340px, 1.1fr);
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fffdf7, #fff4d5);
  border: 1.5px solid rgba(255, 196, 92, .58);
  box-shadow: var(--shadow-soft);
}
.roots-copy { padding: 46px 38px; }
.roots-copy .block-title { margin-bottom: 18px; }
.roots-copy > p:not(.block-eyebrow) {
  color: var(--c-ink-soft);
  font-size: .98rem;
  line-height: 2;
}
.roots-copy > p + p { margin-top: 14px; }
.roots-art { height: 100%; min-height: 340px; }
.roots-art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- ④ おすすめ（ノート風） ---------- */
.note-list {
  list-style: none;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 30px 38px;
  box-shadow: var(--shadow-soft);
  border: 1.5px solid var(--c-sky-200);
  display: flex;
  flex-direction: column;
}

.note-list li {
  position: relative;
  padding: 11px 0 11px 40px;
  font-size: 1rem;
  line-height: 30px;
}
.note-list li + li { border-top: 1.5px dashed var(--c-sky-100); }
.note-list li::before {
  content: "✅";
  position: absolute;
  left: 4px;
  font-size: 1.05rem;
}

/* ---------- ④-2 主催者からのメッセージ ---------- */
.host-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-soft);
  border: 1.5px solid var(--c-sky-200);
  align-items: start;
}

.host-photo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.host-photo img {
  width: 100%;
  max-width: 200px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 10px 26px rgba(74, 100, 130, 0.18);
}
.host-photo figcaption {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--c-ink);
  text-align: center;
}
.host-photo figcaption span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-ink-soft);
}

.host-message .teacher-tags { margin-bottom: 12px; }

/* 資格・役職の一覧（小さめの文字で2列に） */
.host-credentials {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  justify-content: start;
  gap: 4px 22px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--c-ink-soft);
  line-height: 1.7;
}
.host-credentials li {
  position: relative;
  padding-left: 15px;
}
.host-credentials li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.65rem;
  color: var(--c-yellow);
}

.host-quote {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--c-ink);
  background: var(--c-sky-50);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}

/* ---------- ⑤ 講師 ---------- */
.teacher-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-soft);
  border: 1.5px solid var(--c-sky-200);
  align-items: start;
}

.teacher-photo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.teacher-photo img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 5px solid #fff;
  box-shadow: 0 10px 26px rgba(74, 100, 130, 0.18);
}
.teacher-photo figcaption {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--c-ink);
  text-align: center;
}
.teacher-photo figcaption span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-ink-soft);
}

.teacher-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.teacher-tags li {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--c-sky-700);
  background: var(--c-sky-100);
  padding: 4px 14px;
  border-radius: 999px;
}

.teacher-bio {
  font-size: 0.92rem;
  color: var(--c-ink);
  background: var(--c-sky-50);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 18px;
  text-align: justify;
}

.sub-button {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--c-sky-500);
  text-decoration: none;
  padding: 10px 30px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(74, 163, 221, 0.35);
  transition: background .15s ease, transform .15s ease;
}
.sub-button:hover { background: var(--c-sky-700); transform: translateY(-1px); }

/* ---------- ⑥ 講座のあゆみとご案内 ---------- */
.future-copy {
  text-align: center;
  color: var(--c-ink-soft);
  margin-bottom: 26px;
}

.history-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: -4px 0 18px;
  color: var(--c-ink-soft);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
}
.history-flow span:not([class]) { color: var(--c-sky-400); }
.history-flow-past { color: #397849; }
.history-flow-current { color: #9b7100; }
.history-flow-future { color: var(--c-sky-700); }

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

.future-grid article,
.line-guide {
  background: var(--c-white);
  border: 1.5px solid var(--c-sky-200);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-card);
}
.future-grid article.current {
  position: relative;
  border: 3px solid var(--c-yellow);
  background:
    radial-gradient(260px 160px at 50% 0%, rgba(255, 243, 201, 0.98), transparent 72%),
    var(--c-white);
  box-shadow: 0 0 0 5px rgba(255, 215, 94, 0.16), 0 12px 28px rgba(226, 174, 29, 0.22);
  animation: current-card-glow 2.8s ease-in-out infinite;
}
.future-grid article.archive {
  border-color: rgba(143, 201, 143, 0.72);
}
.future-grid article.next {
  background: linear-gradient(145deg, #fff, var(--c-sky-50));
}

.f-no {
  align-self: center;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--c-sky-100);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--c-sky-700);
}
.current .f-no {
  background: var(--c-yellow);
  color: var(--c-ink);
}
.archive .f-no {
  background: #eaf7e7;
  color: #27833c;
}
.f-theme {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--c-ink);
}
.session-number {
  display: block;
  margin-bottom: 5px;
  color: #397849;
  font-size: 0.94rem;
}
.archive-thanks {
  margin: -2px 0 2px;
  color: #397849 !important;
  font-family: var(--font-head);
  font-weight: 700;
  text-align: center !important;
}
.f-date {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--c-sky-700);
}
.f-date strong {
  display: block;
  margin-top: 3px;
  color: var(--c-red);
  font-size: 1rem;
}
.hub-card p {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--c-ink-soft);
  text-align: left;
}
.archive-notice {
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #f4fbf1;
  color: #397849 !important;
  font-size: .8rem !important;
  text-align: left;
}
.archive-action {
  background: #4c9d68;
  box-shadow: 0 5px 14px rgba(76, 157, 104, .22);
}
.archive-action.is-pending {
  background: #f4fbf1;
  border-color: rgba(143, 201, 143, 0.72);
  color: #397849;
}
.archive-action:hover { background: #377d50; }
.hub-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--c-sky-500);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(74, 163, 221, 0.22);
}
.hub-action.is-pending {
  background: var(--c-sky-50);
  border: 1.5px dashed var(--c-sky-200);
  color: var(--c-sky-700);
  box-shadow: none;
}

@keyframes current-card-glow {
  0%, 100% { box-shadow: 0 0 0 5px rgba(255, 215, 94, 0.16), 0 12px 28px rgba(226, 174, 29, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(255, 215, 94, 0.28), 0 14px 34px rgba(226, 174, 29, 0.34); }
}
.line-guide {
  margin-top: 20px;
  padding: 28px 24px;
  border-color: rgba(143, 201, 143, 0.72);
  background:
    radial-gradient(260px 120px at 10% 0%, rgba(234, 247, 231, 0.9), transparent 72%),
    var(--c-white);
}
.line-guide-label {
  align-self: center;
  display: inline-flex;
  padding: 4px 15px;
  border-radius: 999px;
  background: #eaf7e7;
  color: #27833c;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
}
.line-guide h3 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  color: var(--c-ink);
  line-height: 1.55;
}
.line-guide p:not(.line-guide-label) {
  color: var(--c-ink-soft);
  font-size: 0.9rem;
  line-height: 1.8;
}
.line-guide-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}
.line-guide-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  color: var(--c-sky-700);
  background: var(--c-white);
  border: 1.5px solid var(--c-sky-200);
}
.line-guide-buttons a:nth-child(2) {
  color: #27833c;
  border-color: rgba(143, 201, 143, 0.8);
  background: #fbfffb;
}

/* ---------- ⑧ 最終CTA ---------- */
.bottom-cta { padding-bottom: 90px; }

.bottom-cta-card {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  background:
    radial-gradient(600px 220px at 85% 10%, rgba(255, 243, 201, 0.8) 0%, transparent 65%),
    linear-gradient(160deg, var(--c-sky-100) 0%, var(--c-cream) 100%);
  border-radius: var(--radius-lg);
  padding: 52px 32px;
  box-shadow: var(--shadow-soft);
  border: 1.5px solid var(--c-sky-200);
}

.bottom-lead {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.72rem, 3.3vw, 1rem);
  color: var(--c-sky-700);
  margin-bottom: 8px;
  white-space: nowrap;
}

.bottom-cta-card h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.3rem, 3.4vw, 1.8rem);
  line-height: 1.65;
  margin-bottom: 24px;
  color: var(--c-ink);
}

.bottom-cta-card h2 span {
  display: inline-block;
  margin-top: 0.25rem;
}

.bottom-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 30px;
}
.bottom-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-white);
  border: 1.5px solid var(--c-sky-200);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.85rem;
}
.bottom-facts span { color: var(--c-sky-700); font-weight: 700; font-size: 0.75rem; }
.bottom-facts strong { font-family: var(--font-head); font-weight: 700; color: var(--c-ink); }
.bottom-facts strong small {
  display: block;
  margin-top: 2px;
  color: var(--c-red);
  font-size: 0.9rem;
}

/* ---------- フッター ---------- */
.site-footer {
  background: linear-gradient(180deg, #4a3f35 0%, #3b322a 100%);
  color: #fff;
  text-align: center;
  padding: 44px 20px 120px;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.footer-brand::before {
  content: "⭐";
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  opacity: 0.9;
}
.footer-host {
  font-size: 0.78rem;
  color: var(--c-sky-200);
  opacity: 0.85;
  margin-bottom: 10px;
}
.site-footer a { color: var(--c-sky-200); font-size: 0.9rem; }

/* ---------- スマホ追従CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--c-sky-200);
  box-shadow: 0 -8px 24px rgba(74, 100, 130, 0.12);
}

/* OSで「視差効果を減らす」を設定している人にはアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .deco-star { animation: none; }
  .hero-inner { animation: none; }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cta-button::after { display: none; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
  div.sp-only, .sticky-cta.sp-only { display: block; }

  .hero { padding-top: 24px; }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* 開催日を1行フル幅に、開催方法・参加費を2列に */
  .hero-facts li:nth-child(1) {
    grid-column: 1 / -1;
  }

  .hero-facts li {
    min-width: 0;
    padding: 12px 14px;
  }

  .fact-value-date {
    white-space: nowrap;
  }

  .fact-value-date strong { font-size: 1.08rem; }

  .host-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 20px;
  }
  .host-photo { max-width: 200px; margin: 0 auto; }
  .host-message .teacher-tags { justify-content: center; }
  .host-credentials {
    grid-template-columns: 1fr;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .host-quote { text-align: left; }

  .section { padding: 44px 18px; }

  .guide-card { padding: 28px 22px; }

  .jomon-feature {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 20px;
    text-align: center;
  }
  .jomon-photo {
    max-width: 230px;
    margin: 0 auto;
  }
  /* テーマ見出しが「お話」で泣き別れしないよう画面幅に合わせる */
  .theme-card { padding: 30px 22px; }
  .theme-name { font-size: clamp(1.2rem, 5.8vw, 2rem); }
  .theme-copy { font-size: 0.92rem; }

  /* 中央揃えの長文は左揃えにして、成り行きの折り返しでも読みやすく */
  .guide-copy { text-align: left; }
  .guide-reflection {
    max-width: 100%;
    padding: 18px 18px;
    text-align: left;
  }

  .jomon-copy {
    text-align: left;
    font-size: 0.92rem;
  }
  .jomon-credit {
    font-size: 0.68rem;
  }
  .jomon-credit span {
    display: inline-block;
  }

  .story-journey-art { margin-top: 24px; }
  .story-journey-art img { aspect-ratio: auto; }

  .approach-grid { grid-template-columns: 1fr; gap: 18px; }
  .approach-card {
    padding: 12px;
  }
  .approach-card img { border-radius: 14px; }

  .roots-card { grid-template-columns: 1fr; }
  .roots-copy { padding: 34px 24px 22px; }
  .roots-art { min-height: 0; }
  .roots-art img { aspect-ratio: 1.78 / 1; }

  .note-list { padding: 24px 20px; }

  .teacher-card {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }
  .teacher-photo { max-width: 300px; margin: 0 auto; }
  .teacher-profile { text-align: center; }
  .teacher-tags { justify-content: center; }
  .teacher-bio { text-align: left; }

  .future-section .block-title {
    font-size: clamp(0.98rem, 4.8vw, 1.28rem);
    line-height: 1.45;
  }

  .future-title-text { white-space: nowrap; }
  .future-section .deco-mini { margin-right: 2px; }

  .future-grid { grid-template-columns: 1fr; }

  .hub-card.archive .f-theme { line-height: 1.45; }

  .future-grid article.current { animation: none; }

  .cta-button {
    width: min(100%, 340px);
    min-height: 68px;
    padding: 16px 20px;
    gap: 8px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-main {
    font-size: clamp(1rem, 4.7vw, 1.15rem);
    letter-spacing: 0.01em;
  }

  .cta-flag {
    font-size: 1rem;
  }

  .cta-arrow {
    font-size: 1.25rem;
  }

  .bottom-facts { flex-direction: column; align-items: stretch; }
  .bottom-facts li { justify-content: space-between; }
}

@media (max-width: 480px) {
  .hero-message { font-size: .98rem; }

  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand {
    gap: 8px;
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-cta {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 861px) {
  .sticky-cta { display: none; }
}
