/* PioNavi 試作 — 保護者にも信頼されるホームページ
   レイアウト：学校から届く「おたより」の型。各ページに発行者と「◯年◯月◯日時点」を押し、
   方眼はヒーローの紙一枚だけに残す。橙は申し込みと要点、ミントは「安心」の印だけに使う。 */
:root {
  --paper: #f7f8f6;
  --sheet: #ffffff;
  --ink: #1f2b38;
  --ink-soft: #4f5d6a;
  --line: #d9e2e4;
  --grid: #e3ebed;
  --orange: #ff8822;
  --orange-text: #b35400;
  --orange-wash: #fff1e3;
  --mint: #5fd8b8;
  --mint-text: #18705b;
  --mint-wash: #e3f6ef;
  --todo: #8a5a00;
  --todo-wash: #fff6cc;
  --font-display: "Zen Kaku Gothic New", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
  --font-body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --measure: 38em;
  --wide: 1120px;
  --radius: 8px;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  --step-4: clamp(1.9rem, 1.3rem + 2.8vw, 3rem);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 900; line-height: 1.4; text-wrap: balance; margin: 0; word-break: auto-phrase; }
p { margin: 0; }
.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: 20px; }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.muted { color: var(--ink-soft); }
.nowrap { display: inline-block; }

/* ヘッダー */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.logo svg { width: 26px; height: 24px; }
.logo svg path { fill: var(--ink); }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; margin-left: auto; font-size: 0.92rem; }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--orange); }
.header-cta { flex-shrink: 0; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 0.9rem; color: var(--ink); cursor: pointer; }
  .site-header.open .nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); padding: 12px 20px 20px; border-bottom: 1px solid var(--line); font-size: 1rem; }
}

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid var(--ink); color: var(--ink); background: var(--sheet);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #1f2b38; box-shadow: 0 4px 0 color-mix(in srgb, var(--orange) 60%, #000); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--orange) 60%, #000); }
.btn-big { min-height: 58px; padding: 14px 30px; font-size: 1.1rem; }
.btn-small { min-height: 38px; padding: 6px 16px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* 発行スタンプ（おたよりの型） */
.issued {
  display: inline-flex; flex-wrap: wrap; gap: 4px 14px; align-items: center;
  font-size: 0.82rem; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 12px; background: var(--sheet);
  font-variant-numeric: tabular-nums;
}
.issued b { color: var(--ink); font-weight: 700; }

/* セクション */
section { padding-block: clamp(56px, 8vw, 96px); }
section + section { border-top: 1px solid var(--line); }
.eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: .08em; color: var(--orange-text); margin-bottom: 10px; }
.sec-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 46em; }
.sec-head h2 { font-size: var(--step-3); }
.sec-head p { color: var(--ink-soft); }

/* ヒーロー */
.hero { padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: center; }
.hero h1 { font-size: var(--step-4); margin-block: 14px 20px; }

.hero .lead { font-size: var(--step-1); max-width: 32em; color: var(--ink-soft); }
.hero .btn-row { margin-top: 28px; }
.hero-sheet {
  position: relative; aspect-ratio: 1 / 1; max-width: 100%;
  background-color: var(--sheet);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center;
}
.hero-sheet img { width: 62%; }
.hero-sheet .note { position: absolute; left: 18px; bottom: 14px; font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sheet { max-width: 260px; justify-self: center; order: -1; }
}

/* 要点の帯 */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sheet); }
.facts > div { padding: 16px 18px; min-width: 0; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 0.8rem; color: var(--ink-soft); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* 保護者への入口 */
.parent-door {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center;
  background: var(--mint-wash); border-radius: var(--radius); padding: 22px 26px;
}
.parent-door img { width: 72px; }
.parent-door h2 { font-size: var(--step-2); }
.parent-door ul { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0; margin: 6px 0 0; list-style: none; font-size: 0.92rem; }
.parent-door li::before { content: "✓ "; color: var(--mint-text); font-weight: 700; }
@media (max-width: 760px) { .parent-door { grid-template-columns: 1fr; } .parent-door img { display: none; } }

/* 流れ（1週間の進め方） */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 700; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-wash); color: var(--orange-text); }
.steps h3 { font-size: var(--step-1); }
.steps p { font-size: 0.95rem; color: var(--ink-soft); }
.steps .where { font-size: 0.8rem; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 8px; margin-top: auto; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* する／しない の対比 */
.dodont { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dodont > div { border-radius: var(--radius); padding: 22px 24px; min-width: 0; }
.dodont .do { background: var(--sheet); border: 1px solid var(--line); }
.dodont .dont { background: var(--orange-wash); }
.dodont h3 { font-size: var(--step-1); margin-bottom: 10px; }
.dodont ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
@media (max-width: 700px) { .dodont { grid-template-columns: 1fr; } }

/* 表 */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sheet); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; background: color-mix(in srgb, var(--grid) 50%, var(--sheet)); }
tbody th { font-weight: 700; white-space: nowrap; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
table.kv { min-width: 0; }
table.kv th { width: 11em; }
@media (max-width: 560px) {
  table.kv, table.kv tbody, table.kv tr, table.kv th, table.kv td { display: block; width: auto; }
  table.kv th { border-bottom: 0; padding-bottom: 0; }
}

/* 状態ラベル */
.tag { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 1px 10px; border-radius: 999px; white-space: nowrap; }
.tag.yes { background: var(--mint-wash); color: var(--mint-text); }
.tag.no { background: var(--orange-wash); color: var(--orange-text); }
.tag.later { background: var(--grid); color: var(--ink-soft); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 52em; }
.faq details { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-display); color: var(--orange-text); }
.faq details[open] summary { border-bottom: 1px dashed var(--line); }
.faq .a { padding: 14px 0 18px 26px; color: var(--ink-soft); }
.faq .a > * + * { margin-top: .6em; }

/* 運営者 */
.person { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; align-items: start; }
.photo-slot { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--line); display: grid; place-items: center; text-align: center; font-size: 0.8rem; color: var(--ink-soft); background: var(--sheet); padding: 12px; }
.person h3 { font-size: var(--step-2); }
.person .role { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 12px; }
.rep-message { display: grid; gap: 1em; max-width: 40em; margin-top: 8px; padding: 22px 26px; border-left: 4px solid var(--orange); background: var(--sheet); }
.rep-message p { margin: 0; line-height: 1.95; }
.rep-sign { max-width: 40em; margin-top: 12px; text-align: right; font-weight: 700; }
@media (max-width: 600px) { .rep-message { padding: 16px 18px; } }
@media (max-width: 600px) { .person { grid-template-columns: 1fr; } .photo-slot { width: 120px; } }

/* チェックリスト */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 46em; }
.checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.checklist .box { width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 5px; margin-top: 4px; }
.checklist b { display: block; }
.checklist span.muted { font-size: 0.92rem; }

/* 決まっていること */
.status-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sheet); }
.status-list > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 14px; padding: 14px 18px; align-items: baseline; }
.status-list > div + div { border-top: 1px solid var(--line); }
@media (max-width: 520px) { .status-list > div { grid-template-columns: 1fr; gap: 4px; } }

/* 3つの柱（AIの説明） */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.three > div { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; display: grid; gap: 10px; align-content: start; }
.three h3 { font-size: var(--step-1); }
.three p, .three li { font-size: 0.95rem; color: var(--ink-soft); }
.three ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } }

/* 世界観（静かな締め） */
.world { background: var(--sheet); }
.world-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.world h2 { font-size: var(--step-3); }
.world .maru-row { display: flex; gap: 6px; }
.world .maru-row img { width: 96px; }
@media (max-width: 700px) { .world-grid { grid-template-columns: 1fr; } .world .maru-row img { width: 72px; } }

/* 連絡先 */
.contact-box { display: grid; gap: 12px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 40em; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mail code { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; user-select: all; }
.copy-msg { font-size: 0.85rem; color: var(--mint-text); }

/* フッター */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 48px 32px; font-size: 0.9rem; }
.site-footer a { color: var(--paper); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.site-footer h2 { font-size: 0.95rem; margin-bottom: 10px; font-family: var(--font-display); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; }
.site-footer dt { opacity: .7; }
.site-footer dd { margin: 0; }
.site-footer .small { opacity: .7; font-size: 0.8rem; margin-top: 28px; }
.site-footer .logo svg path { fill: var(--paper); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* 試作メモ（本番では消す） */
.todo { display: inline-block; background: var(--todo-wash); color: var(--todo); font-size: 0.78rem; font-weight: 700; padding: 0 8px; border-radius: 4px; margin-inline: 4px; vertical-align: 1px; }
.proto { border: 2px dashed color-mix(in srgb, var(--todo) 60%, transparent); background: var(--todo-wash); color: var(--ink); border-radius: 10px; padding: 12px 16px; font-size: 0.88rem; }
.proto::before { content: "試作メモ："; font-weight: 700; color: var(--todo); }
html.hide-proto .todo, html.hide-proto .proto { display: none; }
.proto-toggle {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  background: var(--todo-wash); color: var(--todo); border: 2px solid var(--todo); border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer;
}

/* ページ見出し（下層） */
.page-head { padding-block: clamp(40px, 6vw, 72px) 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--step-4); margin-block: 10px 16px; }
.page-head .lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 36em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.toc a { display: inline-block; text-decoration: none; border: 1px solid var(--line); background: var(--sheet); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; }
.toc a:hover { border-color: var(--ink); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* 新しいトップ：登録だけに絞った1枚目 */
.top-hero { padding-block: clamp(40px, 7vw, 96px); border-top: 0; }
.top-hero .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.top-hero .art { justify-self: center; width: min(100%, 420px); }
.top-hero h1 { font-size: clamp(2.1rem, 1.2rem + 4vw, 3.6rem); line-height: 1.3; letter-spacing: -0.01em; }
.top-hero .sub { font-size: var(--step-1); color: var(--ink-soft); margin-top: 18px; max-width: 26em; }
.top-hero .cta { display: grid; gap: 12px; margin-top: 32px; max-width: 360px; }
.top-hero .cta .btn { width: 100%; }
.top-hero .fine { margin-top: 14px; font-size: 0.88rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .top-hero .wrap { grid-template-columns: 1fr; } .top-hero .art { width: 220px; } .top-hero .cta { max-width: none; } }

.claim .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.claim.flip .art { order: 2; }
.claim .art { justify-self: center; width: min(100%, 280px); }
.claim h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem); line-height: 1.35; }
.claim p { margin-top: 16px; color: var(--ink-soft); max-width: 28em; font-size: var(--step-1); }
.claim .more { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--orange-text); }
@media (max-width: 760px) { .claim .wrap { grid-template-columns: 1fr; } .claim.flip .art { order: 0; } .claim .art { width: 180px; } }

.price-claim { text-align: center; }
.price-claim h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem); }
.price-claim p { margin: 14px auto 0; color: var(--ink-soft); max-width: 34em; }
.price-claim .btn-row { justify-content: center; margin-top: 24px; }

.band { padding-block: clamp(40px, 6vw, 64px); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.band h2 { font-size: var(--step-3); }
.band p { margin-top: 8px; color: var(--ink-soft); max-width: 40em; }
.band.parents { background: var(--mint-wash); }
.band.world { background: var(--orange-wash); }
@media (max-width: 700px) { .band .wrap { grid-template-columns: 1fr; } }
.trust-line { font-size: 0.88rem; color: var(--ink-soft); padding-block: 20px; border-top: 1px solid var(--line); }

.claim, .price-claim { border-top: 0; }
.claim { padding-block: clamp(40px, 6vw, 72px); }

.steps.nonum li::before { display: none; }

/* ===== 今の pionavi.com と同じ見た目：方眼ノートにシールを貼った世界 ===== */
:root {
  --paper: #f6f8f7; --sheet: #ffffff; --ink: #1f2b38; --ink-soft: #4f5d6a;
  --grid: #dde7ea; --grid-strong: #c4d5db; --line: #c4d5db;
  --orange: #ff8822; --orange-text: #b35400; --orange-wash: #ffe8d2;
  --mint: #5fd8b8; --mint-text: #18705b; --mint-wash: #c4eee1;
  --marker: #ffe45c; --pen: 2.5px solid var(--ink);
  --puff: inset 0 3px 0 rgb(255 255 255 / .6), inset 0 -4px 0 rgb(31 43 56 / .12);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font-display: "Zen Maru Gothic", "BIZ UDPGothic", sans-serif;
  --font-hand: "Yomogi", "Zen Maru Gothic", cursive;
  --radius: 20px;
  color-scheme: light;
}
body {
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  line-height: 1.9;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3 { font-weight: 700; letter-spacing: .02em; }
section + section { border-top: 0; }

/* 見出しの蛍光ペン */
.hl {
  padding-inline: .3em; margin-inline: -.18em;
  background: linear-gradient(112deg, transparent .35em, var(--marker) .35em, var(--marker) calc(100% - .3em), transparent calc(100% - .3em)) no-repeat 0 88% / 100% 42%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ヘッダー */
.site-header { background: color-mix(in srgb, var(--paper) 92%, transparent); border-bottom: var(--pen); backdrop-filter: none; }
.logo { font-size: 1.5rem; }
.nav { font-family: var(--font-display); font-weight: 700; font-size: .95rem; gap: 4px 24px; }
.nav a { border-bottom: 0; padding: 2px; background: linear-gradient(var(--marker), var(--marker)) no-repeat left 90% / 0 45%; transition: background-size .35s var(--spring); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 45%; }
.menu-toggle { border: var(--pen); font-family: var(--font-display); font-weight: 700; }
.site-header.open .nav { border-bottom: var(--pen); }

/* ボタン（ぷっくり・真下の硬い影・押すと沈む） */
.btn {
  border-radius: 999px; border: var(--pen); background: var(--sheet); color: var(--ink);
  box-shadow: var(--puff), 0 5px 0 var(--ink);
  transition: translate .3s var(--spring), box-shadow .3s var(--spring);
}
.btn:hover { transform: none; translate: 0 -2px; box-shadow: var(--puff), 0 7px 0 var(--ink); }
.btn:active { translate: 0 5px; box-shadow: var(--puff), 0 0 0 var(--ink); }
.btn-primary { background: var(--orange); border-color: var(--ink); color: var(--ink); box-shadow: var(--puff), 0 5px 0 var(--ink); }
.btn-primary:active { transform: none; box-shadow: var(--puff), 0 0 0 var(--ink); }
.btn-small { min-height: 40px; box-shadow: var(--puff), 0 4px 0 var(--ink); }
.btn-big { min-height: 56px; }

/* シールのまる（白フチ＋橙の硬い影） */
.sticker, .top-hero .art, .claim .art {
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(5px 6px 0 var(--lift, var(--orange)));
  transition: scale .4s var(--spring);
}
.sticker:hover, .top-hero .art:hover, .claim .art:hover { scale: 1.05; }
.claim.flip .art { --lift: var(--mint); }
.top-hero .art { rotate: -4deg; }
.claim .art { rotate: 5deg; }
.claim.flip .art { rotate: -6deg; }

/* 手書きのメモ */
.margin-note { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-hand); font-size: 20px; line-height: 1.2; color: var(--ink); rotate: -4deg; white-space: nowrap; }
.margin-note svg { width: 48px; height: 30px; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.eyebrow { font-family: var(--font-hand); font-weight: 400; font-size: 1.1rem; letter-spacing: 0; color: var(--ink-soft); }

/* 紙とカード：インクの輪郭、白い紙、影は橙かミントの硬い影 */
.steps li, .three > div, .checklist li, .contact-box, .dodont .do, .status-list, .table-scroll {
  border: var(--pen); border-radius: var(--radius); background: var(--sheet);
}
.table-scroll, .contact-box { box-shadow: 6px 7px 0 var(--orange), 6px 7px 0 2.5px var(--ink); }
.status-list, .checklist li:nth-child(even) { box-shadow: 6px 7px 0 var(--mint), 6px 7px 0 2.5px var(--ink); }
.status-list > div + div, th, td { border-color: var(--grid-strong); }
thead th { background: var(--mint-wash); color: var(--ink); }
.steps li::before { background: var(--mint); color: var(--ink); border: var(--pen); }
.dodont .dont { background: var(--orange-wash); border: var(--pen); }
.checklist .box { border: var(--pen); border-radius: 6px; }
.tag { border: 2px solid var(--ink); }
.tag.yes { background: var(--mint-wash); color: var(--ink); }
.tag.later { background: var(--sheet); color: var(--ink); }
.tag.no { background: var(--orange-wash); color: var(--ink); }
.issued { border: var(--pen); border-radius: 999px; background: var(--sheet); padding: 4px 16px; }
.photo-slot { border: 2.5px dashed var(--ink-soft); }

/* よくある質問：今のサイトと同じく点線で区切る */
.faq { gap: 0; }
.faq details { background: none; border: 0; border-radius: 0; border-bottom: 2px dashed var(--grid-strong); padding: 0; }
.faq summary { font-family: var(--font-display); }
.faq summary::before { content: "Q."; color: var(--orange); }
.faq details[open] summary { border-bottom: 0; }
.faq .a { padding-top: 0; }

/* 帯：不透明な色紙の上に方眼を描き直す */
.band { border-block: var(--pen); }
.band.parents, .band.world {
  background-image: linear-gradient(var(--grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px);
  background-size: 24px 24px;
}
.band.parents { background-color: var(--mint-wash); }
.band.world { background-color: #fff3b0; }
.band + .band { border-top: 0; }
.price-claim h2, .claim h2 { font-size: clamp(1.8rem, 1.1rem + 2.8vw, 2.9rem); }

/* ページ見出し：右にまるのシールと手書きメモ */
.page-head { position: relative; border-bottom: 0; }
.page-head .wrap { position: relative; }
.page-head .head-maru { position: absolute; right: 20px; top: 0; width: 120px; rotate: 8deg; }
.page-head .margin-note { margin-top: 6px; }
.page-head .issued { max-width: calc(100% - 140px); }
.page-head h1, .page-head .lead { padding-right: 140px; }
@media (max-width: 640px) {
  .page-head .head-maru { width: 72px; right: 16px; }
  .page-head h1 { padding-right: 84px; }
  .page-head .lead { padding-right: 0; }
  .page-head .issued { max-width: calc(100% - 84px); }
}
.top-hero .note-row { margin-top: 18px; }
.site-footer { border-top: var(--pen); }

/* ボタンの角：丸みを控えめに（高さの4分の1くらい） */
.btn { border-radius: 14px; }
.btn-small { border-radius: 11px; }
.btn-big { border-radius: 16px; }

/* 保護者の方へ：冒頭の要約・アプリの画面 */
.summary-facts { margin-top: 28px; border: var(--pen); box-shadow: 6px 7px 0 var(--mint), 6px 7px 0 2.5px var(--ink); }
.summary-facts > div + div { border-left: 2px dashed var(--grid-strong); }
.summary-facts dd { font-family: var(--font-body); font-weight: 400; font-size: .92rem; line-height: 1.7; }
.summary-facts dt { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .95rem; }
@media (max-width: 760px) { .summary-facts > div:nth-child(3) { border-left: 0; } .summary-facts > div:nth-child(n+3) { border-top: 2px dashed var(--grid-strong); } }
@media (max-width: 480px) { .summary-facts { grid-template-columns: 1fr; } .summary-facts > div + div { border-left: 0; border-top: 2px dashed var(--grid-strong); } }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.phones figure { margin: 0; display: grid; gap: 12px; align-content: start; min-width: 0; }
.phones img { width: 100%; border: var(--pen); border-radius: 22px; background: var(--sheet); box-shadow: 5px 6px 0 var(--orange), 5px 6px 0 2.5px var(--ink); }
.phones figure:nth-child(even) img { box-shadow: 5px 6px 0 var(--mint), 5px 6px 0 2.5px var(--ink); }
.phones figcaption { font-size: .92rem; color: var(--ink-soft); line-height: 1.7; }
.phones figcaption b { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1rem; }
@media (max-width: 900px) { .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sub-head { font-size: var(--step-2); margin: 8px 0 16px; }
.sub-head + .prose, .checklist + .muted + .sub-head { margin-top: 40px; }
#family .sub-head:not(:first-of-type) { margin-top: 40px; }

/* チェックリストは影なし（1つおきの影は意味がないので外す） */
.checklist li, .checklist li:nth-child(even) { box-shadow: none; }

/* ===== トップのヒーロー：今の pionavi.com の見た目を、動きなしで残す ===== */
.nb-hero {
  position: relative; isolation: isolate;
  max-width: 1240px; margin-inline: auto;
  padding: 72px 20px 96px;
  display: grid; align-content: center;
  min-height: clamp(560px, 50vw, 820px);
}
.nb-hero::before {
  content: ""; position: absolute; z-index: -2; inset-block: 0; left: 50%; width: 100vw; translate: -50% 0; pointer-events: none;
  background:
    radial-gradient(36% 52% at 74% 44%, rgb(95 216 184 / .14), transparent 70%),
    radial-gradient(24% 36% at 90% 80%, rgb(255 136 34 / .14), transparent 70%),
    radial-gradient(30% 44% at 14% 16%, rgb(255 170 100 / .2), transparent 70%);
}
.nb-copy { position: relative; z-index: 1; max-width: 640px; }
.nb-hero h1 { font-size: clamp(44px, 6vw, 92px); line-height: 1.15; letter-spacing: .02em; margin-top: 6px; }
.nb-line { display: block; white-space: nowrap; }
.katachi {
  display: inline-block; font-size: 1.2em; line-height: 1; margin-inline: -.3em -.1em;
  color: transparent; -webkit-text-stroke: max(2px, .026em) var(--ink); text-shadow: .07em .06em 0 var(--mint);
}
@supports not (-webkit-text-stroke: 1px black) { .katachi { color: var(--ink); } }
.loading-row { position: relative; margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.loading-sticker {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px;
  border: var(--pen); border-radius: 999px; background: var(--sheet);
  box-shadow: var(--puff), 4px 5px 0 var(--mint), 4px 5px 0 2.5px var(--ink);
  font-family: "DotGothic16", "BIZ UDPGothic", sans-serif; font-size: 15px; line-height: 1.4; rotate: -2deg;
}
.loading-bar { position: relative; width: 120px; height: 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sheet); overflow: hidden; }
.loading-bar span { position: absolute; inset: 0 auto 0 0; width: 42%; border-radius: inherit; background: linear-gradient(90deg, #ff8822, #dd99ff, #5fd8b8); }
.loading-maru {
  position: absolute; top: 50%; right: calc(100% + 16px); width: 128px; translate: 0 -22%; rotate: -6deg;
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(4px 5px 0 var(--mint));
}
.nb-hero .lede { margin-top: 28px; max-width: 30em; font-size: clamp(16px, 1.6vw, 19px); line-height: 2; }
.nb-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.nb-actions .btn { min-width: 180px; }
.nb-hero .fine { margin-top: 18px; font-size: .9rem; color: var(--ink-soft); }

.nb-art { position: absolute; z-index: 0; top: 2%; right: -8vw; aspect-ratio: 1; width: clamp(420px, 56vw, 760px); rotate: -5deg; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; }
.shape-a {
  width: 100%; aspect-ratio: 1; left: 14%; top: -4%; border-radius: 0;
  background: radial-gradient(circle, #a3e2cf 34%, transparent 38%) 0 0 / 11px 11px;
  clip-path: polygon(8% 22%, 30% 4%, 58% 12%, 86% 0, 100% 34%, 91% 60%, 100% 88%, 66% 100%, 42% 89%, 12% 98%, 0 66%, 7% 44%);
}
.shape-b {
  width: 22%; aspect-ratio: 1; left: 74%; top: 64%; border: var(--pen);
  background: radial-gradient(circle at 32% 28%, #fff 0 9%, transparent 10%), radial-gradient(circle at 38% 34%, #e2f7f0 0%, #a3e2cf 40%, #5fc0a5 100%);
  box-shadow: inset -6px -8px 0 rgb(31 43 56 / .1), 5px 6px 0 var(--ink);
}
.nb-sticker {
  position: absolute;
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(5px 6px 0 var(--lift, var(--orange)));
}
.maru-main { width: 56%; left: 23%; top: 12%; rotate: 14deg; }
.maru-sprout { width: 21%; left: 2%; top: 62%; rotate: -6deg; --lift: var(--mint); }
.maru-sleeping { width: 13%; left: 70%; top: 0; rotate: -30deg; }
.maru-smiling { width: 11%; left: 58%; bottom: 2%; rotate: 12deg; }
.doodle { position: absolute; overflow: visible; }
.doodle-circle { width: 24%; left: 65.5%; top: -6%; rotate: 8deg; }
.doodle-circle path { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.doodle-sparkle { width: 9%; left: 8%; top: 10%; }
.doodle-sparkle path { fill: url(#holo); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }

.tapes { position: relative; z-index: 3; height: clamp(150px, 16vw, 230px); margin-block: -72px 24px; overflow: hidden; }
.tape {
  position: absolute; left: -10vw; width: 120vw; padding-block: 14px; overflow: hidden;
  border-block: var(--pen); font-family: "DotGothic16", "BIZ UDPGothic", sans-serif;
  font-size: clamp(15px, 1.5vw, 21px); line-height: 1.2; white-space: nowrap;
}
.tape-front { top: 34%; z-index: 2; rotate: -5deg; background: #ffe45c; box-shadow: 0 7px 0 var(--orange), 0 7px 0 2.5px var(--ink); }
.tape-back { top: 38%; z-index: 1; rotate: 3deg; background: var(--mint-wash); }
.tape-back .tape-run { translate: -140px 0; }
.tape-run { display: flex; }
.tape-run span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; }
.tape-run span::after {
  content: ""; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 3l3 14 14 3-14 3-3 14-3-14-14-3 14-3z' fill='%23ffffff' stroke='%231f2b38' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* ヒーローの絵は右にはみ出すので、ページ全体で横スクロールを出さない */
main { overflow-x: clip; }

@media (max-width: 1279px) {
  .loading-maru { position: static; width: 112px; margin-block: -34px; translate: none; rotate: 4deg; }
}
@media (max-width: 960px) {
  .nb-hero { min-height: 0; padding-top: 24px; }
  .nb-art { position: relative; top: auto; right: auto; width: 100%; max-width: 360px; order: -1; justify-self: end; margin-bottom: -48px; rotate: -4deg; }
  .nb-copy { max-width: none; }
}
@media (max-width: 640px) {
  .nb-art { max-width: 250px; margin-bottom: -24px; }
  .nb-hero h1 { font-size: clamp(28px, calc((100vw - 40px) / 10), 56px); }
  .loading-sticker { font-size: 13px; padding: 6px 12px; }
  .loading-bar { width: 80px; }
  .loading-maru { width: 84px; margin-block: -20px; }
  .tape { padding-block: 10px; }
  .tapes { height: 120px; margin-block: -24px 0; }
  .nb-actions .btn { flex: 1 1 140px; min-width: 0; }
}

.menu-toggle { white-space: nowrap; }
@media (max-width: 640px) { .nb-art { margin-bottom: 8px; } }

/* ===== ザクザク切った色紙の帯（今の pionavi.com と同じ切り方） ===== */
.cut { position: relative; isolation: isolate; padding-block: clamp(72px, 9vw, 120px); }
.cut::before, .cut::after { content: ""; position: absolute; inset-block: 0; left: 50%; width: 100vw; translate: -50% 0; pointer-events: none; }
.cut::before {
  z-index: -1;
  background-color: var(--band);
  background-image: linear-gradient(var(--band-grid) 1px, transparent 1px), linear-gradient(90deg, var(--band-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  clip-path: polygon(0 5%, 14% 0, 33% 4%, 52% .5%, 76% 5.5%, 100% 0, 100% 95%, 84% 100%, 63% 94.5%, 40% 99.5%, 18% 94%, 0 100%);
}
.cut::after {
  z-index: -2;
  background: var(--band-under);
  clip-path: polygon(0 0, 22% 5%, 45% 0, 68% 4%, 100% 1.5%, 100% 100%, 78% 95%, 52% 100%, 28% 95.5%, 0 99%);
}
.cut-orange { --band: color-mix(in srgb, #ffd2ad 42%, #f6f8f7); --band-under: color-mix(in srgb, #ff8822 48%, #f6f8f7); --band-grid: rgb(170 90 20 / .12); }
.cut-mint { --band: color-mix(in srgb, #a8efdc 44%, #f6f8f7); --band-under: color-mix(in srgb, #62d9b8 62%, #f6f8f7); --band-grid: rgb(20 110 90 / .13); }
/* 帯どうしは少し離し、前の帯の線や色を消す */
.band.cut { border-block: 0; background: none; padding-block: clamp(64px, 8vw, 104px); }
.band.cut + .band.cut { margin-top: 24px; }
.cut + .cut, .cut + section, section + .cut { margin-top: 8px; }

/* ===== トップ：入口カード・大切にする考え方・研究や仕事（今の pionavi.com と同じ形） ===== */
.entrances { padding-block: 48px 72px; }
.entrance-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.entrance-card {
  position: relative; display: grid; align-content: start; gap: 6px; height: 100%;
  padding: 24px 92px 30px 24px;
  border: var(--pen); border-radius: 20px; background: var(--sheet); color: var(--ink); text-decoration: none;
  box-shadow: 6px 7px 0 var(--orange), 6px 7px 0 2.5px var(--ink);
}
.pen-mint .entrance-card { box-shadow: 6px 7px 0 var(--mint), 6px 7px 0 2.5px var(--ink); }
.entrance-label { font-family: var(--font-hand); font-size: 17px; color: var(--ink-soft); }
.entrance-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.4; }
.entrance-body { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.entrance-maru { position: absolute; right: 12px; top: 16px; width: 66px; }
@media (max-width: 900px) { .entrance-list { grid-template-columns: 1fr; } }

.big-title { font-size: clamp(28px, 4.6vw, 56px); line-height: 1.4; letter-spacing: .02em; max-width: 17em; }
.section-lead { margin-top: 36px; max-width: 38em; color: var(--ink-soft); }

.values .wrap { position: relative; }
.values { padding-bottom: clamp(120px, 12vw, 168px); }
.halftone {
  position: absolute; z-index: -1; aspect-ratio: 1; border-radius: 50%; width: 220px; top: 0; right: 110px;
  background: radial-gradient(circle, var(--orange) 32%, transparent 36%) 0 0 / 10px 10px;
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%);
}
.values-maru { position: absolute; width: 150px; top: 24px; right: 40px; rotate: 10deg; }
.values-list { list-style: none; padding: 0 0 72px; margin: 48px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; max-width: 760px; }
.values-list li { display: grid; grid-template-columns: 30px 1fr; gap: 4px 12px; }
.values-list li:nth-child(even) { translate: 0 72px; }
.values-list li::before {
  content: ""; grid-row: span 2; width: 30px; height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%231f2b38' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8c6-2 15-2 20-1 1 6 1 13-1 19-6 1-13 1-19-1-1-6-1-12 0-17z'/%3E%3Cpath d='M10 16l5 6 13-17'/%3E%3C/svg%3E") center / contain no-repeat;
}
.values-list h3 { font-size: 20px; line-height: 1.5; }
.values-list p { color: var(--ink-soft); font-size: 15px; }

.together .big-title, .together .section-lead { margin-left: auto; }
.together .big-title { text-align: right; }
.collaboration-list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.collaboration-list li { border-top: 2px dashed rgb(31 43 56 / .32); padding-top: 16px; }
.collaboration-list li:nth-child(2) { translate: 0 60px; }
.collaboration-list li:nth-child(3) { translate: 0 120px; }
.collaboration-list h3 { font-size: 19px; line-height: 1.5; margin-bottom: 8px; }
.collaboration-list p { color: var(--ink-soft); font-size: 15px; }
.together-call {
  position: relative; margin: 168px 0 0 18%;
  padding: 36px; border: var(--pen); border-radius: 26px; background: var(--sheet);
  box-shadow: 7px 8px 0 var(--orange), 7px 8px 0 2.5px var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
}
.together-call p { max-width: 38em; }
.together-maru { position: absolute; width: 80px; top: -64px; left: 32px; rotate: -8deg; }

@media (max-width: 960px) {
  .together .big-title { text-align: left; margin-left: 0; }
  .together .section-lead { margin-left: 0; }
  .values-list li:nth-child(even), .collaboration-list li:nth-child(n) { translate: none; }
  .values-list { padding-bottom: 0; }
  .values { padding-bottom: clamp(72px, 9vw, 120px); }
  .together-call { margin: 96px 0 0; padding: 28px; }
  .collaboration-list { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .values-list { grid-template-columns: 1fr; }
  .values-maru { width: 84px; top: 0; right: 0; }
  .halftone { width: 140px; right: 20px; }
  .values .big-title { padding-right: 84px; }
}

.values .big-title, .values .section-lead { max-width: min(38em, calc(100% - 220px)); }
@media (max-width: 640px) { .values .big-title, .values .section-lead { max-width: none; } }

/* ===== トップ：私たちについて・いまの取り組み・まる・お知らせ（今の pionavi.com と同じ形） ===== */
:root {
  --bleed: max(20px, calc((100vw - 1120px) / 2 + 20px));
  --outline: drop-shadow(2.5px 0 0 var(--ink)) drop-shadow(-2.5px 0 0 var(--ink)) drop-shadow(0 2.5px 0 var(--ink)) drop-shadow(0 -2.5px 0 var(--ink));
  --lilac: #dd99ff;
}
.nb-section { padding-block: clamp(72px, 9vw, 112px); }
.nb-section .wrap { position: relative; }
.prose p { color: var(--ink-soft); }

/* 私たちについて */
.purpose-body { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px 56px; align-items: end; }
.purpose-card {
  position: relative; isolation: isolate;
  margin-left: calc(-1 * var(--bleed) - 24px);
  padding: 56px 56px 64px calc(var(--bleed) + 24px);
  filter: var(--outline) drop-shadow(9px 10px 0 var(--orange)) drop-shadow(2.5px 2.5px 0 var(--ink));
}
.purpose-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; clip-path: polygon(0 0, 100% 7%, 95% 100%, 0 90%); }
.purpose-statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.95vw, 42px); line-height: 1.55; }
.purpose-statement span { display: inline-block; }
.purpose .prose { padding-bottom: 36px; }
.purpose-note { grid-column: 1; justify-self: end; margin-right: 6%; rotate: -3deg; }
.purpose-note svg { rotate: 50deg; }
.purpose-dots { width: 380px; top: -72px; right: -110px; }
.purpose-maru { position: absolute; width: 104px; top: 36px; right: 60px; rotate: 14deg; }

/* いまの取り組み */
.initiative .big-title, .initiative .section-lead { margin-left: auto; }
.initiative .big-title { text-align: right; }
.initiative-list { list-style: none; padding: 0; margin: 96px 0 0; display: grid; }
.initiative-item { --ipen: var(--orange); position: relative; }
.initiative-item.pen-mint { --ipen: var(--mint); }
.initiative-item.pen-lilac { --ipen: var(--lilac); }
.initiative-item:nth-child(1) { margin-inline: calc(-1 * var(--bleed) - 20px) 16%; }
.initiative-item:nth-child(2) { z-index: 1; margin: -28px calc(-1 * var(--bleed) - 20px) 0 18%; }
.initiative-item:nth-child(3) { margin: -18px 17% 0 calc(-.5 * var(--bleed)); }
.initiative-item:nth-child(1) { --cut: polygon(0 0, calc(100% - 80px) 0, 100% 56px, 100% 100%, 0 calc(100% - 20px)); }
.initiative-item:nth-child(2) { --cut: polygon(46px 0, 100% 16px, 100% 100%, 0 calc(100% - 10px), 0 52px); }
.initiative-item:nth-child(3) { --cut: polygon(0 26px, 100% 0, 100% calc(100% - 50px), calc(100% - 70px) 100%, 0 100%); }
.initiative-card {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "title track" "text track";
  gap: 12px 48px; padding: 48px 52px;
  filter: var(--outline) drop-shadow(8px 9px 0 var(--ipen)) drop-shadow(2.5px 2.5px 0 var(--ink));
}
.initiative-item:nth-child(1) .initiative-card { padding-left: calc(var(--bleed) + 64px); }
.initiative-item:nth-child(2) .initiative-card { padding-right: calc(var(--bleed) + 64px); }
.initiative-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; clip-path: var(--cut); }
.initiative-card h3 { grid-area: title; font-size: clamp(20px, 2.3vw, 30px); line-height: 1.5; }
.initiative-card > p { grid-area: text; color: var(--ink-soft); max-width: 38em; }
.stage-track { grid-area: track; align-self: center; list-style: none; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 34px 0 0; }
.stage-track li {
  position: relative; padding: 9px 0; border: 2px dashed var(--grid-strong); border-radius: 999px; background: #fff;
  text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--ink-soft);
}
.stage-track li.done { border: 2px solid var(--ink); background: var(--ipen); box-shadow: var(--puff); color: var(--ink); }
.stage-track li[aria-current="step"] { box-shadow: var(--puff), 0 4px 0 var(--ink); }
.here { position: absolute; bottom: calc(100% + 6px); left: 50%; translate: -50% 0; rotate: -6deg; font-family: var(--font-hand); font-weight: 400; font-size: 17px; white-space: nowrap; color: var(--ink); }
.here::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 8px; background: var(--ink); border-radius: 2px; }
.buddy { position: absolute; z-index: 2; top: 50%; translate: 0 -50%; }
.buddy-1 { --lift: var(--orange); width: 160px; left: calc(100% + 40px); rotate: 8deg; }
.buddy-2 { --lift: var(--mint); width: 128px; right: calc(100% + 56px); top: 54%; rotate: -4deg; }
.buddy-3 { --lift: var(--mint); width: 190px; left: calc(100% + 28px); }

/* まる */
.character { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
.character-art { position: relative; margin-left: calc(-1 * var(--bleed) - 24px); }
.cut-photo { display: block; filter: var(--outline) drop-shadow(10px 11px 0 var(--mint)) drop-shadow(2.5px 2.5px 0 var(--ink)); }
.character-banner { display: block; width: 100%; height: clamp(340px, 40vw, 620px); object-fit: cover; clip-path: polygon(0 0, 100% 9%, 93% 100%, 0 90%); }
.character-note { position: absolute; right: 6%; bottom: -54px; rotate: -3deg; }
.character-text {
  position: relative; z-index: 1; isolation: isolate;
  margin: 0 calc(-1 * var(--bleed) - 30px) 0 -22%;
  padding: 64px calc(var(--bleed) + 30px) 64px 72px;
  filter: var(--outline) drop-shadow(8px 9px 0 var(--orange)) drop-shadow(2.5px 2.5px 0 var(--ink));
}
.character-text::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; clip-path: polygon(9% 0, 100% 8%, 95% 100%, 0 91%); }
.character-catch { margin-block: 36px 1em; max-width: 15em; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.6; }
.character-text .prose { display: grid; gap: 1em; max-width: 34em; font-size: 17px; }
.character-badge {
  position: absolute; z-index: 1; top: -70px; right: calc(var(--bleed) - 40px); width: 200px; height: auto; aspect-ratio: 1;
  border: var(--pen); border-radius: 50%; box-shadow: var(--puff), 6px 7px 0 var(--mint), 6px 7px 0 2.5px var(--ink); rotate: 10deg;
}
.character-sitter { --lift: var(--mint); z-index: 1; width: 150px; right: calc(var(--bleed) - 120px); bottom: 40px; rotate: -4deg; }
.character-go { margin-top: 28px; }

/* お知らせ */
.news-list { margin: 48px 0 0; max-width: 52em; list-style: none; padding: 0; }
.news-list li { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 8px 24px; padding-block: 16px; border-bottom: 2px dashed var(--grid-strong); }
.news-list time { font-family: var(--font-display); font-weight: 700; }
.news-list h3 { font-size: 18px; line-height: 1.5; }
.news-list p { color: var(--ink-soft); font-size: 15px; white-space: pre-line; }
.news-more { margin-top: 24px; }

@media (max-width: 960px) {
  .initiative .big-title { text-align: left; margin-left: 0; }
  .initiative .section-lead { margin-left: 0; }
  .initiative-item:nth-child(n) { margin: 0 0 36px; }
  .initiative-item:nth-child(n) .initiative-card { padding: 32px 26px; }
  .initiative-card { grid-template-columns: 1fr; grid-template-areas: "title" "text" "track"; }
  .stage-track { max-width: 440px; margin-top: 4px; }
  .buddy, .character-sitter, .character-note { display: none; }
  .purpose-body, .character { grid-template-columns: 1fr; }
  .purpose-card { margin-inline: calc(-1 * var(--bleed) - 24px); padding: 40px 32px 52px 44px; }
  .purpose-note { margin-right: 0; }
  .purpose .prose { order: 1; padding-top: 24px; }
  .character-art { margin-inline: calc(-1 * var(--bleed) - 24px); }
  .character-banner { height: clamp(220px, 56vw, 380px); clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 90%); }
  .character-text { margin: -60px 0 0; padding: 44px 26px 48px; }
  .character-badge { width: 110px; top: -48px; right: 12px; }
}
@media (max-width: 640px) {
  .initiative-item:nth-child(n) .initiative-card { padding: 28px 20px; }
  .stage-track li { font-size: 13px; }
  .purpose-maru { width: 72px; top: 0; right: 0; }
  .purpose-dots { width: 160px; top: -40px; right: -20px; }
  .news-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ヒーローの小さい文字：絵に重ならない幅にし、保護者の方へは別の行に */
.nb-hero .fine { max-width: 26em; line-height: 1.8; }
.nb-hero .parent-link { margin-top: 10px; }
.nb-hero .parent-link a { font-family: var(--font-display); font-weight: 700; color: var(--ink); text-underline-offset: 4px; }
.nb-hero .parent-link a::after { content: " →"; }

/* ===== 知りたいことから選ぶ：4枚の入口＋寄り道・日記（今の pionavi.com と同じ形） ===== */
.entrances { padding-block: 72px; }
.entrances .entrance-list { margin-top: 36px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.entrances .entrance-card { padding-right: 84px; }
@media (max-width: 1100px) { .entrances .entrance-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .entrances .entrance-list { grid-template-columns: 1fr; } }
.detours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 48px; }
.detour {
  position: relative; display: grid; align-content: start; gap: 6px; min-height: 190px;
  padding: 30px 38% 30px 30px; border: var(--pen); border-radius: 24px; color: var(--ink); text-decoration: none; overflow: hidden;
}
.detour-suki { background: #fff3a8; box-shadow: 7px 8px 0 var(--orange), 7px 8px 0 2.5px var(--ink); }
.detour-diary { background: #c4eee1; box-shadow: 7px 8px 0 var(--lilac, #dd99ff), 7px 8px 0 2.5px var(--ink); }
.detour-label { font-family: var(--font-hand); font-size: 18px; }
.detour-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.35; }
.detour-body { font-size: 14px; }
.detour-notes, .detour-pages { position: absolute; right: 18px; top: 50%; translate: 0 -50%; display: grid; gap: 8px; }
.detour-notes span { padding: 8px 14px; font-family: var(--font-display); font-weight: 700; font-size: 14px; background: #fff; border: 2px solid var(--ink); rotate: -4deg; box-shadow: 3px 3px 0 rgb(31 43 56 / .25); }
.detour-notes span:nth-child(2) { rotate: 3deg; translate: 16px 0; background: #ffd2ad; }
.detour-notes span:nth-child(3) { rotate: -2deg; translate: -6px 0; background: #c4eee1; }
.detour-pages span { width: 120px; padding: 10px 12px; font: 700 14px var(--font-display); background: #fff; border: 2px solid var(--ink); border-radius: 6px; background-image: linear-gradient(transparent 23px, rgb(31 43 56 / .12) 24px); background-size: 100% 24px; rotate: 3deg; }
.detour-pages span:nth-child(2) { rotate: -5deg; translate: -12px -6px; }
@media (max-width: 760px) {
  .detours { grid-template-columns: 1fr; }
  .detour { padding: 30px 30px 120px; }
  .detour-notes, .detour-pages { top: auto; bottom: 18px; translate: none; grid-auto-flow: column; }
}

/* ===== 料金ページ ===== */
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan-card {
  position: relative; padding: 28px 24px; border: var(--pen); border-radius: 20px; background: var(--sheet);
  box-shadow: 6px 7px 0 var(--mint), 6px 7px 0 2.5px var(--ink); min-width: 0;
}
.plan-card.plan-main { box-shadow: 6px 7px 0 var(--orange), 6px 7px 0 2.5px var(--ink); }
.plan-card h3 { font-size: 18px; }
.plan-price { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 2.8vw, 38px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 15px; margin-left: 2px; }
.plan-card ul { margin: 14px 0 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.plan-tag { position: absolute; top: -16px; left: 18px; padding: 2px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--marker); font-family: var(--font-display); font-weight: 700; font-size: 13px; }
@media (max-width: 1000px) { .plan-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plan-list { grid-template-columns: 1fr; } }

.flows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.flow { border: var(--pen); border-radius: 20px; background: var(--sheet); padding: 28px; min-width: 0; }
.flow h3 { font-size: 20px; margin-bottom: 16px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; display: grid; gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; border-left: 2px dashed var(--grid-strong); }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; background: var(--mint); }
.timeline li:first-child::before { background: var(--orange); }
.timeline b { font-family: var(--font-display); }
.timeline span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .flows { grid-template-columns: 1fr; } }
#stop .dodont .do { background: var(--sheet); }

/* まるの欄：見出し〜ボタンのまとまりを、右のカードの左右の真ん中に置く */
.character-inner { max-width: 34em; margin-inline: auto; }
@media (min-width: 961px) { .character-text { padding-right: 72px; } }

/* 料金ページ：プランの下の小さなリセット権の説明 */
.reset-mini { margin-top: 36px; max-width: 760px; padding: 18px 22px; border: 2px dashed var(--grid-strong); border-radius: 16px; background: var(--sheet); font-size: .9rem; }
.reset-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.reset-head b { font-family: var(--font-display); font-size: 1rem; }
.reset-price { font-family: var(--font-display); font-weight: 700; color: var(--orange-text); }
.reset-lead { margin-top: 6px; color: var(--ink-soft); line-height: 1.8; }
.reset-facts { margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.reset-facts div { display: flex; gap: 10px; }
.reset-facts dt { font-weight: 700; white-space: nowrap; }
.reset-facts dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) { .reset-facts { grid-template-columns: 1fr; } }

/* フッター：ご案内を2列に */
.foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); }
.site-footer ul.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ===== フッター（組み直し） ===== */
.site-footer { padding-block: 56px 28px; font-size: .9rem; line-height: 1.8; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; padding-bottom: 32px; border-bottom: 1px solid rgb(246 248 247 / .16); }
.foot-brand p { margin-top: 10px; opacity: .8; }
.foot-sns { max-width: 420px; }
.foot-label { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .04em; opacity: .65; margin-bottom: 10px; }
.site-footer .sns-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sns-list a { display: inline-block; padding: 4px 14px; border: 1.5px solid rgb(246 248 247 / .45); border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .85rem; }
.sns-list a:hover { background: rgb(246 248 247 / .1); text-decoration: none; }
.foot-small { margin-top: 10px; font-size: .78rem; opacity: .65; }
.foot-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; padding-block: 32px; }
.site-footer .foot-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-bottom { display: grid; gap: 4px; padding-top: 20px; border-top: 1px solid rgb(246 248 247 / .16); font-size: .78rem; opacity: .7; }
@media (max-width: 900px) { .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== アプリの画面（PC版・スマホ版） ===== */
.pcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.pcs figure, .screen-row figure { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.pcs img, .screen-pc img { width: 100%; border: var(--pen); border-radius: 14px; background: var(--sheet); box-shadow: 5px 6px 0 var(--orange), 5px 6px 0 2.5px var(--ink); }
.pcs figure:nth-child(even) img { box-shadow: 5px 6px 0 var(--mint), 5px 6px 0 2.5px var(--ink); }
.pcs figcaption { font-size: .92rem; color: var(--ink-soft); line-height: 1.7; }
.pcs figcaption b { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1rem; }
@media (max-width: 700px) { .pcs { grid-template-columns: 1fr; } }

.screen-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) minmax(0, 0.55fr); gap: 28px; align-items: start; padding-block: 36px; border-top: 2px dashed var(--grid-strong); }
.sec-head + .screen-row { border-top: 0; padding-top: 0; }
.screen-text h3 { font-size: var(--step-2); }
.screen-text p { margin-top: 10px; color: var(--ink-soft); }
.screen-sp img { width: 100%; border: var(--pen); border-radius: 22px; background: var(--sheet); box-shadow: 5px 6px 0 var(--mint), 5px 6px 0 2.5px var(--ink); }
.screen-row figcaption { font-size: .82rem; color: var(--ink-soft); text-align: center; }
.screen-note { margin-top: 12px; padding: 22px 24px; border: 2px dashed var(--grid-strong); border-radius: 16px; background: var(--sheet); max-width: 52em; }
.screen-note h3 { font-size: var(--step-1); }
.screen-note p { margin-top: 6px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .screen-row { grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr); }
  .screen-text { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .screen-row { grid-template-columns: minmax(0, 1fr); }
  .screen-sp { max-width: 220px; justify-self: center; }
}

/* ===== ページ上部の目次：ノートの目次のように番号つきで並べる ===== */
.toc {
  margin-top: 32px; padding: 18px 24px 8px; list-style: none; counter-reset: toc;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 28px;
  border: var(--pen); border-radius: 18px; background: var(--sheet); max-width: 980px;
}
.toc::before { content: "このページの内容"; grid-column: 1 / -1; font-family: var(--font-hand); font-size: 17px; color: var(--ink-soft); margin-bottom: 4px; }
.toc li { counter-increment: toc; border-bottom: 1.5px dashed var(--grid-strong); }
.toc a {
  display: flex; align-items: baseline; gap: 12px; padding: 10px 2px;
  border: 0; border-radius: 0; background: none; font-family: var(--font-display); font-weight: 700; font-size: .95rem; text-decoration: none;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: "DotGothic16", var(--font-body); font-weight: 400; color: var(--orange-text); font-size: .9rem; }
.toc a::after { content: "↓"; margin-left: auto; color: var(--ink-soft); transition: translate .2s; }
.toc a:hover { border: 0; }
.toc a:hover::after { translate: 0 3px; color: var(--ink); }
.toc a:hover span, .toc a:hover { color: var(--ink); }
@media (max-width: 560px) { .toc { grid-template-columns: 1fr; padding: 14px 18px 4px; } }

/* 保護者の方へ：冒頭の要約は言葉の切れ目で改行する */
.summary-facts dd span { display: inline-block; }
.summary-facts .summary-link { display: block; margin-top: 4px; }
.summary-facts dd span.flow-text { display: inline; word-break: auto-phrase; }

/* 私たちについて：連携の締めの一文とボタン（カードにはしない） */
.together-close { position: relative; margin: 168px 0 0 18%; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.together-close p { max-width: 34em; }
.together-close .together-maru { position: static; width: 72px; rotate: -8deg; }
@media (max-width: 960px) { .together-close { margin: 72px 0 0; } }

/* お問い合わせページ */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-wrap .contact-box { max-width: none; box-shadow: 6px 7px 0 var(--orange), 6px 7px 0 2.5px var(--ink); }
.contact-kinds { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact-kinds li { padding: 4px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--mint-wash); font-family: var(--font-display); font-weight: 700; font-size: .88rem; }
.contact-side h3 { font-size: var(--step-1); }
.contact-side ul { margin: 12px 0 20px; padding: 0; list-style: none; display: grid; gap: 8px; }
.contact-side li a { font-family: var(--font-display); font-weight: 700; text-underline-offset: 4px; }
.contact-side li a::after { content: " →"; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }

/* 私たちについて：一番下のメール相談カード */
.consult { padding-block: 24px 96px; }
.consult-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
  padding: 28px 32px; border: var(--pen); border-radius: 24px; background: var(--sheet);
  box-shadow: 7px 8px 0 var(--orange), 7px 8px 0 2.5px var(--ink); max-width: 980px; margin-inline: auto;
}
.consult-card p { flex: 1 1 320px; min-width: 0; }
.consult-card .together-maru { position: static; width: 72px; rotate: -8deg; }
.together .collaboration-list { margin-bottom: 120px; }
@media (max-width: 960px) { .together .collaboration-list { margin-bottom: 0; } }

/* お問い合わせフォーム */
.inquiry-form { gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.req, .opt { font-size: .72rem; padding: 0 8px; border-radius: 999px; border: 1.5px solid var(--ink); font-family: var(--font-body); }
.req { background: var(--orange-wash); }
.opt { background: var(--sheet); color: var(--ink-soft); border-color: var(--grid-strong); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: 12px; padding: 10px 14px;
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.8; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #c2410c; background: #fff5ef; }
.hint { font-size: .8rem; color: var(--ink-soft); }
.robot-check { display: grid; gap: 8px; justify-items: start; padding: 14px 16px; border: 2px dashed var(--grid-strong); border-radius: 12px; color: var(--ink-soft); font-size: .85rem; }
.robot-check #inq-turnstile { width: 100%; min-height: 65px; }
.robot-check #inq-turnstile:empty { display: none; }
.form-note { font-size: .85rem; color: var(--ink-soft); line-height: 1.8; }
.inquiry-form .btn-big { justify-self: start; min-width: 200px; }
.form-result { padding: 12px 16px; border-radius: 12px; font-size: .92rem; }
.form-result.is-error { background: #fff5ef; border: 2px solid #c2410c; color: #9a3412; }
.form-result.is-sending { background: var(--sheet); border: 2px dashed var(--grid-strong); color: var(--ink-soft); }
.form-result.is-done { background: var(--mint-wash); border: 2px solid var(--mint-text); color: var(--ink); overflow-wrap: anywhere; }
.inquiry-form .btn-big:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.contact-side .contact-mail { gap: 10px; margin-bottom: 28px; padding: 20px; }

.site-footer .foot-contact { margin-top: 16px; color: var(--ink); background: var(--paper); border-color: var(--paper); box-shadow: 0 4px 0 rgb(0 0 0 / .35); }
.site-footer .foot-contact:hover { text-decoration: none; }

/* トップの私たちについて：網点とまるを上にずらし、右の文章にかからないようにする */
.purpose-dots { width: 300px; top: -150px; right: -60px; }
.purpose-maru { top: -40px; right: 80px; }
@media (max-width: 640px) { .purpose-dots { width: 150px; top: -70px; right: -20px; } .purpose-maru { top: -24px; right: 0; } }

/* 3か月パス廃止：料金カードは3枚 */
.plan-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .plan-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plan-list { grid-template-columns: 1fr; } }

/* 使う期間ごとのおすすめ（表の代わり） */
.period-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.period-card {
  position: relative; display: grid; align-content: start; gap: 4px; min-width: 0;
  padding: 26px 24px 24px; border: var(--pen); border-radius: 20px; background: var(--sheet);
  box-shadow: 6px 7px 0 var(--mint), 6px 7px 0 2.5px var(--ink);
}
.period-card:first-child { box-shadow: 6px 7px 0 var(--orange), 6px 7px 0 2.5px var(--ink); }
.period { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; }
.period span { font-size: .9rem; margin-left: 6px; color: var(--ink-soft); }
.best-plan { margin-top: 14px; justify-self: start; padding: 2px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--marker); font-family: var(--font-display); font-weight: 700; font-size: .85rem; }
.best-price { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.15; font-variant-numeric: tabular-nums; }
.best-price span { font-size: 16px; margin-left: 2px; }
.compare { margin-top: 10px; padding-top: 10px; border-top: 1.5px dashed var(--grid-strong); font-size: .88rem; color: var(--ink-soft); line-height: 1.7; }
.compare b { color: var(--orange-text); }
.period-rule { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-family: var(--font-display); font-weight: 700; }
.period-rule b { background: linear-gradient(transparent 60%, var(--marker) 60%); }
.period-rule .arrow { color: var(--grid-strong); }
@media (max-width: 760px) { .period-cards { grid-template-columns: 1fr; } }

/* 保護者の方へ：ひと目でわかるPioNavi */
.glance-lead { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.7; color: var(--ink) !important; max-width: 34em; }
.glance-sub { font-family: var(--font-hand); font-size: 20px; color: var(--ink-soft); margin-bottom: 16px; }
.week-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: wf; }
.week-flow li { position: relative; display: grid; gap: 6px; align-content: start; padding: 24px 22px; border: var(--pen); border-radius: 20px; background: var(--sheet); counter-increment: wf; min-width: 0; }
.week-flow li::before { content: counter(wf); position: absolute; top: -14px; left: 18px; width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.week-flow li + li::after { content: ""; position: absolute; left: -32px; top: 50%; width: 24px; height: 24px; translate: 0 -50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2b38' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.week-flow b { font-family: var(--font-display); font-size: 1.1rem; }
.week-flow li > span:last-child { color: var(--ink-soft); font-size: .95rem; }
.wf-icon svg, .kc-icon svg { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.wf-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--mint-wash); margin-bottom: 6px; }
.week-after { margin-top: 20px; padding: 12px 18px; border-left: 4px solid var(--mint); background: var(--sheet); border-radius: 0 12px 12px 0; max-width: 46em; }
.know-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.know-cards a { display: grid; gap: 6px; align-content: start; height: 100%; padding: 22px 20px; border: var(--pen); border-radius: 18px; background: var(--sheet); color: var(--ink); text-decoration: none; box-shadow: 5px 6px 0 var(--mint), 5px 6px 0 2.5px var(--ink); transition: translate .3s var(--spring); }
.know-cards li:nth-child(odd) a { box-shadow: 5px 6px 0 var(--orange), 5px 6px 0 2.5px var(--ink); }
.know-cards a:hover { translate: 0 -3px; }
.know-cards b { font-family: var(--font-display); font-size: 1.1rem; }
.know-cards b::after { content: " →"; color: var(--ink-soft); font-size: .9rem; }
.know-cards span:last-child { color: var(--ink-soft); font-size: .9rem; line-height: 1.7; }
.kc-icon svg { width: 36px; height: 36px; }
.glance-foot { margin-top: 28px; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .week-flow { grid-template-columns: 1fr; gap: 28px; }
  .week-flow li + li::after { left: 50%; top: -26px; translate: -50% 0; rotate: 90deg; }
  .know-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .know-cards { grid-template-columns: 1fr; } }

/* アプリのご案内：総合選抜対策 */
.adm { margin-top: 24px; padding-top: 36px; border-top: 2px dashed var(--grid-strong); }
.adm-head h3 { font-size: var(--step-3); }
.adm-head p { margin-top: 10px; max-width: 46em; color: var(--ink-soft); }
.adm-row { border-top: 0; padding-block: 28px; }
.adm-step { width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); font-family: var(--font-display); font-weight: 700; margin-bottom: 8px; }
.adm-row h4 { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.5; }
.adm-row .screen-text p + p { margin-top: 8px; }
.adm-note { grid-column: span 2; align-self: start; padding: 20px 22px; border: 2px dashed var(--grid-strong); border-radius: 16px; background: var(--sheet); }
.adm-note p + p { margin-top: 6px; color: var(--ink-soft); font-size: .92rem; }
.adm-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.adm-flow { margin: 12px 0 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--ink-soft); font-size: .95rem; }
.adm-flow b { color: var(--ink); font-family: var(--font-display); }
.adm-ai { margin-top: 12px; padding: 8px 12px; background: var(--mint-wash); border-radius: 10px; font-weight: 700; font-size: .92rem; color: var(--ink) !important; }
@media (max-width: 900px) { .adm-note { grid-column: 1 / -1; } .adm-wide { grid-template-columns: 1fr; } }

/* 本文へ飛ぶリンク（キーボード操作のときだけ見える） */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 6px 12px; background: var(--sheet); border: var(--pen); border-radius: 8px; }
.skip:focus { left: 16px; }

/* 顔写真がないときは、名前と説明を1列で出す */
.person:not(:has(.photo-slot)) { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 420px) {
  .site-header .wrap { gap: 8px; padding-inline: 14px; }
  .site-header .logo { font-size: 1.15rem; gap: 6px; }
  .site-header .logo svg { width: 22px; height: 20px; }
  .site-header .header-cta { min-height: 36px; padding: 4px 12px; font-size: .85rem; }
  .menu-toggle { padding: 5px 10px; font-size: .82rem; }
}
@media (max-width: 1180px) { .katachi { margin-inline-start: -.16em; } }
@media (min-width: 1500px) and (max-width: 1800px) { .nb-art { right: -10vw; } }
@media (min-width: 1600px) { .character-badge { right: 60px; } }
