/* ==========================================================================
   KIDUKI consult top page (consult/index.html), built from the reviewed LP draft
   (2026-11-04/05). Colors follow Casetra (casetra.jp :root, read 2026-11-05):
   cream and linen surfaces, green #1A4D3A, green-ink #0F3D2E for the few dark
   chapters, and Casetra's small warning color only for the 48h badge.
   Motion is opt-in: the page is fully readable with no JS, with home.js failing,
   and with reduced motion (see "Motion" below).
   ========================================================================== */

:root {
  /* Casetra palette (casetra.jp :root, read 2026-11-05) */
  --green: #1A4D3A;
  --green-ink: #0F3D2E;
  --green-soft: #2E6B53;
  --green-pale: #F1F5F2;
  --green-mist: #E4ECE7;
  --green-line: #D6E0D9;
  --cream: #FAF9F5;
  --linen: #F2EEE3;
  --linen-deep: #EBE5D6;
  --warn: #B45309;
  --warn-pale: #FDF4EA;     /* #B45309 on this background is 4.6:1 */

  /* Names used by the page, mapped onto the Casetra palette */
  --g-950: var(--green-ink);
  --g-900: var(--green-ink);
  --g-800: var(--green-ink);
  --g-700: var(--green);
  --g-600: var(--green-ink);
  --g-500: var(--green-soft);
  --g-300: var(--green-line);
  --g-200: var(--green-mist);
  --g-100: var(--green-pale);

  --kinari-50: var(--cream);
  --kinari-100: var(--linen);
  --kinari-200: var(--linen-deep);
  --kinari-300: var(--green-line);

  --paper: #ffffff;
  --ink: #1A2421;
  --ink-soft: #404844;
  --ink-mute: #5A625D;      /* Casetra ink-3 is #6B7570; one step darker keeps 4.5:1 on linen */
  --accent-text: var(--green);
  --line: #E8E5DE;
  --line-dark: rgba(255, 255, 255, 0.16);

  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.86);
  --on-dark-mute: rgba(255, 255, 255, 0.74);

  --font-ja: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, system-ui, sans-serif;
  --font-num: 'Sora', 'Noto Sans JP', 'Hiragino Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wide: 1120px;
  --measure: 42rem;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 11vw, 144px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.7s;
  --shadow: 0 4px 12px rgba(26, 36, 33, 0.06), 0 2px 4px rgba(26, 36, 33, 0.04);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (max-width: 959px) { html { scroll-padding-bottom: 96px; } }

body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink);
  background: var(--kinari-50);
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 900; line-height: 1.3; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
strong, b { font-weight: 700; }
em { font-style: normal; }

/* Japanese line breaking for display text */
h1, h2, h3, .turn-gain, .quote, .close h2 {
  font-feature-settings: 'palt' 1;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
.ph { display: inline-block; }
.nw { white-space: nowrap; }
p, li { text-wrap: pretty; }
.hero-lead, .chapter-lead, .route-note, .hero-facts li, .rail-who span, .turn-flaw { word-break: auto-phrase; }

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

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px;
  background: var(--green); color: #ffffff;
  font-weight: 700; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

main:focus { outline: none; }

/* Focus: deep green on light surfaces (most of the page), white on the dark green chapters */
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
:where(.dark) :focus-visible { outline-color: #ffffff; }

.container { width: min(100% - var(--gutter) * 2, var(--wide)); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Chapter surfaces
   -------------------------------------------------------------------------- */

.dark { background: var(--g-800); color: var(--on-dark); }
:where(.dark) p { color: var(--on-dark-soft); }
.light { background: var(--kinari-50); color: var(--ink); }
.kinari { background: var(--kinari-100); color: var(--ink); }
:where(.light, .kinari) p { color: var(--ink-soft); }

.grid-paper {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
}
.grid-paper-light {
  background-image:
    linear-gradient(rgba(26, 77, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 77, 58, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.chapter { padding-block: var(--section); position: relative; }
.chapter-head { margin-bottom: clamp(40px, 6vw, 72px); }
.chapter-no {
  font-family: var(--font-num); font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 6.5rem); line-height: 0.9; letter-spacing: -0.03em;
  color: var(--g-500); margin-bottom: 0.2em;
}
.dark .chapter-no { color: var(--green-line); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.dark .eyebrow { color: rgba(255, 255, 255, 0.7); }

.chapter-title { font-size: clamp(1.75rem, 4.4vw, 3rem); line-height: 1.3; }
.dark .chapter-title { color: var(--on-dark); }
.chapter-lead { margin-top: 20px; max-width: var(--measure); font-size: 1.0625rem; }

/* Marker: static highlight; wipes in once only when motion is enabled */
.mk {
  background-image: linear-gradient(transparent 60%, var(--green-line) 60%, var(--green-line) 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.04em;
}

.text-link {
  color: var(--accent-text); font-weight: 700;
  text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 2px;
}
.text-link:hover { text-decoration-thickness: 3px; }
.dark .text-link { color: var(--g-200); }

.note { font-size: 0.875rem; line-height: 1.75; color: var(--ink-mute); }
:where(.dark) .note { color: var(--on-dark-mute); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 245, 0.94);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px;
}
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap; }
.brand-mark { font-family: var(--font-num); font-weight: 800; font-size: 1.125rem; letter-spacing: 0.08em; }
.brand-name { font-size: 0.8125rem; font-weight: 500; color: var(--ink-mute); }
@media (max-width: 560px) {
  .brand-name {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap;
  }
}
.header-cta {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 8px 16px;
  background: var(--green); color: #ffffff;
  font-weight: 700; font-size: 0.875rem; text-decoration: none; border-radius: 6px;
  white-space: nowrap;
}
.header-cta:hover { background: var(--green-ink); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 14px 28px;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.35; text-align: center;
  text-decoration: none; border-radius: 8px; border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* On the dark green chapters the primary button is white, as on casetra.jp */
.btn-primary { background: #ffffff; color: var(--green-ink); }
.btn-primary:hover { background: var(--green-pale); }
.light .btn-primary, .kinari .btn-primary { background: var(--g-700); color: var(--on-dark); }
.light .btn-primary:hover, .kinari .btn-primary:hover { background: var(--g-600); }

.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, 0.06); }
.light .btn-ghost, .kinari .btn-ghost { color: var(--g-700); border-color: var(--g-500); }
.light .btn-ghost:hover, .kinari .btn-ghost:hover { border-color: var(--g-700); background: rgba(29, 58, 48, 0.05); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; }
@media (max-width: 520px) { .btn-row .btn { width: 100%; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding-block: clamp(44px, 6.5vw, 88px) clamp(56px, 8vw, 104px); overflow-x: clip; }
.hero .container { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .hero .container { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

.hero-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.16em; line-height: 1.6;
  color: var(--green);
}
.hero-eyebrow::before { content: ''; width: 32px; height: 2px; background: currentColor; }
@media (max-width: 400px) { .hero-eyebrow { letter-spacing: 0.08em; } }

.hero h1 { display: grid; gap: 0.4em; }
.h1-top { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; color: var(--green-soft); letter-spacing: 0.02em; }
.h1-big {
  font-size: clamp(2.375rem, 6.2vw, 4.5rem); font-weight: 900; line-height: 1.16; letter-spacing: -0.005em;
  color: var(--ink);
}
.h1-big em { display: block; color: var(--green); }

.hero-lead { margin-top: 26px; max-width: 38rem; font-size: clamp(1rem, 1.4vw, 1.125rem); }
.hero .btn-row { margin-top: 32px; }

.hero-facts {
  margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--green-line);
  display: grid; gap: 8px; font-size: 0.9375rem; line-height: 1.6;
}
.hero-facts li { display: flex; align-items: baseline; gap: 10px; color: var(--ink); font-weight: 700; }
.hero-facts li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  flex: none; transform: translateY(-2px);
}
.hero-price { margin-top: 16px; max-width: 38rem; font-size: 0.875rem; line-height: 1.75; }
.hero-note { margin-top: 8px; max-width: 38rem; }

/* Route card: explanatory diagram (not interactive) */
.route-card {
  position: relative;
  background: var(--paper); color: var(--ink); border: 1px solid var(--linen-deep);
  border-radius: 14px; padding: 24px 24px 20px;
  box-shadow: var(--shadow);
}
.route-card p { color: var(--ink-soft); }
@media (min-width: 960px) { .route-card { transform: rotate(-1deg); } }
@media (max-width: 959px) { .route-card { max-width: 520px; } }
.route-card::before {
  content: ''; position: absolute; inset: 9px;
  border: 1px dashed var(--kinari-300); border-radius: 9px; pointer-events: none;
}
.route-card figcaption { display: grid; gap: 10px; justify-items: start; margin-bottom: 12px; }
.route-title { font-size: 1.125rem; font-weight: 900; line-height: 1.4; color: var(--ink); }
.route-steps { display: grid; }
.route-step {
  position: relative;
  display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start;
  padding-block: 8px;
}
.route-step + .route-step::before {
  content: ''; position: absolute; left: 20px; top: -12px; height: 22px;
  border-left: 2px dashed var(--g-500);
}
.route-icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--g-700); color: var(--on-dark);
}
.route-icon svg { width: 21px; height: 21px; }
.route-step.is-mark .route-icon { background: var(--green-ink); color: #ffffff; box-shadow: 0 0 0 3px var(--green-line); }
.route-card .route-label {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 1.0625rem; font-weight: 900; line-height: 1.35; color: var(--ink);
}
.route-48 {
  font-family: var(--font-num); font-weight: 800; font-size: 0.875rem;
  color: var(--warn); background: var(--warn-pale); padding: 0 8px; border-radius: 4px;
}
.route-card .route-note { margin-top: 2px; font-size: 0.8125rem; line-height: 1.6; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Menu band (static, not a marquee)
   -------------------------------------------------------------------------- */

.menu-band { background: var(--green-pale); color: var(--ink); border-block: 1px solid var(--green-line); }
.menu-band .container {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px;
  padding-block: 16px;
}
.band-label {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; font-weight: 500;
  color: var(--ink);
}
.menu-band ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.menu-band li {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: clamp(0.9375rem, 1.6vw, 1.125rem); line-height: 1.5;
}
.menu-band li::before { content: ''; width: 7px; height: 7px; background: var(--g-700); flex: none; }

/* --------------------------------------------------------------------------
   01 Scenes
   -------------------------------------------------------------------------- */

.scene-list { border-top: 2px solid var(--g-700); }
.scene {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--kinari-300);
}
@media (min-width: 768px) {
  .scene { grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; align-items: start; padding: 28px 0; }
}
.scene-no {
  font-family: var(--font-num); font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1; letter-spacing: -0.02em; color: var(--g-500);
}
.scene h3 { font-size: clamp(1.1875rem, 2.2vw, 1.5rem); line-height: 1.35; }
.scene h3 small {
  display: block; margin-top: 4px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-mute);
}
.scene p { grid-column: 2; font-size: 0.9375rem; }
@media (min-width: 768px) { .scene p { grid-column: 3; } }
.scenes-note { margin-top: 18px; max-width: 46rem; }
.scene-foot {
  margin-top: 36px; padding: 22px 24px; background: var(--paper); border-radius: 10px;
  display: grid; gap: 6px;
}
.scene-foot h3 { font-size: 1rem; margin-bottom: 4px; }
.scene-foot li { display: flex; gap: 10px; align-items: baseline; font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); }
.scene-foot li::before { content: '—'; color: var(--g-500); font-weight: 700; flex: none; }

/* --------------------------------------------------------------------------
   02 Turns: sticking point -> what KIDUKI does
   -------------------------------------------------------------------------- */

.turns { display: grid; gap: clamp(64px, 9vw, 112px); }
.turn { width: 100%; max-width: 46rem; }
.turn-no {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.16em; color: var(--ink-mute);
}
.turn-no b { font-family: var(--font-num); font-size: 2rem; font-weight: 800; line-height: 1; color: var(--g-500); letter-spacing: -0.02em; }
@media (min-width: 960px) {
  .turn { display: grid; grid-template-columns: 200px minmax(0, 46rem); column-gap: 40px; max-width: none; }
  .turn > * { grid-column: 2; }
  .turn-no { grid-column: 1; grid-row: 1 / span 5; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
  .turn-no b { font-size: 5.5rem; letter-spacing: -0.04em; }
  .turn-flaw { justify-self: start; }
}
.turn-flaw {
  position: relative; display: inline-block;
  padding: 14px 20px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper);
  font-size: clamp(1.1875rem, 2.5vw, 1.625rem); line-height: 1.45;
}
.turn-flaw::after {
  content: ''; position: absolute; left: 32px; bottom: -9px; width: 14px; height: 14px;
  background: var(--paper); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}
.turn-so {
  display: flex; align-items: center; gap: 14px; margin: 22px 0 16px 32px;
  font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--accent-text);
}
.turn-so::before { content: ''; height: 44px; border-left: 2px dashed var(--g-500); }
.turn-gain { font-size: clamp(1.5rem, 3.6vw, 2.5rem); font-weight: 900; line-height: 1.34; color: var(--ink); }
.turn-body { margin-top: 18px; }
.turn-figure { margin-top: 28px; }
.figure-caption { margin-top: 10px; font-size: 0.8125rem; line-height: 1.7; color: var(--ink-mute); }

/* Opinion vs decision */
.split-figure {
  display: grid; gap: 14px; padding: 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
}
@media (min-width: 600px) { .split-figure { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.split-box { padding: 16px 18px; border: 2px solid var(--g-700); border-radius: 8px; }
.split-box.company { border-style: dashed; border-color: var(--ink-mute); }
.split-box .who { margin-bottom: 6px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--accent-text); }
.split-box.company .who { color: var(--ink-mute); }
.split-box h4 { font-size: 1.125rem; margin-bottom: 6px; }
.split-box p { font-size: 0.875rem; line-height: 1.75; }
.split-arrow {
  display: grid; justify-items: center; align-content: center; gap: 4px;
  color: var(--accent-text); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em;
}
.split-arrow svg { width: 32px; height: 32px; }
@media (max-width: 599px) { .split-arrow svg { transform: rotate(90deg); } }

/* Company screen schematic (explanatory, not a real screen) */
.portal-figure { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.portal-bar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: var(--g-700); color: var(--on-dark);
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em;
}
.portal-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--g-300); flex: none; }
.portal-bar span { margin-left: 6px; }
.portal-body { display: grid; gap: 12px; padding: 16px; }
@media (min-width: 640px) { .portal-body { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.portal-col { padding: 12px 14px; border: 1px dashed var(--kinari-300); border-radius: 8px; }
.portal-col h4 { margin-bottom: 8px; font-size: 0.875rem; color: var(--g-700); letter-spacing: 0.04em; }
.portal-col ul { display: grid; gap: 6px; }
.portal-col li { position: relative; padding-left: 14px; font-size: 0.8125rem; line-height: 1.55; color: var(--ink-soft); }
.portal-col li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 2px; background: var(--g-500); }
.portal-lock {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 0 16px 16px; padding: 12px 14px;
  border-radius: 8px; background: var(--kinari-100);
}
.portal-lock svg { width: 22px; height: 22px; flex: none; color: var(--g-700); margin-top: 2px; }
.portal-lock p { font-size: 0.875rem; line-height: 1.65; color: var(--ink); }

/* --------------------------------------------------------------------------
   03 Flow rail
   -------------------------------------------------------------------------- */

.rail-steps { position: relative; display: grid; gap: 30px; }
@media (min-width: 960px) {
  .rail-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
  .rail-steps::before {
    content: ''; position: absolute; left: 30px; right: calc((100% - 88px) / 5 - 30px); top: 29px;
    border-top: 2px dashed var(--g-300); opacity: 0.7;
  }
}
.rail-step { position: relative; padding-left: 76px; }
@media (min-width: 960px) { .rail-step { padding-left: 0; padding-top: 84px; } }
.rail-dot {
  position: absolute; left: 0; top: 0;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--g-700); color: var(--on-dark); border: 2px solid var(--g-300);
  font-family: var(--font-num); font-weight: 800; font-size: 1.125rem;
}
.rail-step.is-mark .rail-dot { background: #ffffff; color: var(--green-ink); border-color: #ffffff; }
@media (max-width: 959px) {
  .rail-step + .rail-step .rail-dot::before {
    content: ''; position: absolute; left: 50%; bottom: calc(100% + 2px); height: 28px;
    border-left: 2px dashed var(--g-300); transform: translateX(-1px);
  }
}
.rail-step h3 { font-size: 1.25rem; line-height: 1.3; color: var(--on-dark); }
.rail-step h3 small {
  display: block; margin-bottom: 4px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; color: var(--g-200);
}
.rail-step p { margin-top: 8px; font-size: 0.9375rem; line-height: 1.75; }
.rail-who { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.rail-who span {
  padding: 2px 8px; border-radius: 3px; border: 1px solid var(--line-dark);
  font-size: 0.75rem; font-weight: 700; line-height: 1.6; color: var(--g-100);
}
.rail-who .co { border-color: var(--g-300); color: var(--g-100); }
.rail-who .md { border-color: #ffffff; color: #ffffff; background: rgba(255, 255, 255, 0.12); }
.rail-who .emp { border-color: rgba(255, 255, 255, 0.4); color: var(--on-dark); }

.rail-48 {
  margin-top: 40px; padding: 22px 24px; border-radius: 12px;
  display: grid; gap: 14px; align-items: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark);
}
@media (min-width: 720px) { .rail-48 { grid-template-columns: auto 1fr; gap: 28px; } }
.rail-48 .big {
  font-family: var(--font-num); font-weight: 800; font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 0.95; letter-spacing: -0.03em; color: #ffffff;
}
.rail-48 .big small {
  display: block; margin-top: 8px;
  font-family: var(--font-ja); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; color: var(--g-200);
}
.rail-side { margin-top: 28px; display: grid; gap: 16px; }
@media (min-width: 960px) { .rail-side { grid-template-columns: 1fr 1fr; } }
.rail-side > div { padding: 18px 20px; border-left: 3px solid var(--green-line); background: rgba(255, 255, 255, 0.04); }
.rail-side h3 { font-size: 1.0625rem; margin-bottom: 6px; color: var(--on-dark); }
.rail-side p { font-size: 0.9375rem; line-height: 1.8; }
.flow-cta { margin-top: 40px; }

/* --------------------------------------------------------------------------
   04 Sleep
   -------------------------------------------------------------------------- */

.sleep-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .sleep-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

.venn { max-width: 440px; }
.venn svg { width: 100%; height: auto; overflow: visible; }
.venn .ring { fill: rgba(26, 77, 58, 0.07); stroke: var(--g-700); stroke-width: 2; }
.venn .core { fill: var(--green); }
.venn .lbl { font-family: var(--font-ja); font-weight: 900; fill: var(--ink); }
.venn .sub { font-family: var(--font-ja); font-weight: 700; fill: var(--ink-soft); }
.venn .core-lbl { font-family: var(--font-ja); font-weight: 900; fill: #ffffff; }
.venn figcaption { margin-top: 18px; }
.quote {
  padding-left: clamp(16px, 2.5vw, 24px); border-left: 4px solid var(--green);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 900; line-height: 1.55; color: var(--ink);
}
.quote-by { margin-top: 14px; font-size: 0.9375rem; }
.quote-by b { color: var(--ink); }

.check-list { border-top: 2px solid var(--g-700); }
.check-list li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--kinari-300); }
.check-list h3, .check-list h4 { font-size: 1.125rem; line-height: 1.45; }
.check-list h3 span {
  margin-right: 10px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; color: var(--accent-text);
}
.check-list p { font-size: 0.9375rem; line-height: 1.8; }
.examples { margin-top: clamp(48px, 7vw, 80px); }
.examples > h3 { font-size: clamp(1.25rem, 2.6vw, 1.625rem); margin-bottom: 18px; }
.boundary {
  margin-top: 32px; padding: 18px 20px; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--line);
}
.boundary p { font-size: 0.9375rem; line-height: 1.85; }
.boundary b { color: var(--ink); }

/* --------------------------------------------------------------------------
   05 Contract
   -------------------------------------------------------------------------- */

.contract-grid { display: grid; gap: clamp(36px, 5vw, 56px); align-items: start; }
@media (min-width: 960px) { .contract-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.contract-copy h3 { font-size: 1.375rem; line-height: 1.4; margin-bottom: 12px; }
.contract-copy p + p { margin-top: 12px; }
.bridge { margin-top: 24px; padding: 16px 20px; border-left: 3px solid var(--green); background: var(--kinari-100); }
.bridge p { color: var(--ink); }
.contract-steps { counter-reset: cs; border-top: 2px solid var(--g-700); }
.contract-steps li {
  display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.contract-steps li::before {
  counter-increment: cs; content: counter(cs, decimal-leading-zero);
  font-family: var(--font-num); font-weight: 800; font-size: 1.5rem; line-height: 1.2; color: var(--g-500);
}
.contract-steps h4 { font-size: 1.0625rem; }
.contract-steps p { font-size: 0.9375rem; line-height: 1.8; }
.contract-cta { margin-top: 28px; }

/* --------------------------------------------------------------------------
   Health-check judgment flow (chapter 01, SPOT)
   -------------------------------------------------------------------------- */

.kenshin {
  margin-top: clamp(40px, 6vw, 64px); padding: clamp(20px, 3vw, 32px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
}
.kenshin h3 { font-size: clamp(1.25rem, 2.6vw, 1.625rem); line-height: 1.45; }
.kenshin-steps { margin-top: 20px; display: grid; gap: 14px; }
@media (min-width: 768px) { .kenshin-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.kenshin-steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 14px 16px; border-radius: 8px; background: var(--kinari-50); border-top: 3px solid var(--g-700);
}
.kenshin-steps b { font-family: var(--font-num); font-weight: 800; font-size: 1.5rem; line-height: 1.15; color: var(--g-500); }
.kenshin-steps p { font-size: 0.9375rem; line-height: 1.75; }
.kenshin .note { margin-top: 16px; }

/* --------------------------------------------------------------------------
   06 Health information
   -------------------------------------------------------------------------- */

.info-flow { padding: clamp(16px, 2.5vw, 24px); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.info-flow-grid { display: grid; gap: 8px; align-items: stretch; }
@media (min-width: 900px) {
  .info-flow-grid { grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1.2fr) 36px minmax(0, 1fr); }
}
.info-node { padding: 16px 18px; border: 2px dashed var(--kinari-300); border-radius: 10px; }
.info-node.core { border: 2px solid var(--g-700); background: var(--kinari-50); }
.info-node .who { margin-bottom: 8px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--accent-text); }
.info-node ul { display: grid; gap: 6px; }
.info-node li { position: relative; padding-left: 14px; font-size: 0.875rem; line-height: 1.6; color: var(--ink-soft); }
.info-node li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 2px; background: var(--g-500); }
.info-lock {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px;
  border-radius: 8px; background: var(--kinari-100);
  font-size: 0.8125rem; font-weight: 700; line-height: 1.6; color: var(--ink);
}
.info-lock svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--g-700); }
.info-arrow { display: grid; place-items: center; color: var(--g-500); }
.info-arrow svg { width: 28px; height: 28px; }
@media (max-width: 899px) { .info-arrow svg { transform: rotate(90deg); } }

.info-grid { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 960px) { .info-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.info-sub { margin-bottom: 14px; font-size: 1.125rem; }
.retention { display: grid; gap: 16px; margin-bottom: 14px; }
.retention li { display: grid; gap: 6px; }
.r-label { font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.r-track { display: block; height: 12px; border-radius: 6px; background: var(--kinari-200); overflow: hidden; }
.r-fill { display: block; height: 100%; width: var(--w, 100%); min-width: 8px; border-radius: 6px; background: var(--g-700); transform-origin: left center; }
.r-value { font-size: 0.875rem; color: var(--ink-soft); }
.r-axis {
  display: flex; justify-content: space-between; margin: -6px 0 12px;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-mute);
}
.assure {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; padding: 14px 16px;
  background: var(--paper); border-left: 3px solid var(--green); border-radius: 0 10px 10px 0;
}
.assure svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--g-700); }
.assure p { font-size: 0.9375rem; font-weight: 700; line-height: 1.8; color: var(--ink); }
.info-policy { margin-top: 28px; max-width: 46rem; }

/* --------------------------------------------------------------------------
   07 Office
   -------------------------------------------------------------------------- */

.people-grid { display: grid; gap: clamp(32px, 4vw, 48px); }
@media (min-width: 960px) { .people-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.person-name { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; line-height: 1.2; color: var(--on-dark); }
.person-name small { display: block; margin-bottom: 8px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; color: var(--g-200); }
.person-title { margin-top: 10px; font-size: 0.9375rem; }
.industry { margin-top: 22px; }
.industry h3 { margin-bottom: 8px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; color: var(--g-200); }
.industry ul { display: flex; flex-wrap: wrap; gap: 8px; }
.industry li {
  padding: 3px 10px; border: 1px solid var(--line-dark); border-radius: 3px;
  font-size: 0.8125rem; font-weight: 700; color: var(--on-dark);
}
.pillars { border-top: 1px solid var(--line-dark); }
.pillars li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid var(--line-dark);
}
.pillars .num { min-width: 2.2em; font-family: var(--font-num); font-weight: 800; font-size: 1.25rem; line-height: 1.35; color: var(--green-line); }
.pillars h3 { font-size: 1.125rem; color: var(--on-dark); }
.pillars p { margin-top: 4px; font-size: 0.9375rem; line-height: 1.8; }

/* --------------------------------------------------------------------------
   08 FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--kinari-300); }
.faq details:first-of-type { border-top: 2px solid var(--g-700); }
.faq summary {
  display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 900; font-size: 1.0625rem; line-height: 1.55;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; justify-self: center; width: 11px; height: 11px;
  border-right: 2px solid var(--g-700); border-bottom: 2px solid var(--g-700);
  transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--g-600); }
.faq .answer { padding: 0 0 22px; max-width: 46rem; font-size: 0.9375rem; line-height: 1.85; }

/* --------------------------------------------------------------------------
   Close
   -------------------------------------------------------------------------- */

.close { text-align: center; }
.close .eyebrow { justify-content: center; }
.close h2 { font-size: clamp(1.875rem, 5vw, 3.5rem); line-height: 1.25; color: var(--on-dark); }
.close h2 em { display: block; color: var(--green-line); }
.close p { margin: 20px auto 0; max-width: 36rem; }
.close .btn-row { justify-content: center; margin-top: 32px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { padding: 48px 0 112px; background: var(--cream); color: var(--ink); font-size: 0.875rem; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .site-footer { padding-bottom: 56px; } }
.site-footer .container { display: grid; gap: 24px; }
@media (min-width: 768px) { .site-footer .container { grid-template-columns: 1fr auto; align-items: start; } }
.site-footer p { color: var(--ink-mute); line-height: 1.8; }
.site-footer .foot-brand { color: var(--ink); font-size: 1rem; font-weight: 700; }
.foot-links { display: grid; gap: 6px; }
.foot-links a { color: var(--ink-soft); text-decoration: none; }
.foot-links a:hover { color: var(--green); text-decoration: underline; }
.site-footer .foot-copy {
  grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 0.75rem; color: var(--ink-mute);
}

/* --------------------------------------------------------------------------
   Index nav (wide screens) and mobile CTA bar
   -------------------------------------------------------------------------- */

.index-nav { display: none; }
@media (min-width: 1400px) {
  .index-nav {
    display: block; position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 40;
    padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: 10px;
    background: rgba(250, 249, 245, 0.94);
    font-size: 0.75rem;
  }
  .index-nav p { margin-bottom: 8px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.2em; color: var(--ink-mute); }
  .index-nav a {
    display: flex; gap: 8px; align-items: baseline; padding: 3px 0;
    color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  }
  .index-nav a span:first-child { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--ink-mute); }
  .index-nav a:hover { color: var(--g-700); text-decoration: underline; }
  .index-nav a.is-active { color: var(--g-700); font-weight: 700; }
  .index-nav a.is-active span:first-child { color: var(--green); }
}

.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; gap: 10px; align-items: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 249, 245, 0.97); border-top: 1px solid var(--line);
}
.cta-bar .btn { min-height: 50px; padding: 10px 16px; font-size: 0.9375rem; }
.cta-bar .btn-primary { flex: 1; background: var(--green); color: #ffffff; }
.cta-bar .btn-primary:hover { background: var(--green-ink); }
.cta-bar .btn-ghost { color: var(--green); border-color: var(--green-soft); }
.cta-bar .btn-ghost:hover { border-color: var(--green); background: rgba(26, 77, 58, 0.05); }
@media (min-width: 960px) { .cta-bar { display: none; } }
.cta-ready .cta-bar { transition: transform 0.35s var(--ease), visibility 0s linear 0s; }
.cta-ready .cta-bar.is-hidden {
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
}

/* --------------------------------------------------------------------------
   Motion
   - Hero: CSS-only entrance (no JS dependency). Ends fully visible.
   - Below the fold: hidden only after lp.js has set up its observer and added
     .motion-ready to <html>. If lp.js fails or JS is off, nothing is hidden.
   - prefers-reduced-motion: no entrance, no reveal, no wipe.
   -------------------------------------------------------------------------- */

@keyframes rise {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}
.hv { animation: rise 0.8s var(--ease) both; }
.hv-1 { animation-delay: 0.06s; }
.hv-2 { animation-delay: 0.14s; }
.hv-3 { animation-delay: 0.22s; }
.hv-4 { animation-delay: 0.3s; }

.motion-ready .rv {
  opacity: 0; translate: 0 22px;
  transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease);
}
.motion-ready .rv.is-in { opacity: 1; translate: 0 0; }
.motion-ready .rv-d1 { transition-delay: 0.08s; }
.motion-ready .rv-d2 { transition-delay: 0.16s; }
.motion-ready .rv-d3 { transition-delay: 0.24s; }
.motion-ready .rv-d4 { transition-delay: 0.32s; }

.motion-ready .mk { background-size: 0% 100%; transition: background-size 0.9s var(--ease) 0.3s; }
.motion-ready .is-in .mk, .motion-ready .mk.is-in { background-size: 100% 100%; }

.motion-ready .venn .ring { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease); }
.motion-ready .venn .ring:nth-of-type(2) { transition-delay: 0.15s; }
.motion-ready .venn .ring:nth-of-type(3) { transition-delay: 0.3s; }
.motion-ready .venn.is-in .ring { stroke-dashoffset: 0; }
.motion-ready .venn .core, .motion-ready .venn .core-lbl { opacity: 0; transition: opacity 0.6s var(--ease) 1s; }
.motion-ready .rv .r-fill { transform: scaleX(0); transition: transform 1.1s var(--ease) 0.35s; }
.motion-ready .rv.is-in .r-fill { transform: none; }
.motion-ready .venn.is-in .core, .motion-ready .venn.is-in .core-lbl { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hv { animation: none; }
  .motion-ready .rv { opacity: 1; translate: none; transition: none; }
  .motion-ready .mk { background-size: 100% 100%; transition: none; }
  .motion-ready .venn .ring { stroke-dashoffset: 0; transition: none; }
  .motion-ready .venn .core, .motion-ready .venn .core-lbl { opacity: 1; transition: none; }
  .motion-ready .rv .r-fill { transform: none; transition: none; }
  .btn, .cta-bar, .faq summary::after { transition: none !important; }
  .btn:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Carried over from the previous top page (2026-11-05), kept short.
   -------------------------------------------------------------------------- */

/* Header: office-site link (wide screens; the footer has the same link) */
.header-nav { display: flex; align-items: center; gap: 18px; }
.header-link { display: none; }
@media (min-width: 768px) {
  .header-link {
    display: inline-flex; align-items: center; min-height: 44px;
    color: var(--ink-soft); font-size: 0.875rem; font-weight: 700; text-decoration: none;
  }
  .header-link:hover { color: var(--green); text-decoration: underline; }
}

/* Hero: the first line sits outside the H1 so the H1 text stays the same as before */
.hero .h1-top {
  margin-bottom: 0.55em; line-height: 1.3;
  font-feature-settings: 'palt' 1; word-break: auto-phrase;
}

/* 01: booking button after the menus */
.scenes-cta { margin-top: 32px; }

/* 03: who does what */
.roles { margin-top: clamp(40px, 6vw, 56px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.roles h3 { font-size: clamp(1.25rem, 2.6vw, 1.625rem); line-height: 1.45; color: var(--on-dark); }
.roles > p { margin-top: 8px; max-width: var(--measure); }
.roles-grid { margin-top: 20px; display: grid; gap: 16px; }
@media (min-width: 768px) { .roles-grid { grid-template-columns: 1fr 1fr; } }
.roles-grid > div { padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: 10px; }
.roles-grid h4 { margin-bottom: 10px; font-size: 1rem; color: var(--green-line); }
.roles-grid ol, .roles-grid ul { display: grid; gap: 4px; }
.roles-grid ol { counter-reset: role; }
.roles-grid li { position: relative; padding-left: 24px; font-size: 0.9375rem; line-height: 1.8; color: var(--on-dark); }
.roles-grid ol li { counter-increment: role; }
.roles-grid ol li::before { content: counter(role) '.'; position: absolute; left: 0; font-family: var(--font-num); font-weight: 800; color: var(--g-200); }
.roles-grid ul li::before { content: '✓'; position: absolute; left: 0; font-weight: 700; color: var(--g-200); }

/* 05: sleep support and scope */
.contract-copy .contract-sub { margin-top: 36px; }
.scope { margin-top: clamp(48px, 7vw, 72px); }
.scope h3 { margin-bottom: 16px; font-size: clamp(1.25rem, 2.6vw, 1.625rem); }
.scope-list { display: grid; margin: 0; border-top: 2px solid var(--g-700); }
@media (min-width: 768px) { .scope-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1100px) { .scope-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scope-list > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.scope-list dt { font-weight: 700; color: var(--ink); }
.scope-list dd { margin: 0; font-size: 0.875rem; line-height: 1.7; color: var(--ink-soft); }
.scope .note { margin-top: 16px; max-width: 46rem; }

/* 07: two pillars and fit */
.two-pillars, .fit { margin-top: clamp(48px, 7vw, 72px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.two-pillars h3, .fit h3 { font-size: clamp(1.25rem, 2.6vw, 1.625rem); line-height: 1.45; color: var(--on-dark); }
.two-pillars ol { margin-top: 18px; display: grid; gap: 16px; }
@media (min-width: 960px) { .two-pillars ol { grid-template-columns: 1fr 1fr; gap: 24px; } }
.two-pillars li { padding: 18px 20px; border-left: 3px solid var(--green-line); background: rgba(255, 255, 255, 0.04); }
.two-pillars h4 { font-size: 1.0625rem; line-height: 1.5; color: var(--on-dark); }
.two-pillars p { margin-top: 6px; font-size: 0.9375rem; line-height: 1.8; }
.fit-grid { margin-top: 18px; display: grid; gap: 16px; }
@media (min-width: 960px) { .fit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.fit-grid > div { padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: 10px; }
.fit h4 { font-size: 1rem; line-height: 1.5; color: var(--on-dark); }
.fit ul { margin-top: 10px; display: grid; gap: 6px; }
.fit li { position: relative; padding-left: 16px; font-size: 0.9375rem; line-height: 1.7; color: var(--on-dark-soft); }
.fit li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 2px; background: var(--g-300); }
.not-fit { margin-top: 20px; padding: 16px 20px; border-left: 3px solid var(--g-300); background: rgba(255, 255, 255, 0.03); }
.not-fit li::before { background: var(--on-dark-mute); }

/* 08: practical articles */
.articles { margin-top: clamp(48px, 7vw, 72px); max-width: 52rem; }
.articles h3 { font-size: clamp(1.25rem, 2.6vw, 1.625rem); line-height: 1.45; }
.articles > p { margin-top: 10px; font-size: 0.9375rem; }
.article-list { margin-top: 18px; display: grid; gap: 12px; }
@media (min-width: 768px) { .article-list { grid-template-columns: 1fr 1fr; } }
.article-list a {
  display: grid; gap: 4px; align-content: start; height: 100%; padding: 16px 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); text-decoration: none;
}
.article-list a:hover { border-color: var(--g-500); }
.article-list a:hover .a-title { text-decoration: underline; }
.article-list .a-tag { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--accent-text); }
.article-list .a-title { font-size: 1.0625rem; line-height: 1.5; }
.article-list .a-desc { font-size: 0.875rem; line-height: 1.7; color: var(--ink-soft); }
.articles-more { margin-top: 14px; }

/* Japanese phrase-aware line breaks for the carried-over lists and small headings */
.roles-grid li, .roles-grid h4, .scope-list dd, .two-pillars h4, .two-pillars p, .fit h4, .fit li,
.article-list .a-desc, .articles > p, .contract-copy p, .close-points li { word-break: auto-phrase; }

/* 09: what the first consultation covers */
.close-points { margin: 18px auto 0; display: grid; gap: 6px; width: fit-content; max-width: 36rem; text-align: left; }
.close-points li { position: relative; padding-left: 20px; font-size: 0.9375rem; line-height: 1.75; color: var(--on-dark-soft); }
.close-points li::before { content: '✓'; position: absolute; left: 0; font-weight: 700; color: var(--green-line); }

@media print {
  .site-header, .cta-bar, .index-nav { display: none !important; }
  .rv { opacity: 1 !important; translate: none !important; }
}
