/* =====================================================================
   みまもりクリニック ver3 — "Warm Nightlight / Liquid Glass" デザインシステム
   参考: NOMOCa-AI chat 導入提案書（ビジュアルのみ参照）
   規約: ../../../../design/ver3-design-rules.md ／ 見本: styleguide.html
   ---------------------------------------------------------------------
   0. Tokens          5. Section header     10. Route / Steps
   1. Base            6. Glass surfaces     11. Value cards
   2. Section themes  7. Pills / Buttons    12. Table / Compare
   3. Light effects   8. Icon tile / Stat   13. Blog / Post
   4. Layout          9. Cards / Photo      14. Form / Header / Drawer / Footer
   ===================================================================== */

/* ---------- 0. Tokens ---------- */
:root {
  /* 夜（ネイビー〜インディゴ） */
  --night-950: #0b1128;
  --night-900: #111a36;
  --night-800: #18234a;
  --night-700: #1e2a4a;
  --night-600: #2c3a64;
  --night-500: #46557f;
  /* 夕〜常夜灯（アンバー〜ピーチ） */
  --amber-700: #b8642a;   /* 明背景上のアンバー文字（4.5:1 以上） */
  --amber-600: #d9813f;
  --amber-500: #f0a35e;
  --amber-400: #f2b98a;
  --amber-300: #f7cfa6;
  --amber-200: #fbe3c9;
  --amber-100: #fdf1e4;
  --glow: #ffd59a;
  --lavender-300: #b9bdd6;

  /* 文字色 */
  --ink: #1e2a4a;          /* 明るい面の本文 */
  --ink-muted: #46506e;
  --snow: #ffffff;         /* 暗い面の本文 */
  --snow-muted: rgba(255, 255, 255, .8);

  /* グラデーション */
  --grad-night: radial-gradient(120% 70% at 50% 0%, #2a3768 0%, rgba(42, 55, 104, 0) 60%), linear-gradient(180deg, #121b39 0%, #0d1430 100%);
  --grad-dusk: radial-gradient(70% 60% at 100% 100%, rgba(246, 178, 120, .75) 0%, rgba(246, 178, 120, 0) 70%), linear-gradient(160deg, #16204a 0%, #24315e 34%, #4a5282 60%, #9a8296 82%, #e2a47f 100%);
  --grad-dawn: linear-gradient(128deg, #f8d6b2 0%, #f3c39a 30%, #e7c0ad 58%, #c9c3d6 82%, #aab3d1 100%);
  --grad-amber-text: linear-gradient(180deg, #fff1d8 0%, #ffd29a 38%, #f4a45c 78%, #e88a43 100%);
  --grad-amber-fill: linear-gradient(180deg, #ffe0b5 0%, #f6b877 55%, #ee9b55 100%);
  --grad-lamp: radial-gradient(closest-side, rgba(255, 222, 170, .95) 0%, rgba(255, 168, 90, .62) 24%, rgba(238, 130, 66, .26) 52%, rgba(226, 116, 60, .08) 76%, rgba(226, 116, 60, 0) 100%);

  /* ガラス（暗い面） */
  --glass-dark-fill: linear-gradient(155deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .06) 55%, rgba(255, 255, 255, .09) 100%);
  --glass-dark-solid: rgba(38, 50, 92, .92);           /* backdrop-filter 非対応時 */
  --glass-dark-border: rgba(255, 255, 255, .26);
  /* ガラス（明るい面） */
  --glass-light-fill: linear-gradient(155deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .34) 60%, rgba(255, 255, 255, .44) 100%);
  --glass-light-solid: rgba(255, 248, 240, .94);
  --glass-light-border: rgba(255, 255, 255, .75);
  --glass-blur: 14px;

  /* 影・光 */
  --hl-inner: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .04), inset 0 -18px 36px rgba(255, 255, 255, .04);
  --shadow-dark: 0 18px 50px rgba(5, 9, 28, .42);
  --shadow-light: 0 16px 40px rgba(46, 52, 96, .14);
  --glow-amber: 0 0 28px rgba(255, 186, 120, .38), 0 0 2px rgba(255, 214, 160, .9);
  --glow-amber-soft: 0 0 40px rgba(255, 180, 110, .22);
  --text-glow: 0 0 22px rgba(255, 196, 130, .5), 0 2px 12px rgba(6, 10, 30, .55);
  --text-halo: 0 0 14px rgba(255, 255, 255, .75), 0 0 2px rgba(255, 255, 255, .9);

  /* 角丸 */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* 余白（4px 基準） */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --wrap: 1160px;

  /* 文字 */
  --font-display: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --fs-xs: 12px;
  --fs-sm: 13.5px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: clamp(19px, 1.6vw, 22px);
  --fs-xl: clamp(22px, 2.2vw, 28px);
  --fs-2xl: clamp(26px, 3.2vw, 40px);
  --fs-3xl: clamp(30px, 4.6vw, 58px);
  --fs-num: clamp(56px, 8vw, 104px);
  --lh-tight: 1.35;
  --lh-body: 1.9;

  /* 動き */
  --ease: cubic-bezier(.22, .7, .25, 1);
  --dur: .6s;
}

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  letter-spacing: .03em;
  font-feature-settings: "palt";
  color: var(--snow);
  background: var(--night-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: var(--lh-tight); letter-spacing: .04em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--amber-300); color: var(--ink); border-radius: var(--r-pill); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nowrap { white-space: nowrap; }
.br-sp { display: none; }
@media (max-width: 640px) { .br-sp { display: inline; } .br-pc { display: none; } }

/* ---------- 2. Section themes ----------
   night = 暗い面（白文字）／ dusk = 夜→灯の移ろい（白文字・左寄せ推奨）／ dawn = 灯の面（ネイビー文字）
   各テーマが --fg / --fg-muted / --surface-* を差し替え、部品は自動で追従する */
.sec { position: relative; padding: var(--section-y) var(--gutter); isolation: isolate; overflow: hidden; }
.sec--tight { padding-top: calc(var(--section-y) * .55); }
.sec--flush-b { padding-bottom: calc(var(--section-y) * .5); }
.t-night, .t-dusk {
  --fg: var(--snow); --fg-muted: var(--snow-muted); --accent: var(--amber-300);
  --surface-fill: var(--glass-dark-fill); --surface-solid: var(--glass-dark-solid); --surface-border: var(--glass-dark-border);
  --surface-shadow: var(--shadow-dark); --heading-shadow: var(--text-glow);
  color: var(--fg);
}
.t-dawn, .t-paper {
  --fg: var(--ink); --fg-muted: var(--ink-muted); --accent: var(--amber-700);
  --surface-fill: var(--glass-light-fill); --surface-solid: var(--glass-light-solid); --surface-border: var(--glass-light-border);
  --surface-shadow: var(--shadow-light); --heading-shadow: var(--text-halo);
  color: var(--fg);
}
.t-night { background: var(--grad-night); }
.t-dusk { background: var(--grad-dusk); }
.t-dawn { background: var(--grad-dawn); }
.t-paper { background: linear-gradient(180deg, #fbf3ea 0%, #f6e7d8 100%); }
/* dusk はガラスを一段暗くして白文字のコントラストを確保（灯側＝右下に文字が来ても 4.5:1） */
.t-dusk { --surface-fill: linear-gradient(155deg, rgba(30, 40, 82, .62) 0%, rgba(24, 33, 70, .46) 60%, rgba(40, 46, 90, .5) 100%); --surface-border: rgba(255, 255, 255, .3); }
/* dusk の右側（明るい側）に文字が来るときは、暗い幕（scrim）で 4.5:1 を確保 */
.t-dusk .scrim, .scrim { background: linear-gradient(155deg, rgba(20, 28, 58, .55), rgba(20, 28, 58, .35)); }

/* ---------- 3. Light effects（常夜灯・光のリボン） ---------- */
.lamp { position: absolute; z-index: -1; width: var(--lamp-size, 640px); aspect-ratio: 1; border-radius: 50%; background: var(--grad-lamp); pointer-events: none; filter: blur(2px); opacity: min(1, calc(var(--lamp-o, .7) * 1.45)); }
.lamp--tl { top: -20%; left: -12%; }
.lamp--tr { top: -18%; right: -14%; }
.lamp--br { bottom: -30%; right: -10%; }
.lamp--bc { bottom: -40%; left: 50%; translate: -50% 0; }
.lamp--c { top: 50%; left: 50%; translate: -50% -50%; }
.ribbon { position: absolute; z-index: -1; left: -5%; width: 110%; height: var(--ribbon-h, 420px); pointer-events: none; background: url("../img/ribbon-a.svg") center / 100% 100% no-repeat; opacity: var(--ribbon-o, .9); }
.ribbon--b { background-image: url("../img/ribbon-b.svg"); }
.ribbon--top { top: 0; } .ribbon--mid { top: 50%; translate: 0 -50%; } .ribbon--bottom { bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon { animation: drift 26s var(--ease) infinite alternate; }
  .lamp--breathe { animation: breathe 7s ease-in-out infinite alternate; }
}
@keyframes drift { from { transform: translateX(-2%) scaleY(1); } to { transform: translateX(2%) scaleY(1.06); } }
@keyframes breathe { from { opacity: calc(var(--lamp-o, .7) * .8); } to { opacity: var(--lamp-o, .7); } }

/* ---------- 4. Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; position: relative; }
.wrap--narrow { max-width: 860px; }
.wrap--text { max-width: 760px; }
.stack > * + * { margin-top: var(--stack, var(--s-5)); }
.grid { display: grid; gap: var(--gap, var(--s-5)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--side { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); align-items: start; }
.split--profile { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .grid-3, .split, .split--side, .split--profile { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}
@media (max-width: 640px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.center { text-align: center; }
.mt-s { margin-top: var(--s-4); } .mt-m { margin-top: var(--s-6); } .mt-l { margin-top: var(--s-8); }
.muted { color: var(--fg-muted); }
.note { font-size: var(--fs-sm); color: var(--fg-muted); }
.accent { color: var(--accent); }

/* ---------- 5. Section header ---------- */
.sh { text-align: center; max-width: 820px; margin: 0 auto clamp(36px, 5vw, 64px); }
.sh-title { font-size: var(--fs-2xl); color: var(--fg); text-shadow: var(--heading-shadow); }
.sh-title .glow-word { background: var(--grad-amber-text); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 12px rgba(255, 190, 120, .45)); }
.t-dawn .sh-title .glow-word, .t-paper .sh-title .glow-word { background: none; color: var(--amber-700); filter: none; }
.sh-lead { margin-top: var(--s-4); font-size: var(--fs-lg); font-weight: 700; line-height: 1.7; color: var(--fg); }
.sh-sub { margin-top: var(--s-3); color: var(--fg-muted); }
.sh .glass-pill { margin-bottom: var(--s-4); }
.sh--left { text-align: left; margin-inline: 0; }
.h3, .h4 { font-family: var(--font-display); font-weight: 800; line-height: var(--lh-tight); letter-spacing: .04em; }
.h3 { font-size: var(--fs-xl); color: var(--fg); }
.h4 { font-size: var(--fs-lg); color: var(--fg); }

/* ---------- 6. Glass surfaces ----------
   .glass         … 標準パネル（backdrop-filter なしの擬似ガラス。背景が滑らかなグラデなので見た目は同等で軽い）
   .glass--live   … 本物のぼかし。写真や動く背景の上だけ（1画面 3 枚まで）
   .glass--warm   … 推奨・強調（アンバーの縁と光）
   .glass--strong … 本文を長く載せる読み物面（不透明度高め） */
.glass {
  position: relative;
  background: var(--surface-fill);
  border: 1px solid var(--surface-border);
  border-radius: var(--r-lg);
  box-shadow: var(--hl-inner), var(--surface-shadow);
  color: var(--fg);
}
.glass::after { /* 上辺のハイライト（液体ガラスの縁の光） */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 22%);
  mix-blend-mode: soft-light;
}
.glass--live { -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%); backdrop-filter: blur(var(--glass-blur)) saturate(140%); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass--live { background: var(--surface-solid); }
}
.glass--warm {
  border-color: rgba(255, 206, 150, .75);
  box-shadow: var(--hl-inner), var(--surface-shadow), 0 0 0 1px rgba(255, 196, 130, .25), 0 0 34px rgba(255, 176, 104, .32);
}
.t-night .glass--warm, .t-dusk .glass--warm { background: linear-gradient(155deg, rgba(255, 200, 140, .26) 0%, rgba(255, 180, 110, .08) 60%, rgba(255, 200, 140, .14) 100%); }
.t-dawn .glass--warm, .t-paper .glass--warm { background: linear-gradient(155deg, rgba(255, 236, 214, .78) 0%, rgba(255, 220, 186, .5) 100%); }
.glass--strong.t-paper, .t-dawn .glass--strong, .t-paper .glass--strong { background: rgba(255, 252, 247, .9); }
.t-night .glass--strong, .t-dusk .glass--strong { background: linear-gradient(155deg, rgba(36, 48, 90, .86), rgba(24, 33, 66, .8)); }
.pad { padding: clamp(22px, 3vw, 40px); }
.pad-s { padding: clamp(16px, 2vw, 24px); }

/* ---------- 7. Pills / Buttons ---------- */
.glass-pill {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .45em 1.25em; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .06em; line-height: 1.5;
  color: var(--fg); text-decoration: none;
  background: var(--surface-fill); border: 1px solid var(--surface-border);
  box-shadow: var(--hl-inner), 0 4px 18px rgba(10, 16, 40, .18);
}
.glass-pill--amber { color: var(--ink); background: var(--grad-amber-fill); border-color: rgba(255, 236, 210, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), var(--glow-amber); }
.glass-pill--label { color: var(--accent); }
.t-night .glass-pill--label, .t-dusk .glass-pill--label { color: var(--amber-300); }
.pill-sm { font-size: var(--fs-xs); padding: .25em .9em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .7em 1.8em; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-base); letter-spacing: .06em; line-height: 1.3;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn .ic { width: 1.25em; height: 1.25em; }
.btn--primary { color: var(--ink); background: var(--grad-amber-fill); border-color: rgba(255, 238, 214, .95); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -6px 14px rgba(214, 120, 50, .25), 0 0 30px rgba(255, 178, 104, .5), 0 8px 22px rgba(10, 14, 40, .3); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 44px rgba(255, 178, 104, .7), 0 10px 26px rgba(10, 14, 40, .32); }
.btn--glass { color: var(--fg); background: var(--surface-fill); border-color: var(--surface-border); box-shadow: var(--hl-inner), 0 6px 22px rgba(10, 14, 40, .2); }
.btn--glass:hover { transform: translateY(-2px); border-color: rgba(255, 214, 170, .9); box-shadow: var(--hl-inner), var(--glow-amber); }
.btn--lg { min-height: 64px; font-size: var(--fs-md); padding-inline: 2.2em; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--accent); text-decoration: none; }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- 8. Icon tile / Number stat ---------- */
.icon-tile {
  --size: 68px;
  display: grid; place-items: center; width: var(--size); height: var(--size); border-radius: 22px; flex: none;
  color: var(--glow);
  background: radial-gradient(circle at 50% 35%, rgba(255, 210, 160, .38), rgba(255, 180, 110, .08) 70%), rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 214, 170, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 26px rgba(255, 176, 104, .3);
}
.icon-tile .ic { width: 52%; height: 52%; stroke-width: 1.4; filter: drop-shadow(0 0 6px rgba(255, 200, 130, .8)); }
.t-dawn .icon-tile, .t-paper .icon-tile { color: var(--amber-700); background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .9), rgba(255, 230, 200, .55) 70%); }
.t-dawn .icon-tile .ic, .t-paper .icon-tile .ic { filter: none; }
.icon-tile--round { border-radius: 50%; }
.icon-tile--lg { --size: 96px; }
.icon-tile--sm { --size: 48px; border-radius: 14px; }

.stat { text-align: center; }
.stat-num {
  display: inline-flex; align-items: baseline; gap: .12em;
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-num); line-height: 1; letter-spacing: 0;
  background: var(--grad-amber-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 176, 100, .45));
}
.stat-num small { font-size: .38em; }
.stat-pre { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xl); margin-right: .3em; color: var(--fg); }
.stat-cap { margin-top: var(--s-3); font-weight: 700; color: var(--fg-muted); font-size: var(--fs-sm); }
.t-dawn .stat-num, .t-paper .stat-num { background: linear-gradient(180deg, #e98a43, #b8642a); -webkit-background-clip: text; background-clip: text; filter: none; }

/* ---------- 9. Cards / Photo ---------- */
.card { display: flex; flex-direction: column; gap: var(--s-4); padding: clamp(22px, 2.6vw, 34px); text-align: center; align-items: center; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card .h4, .card h3 { color: var(--fg); text-shadow: var(--heading-shadow); }
.card p { color: var(--fg-muted); font-size: 15px; line-height: 1.85; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--hl-inner), var(--surface-shadow), var(--glow-amber); }
.card--left { text-align: left; align-items: flex-start; }
.card--h { flex-direction: row; text-align: left; align-items: flex-start; gap: var(--s-5); }
.card .card-photo { width: calc(100% + 2 * clamp(22px, 2.6vw, 34px)); margin: calc(-1 * clamp(22px, 2.6vw, 34px)) calc(-1 * clamp(22px, 2.6vw, 34px)) var(--s-2); border-radius: var(--r-lg) var(--r-lg) 0 0; aspect-ratio: 16 / 9; }

/* 写真：常夜灯のトーン（暖色デュオトーン）＋ガラスの額 */
.photo { position: relative; overflow: hidden; border-radius: var(--r-lg); isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.22) saturate(.82) brightness(.92) contrast(1.03); }
.photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(80% 70% at 85% 15%, rgba(255, 196, 120, .55), rgba(255, 196, 120, 0) 70%), linear-gradient(150deg, rgba(24, 34, 80, .75) 0%, rgba(70, 70, 120, .25) 45%, rgba(255, 160, 90, .6) 100%); mix-blend-mode: soft-light; }
.photo::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), inset 0 0 60px rgba(255, 190, 120, .18); pointer-events: none; }
.photo--frame { padding: 8px; background: var(--surface-fill); border: 1px solid var(--surface-border); box-shadow: var(--hl-inner), var(--surface-shadow), var(--glow-amber-soft); }
.photo--frame img { border-radius: calc(var(--r-lg) - 8px); }
.photo--frame::before, .photo--frame::after { inset: 8px; border-radius: calc(var(--r-lg) - 8px); }
.photo--orb { border-radius: 50%; aspect-ratio: 1; box-shadow: 0 0 0 1px rgba(255, 230, 200, .6), 0 0 60px rgba(255, 186, 120, .55), 0 0 140px rgba(255, 170, 100, .3); }
.photo--orb::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), inset 0 0 50px rgba(255, 200, 140, .45); }
.ratio-43 { aspect-ratio: 4 / 3; } .ratio-169 { aspect-ratio: 16 / 9; } .ratio-34 { aspect-ratio: 3 / 4; } .ratio-11 { aspect-ratio: 1; }

/* 線画の差し替え枠（要素材） */
.placeholder { display: grid; place-items: center; gap: var(--s-2); min-height: 240px; border-radius: var(--r-lg); border: 1px dashed rgba(255, 214, 170, .6); color: var(--fg-muted); text-align: center; font-size: var(--fs-sm); padding: var(--s-5); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 12px, rgba(255, 255, 255, .02) 12px 24px); }
.placeholder .ic { width: 56px; height: 56px; color: var(--accent); stroke-width: 1.2; }

/* チェックリスト（スライド4 左下カード型） */
.checklist li { position: relative; padding-left: 2em; line-height: 1.7; }
.checklist li + li { margin-top: var(--s-3); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.3em; height: 1.3em; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 160, .9) 0 30%, rgba(255, 180, 110, .25) 31% 100%); box-shadow: 0 0 10px rgba(255, 186, 120, .6); }
.t-dawn .checklist li::before, .t-paper .checklist li::before { background: radial-gradient(circle, var(--amber-600) 0 30%, rgba(217, 129, 63, .18) 31% 100%); box-shadow: none; }
.callout-title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); margin-bottom: var(--s-4); }
.bubbles { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }

/* ---------- 10. Route（スライド5）/ Steps ---------- */
.route { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: 0; position: relative; }
.route-orb {
  position: relative; z-index: 2; width: 220px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 24px;
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); line-height: 1.6; color: var(--snow);
  background: radial-gradient(circle at 40% 30%, rgba(190, 210, 255, .45), rgba(80, 110, 190, .35) 55%, rgba(40, 60, 120, .5) 100%);
  border: 1px solid rgba(220, 230, 255, .55);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -20px 40px rgba(20, 30, 70, .35), 0 0 0 12px rgba(160, 190, 255, .08), 0 0 60px rgba(140, 170, 255, .45);
}
.route-lines { position: absolute; left: 220px; top: 0; width: 120px; height: 100%; z-index: 1; overflow: visible; }
.route-cards { display: grid; gap: clamp(20px, 3vw, 36px); padding-left: 120px; }
.route-card { padding: clamp(20px, 2.4vw, 30px) clamp(22px, 3vw, 36px); }
.route-card .h4 { margin-bottom: var(--s-2); text-shadow: var(--heading-shadow); }
.route-card p { color: var(--fg-muted); }
.route-card--1 { border-color: rgba(170, 190, 255, .7); box-shadow: var(--hl-inner), var(--surface-shadow), 0 0 30px rgba(140, 170, 255, .3); }
.route-card--2 { border-color: rgba(255, 190, 180, .7); box-shadow: var(--hl-inner), var(--surface-shadow), 0 0 30px rgba(255, 160, 150, .28); background: linear-gradient(155deg, rgba(255, 210, 200, .2), rgba(255, 255, 255, .06)); }
.route-card--3 { border-color: rgba(255, 206, 150, .8); box-shadow: var(--hl-inner), var(--surface-shadow), 0 0 34px rgba(255, 176, 104, .4); background: linear-gradient(155deg, rgba(255, 200, 140, .26), rgba(255, 180, 110, .08)); }
.route-key { display: inline-block; vertical-align: .25em; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-left: 1em; padding: .1em .9em; border-radius: var(--r-pill); border: 1px solid currentColor; text-shadow: none; }
@media (max-width: 860px) {
  .route { grid-template-columns: 1fr; justify-items: center; }
  .route-orb { width: 170px; font-size: 15px; }
  .route-lines { display: none; }
  .route-cards { padding-left: 0; margin-top: 36px; width: 100%; position: relative; }
  .route-cards::before { content: ""; position: absolute; left: 50%; top: -36px; height: 36px; width: 2px; translate: -1px 0; background: linear-gradient(180deg, rgba(200, 215, 255, .2), rgba(255, 200, 140, .9)); box-shadow: 0 0 10px rgba(255, 190, 120, .8); }
}

.steps { position: relative; display: grid; gap: var(--s-5); counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 35px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, rgba(170, 190, 255, .7), rgba(255, 200, 140, .95)); box-shadow: 0 0 12px rgba(255, 190, 120, .7); }
.step { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.step-no { position: relative; z-index: 1; width: 72px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; line-height: 1.1; text-align: center; color: var(--ink); background: var(--grad-amber-fill); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 0 6px rgba(255, 200, 140, .15), var(--glow-amber); }
.step-no b { display: block; font-size: 24px; }
.step-body { padding: clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 32px); }
.step-body .h4 { margin-bottom: var(--s-2); }
.step-body p { color: var(--fg-muted); }

/* ---------- 11. Value cards（スライド12） ---------- */
.values { position: relative; display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); padding-top: 20px; }
.value { position: relative; padding: 46px clamp(20px, 2.4vw, 30px) clamp(24px, 3vw, 34px); text-align: left; }
.value-head { position: absolute; top: 0; left: 50%; translate: -50% -50%; white-space: nowrap; font-family: var(--font-display); font-size: var(--fs-md); padding: .45em 1.6em; }
.value-no { display: block; font-size: var(--fs-xs); letter-spacing: .14em; color: var(--accent); font-weight: 700; margin-bottom: var(--s-2); text-align: center; }
.value p { color: var(--fg-muted); font-size: 15px; }
.value .photo { margin: var(--s-4) 0 0; aspect-ratio: 16 / 10; border-radius: var(--r-md); }
.values-hub { position: relative; height: 200px; display: grid; place-items: center; margin-bottom: 8px; }
.values-hub svg.hub-lines { position: absolute; inset: auto 0 0 0; width: 100%; height: 110px; overflow: visible; }
.bulb { position: relative; z-index: 1; width: 120px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #fff6e6; background: radial-gradient(circle, rgba(255, 236, 200, .95) 0%, rgba(255, 196, 130, .6) 40%, rgba(255, 170, 100, 0) 72%); }
.bulb .ic { width: 56px; height: 56px; color: #8a4a1c; stroke-width: 1.5; }
@media (max-width: 1024px) { .values { --cols: 2 !important; row-gap: 48px; } }
@media (max-width: 640px) { .values { --cols: 1 !important; } .values-hub { height: 150px; } .values-hub svg.hub-lines { display: none; } }

/* ---------- 12. Glass table / Compare（スライド6） ---------- */
.gtable { width: 100%; border-collapse: separate; border-spacing: 8px; table-layout: fixed; text-align: center; }
.gtable th, .gtable td { padding: 14px 6px; border-radius: var(--r-sm); font-weight: 700; line-height: 1.5; }
.gtable thead th { font-family: var(--font-display); font-size: var(--fs-md); color: var(--fg); text-shadow: var(--heading-shadow); }
.gtable tbody th { color: var(--accent); background: var(--surface-fill); border: 1px solid var(--surface-border); border-radius: var(--r-pill); box-shadow: var(--hl-inner); font-size: var(--fs-sm); }
.gtable td { background: var(--surface-fill); border: 1px solid var(--surface-border); box-shadow: var(--hl-inner); color: var(--fg); font-size: var(--fs-lg); }
.gtable td.on { color: var(--ink); background: var(--grad-amber-fill); border-color: rgba(255, 236, 210, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 18px rgba(255, 178, 104, .45); }
.gtable td.off { color: var(--fg-muted); opacity: .75; font-weight: 400; }
.gtable .col-label { width: 28%; }
@media (max-width: 640px) {
  .gtable { border-spacing: 4px; }
  .gtable th, .gtable td { padding: 10px 2px; font-size: 13px; }
  .gtable thead th { font-size: 14px; }
  .gtable tbody th { border-radius: var(--r-sm); font-size: 12px; }
  .gtable .col-label { width: 24%; }
}
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.compare-col { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: var(--s-4); }
.compare-col .compare-head { display: flex; align-items: center; gap: var(--s-4); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xl); }
.compare-cell { padding: var(--s-5); border-radius: var(--r-md); background: rgba(255, 255, 255, .1); border: 1px solid var(--surface-border); box-shadow: var(--hl-inner); text-align: center; font-weight: 700; line-height: 1.7; }
.t-dawn .compare-cell, .t-paper .compare-cell { background: rgba(255, 255, 255, .55); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.dl { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 0; }
.dl > dt, .dl > dd { margin: 0; padding: 16px 4px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.t-dawn .dl > dt, .t-dawn .dl > dd, .t-paper .dl > dt, .t-paper .dl > dd { border-color: rgba(30, 42, 74, .12); }
.dl > dt { font-weight: 700; color: var(--accent); }
.dl > dd a { color: inherit; font-weight: 700; }
@media (max-width: 640px) { .dl { grid-template-columns: 1fr; } .dl > dt { border-bottom: 0; padding-bottom: 0; } .dl > dd { padding-top: 4px; } }

/* ---------- 13. Blog list / Post ---------- */
.chips { display: flex; gap: var(--s-3); flex-wrap: wrap; justify-content: center; margin-bottom: var(--s-7); }
.chip { cursor: pointer; border: 1px solid var(--surface-border); background: var(--surface-fill); color: var(--fg); border-radius: var(--r-pill); padding: .5em 1.6em; font-weight: 700; box-shadow: var(--hl-inner); transition: box-shadow .25s; }
.chip:hover { box-shadow: var(--hl-inner), var(--glow-amber); }
.chip.on { color: var(--ink); background: var(--grad-amber-fill); border-color: rgba(255, 236, 210, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), var(--glow-amber); }
.post-list { display: grid; gap: var(--s-3); }
.post-row { display: grid; grid-template-columns: 7.5em auto minmax(0, 1fr) 24px; align-items: center; gap: var(--s-4) var(--s-5); padding: 20px clamp(18px, 3vw, 32px); text-decoration: none; border-radius: var(--r-md); transition: transform .3s var(--ease), box-shadow .3s; }
.post-row:hover { transform: translateX(4px); box-shadow: var(--hl-inner), var(--surface-shadow), var(--glow-amber); }
.post-date { font-family: var(--font-display); font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.post-title { font-weight: 700; color: var(--fg); }
.post-row .glass-pill, .post-meta .glass-pill { white-space: nowrap; justify-self: start; }
.post-row .ic { width: 22px; height: 22px; color: var(--accent); }
@media (max-width: 640px) {
  .post-row { grid-template-columns: auto 1fr 20px; gap: 6px 12px; }
  .post-row .post-title { grid-column: 1 / 3; grid-row: 2; }
  .post-row .ic { grid-column: 3; grid-row: 1 / 3; }
}
.pager { display: flex; justify-content: center; gap: var(--s-3); margin-top: var(--s-7); }
.pager a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; text-decoration: none; font-weight: 700; background: var(--surface-fill); border: 1px solid var(--surface-border); box-shadow: var(--hl-inner); }
.pager a[aria-current="page"] { color: var(--ink); background: var(--grad-amber-fill); box-shadow: var(--glow-amber); }

.post-meta { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.post-h1 { font-size: var(--fs-2xl); margin-top: var(--s-4); color: var(--fg); }
/* Markdown 本文（見出し・段落・箇条書き・画像・引用・リンク・太字のみ） */
.md { margin-top: var(--s-7); color: var(--fg); line-height: 2; }
.md > * + * { margin-top: 1.4em; }
.md h2 { font-size: var(--fs-xl); margin-top: 2.4em; padding: .55em 1em; border-radius: var(--r-md); background: linear-gradient(90deg, rgba(242, 185, 138, .4), rgba(242, 185, 138, 0)); border-left: 4px solid var(--amber-500); }
.md h3 { font-size: var(--fs-lg); margin-top: 2em; padding-left: 1em; position: relative; }
.md h3::before { content: ""; position: absolute; left: 0; top: .35em; width: .55em; height: .55em; border-radius: 50%; background: var(--amber-500); box-shadow: 0 0 10px rgba(255, 170, 100, .8); }
.md ul { padding-left: 1.4em; list-style: disc; }
.md ul li::marker { color: var(--amber-600); }
.md img { width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow-light); }
.md blockquote { margin: 1.6em 0 0; padding: 1.2em 1.4em; border-radius: var(--r-md); background: rgba(255, 228, 196, .55); border: 1px solid rgba(255, 206, 150, .8); box-shadow: 0 0 24px rgba(255, 176, 104, .25); }
.md strong { background: linear-gradient(transparent 62%, rgba(242, 185, 138, .6) 62%); }
.md a { color: var(--amber-700); font-weight: 700; }
.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-3); margin-top: var(--s-8); align-items: center; }
.post-nav a:first-child { justify-self: start; } .post-nav a:last-child { justify-self: end; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav .btn--primary { grid-column: 1 / -1; grid-row: 2; } .post-nav .btn { padding-inline: 1em; } }

/* ---------- 14a. Form ---------- */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field-label { display: flex; align-items: center; gap: var(--s-3); font-weight: 700; color: var(--fg); }
.req, .opt { font-size: 11px; padding: .1em .8em; border-radius: var(--r-pill); font-weight: 700; letter-spacing: .08em; }
.req { color: var(--ink); background: var(--grad-amber-fill); box-shadow: 0 0 10px rgba(255, 178, 104, .4); }
.opt { color: var(--fg-muted); border: 1px solid currentColor; }
.in { width: 100%; font: inherit; color: var(--ink); padding: 14px 18px; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .78); box-shadow: inset 0 2px 6px rgba(30, 42, 74, .08); transition: box-shadow .2s, border-color .2s; }
.in::placeholder { color: #7b8299; }
.in:focus { outline: none; border-color: var(--amber-500); box-shadow: 0 0 0 4px rgba(242, 163, 94, .3), 0 0 22px rgba(255, 178, 104, .35); }
select.in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: var(--s-2); }
.choices { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.choice { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1.1em; border-radius: var(--r-pill); background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85); cursor: pointer; font-weight: 500; }
.choice input { accent-color: var(--amber-600); width: 18px; height: 18px; margin: 0; }
.agree { display: flex; justify-content: center; align-items: center; gap: .6em; font-weight: 500; }
.agree input { accent-color: var(--amber-600); width: 20px; height: 20px; }
.sent { text-align: center; }

/* ---------- 14b. Header / Nav / Dropdown ---------- */
.hdr { position: fixed; z-index: 100; top: 14px; left: 50%; translate: -50% 0; width: min(calc(100% - 28px), 1320px); display: flex; align-items: center; gap: var(--s-5); padding: 10px 12px 10px 22px; border-radius: var(--r-pill); color: var(--snow);
  background: linear-gradient(155deg, rgba(40, 52, 96, .55), rgba(24, 33, 66, .45)); border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 30px rgba(5, 9, 28, .3);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .hdr { background: rgba(24, 33, 66, .94); } }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--snow); flex: none; }
.logo-mark { width: 38px; height: 38px; color: var(--glow); filter: drop-shadow(0 0 8px rgba(255, 196, 130, .8)); }
.logo-name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .08em; line-height: 1.2; }
.logo-sub { display: block; font-size: 10.5px; letter-spacing: .08em; color: var(--snow-muted); line-height: 1.4; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.gnav > a, .dd > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--r-pill); text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .05em; white-space: nowrap; transition: background-color .2s, box-shadow .2s; }
.gnav > a:hover, .dd > a:hover, .gnav a[aria-current="page"] { background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.gnav a[aria-current="page"] { color: var(--amber-300); }
.dd { position: relative; }
.dd > a .ic { width: 14px; height: 14px; transition: transform .25s; }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 210px; padding: 10px; border-radius: var(--r-md); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  background: linear-gradient(155deg, rgba(44, 58, 104, .9), rgba(26, 35, 70, .92)); border: 1px solid rgba(255, 255, 255, .24); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), var(--shadow-dark), var(--glow-amber-soft); }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { visibility: visible; opacity: 1; transform: none; }
.dd:hover > a .ic, .dd.open > a .ic { transform: rotate(180deg); }
.dd-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700; font-size: 14px; }
.dd-menu a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-400); box-shadow: 0 0 8px rgba(255, 186, 120, .9); }
.dd-menu a:hover { background: rgba(255, 255, 255, .1); }
.hdr-tel { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.25; padding: 0 6px; }
.hdr-tel b { font-family: var(--font-display); font-size: 18px; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 6px; }
.hdr-tel b .ic { color: var(--amber-300); }
.hdr-tel small { font-size: 10.5px; color: var(--snow-muted); }
.hdr .btn { min-height: 44px; padding: .5em 1.3em; font-size: 14px; }
.sp-actions { display: none; margin-left: auto; gap: 8px; }
.icon-btn { display: grid; place-items: center; gap: 0; width: 48px; height: 48px; border-radius: 50%; text-decoration: none; cursor: pointer; color: var(--snow); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.icon-btn .ic { width: 22px; height: 22px; }
.icon-btn--amber { color: var(--ink); background: var(--grad-amber-fill); border-color: rgba(255, 236, 210, .9); box-shadow: var(--glow-amber); }
@media (max-width: 1240px) { .hdr-tel { display: none; } }
@media (max-width: 1000px) {
  .gnav, .hdr > .btn { display: none; }
  .sp-actions { display: flex; }
  .hdr { top: 10px; width: calc(100% - 20px); padding: 8px 8px 8px 16px; }
  .logo-name { font-size: 16px; }
  .logo-mark { width: 32px; height: 32px; }
}
@media (max-width: 360px) { .logo-sub { display: none; } }

/* ---------- 14c. Drawer（SP メニュー） ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; background: rgba(8, 12, 30, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.drawer[hidden] { display: none; }
.drawer-in { position: absolute; inset: 10px; overflow-y: auto; padding: 22px 22px 32px; border-radius: 28px; color: var(--snow);
  background: radial-gradient(90% 50% at 80% 100%, rgba(242, 170, 110, .45), rgba(242, 170, 110, 0) 70%), linear-gradient(170deg, rgba(36, 48, 92, .96), rgba(17, 25, 54, .97));
  border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), var(--shadow-dark); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.drawer nav > a, .drawer-group > a { display: flex; align-items: center; justify-content: space-between; padding: 15px 6px; border-bottom: 1px solid rgba(255, 255, 255, .14); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: .06em; }
.drawer nav a .ic { color: var(--amber-300); width: 18px; height: 18px; }
.drawer a[aria-current="page"] { color: var(--amber-300); }
.drawer-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.drawer-sub a { padding: 10px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); text-decoration: none; font-weight: 700; font-size: 14px; }
.drawer-cta { margin-top: var(--s-6); display: grid; gap: var(--s-3); text-align: center; }
.drawer-cta .btn { width: 100%; }
.drawer-cta p { font-size: var(--fs-sm); color: var(--snow-muted); }

/* ---------- 14d. Page hero（下層） / Hero（トップ） ---------- */
.hero { position: relative; min-height: min(100svh, 900px); display: grid; place-items: center; padding: 120px var(--gutter) 80px; overflow: hidden; isolation: isolate; color: var(--snow); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(.8) brightness(.9); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 78% 30%, rgba(255, 196, 130, .55), rgba(255, 196, 130, 0) 70%), linear-gradient(112deg, rgba(14, 21, 48, .92) 0%, rgba(30, 42, 80, .7) 38%, rgba(120, 100, 130, .4) 66%, rgba(242, 170, 110, .55) 100%); }
.hero-frame { position: relative; width: min(100%, 1040px); padding: clamp(40px, 6vw, 84px) clamp(22px, 5vw, 72px); text-align: center; border-radius: var(--r-xl);
  background: linear-gradient(155deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 60%, rgba(255, 230, 200, .12)); border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 60px rgba(255, 220, 180, .08), 0 30px 80px rgba(5, 9, 28, .45), 0 0 60px rgba(255, 186, 120, .18); }
.hero-title { font-size: var(--fs-3xl); line-height: 1.45; text-shadow: var(--text-glow); margin-top: var(--s-5); }
.hero-sub { margin-top: var(--s-5); font-size: var(--fs-md); font-weight: 700; color: var(--snow-muted); text-shadow: 0 1px 10px rgba(6, 10, 30, .6); }
.hero .btn-row { margin-top: var(--s-7); }
.hero .btn-row { align-items: center; }
.hero-sub { line-height: 1.8; }
.hero-points { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: center; }
.hero-points .glass-pill { font-weight: 700; }
.hero-tel { color: var(--snow); font-weight: 700; font-size: var(--fs-md); text-decoration: none; text-shadow: 0 1px 10px rgba(6, 10, 30, .6); }
.hero-title--long { font-size: clamp(26px, 4.2vw, 56px); }
.hero-title--long .nw { white-space: nowrap; }
.hero-tel:hover { text-decoration: underline; }
.badge-24 { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; padding: 10px 24px 10px 10px; border-radius: var(--r-pill); }
.badge-24 .stat-num { font-size: 40px; }
.badge-24 span { text-align: left; font-weight: 700; line-height: 1.45; font-size: 14px; }

.phero { position: relative; padding: 150px var(--gutter) 72px; text-align: center; overflow: hidden; isolation: isolate; color: var(--snow); }
.phero-bg { position: absolute; inset: 0; z-index: -2; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.85); }
.phero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 20%, rgba(255, 190, 120, .5), rgba(255, 190, 120, 0) 70%), linear-gradient(110deg, rgba(14, 21, 48, .94) 0%, rgba(28, 39, 76, .82) 45%, rgba(110, 96, 128, .55) 75%, rgba(242, 170, 110, .55) 100%); }
.phero-title { font-size: var(--fs-3xl); text-shadow: var(--text-glow); }
.crumb { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .5em; font-size: var(--fs-xs); }
.crumb a { text-decoration: none; color: var(--snow-muted); }
.crumb a:hover { color: var(--snow); }
.anchors { margin-top: var(--s-6); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
.anchors .glass-pill { font-size: 13px; }
.anchors .glass-pill:hover { box-shadow: var(--hl-inner), var(--glow-amber); }

/* ---------- 14e. Photo strip ---------- */
.strip { display: flex; gap: 16px; width: max-content; padding: 10px 0; }
.strip .photo { width: clamp(180px, 22vw, 300px); aspect-ratio: 4 / 3; flex: none; border-radius: var(--r-md); }
.strip-viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
@media (prefers-reduced-motion: no-preference) { .strip { animation: marquee 60s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 14f. Footer ---------- */
.ftr { position: relative; overflow: hidden; isolation: isolate; padding: var(--s-9) var(--gutter) var(--s-6); color: var(--snow); background: var(--grad-night); border-top: 1px solid rgba(255, 255, 255, .1); }
.ftr-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
.ftr address { font-style: normal; margin-top: var(--s-5); color: var(--snow-muted); font-size: var(--fs-sm); line-height: 1.9; }
.ftr address a { color: var(--snow); font-family: var(--font-display); font-weight: 800; font-size: 22px; text-decoration: none; }
.ftr-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.ftr-nav a { padding: 8px 0; text-decoration: none; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.ftr-nav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber-400); box-shadow: 0 0 8px rgba(255, 186, 120, .9); }
.copy { margin-top: var(--s-8); text-align: center; font-size: var(--fs-xs); color: var(--snow-muted); }
@media (max-width: 760px) { .ftr-in { grid-template-columns: 1fr; } }

/* ---------- 15. Motion（ふわっと表示） ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- 16. 追加部品 ---------- */
.dd { display: flex; align-items: center; }
.dd > a { padding-right: 4px; }
.dd-toggle { display: grid; place-items: center; width: 26px; height: 26px; margin-right: 4px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: inherit; }
.dd-toggle:hover { background: rgba(255, 255, 255, .12); }
.dd-toggle .ic { width: 14px; height: 14px; transition: transform .25s; }
.dd:hover .dd-toggle .ic, .dd.open .dd-toggle .ic { transform: rotate(180deg); }
.funnel-wrap { width: min(100%, 300px); margin: 18px auto 14px; }
.funnel { width: 100%; height: auto; overflow: visible; }
.bubbles .glass-pill { font-size: 14px; }
.card--h .h4 + p, .card--h p { text-align: left; }
.compare-head .icon-tile { flex: none; }
.steps--s::before { left: 23px; }
.steps--s .step { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; }
.steps--s .step-no { width: 48px; }
.steps--s .step-no b { font-size: 18px; }
.steps--s .step-body { padding: 14px 20px; }
.callout-title .ic { display: inline-block; vertical-align: -3px; color: var(--accent); }
.value-head { white-space: normal; width: max-content; max-width: calc(100% - 12px); text-align: center; font-size: 15px; line-height: 1.4; padding: .5em 1.1em; letter-spacing: .02em; }
@media (max-width: 640px) {
  .hero { min-height: 640px; padding-top: 100px; }
  .hero-frame { padding: 36px 18px; border-radius: 26px; }
  .hero-title { font-size: 29px; }
  .badge-24 { padding-right: 18px; }
  .phero { padding: 120px var(--gutter) 52px; }
  .phero-title { font-size: 30px; }
  .card--h { flex-direction: column; }
  .step { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .step-no { width: 56px; font-size: 11px; }
  .step-no b { font-size: 19px; }
  .steps::before { left: 27px; }
  .steps--s::before { left: 23px; }
}
@media (max-width: 640px) {
  .btn { white-space: nowrap; }
  .btn--lg { font-size: 16px; padding-inline: 1.2em; min-height: 58px; }
  .btn-row .btn--lg { width: 100%; }
  .hero .btn-row .btn--lg { width: auto; }
}
.phero-title { font-family: var(--font-display); font-weight: 800; line-height: var(--lh-tight); letter-spacing: .04em; }
/* 3点を光のリボンでつなぐ（スライド3: 家 — 灯 — クリニック） */
.trio { position: relative; display: flex; justify-content: space-between; align-items: center; max-width: 720px; margin: -16px auto 48px; padding: 0 12px; }
.trio::before { content: ""; position: absolute; z-index: -1; left: 40px; right: 40px; top: 50%; height: 120px; translate: 0 -50%; background: url("../img/ribbon-b.svg") center / 100% 100% no-repeat; }
.trio .bulb { width: 140px; }
.t-dawn .trio .bulb .ic { color: #8a4a1c; }
@media (max-width: 640px) { .trio { margin-bottom: 32px; } .trio .icon-tile--lg { --size: 72px; } .trio .bulb { width: 104px; } }
.hero-bg::after { background: radial-gradient(60% 55% at 78% 30%, rgba(255, 196, 130, .6), rgba(255, 196, 130, 0) 70%), linear-gradient(112deg, rgba(14, 21, 48, .86) 0%, rgba(34, 44, 84, .62) 36%, rgba(150, 110, 120, .42) 64%, rgba(246, 172, 110, .62) 100%); }
