/* =========================================================
   家庭学習サポーター スタディバディ 紹介ページ
   モチーフ：「ひとつの机」——ロゴの机（AI・元教室長・お子様）を白い線画で。
   比喩は「机・席・鉛筆」の3語まで。見出し＝比喩／本文＝実務語。
   配色はロゴ準拠：葉の緑 #659b56（装飾・大きな文字のみ）／本文の緑は濃色に分ける。
   ========================================================= */
:root {
  --leaf: #659b56;      /* ロゴの円。装飾専用（白文字は載せない） */
  --leaf-d: #3f6e33;    /* テキスト用の緑（白地 6.0:1） */
  --leaf-dd: #2f5a27;   /* ボタン・濃い面（白文字 8.0:1） */
  --leaf-ink: #1f3a1a;
  --sage: #a0c086;      /* ロゴの地。装飾専用 */
  --sage-l: #e8f0de;
  --sage-ll: #f3f7ee;
  --paper: #fbfaf3;
  --ink: #2f3a2b;       /* 本文 */
  --ink-2: #5e6b58;     /* 補足（5.4:1） */
  --oak: #d8b584;       /* 机の天板。装飾専用 */
  --oak-l: #f3e6cf;
  --oak-d: #8a5a22;     /* 木の色のテキスト（5.6:1） */
  --memo: #f6e7a8;      /* 付箋 */
  --line: #06c755;      /* LINE の緑（ボタン地は濃くする） */
  --line-d: #03873a;
  --radius: 18px;
  --f-head: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --f-body: "IBM Plex Sans JP", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --f-hand: "Yusei Magic", "M PLUS Rounded 1c", sans-serif;
  --f-num: "Fredoka", "M PLUS Rounded 1c", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--leaf-d); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 800; line-height: 1.4; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sp { display: none; }
.sb-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--f-head); font-weight: 800; font-size: 16px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--leaf-dd); color: #fff; box-shadow: 0 6px 0 var(--leaf-ink); }
.btn-main:hover { box-shadow: 0 8px 0 var(--leaf-ink); }
.btn-line { background: #fff; color: var(--line-d); border: 2.5px solid var(--line-d); }
.btn-line i { color: var(--line); font-size: 20px; }
.btn-ghost { background: #fff; color: var(--leaf-d); border: 2px solid var(--leaf); min-height: 48px; font-size: 15px; }
.btn-lg { min-height: 60px; font-size: 17px; padding: 14px 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cta-row--center { justify-content: center; }

/* ---------- ナビ ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 243, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sage-l);
}
.nav-in { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 46px; height: 46px; border-radius: 12px; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; font-family: var(--f-head); }
.brand small { font-size: 12px; color: var(--leaf-d); font-weight: 700; }
.brand b { font-size: 19px; color: var(--leaf-dd); font-weight: 800; letter-spacing: .04em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--ink);
  text-decoration: none; padding: 6px 11px; border-radius: 999px;
}
.nav-links a:hover, .nav-links a.on { background: var(--sage-l); color: var(--leaf-dd); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  background: var(--leaf-dd); color: #fff; text-decoration: none;
  font-family: var(--f-head); font-weight: 800; font-size: 14px;
  padding: 9px 18px; border-radius: 999px;
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 74% 46%, #f4f8ee 0, #e3eed6 38%, #c9dcb6 78%, #b5cf9d 100%);
  padding: 56px 0 72px;
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--leaf-d); border: 1.5px solid var(--sage);
  font-family: var(--f-head); font-weight: 700; font-size: 14px;
  padding: 6px 16px; border-radius: 999px;
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(28px, 3.9vw, 46px); line-height: 1.32; color: var(--leaf-ink); letter-spacing: .03em;
}
.h1-em { color: var(--leaf-dd); white-space: nowrap; }
.lead { margin-top: 20px; font-family: var(--f-head); font-weight: 700; font-size: clamp(17px, 1.9vw, 21px); color: var(--ink); line-height: 1.7; }
.sub { margin-top: 14px; color: var(--ink); font-size: 15.5px; }
.facts { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.facts li {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .78); border-radius: 10px;
  font-size: 13.5px; font-weight: 500; padding: 5px 12px; color: var(--ink);
}
.facts i { color: var(--leaf-d); }

.hero-art { position: relative; margin: 0; max-width: 520px; justify-self: center; width: 100%; }
.desk-svg { display: block; width: 100%; height: auto; overflow: visible; }
.disc { fill: var(--leaf); }
.dots circle { fill: #fff; opacity: .85; }
.hero-art .ln { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .ln .fill { fill: #fff; stroke: none; }
.hero-art .q { fill: #fff; font-family: var(--f-num); font-weight: 600; font-size: 34px; }
.chip {
  position: absolute; display: flex; flex-direction: column; gap: 0;
  background: #fff; border: 2px solid var(--leaf); border-radius: 14px;
  padding: 6px 12px; font-size: 13px; line-height: 1.45; color: var(--ink);
  box-shadow: 0 6px 16px rgba(31, 58, 26, .14); white-space: nowrap;
}
.chip b { font-family: var(--f-head); font-weight: 800; color: var(--leaf-dd); font-size: 14px; }
.c-ai { left: -4%; top: 10%; }
.c-guide { right: -5%; top: 20%; }
.c-kid { left: 50%; bottom: 3%; transform: translateX(-50%); border-color: var(--leaf-dd); }

/* ヒーローの小物：到達時にひとつずつ机に置かれる（JSあり・動きOKのときだけ） */
.js .hero-art .part { opacity: 0; transform: translateY(10px); transform-box: fill-box; transform-origin: center; transition: opacity .6s ease, transform .6s ease; }
.js .hero-art.in .part { opacity: 1; transform: none; }
.js .hero-art.in .p-robot { transition-delay: .15s; }
.js .hero-art.in .p-clip { transition-delay: .45s; }
.js .hero-art.in .p-pencil { transition-delay: .75s; }
.js .hero-art.in .p-bubble { transition-delay: 1.05s; }
.js .hero-art .q { opacity: 0; transition: opacity .5s ease 1.3s; }
.js .hero-art.in .q { opacity: 1; }
.js .hero-art .chip { opacity: 0; transition: opacity .6s ease 1.5s; }
.js .hero-art.in .chip { opacity: 1; }

/* ---------- 共通のセクション ---------- */
.sec { padding: 88px 0; }
.kicker {
  display: table; margin: 0 auto 14px;
  font-family: var(--f-head); font-weight: 800; font-size: 14px; letter-spacing: .08em;
  color: var(--leaf-d); background: var(--sage-l); padding: 4px 16px; border-radius: 999px;
}
.sh { text-align: center; font-size: clamp(24px, 3.2vw, 36px); color: var(--leaf-ink); }
.sh::after {
  content: ""; display: block; width: 88px; height: 9px; margin: 18px auto 0;
  background: linear-gradient(90deg, var(--sage) 0 16%, var(--oak) 16% 84%, #7b5a33 84% 100%);
  clip-path: polygon(0 0, 84% 0, 100% 50%, 84% 100%, 0 100%);
  border-radius: 3px 0 0 3px;
}
.center-note { max-width: 760px; margin: 24px auto 0; text-align: center; color: var(--ink); }
.src { margin-top: 18px; font-size: 12.5px; color: var(--ink-2); text-align: center; }

/* ---------- 心当たり ---------- */
.worry { background: #fff; }
.worry .kicker { font-size: 15px; }
.worry-list {
  list-style: none; margin: 10px auto 56px; padding: 0; max-width: 880px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px;
}
.worry-list li {
  position: relative; padding: 14px 18px 14px 52px;
  background: var(--sage-ll); border-radius: 14px; font-weight: 500;
}
.worry-list li::before {
  content: "?"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--leaf);
  font-family: var(--f-num); font-weight: 600; color: var(--leaf-d); font-size: 16px;
  display: grid; place-items: center; line-height: 1;
}
.worry-list li:last-child { grid-column: 1 / -1; justify-self: center; min-width: 50%; }
.walls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.wall { background: var(--paper); border: 2px solid var(--sage-l); border-radius: var(--radius); padding: 26px 26px 24px; }
.wall-no { display: inline-block; font-family: var(--f-head); font-weight: 800; font-size: 13px; color: #fff; background: var(--leaf-dd); border-radius: 8px; padding: 2px 12px; }
.wall h3 { margin-top: 12px; font-size: 20px; color: var(--leaf-ink); }
.wall p:last-child { margin-top: 10px; }
.aim { max-width: 820px; margin: 40px auto 0; text-align: center; font-size: 17px; line-height: 2; }
.aim b { display: inline-block; margin-top: 6px; font-family: var(--f-head); color: var(--leaf-dd); font-size: 19px; }

/* ---------- 想い ---------- */
.omoi { background: var(--sage-ll); }
.omoi-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; margin-top: 46px; align-items: start; }
.daihyo { margin: 0; }
.daihyo img { display: block; width: 100%; border-radius: 22px; border: 6px solid #fff; box-shadow: 0 10px 26px rgba(31, 58, 26, .14); }
.daihyo figcaption { margin-top: 14px; display: flex; flex-direction: column; line-height: 1.5; }
.daihyo .role { font-size: 13px; color: var(--leaf-d); font-weight: 700; }
.daihyo b { font-family: var(--f-head); font-size: 22px; color: var(--leaf-ink); }
.daihyo small { font-size: 12.5px; color: var(--ink-2); }
.daihyo .credit { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.omoi-text { display: flex; flex-direction: column; gap: 18px; }
.q-block {
  margin: 0; background: #fff; border-radius: 16px; padding: 20px 24px 20px 26px;
  border-left: 6px solid var(--leaf); font-family: var(--f-head); font-weight: 500; font-size: 17px; line-height: 1.9; color: var(--leaf-ink);
}
.q-name { border-left-color: var(--oak); }
.omoi-p { font-size: 15.5px; }
.omoi .src { text-align: left; margin-top: 0; }

.memo-board {
  margin-top: 54px; background: var(--oak-l); border-radius: 22px; padding: 34px 32px 30px;
  border: 2px solid #ead3ad;
}
.memo-lead { text-align: center; font-family: var(--f-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.memos { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.memo {
  position: relative; background: var(--memo); padding: 26px 16px 20px; min-height: 124px;
  font-family: var(--f-hand); font-size: 18px; line-height: 1.6; color: var(--ink);
  box-shadow: 0 8px 14px rgba(138, 90, 34, .16); display: flex; align-items: center; justify-content: center; text-align: center;
}
.memo::before { content: ""; position: absolute; top: -9px; left: 50%; width: 56px; height: 18px; transform: translateX(-50%) rotate(-2deg); background: rgba(160, 192, 134, .75); }
.m1 { transform: rotate(-2deg); }
.m2 { transform: rotate(1.5deg); }
.m3 { transform: rotate(-1deg); }
.m4 { transform: rotate(2deg); }
.memo-after { margin-top: 26px; text-align: center; font-family: var(--f-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.memo-foot { margin-top: 12px; font-size: 15px; text-align: center; color: var(--ink); }

/* ---------- 4つの段 ---------- */
.steps4 { background: #fff; }
.dan { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: none; }
.dan-i { position: relative; background: var(--paper); border: 2px solid var(--sage-l); border-radius: var(--radius); padding: 16px 16px 22px; text-align: center; }
.dan-i:not(:last-child)::after {
  content: ""; position: absolute; right: -17px; top: 88px; width: 12px; height: 12px;
  border-top: 3px solid var(--leaf); border-right: 3px solid var(--leaf); transform: rotate(45deg); z-index: 1;
}
.dan-i svg { display: block; width: 100%; height: auto; }
.dan .ln { fill: none; stroke: var(--leaf-d); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.dan .ln .fill { fill: var(--leaf-d); stroke: none; }
.dan .mk { fill: var(--leaf-dd); font-family: var(--f-num); font-weight: 600; font-size: 64px; }
.dan .check { stroke: var(--leaf-dd); stroke-width: 12; }
.d1 .helper { opacity: 1; }
.d2 .helper { opacity: .55; }
.d3 .helper { opacity: .25; }
.d4 .helper { opacity: .1; }
.dan-no { margin: 8px auto 0; width: 32px; height: 32px; border-radius: 50%; background: var(--leaf-dd); color: #fff; font-family: var(--f-num); font-weight: 600; display: grid; place-items: center; line-height: 1; }
.dan-i h3 { margin-top: 10px; font-size: 19px; color: var(--leaf-ink); }
.dan-i p:last-child { margin-top: 8px; font-size: 14.5px; line-height: 1.75; text-align: left; }
.d4 { border-color: var(--leaf); background: var(--sage-ll); }
.dan-note { margin: 26px auto 0; max-width: 760px; text-align: center; font-size: 14.5px; color: var(--ink-2); display: flex; align-items: center; justify-content: center; gap: 10px; }
.lg-helper { flex: none; width: 34px; height: 0; border-top: 5px solid var(--leaf-d); border-radius: 3px; opacity: .35; }
/* 段が見えたら、手助けの線がうすくなっていく */
.js .dan-i.reveal .helper { opacity: 1; transition: opacity 1.2s ease .5s; }
.js .d2.in .helper { opacity: .55; }
.js .d3.in .helper { opacity: .25; }
.js .d4.in .helper { opacity: .1; }

/* ---------- 毎日の進め方 ---------- */
.mainichi { background: var(--paper); }
.flow { list-style: none; margin: 46px auto 0; padding: 0; max-width: 860px; position: relative; }
.flow::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 4px; border-radius: 2px; background: var(--sage); }
.flow-i { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 22px; padding: 0 0 26px; }
.flow-no {
  position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%;
  background: #fff; border: 4px solid var(--leaf); color: var(--leaf-dd);
  font-family: var(--f-num); font-weight: 600; font-size: 26px; display: grid; place-items: center; line-height: 1;
}
.flow-i > div { background: #fff; border-radius: var(--radius); padding: 20px 24px; box-shadow: 0 4px 14px rgba(31, 58, 26, .07); }
.flow-i h3 { font-size: 19px; color: var(--leaf-ink); }
.flow-i p { margin-top: 8px; font-size: 15.5px; }
.flow-i .flow-note { font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; align-items: baseline; }
.flow-note i { color: var(--leaf-d); }
.mimamori { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.mm-card { background: var(--sage-l); border-radius: var(--radius); padding: 24px 26px; }
.mm-card h3 { font-size: 18px; color: var(--leaf-ink); display: flex; align-items: center; gap: 10px; }
.mm-card h3 i { color: var(--leaf-d); }
.mm-card p { margin-top: 10px; font-size: 15px; }
.mm-q { font-family: var(--f-head); font-weight: 700; color: var(--leaf-dd); }

/* ---------- 役割（席札） ---------- */
.yakuwari { background: #fff; }
.seats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 50px auto 0; align-items: stretch; padding: 0 12px; max-width: 980px; }
.seat {
  position: relative; background: var(--paper); border: 2px solid var(--sage-l); border-radius: 16px 16px 6px 6px;
  padding: 30px 18px 22px; text-align: center; box-shadow: 0 8px 0 -2px #ebe3d3;
}
.seat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; border-radius: 14px 14px 0 0; background: var(--sage); }
.seat-ic { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--sage); color: var(--leaf-d); font-size: 22px; }
.seat h3 { margin-top: 12px; font-size: 20px; color: var(--leaf-ink); }
.seat h3 small { display: block; font-size: 13px; font-weight: 700; color: var(--leaf-d); }
.seat-do { margin-top: 6px; font-family: var(--f-head); font-weight: 800; font-size: 15px; color: var(--leaf-d); line-height: 1.6; }
.seat p:last-child { margin-top: 10px; font-size: 14.5px; text-align: left; line-height: 1.75; }
.s-kid { background: var(--leaf-dd); border-color: var(--leaf-dd); color: #fff; transform: translateY(-14px); }
.s-kid::before { background: var(--oak); }
.s-kid .seat-ic { background: var(--memo); border-color: var(--memo); color: var(--leaf-dd); }
.s-kid h3, .s-kid .seat-do { color: #fff; }
.desk-edge {
  height: 22px; margin: 0 auto; max-width: 1004px; border-radius: 8px;
  background: linear-gradient(180deg, #e2c497 0, var(--oak) 55%, #c49c66 100%);
  box-shadow: 0 10px 18px rgba(138, 90, 34, .18);
}
.scope { margin: 44px auto 0; max-width: 860px; border: 2px dashed var(--sage); border-radius: var(--radius); padding: 24px 28px; background: var(--paper); }
.scope h3 { font-size: 18px; color: var(--leaf-ink); display: flex; align-items: center; gap: 10px; }
.scope h3 i { color: var(--leaf-d); }
.scope ul { margin: 12px 0 0; padding-left: 1.3em; }
.scope li { margin-top: 6px; font-size: 15px; }
.scope .src { text-align: right; margin-top: 10px; }

/* ---------- 解き直しの記録（XedPlex） ---------- */
.kiroku { background: linear-gradient(180deg, var(--sage-l) 0, var(--sage-ll) 100%); }
.kiroku .kicker { background: #fff; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin: 46px auto 0; max-width: 940px; align-items: start; }
.shot { background: #fff; border-radius: 22px; padding: 18px 18px 24px; box-shadow: 0 8px 22px rgba(31, 58, 26, .09); }
.shot-frame {
  display: flex; align-items: flex-start; justify-content: center; overflow: hidden;
  background: #eef2ea; border-radius: 16px; padding: 14px;
}
.shot-frame img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); cursor: zoom-in; }
.shot h3 { margin-top: 18px; font-size: 20px; color: var(--leaf-ink); }
.shot p { margin-top: 8px; font-size: 15px; }
.shot-frame--wide { height: auto; padding: 18px 14px; align-items: center; }
.shot-frame--wide img { border-radius: 10px; }
.shot b { color: var(--leaf-dd); }
.kiroku-foot { margin: 30px auto 0; max-width: 940px; background: #fff; border-radius: 16px; padding: 16px 22px; font-size: 15px; }
.kiroku-foot p { display: flex; gap: 12px; align-items: flex-start; }
.kiroku-foot p + p { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--sage-l); color: var(--ink-2); font-size: 14.5px; }
.kiroku-foot i { color: var(--leaf-d); margin-top: 6px; flex: none; }

/* ---------- はじめかた ---------- */
.hajime { background: #fff; }
.start { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.start-i { position: relative; background: var(--paper); border-radius: var(--radius); padding: 22px 20px 24px; border-top: 6px solid var(--leaf); }
.start-no { font-family: var(--f-num); font-weight: 600; font-size: 34px; color: var(--leaf); line-height: 1; }
.start-i h3 { margin-top: 10px; font-size: 18px; color: var(--leaf-ink); }
.start-i h3 small { display: block; font-size: 13px; font-weight: 700; color: var(--leaf-d); }
.start-i p { margin-top: 8px; font-size: 14.5px; line-height: 1.8; }
.plans {
  margin-top: 34px; display: flex; gap: 26px; align-items: center; justify-content: space-between;
  background: var(--oak-l); border-radius: 22px; padding: 26px 30px;
}
.plans h3 { font-size: 19px; color: var(--leaf-ink); display: flex; align-items: center; gap: 10px; }
.plans h3 i { color: var(--oak-d); }
.plans p { margin-top: 8px; font-size: 15px; }
.plans-note { color: var(--oak-d); font-weight: 700; }
.plans .btn { flex: none; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-list { max-width: 860px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.q { background: #fff; border-radius: 16px; border: 2px solid var(--sage-l); overflow: hidden; }
.q summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 54px 18px 58px; font-family: var(--f-head); font-weight: 800; font-size: 16.5px; color: var(--leaf-ink);
}
.q summary::-webkit-details-marker { display: none; }
.q summary::before { content: "Q"; position: absolute; left: 18px; top: 15px; width: 28px; height: 28px; border-radius: 8px; background: var(--leaf-dd); color: #fff; font-family: var(--f-num); font-weight: 600; display: grid; place-items: center; line-height: 1; font-size: 16px; }
.q summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--f-num); font-size: 26px; color: var(--leaf-d); line-height: 1; }
.q[open] summary::after { content: "−"; }
.q .a { padding: 0 24px 20px 58px; font-size: 15.5px; }

/* ---------- クロージング ---------- */
.closing {
  position: relative; overflow: hidden; color: #fff; padding: 90px 0;
  background: radial-gradient(circle at 18% 20%, #3b6f31 0, var(--leaf-dd) 45%, #264b20 100%);
}
.closing::before {
  content: ""; position: absolute; right: -140px; bottom: -180px; width: 520px; height: 520px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 40px rgba(255, 255, 255, .04);
}
.closing-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.closing-q { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.9; }
.closing-q p + p { margin-top: 16px; }
.closing-q cite { display: block; margin-top: 18px; font-style: normal; font-size: 14px; opacity: .9; font-weight: 500; }
.cta-box { background: #fff; color: var(--ink); border-radius: 24px; padding: 34px 30px 28px; text-align: center; box-shadow: 0 16px 34px rgba(0, 0, 0, .18); }
.cta-box h2 { font-size: clamp(20px, 2.3vw, 25px); color: var(--leaf-ink); }
.cta-box .cta-row { margin-top: 22px; }
.tel { margin-top: 20px; font-family: var(--f-head); font-weight: 800; font-size: 20px; color: var(--leaf-ink); }
.tel i { color: var(--leaf-d); margin-right: 6px; }
.tel a { color: var(--leaf-dd); text-decoration: none; }
.hours { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }

/* ---------- フッター ---------- */
.foot { background: #1f2e1b; color: #e6ede0; padding: 50px 0 26px; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.brand--foot { color: #fff; }
.brand--foot small { color: #cfe3bd; }
.brand--foot b { color: #fff; }
.foot-addr { margin-top: 16px; font-size: 14px; line-height: 1.9; }
.foot a { color: #d7eac7; }
.foot-area { margin-top: 10px; font-size: 13.5px; color: #cfe3bd; }
.foot-area i { margin-right: 6px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.copy { margin-top: 36px; text-align: center; font-size: 12.5px; color: #c4d2bb; }

/* ---------- 出てくる演出（初期状態＝完成状態。JSがあるときだけ巻き戻す） ---------- */
.js .reveal, .js .sh { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in, .js .sh.in { opacity: 1; transform: none; }
.js .s-kid.reveal.in { transform: translateY(-14px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- レスポンシブ ---------- */
@media screen and (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .dan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dan-i:nth-child(2)::after { display: none; }
  .start { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .memos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 860px) {
  .hero { padding: 36px 0 56px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-art { max-width: 440px; }
  .omoi-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .daihyo { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: end; }
  .daihyo figcaption { margin-top: 0; }
  .shots { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
  .seats { grid-template-columns: minmax(0, 1fr); max-width: 460px; row-gap: 18px; }
  .s-kid, .js .s-kid.reveal.in { transform: none; }
  .closing-in { grid-template-columns: minmax(0, 1fr); }
  .plans { flex-direction: column; align-items: stretch; }
  .mimamori { grid-template-columns: minmax(0, 1fr); }
}
@media screen and (max-width: 640px) {
  body { font-size: 15.5px; }
  .pc { display: none; }
  .sp { display: inline; }
  .wrap { padding: 0 16px; }
  .sec { padding: 64px 0; }
  .nav-in { min-height: 58px; gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand b { font-size: 16px; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .pill { font-size: 12.5px; padding: 5px 12px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .chip { font-size: 12px; padding: 5px 9px; border-radius: 12px; }
  .chip b { font-size: 12.5px; }
  .c-ai { left: -1%; top: 6%; }
  .c-guide { right: -1%; top: 16%; }
  .c-kid { bottom: 1%; }
  .worry-list { grid-template-columns: minmax(0, 1fr); }
  .worry-list li:last-child { grid-column: auto; justify-self: stretch; min-width: 0; }
  .walls { grid-template-columns: minmax(0, 1fr); }
  .aim { font-size: 16px; text-align: left; }
  .aim b { display: block; text-align: center; }
  .center-note { text-align: left; }
  .q-block { font-size: 16px; padding: 16px 18px; }
  .memo-board { padding: 26px 16px 22px; }
  .memo { font-size: 16px; min-height: 104px; padding: 22px 10px 16px; }
  .dan { gap: 14px; }
  .dan-i { padding: 12px 10px 16px; }
  .dan-i::after { display: none; }
  .dan-i h3 { font-size: 16px; }
  .dan-i p:last-child { font-size: 13.5px; }
  .dan-note { align-items: flex-start; text-align: left; }
  .dan-note .lg-helper { margin-top: 12px; }
  .flow::before { left: 21px; }
  .flow-i { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
  .flow-no { width: 46px; height: 46px; font-size: 21px; border-width: 3px; }
  .flow-i > div { padding: 16px 16px; }
  .flow-i h3 { font-size: 17px; }
  .mimamori { grid-template-columns: minmax(0, 1fr); }
  .seats { padding: 0; }
  .scope { padding: 20px 18px; }
  .scope h3 { font-size: 16.5px; }
  .start { grid-template-columns: minmax(0, 1fr); }
  .plans { padding: 22px 18px; }
  .plans .btn { width: 100%; white-space: normal; text-align: center; }
  .q summary { padding: 16px 44px 16px 52px; font-size: 15.5px; }
  .q summary::before { left: 14px; top: 14px; }
  .q .a { padding: 0 18px 18px 52px; font-size: 15px; }
  .closing { padding: 64px 0; }
  .cta-box { padding: 28px 18px 24px; }
  .foot-in { flex-direction: column; }
}
@media screen and (max-width: 380px) {
  .daihyo { grid-template-columns: 120px minmax(0, 1fr); }
  .memos { grid-template-columns: minmax(0, 1fr); }
  .chip { position: static; transform: none; margin-top: 8px; display: inline-flex; flex-direction: row; gap: 6px; white-space: normal; }
  .hero-art { display: flex; flex-direction: column; align-items: center; }
  .c-kid { transform: none; }
}
