/* ==========================================================================
   ヘヤログ — marketing site
   Shares design tokens with the app (see /app). Mobile-first.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #14201f; --ink-2: #4a5655; --ink-3: #7a8584;
  --line: #e6e3dc; --line-2: #d6d2c8;
  --bg: #f6f5f1; --surface: #ffffff; --surface-2: #f1efe9;
  --brand: #0f3d3e; --brand-2: #16595a; --brand-soft: #e6efee; --brand-ink: #f4efe6;
  --accent: #e39b2d; --accent-2: #c9801a; --accent-soft: #fcf1de; --accent-ink: #1b1406;
  --tenant: #b3412f; --tenant-soft: #fbebe7;
  --owner: #2c6b4c; --owner-soft: #e5f1ea;
  --hold: #8a6613; --hold-soft: #fbf1d8;

  /* site-only helpers */
  --muted: #626d6c;              /* small secondary text; AA on bg/surface */
  --brand-text: #16595a;          /* brand-colored text on light surfaces */
  --deep: #0f3d3e;                /* brand-dark panels (hero, AI, closing) */
  --deep-2: #0b2f30;
  --on-deep: #f4efe6;
  --on-deep-2: rgba(244, 239, 230, .74);
  --on-deep-line: rgba(244, 239, 230, .14);
  --focus: rgba(22, 89, 90, .28);

  --r-ctl: 10px; --r-card: 16px; --r-panel: 24px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(16,32,31,.06);
  --sh-2: 0 1px 2px rgba(16,32,31,.05), 0 8px 24px -8px rgba(16,32,31,.12);
  --sh-3: 0 2px 4px rgba(16,32,31,.04), 0 24px 48px -16px rgba(16,32,31,.22);

  --font: "Inter", "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t: 200ms;
  --sec-y: clamp(64px, 9vw, 128px);
  --max: 1120px;
  --gutter: 20px;
  --hdr-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e9eeec; --ink-2: #b3bdbb; --ink-3: #8a9594;
    --line: #243130; --line-2: #2f3e3d;
    --bg: #0e1413; --surface: #151d1c; --surface-2: #1c2625;
    --brand: #2f8a8b; --brand-2: #3a9e9f; --brand-soft: #173231;
    --accent: #f0ae4a; --accent-2: #e39b2d; --accent-soft: #3a2c14;
    --tenant: #f08a76; --tenant-soft: #3a1d18;
    --owner: #74c79d; --owner-soft: #16301f;
    --hold: #e2bb58; --hold-soft: #342a10;
    --muted: #8a9594;
    --muted: #8a9594;
  --brand-text: #7fcfcf;
    --deep: #10302f; --deep-2: #0b2322;
    --focus: rgba(127, 207, 207, .32);
    --sh-1: 0 1px 2px rgba(0,0,0,.4);
    --sh-2: 0 1px 2px rgba(0,0,0,.35), 0 8px 24px -8px rgba(0,0,0,.5);
    --sh-3: 0 2px 4px rgba(0,0,0,.3), 0 24px 48px -16px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #e9eeec; --ink-2: #b3bdbb; --ink-3: #8a9594;
  --line: #243130; --line-2: #2f3e3d;
  --bg: #0e1413; --surface: #151d1c; --surface-2: #1c2625;
  --brand: #2f8a8b; --brand-2: #3a9e9f; --brand-soft: #173231;
  --accent: #f0ae4a; --accent-2: #e39b2d; --accent-soft: #3a2c14;
  --tenant: #f08a76; --tenant-soft: #3a1d18;
  --owner: #74c79d; --owner-soft: #16301f;
  --hold: #e2bb58; --hold-soft: #342a10;
  --muted: #8a9594;
  --brand-text: #7fcfcf;
  --deep: #10302f; --deep-2: #0b2322;
  --focus: rgba(127, 207, 207, .32);
  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 1px 2px rgba(0,0,0,.35), 0 8px 24px -8px rgba(0,0,0,.5);
  --sh-3: 0 2px 4px rgba(0,0,0,.3), 0 24px 48px -16px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.75;
  font-feature-settings: "palt" 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; color: var(--ink);
  word-break: auto-phrase; text-wrap: balance; overflow-wrap: anywhere; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--brand-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
img, svg { display: block; max-width: 100%; }
b, strong { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
.nb { display: inline-block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 6px; }
.num, .price-n, .stat .n, .big, [id^="roi"] { font-variant-numeric: tabular-nums; }
::selection { background: var(--accent-soft); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: var(--r-ctl); box-shadow: var(--sh-2); transition: top var(--t) var(--ease); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 22px; border-radius: var(--r-ctl);
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn .ic { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.btn:hover .ic[aria-hidden]:last-child { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-sm { --h: 40px; padding: 0 14px; font-size: 14px; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 1px 2px rgba(80,50,0,.18); }
.btn-accent:hover { background: var(--accent-2); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--muted); background: var(--surface-2); }
.btn-glass { background: rgba(244,239,230,.08); color: var(--on-deep); border-color: rgba(244,239,230,.22); }
.btn-glass:hover { background: rgba(244,239,230,.14); border-color: rgba(244,239,230,.36); }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--brand-text); text-decoration: none; }
.text-link .ic { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.text-link:hover .ic { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; letter-spacing: .02em; }
.pill .ic { width: 14px; height: 14px; stroke-width: 2.25; }
.pill-tenant { background: var(--tenant-soft); color: var(--tenant); }
.pill-owner { background: var(--owner-soft); color: var(--owner); }
.pill-hold { background: var(--hold-soft); color: var(--hold); }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr-h); color: var(--on-deep);
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  border-bottom: 1px solid transparent; }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 24px; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.hdr.is-solid, .hdr.is-open { color: var(--ink); background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: var(--line); }
.hdr.is-open { background: var(--bg); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .hdr.is-solid { background: rgba(246,245,241,.9); } }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-height: 44px; margin-right: auto; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; }
.logo-word { font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.logo-tag { display: none; font-size: 12px; font-weight: 500; opacity: .72; padding-left: 12px; margin-left: 2px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 30%, transparent); line-height: 1.2; }
.gnav { display: none; gap: 4px; }
.gnav a { color: inherit; text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; opacity: .86; transition: background-color var(--t) var(--ease), opacity var(--t) var(--ease); }
.gnav a:hover { opacity: 1; background: color-mix(in srgb, currentColor 9%, transparent); }
.hdr-act { display: flex; align-items: center; gap: 8px; }
.hdr-demo { display: none; color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; min-height: 40px; align-items: center; border-radius: 8px; }
.hdr-demo:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.hdr-cta { display: none; }
.menu-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: transparent; color: inherit; border-radius: var(--r-ctl); cursor: pointer; }
.menu-btn:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.menu-btn .ic { width: 22px; height: 22px; grid-area: 1 / 1; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.menu-btn .ic-close { opacity: 0; transform: rotate(-45deg); }
.menu-btn[aria-expanded="true"] .ic-open { opacity: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .ic-close { opacity: 1; transform: none; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; min-height: 44px; padding: 0 12px; border-radius: 8px; }
.logo, .back-link { white-space: nowrap; }
@media (max-width: 479px) { .back-link ~ .hdr-cta { display: none; } }
.back-link:hover { color: var(--ink); background: var(--surface-2); }
.back-link .ic { width: 18px; height: 18px; }

.drawer { position: fixed; left: 0; right: 0; top: var(--hdr-h); z-index: 49; background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: var(--sh-3);
  max-height: calc(100dvh - var(--hdr-h)); overflow: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t); }
.drawer.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.drawer-in { padding: 8px var(--gutter) 24px; max-width: 640px; margin: 0 auto; }
.drawer a:not(.btn) { display: flex; align-items: center; justify-content: space-between; min-height: 52px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--line); }
.drawer a:not(.btn) .ic { width: 18px; height: 18px; color: var(--ink-3); }
.drawer-cta { display: grid; gap: 10px; margin-top: 20px; }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(8,18,18,.36); }
.scrim[hidden] { display: none; }
body.menu-open { overflow: hidden; }

@media (min-width: 360px) { .hdr-cta { display: inline-flex; } }
@media (min-width: 1080px) {
  .gnav { display: flex; }
  .menu-btn, .drawer, .scrim { display: none !important; }
  .logo-tag { display: inline; }
  .hdr-demo { display: inline-flex; }
}

/* ---------- Eyebrow / section header ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--brand-text); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--accent); }
.eyebrow-on-dark { color: #a9d6d3; }
.eyebrow .dot { display: none; }
.sec { padding: var(--sec-y) 0; position: relative; }
.sec-alt { background: var(--surface-2); }
.sec-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(26px, 4.2vw, 40px); line-height: 1.32; }
.sec-head .lead { margin-top: 16px; color: var(--ink-2); font-size: clamp(15px, 1.6vw, 17px); line-height: 1.85; }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head-center .eyebrow { justify-content: center; }
.sec-head-wide { max-width: 760px; }
.sec-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }

.split { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .split-aside { position: sticky; top: calc(var(--hdr-h) + 40px); margin-bottom: 0; }
  .split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(8px); transition: opacity 240ms var(--ease), transform 240ms var(--ease); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.lp .hdr:not(.is-solid):not(.is-open) .logo-mark rect:first-child { fill: #0b3233; }
.hero { position: relative; margin-top: calc(var(--hdr-h) * -1); padding: calc(var(--hdr-h) + clamp(40px, 7vw, 88px)) 0 clamp(56px, 8vw, 104px);
  background: var(--deep); color: var(--on-deep); overflow: hidden; isolation: isolate; }
.hero-bg, .dark-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 38%, rgba(47,138,139,.42), transparent 70%),
    radial-gradient(40% 40% at 90% 90%, rgba(227,155,45,.14), transparent 70%),
    radial-gradient(50% 60% at 0% 0%, rgba(22,89,90,.55), transparent 70%); }
.hero-bg::after, .dark-bg::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(244,239,230,.16) 1px, transparent 1.2px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 75%); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 40px; } }
.hero-title { color: var(--on-deep); font-size: clamp(34px, 6.4vw, 64px); line-height: 1.2; letter-spacing: -0.03em; text-wrap: initial; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-lead { margin-top: 24px; max-width: 34em; color: var(--on-deep-2); font-size: clamp(15px, 1.7vw, 17px); line-height: 1.9; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-center { justify-content: center; }
@media (max-width: 479px) { .hero .cta-row .btn { flex: 1 1 100%; } }
.hero-fine { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 13.5px; color: var(--on-deep-2); }
.hero-fine li { display: inline-flex; align-items: center; gap: 6px; }
.hero-fine .ic { width: 16px; height: 16px; color: var(--accent); stroke-width: 2.25; }

/* stage: every mockup dimension is in em; 1em = 1/60 of stage width */
.hero-visual { position: relative; min-width: 0; }
.stage { position: relative; width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 60 / 55; container-type: inline-size; }
.stage > .mock { font-size: calc(100cqw / 60); }
@supports not (width: 1cqw) { .stage > .mock { font-size: 9px; } }

/* mockups always render in the app's light theme (they are "screenshots") */
.mock {
  --ink: #14201f; --ink-2: #4a5655; --ink-3: #7a8584; --muted: #626d6c; --line: #e6e3dc; --line-2: #d6d2c8;
  --bg: #f6f5f1; --surface: #fff; --surface-2: #f1efe9; --brand: #0f3d3e; --brand-2: #16595a; --brand-soft: #e6efee;
  --accent: #e39b2d; --tenant: #b3412f; --tenant-soft: #fbebe7; --owner: #2c6b4c; --owner-soft: #e5f1ea; --hold: #8a6613; --hold-soft: #fbf1d8;
  color: var(--ink); line-height: 1.5; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.mock .pill { height: 2.1em; padding: 0 .85em; font-size: 1em; }
.m-desk, .m-phone, .m-sheet { position: absolute; }

/* desktop window */
.m-desk { left: 0; top: 0; width: 50em; height: 35em; background: var(--surface); border-radius: 1.2em; box-shadow: 0 0 0 .1em rgba(255,255,255,.06), 0 3em 6em -2em rgba(0,0,0,.5); overflow: hidden; }
.md-bar { height: 2.8em; display: flex; align-items: center; gap: .5em; padding: 0 1.1em; background: var(--surface-2); border-bottom: .1em solid var(--line); }
.md-bar i { width: .8em; height: .8em; border-radius: 50%; background: var(--line-2); }
.md-url { margin-left: 1em; font-size: 1em; color: var(--ink-3); background: var(--surface); border-radius: .6em; padding: .2em 1em; }
.md-body { display: grid; grid-template-columns: 4.4em 1fr; height: calc(100% - 2.8em); }
.md-side { background: var(--brand); display: flex; flex-direction: column; align-items: center; gap: 1.1em; padding-top: 1.2em; }
.md-logo { width: 2.2em; height: 2.2em; border-radius: .6em; background: var(--accent); opacity: .95; }
.md-nav { width: 2em; height: .5em; border-radius: 1em; background: rgba(244,239,230,.25); }
.md-nav.on { background: rgba(244,239,230,.85); }
.md-main { padding: 1.4em 1.6em; min-width: 0; }
.md-head { display: flex; justify-content: space-between; align-items: center; font-size: 1.5em; }
.md-head b { letter-spacing: -.01em; }
.md-new { font-size: .62em; font-weight: 700; background: var(--brand); color: #f4efe6; border-radius: .7em; padding: .5em 1em; }
.pipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5em; margin: 1.3em 0 1.2em; }
.pipe-s { border: .1em solid var(--line); border-radius: .8em; padding: .7em .8em .6em; background: var(--surface); position: relative; overflow: hidden; }
.pipe-s span { display: block; font-size: 1em; color: var(--ink-3); white-space: nowrap; }
.pipe-s b { display: block; font-size: 2em; line-height: 1.2; }
.pipe-s::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .3em; background: var(--line); }
.pipe-s.on { border-color: var(--brand-2); background: var(--brand-soft); }
.pipe-s.on::after { background: var(--brand-2); }
.pipe-s.done::after { background: var(--owner); }
.md-table { border: .1em solid var(--line); border-radius: .8em; overflow: hidden; }
.md-tr { display: grid; grid-template-columns: 1.6fr .7fr 1.1fr .9fr; gap: .6em; align-items: center; padding: .72em 1em; font-size: 1.05em; border-top: .1em solid var(--line); white-space: nowrap; }
.md-tr > span { overflow: hidden; text-overflow: ellipsis; }
.md-tr .r { text-align: right; font-weight: 600; }
.md-th { border-top: 0; background: var(--surface-2); color: var(--ink-3); font-size: .95em; font-weight: 600; padding: .55em 1em; }
.md-tr.hl { background: #fbf8f1; }
.st { font-style: normal; font-size: .9em; font-weight: 700; padding: .25em .8em; border-radius: 2em; }
.st-sign { background: var(--accent-soft, #fcf1de); color: #8a5a10; }
.st-ai { background: var(--brand-soft); color: var(--brand-2); }
.st-owner { background: var(--owner-soft); color: var(--owner); }
.st-work { background: var(--surface-2); color: var(--ink-2); }
.st-alert { background: var(--tenant-soft); color: var(--tenant); }

/* phone */
.m-phone { right: 0; top: 9em; width: 22em; height: 41.5em; background: #0b1414; border-radius: 3.2em; padding: .9em; box-shadow: 0 0 0 .15em #2a3a39, 0 3em 5em -1.5em rgba(0,0,0,.6); z-index: 2; }
.mp-notch { position: absolute; top: 1.5em; left: 50%; transform: translateX(-50%); width: 6em; height: 1.6em; border-radius: 1em; background: #0b1414; z-index: 3; }
.mp-screen { height: 100%; background: var(--bg); border-radius: 2.4em; overflow: hidden; padding-top: 3.4em; }
.mp-top { display: flex; align-items: center; gap: .6em; padding: 0 1.4em .8em; font-size: 1.3em; }
.mp-back { font-size: 1.4em; line-height: 1; color: var(--ink-3); }
.mp-dim { margin-left: auto; font-size: .78em; color: var(--ink-3); }
.mp-tabs { display: flex; gap: .4em; padding: 0 1.2em .9em; border-bottom: .1em solid var(--line); }
.mp-tabs span { font-size: 1em; padding: .3em .9em; border-radius: 2em; color: var(--ink-2); background: var(--surface); border: .1em solid var(--line); }
.mp-tabs .on { background: var(--brand); color: #f4efe6; border-color: var(--brand); }
.mp-card { margin: .9em 1em 0; background: var(--surface); border-radius: 1.2em; padding: 1em 1.1em; box-shadow: 0 .1em .2em rgba(16,32,31,.06); border: .1em solid var(--line); }
.mp-card.sm { padding: .8em 1.1em; }
.mp-t { display: flex; align-items: center; justify-content: space-between; gap: .5em; font-size: 1.1em; font-weight: 700; }
.mp-t .pill { font-size: .85em; }
.mp-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; margin: .8em 0 .7em; }
.ph { position: relative; aspect-ratio: 4 / 3; border-radius: .7em; overflow: hidden;
  background: linear-gradient(180deg, #efe9dc 0 62%, #d9cdb5 62% 100%); }
.ph::before { content: ""; position: absolute; left: 12%; top: 16%; width: 30%; height: 34%; border-radius: .2em; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 .15em rgba(160,140,110,.25); }
.ph-after { background: linear-gradient(180deg, #e3d5b4 0 62%, #d2c3a4 62% 100%); }
.ph-after::after { content: ""; position: absolute; right: 10%; top: 10%; width: 46%; height: 48%; border-radius: 50%; background: radial-gradient(closest-side, rgba(150,110,40,.5), rgba(150,110,40,0)); }
.ph span { position: absolute; left: .45em; bottom: .45em; font-size: .85em; font-weight: 700; color: #fff; background: rgba(20,32,31,.62); padding: .1em .6em; border-radius: .5em; }
.mp-reason { font-size: .98em; color: var(--ink); line-height: 1.55; }
.mp-basis { margin-top: .6em; font-size: .9em; color: var(--ink-2); background: var(--surface-2); border-radius: .6em; padding: .5em .7em; line-height: 1.55; }
.mp-m { margin-top: .3em; font-size: .95em; color: var(--ink-2); }

/* settlement sheet */
.m-sheet { left: 3em; top: 27.5em; width: 23em; background: var(--surface); border-radius: 1.6em; padding: 1.4em 1.5em 1.5em; box-shadow: 0 0 0 .1em rgba(16,32,31,.06), 0 3em 5em -1.5em rgba(0,0,0,.5); z-index: 3; }
.ms-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.35em; padding-bottom: .5em; border-bottom: .08em solid var(--line); margin-bottom: .4em; }
.ms-head span { font-size: .72em; color: var(--ink-3); }
.ms-row { display: flex; justify-content: space-between; gap: 1em; font-size: 1.05em; padding: .25em 0; }
.ms-row span { color: var(--ink-2); }
.ms-note { font-size: .85em; color: var(--ink-3); margin: -.1em 0 .2em; }
.ms-sum { border-top: .1em dashed var(--line-2); margin-top: .3em; padding-top: .5em; }
.ms-sum span { color: var(--ink); font-weight: 600; }
.ms-total { margin-top: .8em; background: var(--brand); color: #f4efe6; border-radius: 1em; padding: .9em 1.1em; display: flex; justify-content: space-between; align-items: baseline; }
.ms-total span { font-size: 1em; opacity: .85; }
.ms-total b { font-size: 2.5em; letter-spacing: -.02em; line-height: 1.1; }
.ms-sign { margin-top: .9em; border-bottom: .1em solid var(--line-2); position: relative; height: 3.4em; }
.ms-sign svg { width: 12em; height: 3em; }
.ms-sign span { position: absolute; right: 0; bottom: .3em; font-size: .85em; color: var(--ink-3); }
.ms-btn { margin-top: 1em; background: var(--accent); color: #1b1406; font-weight: 700; font-size: 1.05em; text-align: center; border-radius: .8em; padding: .7em; }

@media (max-width: 999px) { .stage { max-width: 600px; } }

/* ==========================================================================
   PAINS — before / after
   ========================================================================== */
.ba { display: grid; gap: 16px; }
.ba-legend { display: none; }
.ba-row { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-1); }
.ba-before, .ba-after { padding: 24px; }
.ba-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; margin-bottom: 8px; color: var(--muted); }
.ba-before h3 { font-size: 18px; line-height: 1.5; }
.ba-before p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.ba-arrow { display: none; }
.ba-after { background: var(--brand-soft); position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-content: start; }
.ba-after .ba-tag { grid-column: 1 / -1; color: var(--brand-text); }
.ba-after .ic { width: 24px; height: 24px; color: var(--brand-text); margin-top: 2px; }
.ba-after p { font-weight: 600; color: var(--ink); font-size: 15.5px; line-height: 1.7; }
@media (min-width: 860px) {
  .ba-legend { display: grid; grid-template-columns: minmax(0, 1.25fr) 56px minmax(0, 1fr); padding: 0 28px 0 29px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
  .ba-legend span:last-child { color: var(--brand-text); padding-left: 4px; }
  .ba-row { grid-template-columns: minmax(0, 1.25fr) 56px minmax(0, 1fr); align-items: stretch; }
  .ba-tag { display: none; }
  .ba-before { padding: 28px 8px 28px 28px; }
  .ba-arrow { display: grid; place-items: center; color: var(--ink-3); }
  .ba-arrow .ic { width: 22px; height: 22px; }
  .ba-after { border-left: 1px solid var(--line); padding: 28px; align-content: center; }
}
.stats-block { margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.stats { display: grid; gap: 24px; margin: 0; }
.stat { margin: 0; }
.stat .n { font-size: clamp(40px, 5.4vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--ink); font-family: "Inter", var(--font); }
.stat .n small { font-size: .45em; margin-left: 2px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.stat dd { margin: 10px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 20em; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 0; } .stat { padding: 0 28px; border-left: 1px solid var(--line); } .stat:first-child { padding-left: 0; border-left: 0; } }
.src { margin-top: 20px; font-size: 12.5px; color: var(--muted); }
.bridge { margin-top: 40px; max-width: 760px; font-size: clamp(16px, 1.9vw, 19px); line-height: 1.9; font-weight: 500; color: var(--ink); padding-left: 20px; border-left: 3px solid var(--accent); }

/* ==========================================================================
   FLOW — timeline
   ========================================================================== */
.timeline { list-style: none; position: relative; }
.tl { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-bottom: 36px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: 23.5px; top: 52px; bottom: 4px; width: 1px; background: var(--line-2); }
.tl:last-child::before { display: none; }
.tl-mark { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--brand-text); box-shadow: var(--sh-1); }
.tl-mark .ic { width: 22px; height: 22px; }
.tl-mark-ai { background: var(--deep); border-color: var(--deep); color: var(--accent); }
.tl-num { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); font-family: "Inter", var(--font); margin-top: 2px; }
.who { font-size: 11.5px; letter-spacing: .02em; font-weight: 700; color: var(--brand-text); background: var(--brand-soft); padding: 2px 10px; border-radius: var(--r-pill); }
.tl-body h3 { font-size: 19px; margin-top: 4px; }
.tl-body p:not(.tl-num) { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
@media (min-width: 720px) { .tl { grid-template-columns: 56px 1fr; gap: 28px; padding-bottom: 44px; } .tl-mark { width: 56px; height: 56px; border-radius: 16px; } .tl::before { left: 27.5px; top: 60px; } }

/* ==========================================================================
   AI — dark split with annotated judgment card
   ========================================================================== */
.sec-dark { background: var(--deep); color: var(--on-deep); overflow: hidden; isolation: isolate; }
.sec-dark h2, .sec-dark h3 { color: var(--on-deep); }
.sec-dark .lead { color: var(--on-deep-2); }
.dark-bg { background:
    radial-gradient(50% 50% at 85% 30%, rgba(47,138,139,.38), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(22,89,90,.5), transparent 70%); }
.ai-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .ai-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; } }
.ai-copy .sec-head { margin-bottom: 36px; }
.ai-points { list-style: none; display: grid; gap: 4px; }
.ai-points li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--on-deep-line); }
.ai-points li:first-child { border-top: 0; padding-top: 0; }
.ai-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(244,239,230,.08); border: 1px solid var(--on-deep-line); color: var(--accent); }
.ai-points h3 { font-size: 17px; }
.ai-points p { margin-top: 4px; color: var(--on-deep-2); font-size: 15px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sec-dark .legend .pill-tenant { background: #fbebe7; color: #b3412f; }
.sec-dark .legend .pill-owner { background: #e5f1ea; color: #2c6b4c; }
.sec-dark .legend .pill-hold { background: #fbf1d8; color: #8a6613; }
.ai-note { margin-top: clamp(40px, 5vw, 64px); display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.8; color: var(--on-deep-2); padding: 16px 20px; border: 1px solid var(--on-deep-line); border-radius: var(--r-card); background: rgba(0,0,0,.12); }
.ai-note .ic { color: #a9d6d3; margin-top: 2px; }

.ai-visual { position: relative; }
.judge { font-size: 14px; background: var(--surface); border-radius: var(--r-panel); padding: 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.05); max-width: 520px; margin: 0 auto; }
.judge .pill { height: 26px; font-size: 12.5px; padding: 0 11px; }
.jg-head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 14px; }
.jg-ai { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.jg-ai .ic { color: var(--accent); width: 20px; height: 20px; }
.jg-count { font-size: 12.5px; color: var(--muted); font-weight: 600; background: var(--surface-2); padding: 2px 10px; border-radius: var(--r-pill); }
.jg-item { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-top: 10px; background: var(--surface); }
.jg-item:first-of-type { margin-top: 0; }
.jg-hold { background: #fffbf1; border-color: #efdfb4; }
.jg-top { display: flex; align-items: center; gap: 8px; }
.jg-top b { font-size: 15px; margin-right: auto; }
.jg-reason { margin-top: 8px; color: var(--ink); font-size: 14px; line-height: 1.65; }
.jg-basis { margin-top: 8px; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: var(--ink-2); background: var(--surface-2); border-radius: 8px; padding: 7px 10px; }
.jg-basis .ic { width: 16px; height: 16px; margin-top: 2px; color: var(--ink-3); }
.jg-basis span { flex: 1; }
.jg-btn { margin-top: 14px; background: var(--brand); color: #f4efe6; text-align: center; font-weight: 700; padding: 12px; border-radius: var(--r-ctl); font-size: 14.5px; }
.anno { flex: none; font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #1b1406; font-size: 12px; font-weight: 700; font-family: "Inter", var(--font); box-shadow: 0 0 0 3px rgba(227,155,45,.22); }
.anno-legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin-top: 24px; font-size: 13.5px; color: var(--on-deep-2); }
.anno-legend li { display: inline-flex; align-items: center; gap: 8px; }
.anno-legend .anno { box-shadow: none; }

/* ==========================================================================
   FEATURES — bento
   ========================================================================== */
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.bc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t) var(--ease); }
.bc:hover { box-shadow: var(--sh-2); border-color: var(--line-2); }
.bc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); margin-bottom: 20px; }
.bc-ic .ic { width: 22px; height: 22px; }
.bc h3 { font-size: 18.5px; }
.bc p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.bc-brand { background: var(--deep); border-color: var(--deep); color: var(--on-deep); }
.bc-brand h3 { color: var(--on-deep); }
.bc-brand p { color: var(--on-deep-2); }
.bc-brand .bc-ic { background: rgba(244,239,230,.1); color: var(--accent); }
.bc-brand .pill-tenant { background: #fbebe7; color: #b3412f; }
.bc-brand .pill-owner { background: #e5f1ea; color: #2c6b4c; }
.bc-brand .pill-hold { background: #fbf1d8; color: #8a6613; }
.viz { margin-top: auto; padding-top: 24px; }
.viz-pipe { display: grid; gap: 10px; }
.vp { display: grid; grid-template-columns: 6.5em 1.6em 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.vp b { font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.vp i { height: 8px; border-radius: 8px; background: var(--surface-2); position: relative; overflow: hidden; }
.vp i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 8px; background: var(--brand-2); }
.vp-alert span, .vp-alert b { color: var(--tenant); font-weight: 700; }
.vp-alert i::after { background: var(--tenant); }
.viz-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 13px; }
.viz-compare .ph { border-radius: 12px; }
.viz-compare .ph span { font-size: 12px; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; }
.ph-mark { position: absolute; right: 12%; top: 12%; width: 38%; height: 40%; border: 2px solid #e39b2d; border-radius: 8px; }
.viz-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.viz-dep { font-size: 13px; }
.dep-top { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-2); }
.dep-top b { color: var(--brand-text); font-variant-numeric: tabular-nums; }
.dep-bar { margin-top: 8px; height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.dep-bar i { display: block; width: 33.3%; height: 100%; background: var(--accent); border-radius: 8px; }
.dep-amt { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.dep-amt s { color: var(--muted); }
.dep-amt .ic { width: 16px; height: 16px; color: var(--ink-3); }
.dep-amt b { font-size: 20px; letter-spacing: -.01em; }
.viz-sign { color: var(--ink); }
.vs-line { border-bottom: 1px solid var(--line-2); padding: 0 0 4px; }
.vs-line svg { width: 180px; height: 45px; }
.vs-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; color: var(--muted); }
.bc-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.viz-avatars { display: flex; }
.viz-avatars span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--surface-2); color: var(--ink-2); border: 2px solid var(--surface); margin-left: -8px; }
.viz-avatars span:first-child { margin-left: 0; background: var(--brand-soft); color: var(--brand-text); }
.viz-avatars span:nth-child(2) { background: var(--accent-soft); color: var(--hold); }
.viz-avatars .more .ic { width: 18px; height: 18px; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc-12 { grid-column: 1 / -1; }
  .bc-row { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 20px; }
  .bc-row .bc-ic { margin-bottom: 0; }
  .bc-row .viz { margin: 0; padding: 0; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .bc-7 { grid-column: span 7; } .bc-5 { grid-column: span 5; } .bc-6 { grid-column: span 6; }
  .bc-4 { grid-column: span 4; } .bc-3 { grid-column: span 3; } .bc-12 { grid-column: span 12; }
}

/* ==========================================================================
   DATA — checks + diagram
   ========================================================================== */
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); font-size: 15.5px; }
.checks .ic { width: 22px; height: 22px; margin-top: 3px; color: var(--owner); stroke-width: 2.1; }
.checks-sm li { font-size: 15px; color: var(--ink); }
.sec-head .checks, .sec-head .aside-links { margin-top: 28px; }
.aside-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.diagram { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(20px, 3vw, 32px); box-shadow: var(--sh-2);
  background-image: radial-gradient(var(--line) 1px, transparent 1.2px); background-size: 20px 20px; background-position: 10px 10px; }
.dg-node { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 16px; box-shadow: var(--sh-1); }
.dg-node b { display: block; font-size: 15px; line-height: 1.5; }
.dg-node span:not(.dg-ic):not(.dg-own) { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: 2px; }
.dg-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); }
.dg-you { border-color: var(--brand-2); box-shadow: 0 0 0 4px var(--brand-soft), var(--sh-1); }
.dg-you .dg-ic { background: var(--brand-soft); color: var(--brand-text); }
.dg-own { position: absolute; top: -11px; right: 14px; font-size: 11.5px; font-weight: 700; background: var(--brand); color: var(--brand-ink); padding: 1px 10px; border-radius: var(--r-pill); letter-spacing: .04em; }
.dg-ai .dg-ic { background: var(--accent-soft); color: var(--hold); }
.dg-link { position: relative; margin-left: 37px; padding: 14px 0 14px 24px; border-left: 2px solid var(--brand-2); font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.dg-link span { display: inline-block; background: var(--surface); padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); }
.dg-link-dash { border-left-style: dashed; border-left-color: var(--accent-2); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.plans { display: grid; gap: 16px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 32px 28px 28px; box-shadow: var(--sh-1); }
.plan-name { font-size: 18px; }
.plan-cap { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; }
.plan-cap b { color: var(--ink); font-size: 1.15em; font-variant-numeric: tabular-nums; }
.price { display: flex; align-items: flex-end; gap: 8px; margin-top: 24px; }
.price-n { font-family: "Inter", var(--font); font-size: clamp(40px, 4.6vw, 48px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.price-u { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 600; color: var(--ink-2); line-height: 1.3; padding-bottom: 2px; }
.price-u small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.tax { margin-top: 8px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.plan-inc { list-style: none; margin: 24px 0 28px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan-inc li { display: flex; gap: 10px; align-items: center; }
.plan-inc .ic { width: 18px; height: 18px; color: var(--owner); stroke-width: 2.2; }
.plan .btn { margin-top: auto; }
.plan-rec { background: var(--deep); border-color: var(--deep); color: var(--on-deep); box-shadow: var(--sh-3); }
.plan-rec .plan-name, .plan-rec .price-n, .plan-rec .plan-cap b { color: var(--on-deep); }
.plan-rec .plan-cap, .plan-rec .price-u, .plan-rec .plan-inc { color: var(--on-deep-2); }
.plan-rec .tax, .plan-rec .price-u small { color: rgba(244,239,230,.6); }
.plan-rec .plan-inc { border-top-color: var(--on-deep-line); }
.plan-rec .plan-inc .ic { color: var(--accent); }
.ribbon { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 700; letter-spacing: .06em; background: var(--accent); color: var(--accent-ink); padding: 4px 12px; border-radius: var(--r-pill); }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .plan-rec { transform: translateY(-12px); padding-top: 40px; padding-bottom: 36px; margin-bottom: -12px; }
}
.plan-notes { display: grid; gap: 0; margin: 48px auto 0; max-width: 1040px; border-top: 1px solid var(--line); }
.plan-notes > div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.plan-notes dt { font-weight: 700; }
.plan-notes dd { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .plan-notes { grid-template-columns: repeat(2, 1fr); column-gap: 48px; border-top: 0; }
  .plan-notes > div:nth-child(-n+2) { border-top: 1px solid var(--line); }
}
.trial { margin: 40px auto 0; max-width: 1040px; display: grid; gap: 20px; align-items: center; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: var(--r-panel); padding: 28px; }
.trial h3 { font-size: 20px; }
.trial p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
@media (min-width: 800px) { .trial { grid-template-columns: 1fr auto; padding: 32px 40px; gap: 40px; } }

/* ==========================================================================
   ROI calculator
   ========================================================================== */
.roi { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 12px; box-shadow: var(--sh-2); }
.roi-in { display: grid; gap: 20px; padding: 16px 12px; align-content: center; }
@media (min-width: 900px) { .roi { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; } .roi-in { padding: 24px 28px; gap: 24px; } }
.roi-side { display: flex; flex-direction: column; }
.roi-out { background: var(--deep); color: var(--on-deep); border-radius: 18px; padding: 28px; position: relative; overflow: hidden; isolation: isolate; }
.roi-out::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 100% 0%, rgba(47,138,139,.45), transparent 70%); }
.roi-out .lbl { font-size: 13.5px; color: var(--on-deep-2); font-weight: 500; }
.roi-out .big { font-family: "Inter", var(--font); font-size: clamp(40px, 6vw, 60px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; margin-top: 8px; color: var(--on-deep); overflow-wrap: anywhere; }
.roi-list { margin: 20px 0 0; display: grid; }
.roi-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--on-deep-line); font-size: 14px; }
.roi-list dt { color: var(--on-deep-2); flex: none; }
.roi-list dd { margin: 0; text-align: right; color: var(--on-deep-2); }
.roi-list b { color: var(--on-deep); font-weight: 600; font-variant-numeric: tabular-nums; }
.roi-net b { color: var(--accent); font-size: 18px; font-weight: 700; }
.roi-note { margin: 12px 8px 4px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ==========================================================================
   Forms (shared by ROI + apply)
   ========================================================================== */
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.hint { font-size: 12.5px; font-weight: 400; color: var(--muted); flex-basis: 100%; }
.req, .opt { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 5px; letter-spacing: .04em; line-height: 1.6; }
.req { background: var(--tenant-soft); color: var(--tenant); }
.opt { background: var(--surface-2); color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font-size: 16px; line-height: 1.5; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-ctl); box-shadow: var(--sh-1);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); -webkit-appearance: none; appearance: none; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--focus); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
textarea { min-height: 128px; resize: vertical; }
[aria-invalid="true"] { border-color: var(--tenant) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--tenant) 18%, transparent) !important; }
.num-wrap { position: relative; display: flex; align-items: center; }
.num-wrap input { padding-right: 76px; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 18px; min-height: 52px; }
.num-wrap span { position: absolute; right: 14px; font-size: 13.5px; color: var(--muted); pointer-events: none; }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 44px; cursor: pointer; }
.select-wrap .ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-3); width: 18px; height: 18px; }
select option { color: #14201f; background: #fff; }

.apply-split { align-items: start; }
.apply { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 24px 20px; box-shadow: var(--sh-2); }
@media (min-width: 720px) { .apply { padding: 36px; } }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } }
.agree { position: relative; display: flex !important; align-items: flex-start !important; flex-wrap: nowrap !important; gap: 12px !important; font-weight: 500 !important; cursor: pointer; min-height: 44px; padding: 10px 0; line-height: 1.6; }
.agree input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; top: 10px; left: 0; cursor: pointer; }
.agree .box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line-2); background: var(--surface); display: grid; place-items: center; color: transparent; transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease); }
.agree .box .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.agree:hover .box { border-color: var(--muted); }
.agree input:checked + .box { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.agree input:focus-visible + .box { box-shadow: 0 0 0 3px var(--focus); border-color: var(--brand-2); }
.agree input[aria-invalid="true"] + .box { border-color: var(--tenant); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tenant) 18%, transparent); }
.agree a { font-weight: 600; }
.agree .req { margin-left: 6px; vertical-align: 1px; }
.form-foot { margin-top: 4px; }
.form-foot .note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
#formMsg:empty { display: none; }
#formMsg { margin-top: 20px; }
.msg { display: block; border-radius: var(--r-card); padding: 18px 20px 18px 52px; font-size: 14.5px; line-height: 1.8; border: 1px solid; position: relative; color: var(--ink); overflow-wrap: anywhere; }
.msg::before { content: ""; position: absolute; left: 18px; top: 20px; width: 22px; height: 22px; border-radius: 50%; background: currentColor; -webkit-mask: var(--m) center / 22px no-repeat; mask: var(--m) center / 22px no-repeat; }
.msg h3 { font-size: 16px; margin: 0 0 4px; letter-spacing: -0.01em; }
.msg.ok { background: var(--owner-soft); border-color: color-mix(in srgb, var(--owner) 30%, transparent); }
.msg.ok::before { color: var(--owner); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.7 2.7L16 9.8'/%3E%3C/svg%3E"); }
.msg.err { background: var(--tenant-soft); border-color: color-mix(in srgb, var(--tenant) 30%, transparent); }
.msg.err::before { color: var(--tenant); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5M12 16h.01'/%3E%3C/svg%3E"); }
.msg.info { background: var(--hold-soft); border-color: color-mix(in srgb, var(--hold) 30%, transparent); }
.msg.info::before { color: var(--hold); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3.5 7l8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.msg a { font-weight: 600; }
.shop-id { font-family: var(--mono); font-weight: 700; background: var(--surface); padding: 1px 6px; border-radius: 5px; }

/* ==========================================================================
   ONBOARDING — stepper
   ========================================================================== */
.onb-badge { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: var(--owner-soft); color: var(--owner); font-weight: 700; font-size: 14px; }
.onb-badge .ic { width: 18px; height: 18px; }
.onb { list-style: none; display: grid; gap: 0; counter-reset: none; }
.onb li { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding-bottom: 28px; }
.onb li::before { content: ""; position: absolute; left: 19.5px; top: 44px; bottom: 4px; width: 1px; background: var(--line-2); }
.onb li:last-child::before { display: none; }
.onb-n { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: "Inter", var(--font); font-weight: 700; font-size: 15px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); box-shadow: var(--sh-1); }
.onb li:last-child .onb-n { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.onb h3 { font-size: 16.5px; line-height: 1.5; padding-top: 7px; }
.onb p { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
@media (min-width: 960px) {
  .onb { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .onb li { grid-template-columns: 1fr; padding-bottom: 0; }
  .onb li::before { left: 52px; right: -20px; top: 19.5px; bottom: auto; width: auto; height: 1px; }
  .onb-n { grid-row: auto; margin-bottom: 20px; }
  .onb h3 { padding-top: 0; }
}
.onb-guide { margin-top: 32px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 4px; font-weight: 600; font-size: 16px; line-height: 1.6; transition: color var(--t) var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-text); }
.faq summary .chev { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); transition: transform var(--t) var(--ease), background-color var(--t) var(--ease); }
.faq details[open] summary .chev { transform: rotate(180deg); background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.faq .ans { padding: 0 52px 24px 4px; color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.faq .ans p + p { margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) { .faq details[open] .ans { animation: faqIn 240ms var(--ease); } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   CLOSING
   ========================================================================== */
.closing { padding: 0 0 var(--sec-y); }
.closing-card { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); color: var(--on-deep); border-radius: var(--r-panel); padding: clamp(48px, 7vw, 88px) 24px; text-align: center; box-shadow: var(--sh-3); }
.closing-bg { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 50% 120%, rgba(227,155,45,.28), transparent 70%), radial-gradient(40% 60% at 10% 0%, rgba(47,138,139,.5), transparent 70%); }
.closing-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(244,239,230,.14) 1px, transparent 1.2px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 80%); }
.closing h2 { color: var(--on-deep); font-size: clamp(26px, 4.4vw, 44px); line-height: 1.3; }
.closing p { margin-top: 14px; color: var(--on-deep-2); }
.closing .cta-row { margin-top: 32px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ftr { border-top: 1px solid var(--line); background: var(--surface-2); padding: 48px 0 32px; font-size: 14px; color: var(--ink-2); }
.ftr-grid { display: grid; gap: 28px; }
.ftr .logo { color: var(--ink); margin: 0 0 8px; }
.ftr-brand p { margin-top: 4px; font-size: 13.5px; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 4px 4px; align-content: start; }
.ftr-nav a { color: var(--ink-2); text-decoration: none; padding: 10px 12px; margin-left: -12px; margin-right: 8px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; }
.ftr-nav a:hover { color: var(--ink); background: var(--surface); }
.copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.8; }
@media (min-width: 860px) { .ftr-grid { grid-template-columns: 1fr auto; } .ftr-nav { justify-content: flex-end; max-width: 520px; } .ftr-nav a { margin-left: 0; margin-right: 0; } }

/* ==========================================================================
   LEGAL + GUIDE — reading layout
   ========================================================================== */
.page-top { background: var(--bg); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); }
.legal { padding: 0 0 clamp(64px, 8vw, 104px); }
.doc { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.doc > h1 { font-size: clamp(28px, 4.6vw, 40px); line-height: 1.3; padding-top: clamp(40px, 6vw, 72px); }
.doc > .upd { margin-top: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.doc > .upd + * { margin-top: 32px; }
.doc h2 { display: flex; align-items: baseline; gap: 10px; font-feature-settings: "palt"; font-size: clamp(18px, 2.4vw, 21px); margin: 48px 0 14px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.h-num { flex: none; font-family: "Inter", var(--font); font-size: .78em; font-weight: 700; letter-spacing: 0; color: var(--brand-text); background: var(--brand-soft); border-radius: 8px; padding: 2px 9px; font-variant-numeric: tabular-nums; }
.doc p { margin: 12px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.95; }
.doc ol, .doc ul { padding-left: 1.5em; margin: 12px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.95; }
.doc li { margin: 6px 0; padding-left: 4px; }
.doc li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.doc b, .doc strong { color: var(--ink); }
.doc a { word-break: break-all; }
.doc table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; line-height: 1.8; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 18px; border-top: 1px solid var(--line); white-space: pre-line; color: var(--ink-2); }
.doc tr:first-child > * { border-top: 0; }
.doc th { width: 30%; background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: 14px; border-right: 1px solid var(--line); }
.doc .ptable th, .doc .ptable td { white-space: normal; width: auto; }
.doc .ptable tr:first-child th { border-right: 0; }
.doc .ptable td { font-variant-numeric: tabular-nums; }
.doc .note { font-size: 13.5px; color: var(--muted); }
@media (max-width: 639px) {
  .doc table.kv, .doc table.kv tbody, .doc table.kv tr, .doc table.kv th, .doc table.kv td { display: block; width: 100%; }
  .doc table.kv { border: 0; background: transparent; border-radius: 0; overflow: visible; }
  .doc table.kv tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; background: var(--surface); }
  .doc table.kv th { border: 0; border-bottom: 1px solid var(--line); padding: 10px 16px; white-space: normal; }
  .doc table.kv td { border: 0; padding: 12px 16px; }
  .doc .ptable { display: block; overflow-x: auto; }
  .doc .ptable th, .doc .ptable td { padding: 10px 12px; font-size: 13.5px; }
}

/* guide */
.guide .toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 24px; margin-top: 32px; box-shadow: var(--sh-1); }
.guide .toc b { display: block; font-size: 12px; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.guide .toc ol { margin: 0; padding-left: 1.4em; }
.guide .toc li { margin: 2px 0; }
.guide .toc a { color: var(--ink); text-decoration: none; display: inline-block; padding: 6px 0; font-weight: 500; }
.guide .toc a:hover { color: var(--brand-text); text-decoration: underline; }
.guide ol.steps-list { list-style: none; counter-reset: st; padding-left: 0; }
.guide ol.steps-list > li { counter-increment: st; position: relative; padding-left: 44px; margin: 0 0 18px; }
.guide ol.steps-list > li::before { content: counter(st); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); font-family: "Inter", var(--font); font-weight: 700; font-size: 13px; line-height: 1; }
.guide code, .guide kbd { font-family: var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .88em; color: var(--ink); word-break: break-all; }
.guide textarea { width: 100%; height: 240px; margin-top: 8px; font: 12.5px/1.6 var(--mono); border: 1px solid var(--line-2); border-radius: var(--r-ctl); padding: 14px; background: var(--surface-2); color: var(--ink); box-shadow: none; }
.guide .tip { display: flex; gap: 12px; background: var(--hold-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--hold) 25%, transparent); border-radius: var(--r-card); padding: 16px 18px; margin: 20px 0; font-size: 14.5px; line-height: 1.85; }
.guide .tip::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; background: var(--hold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center / 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center / 20px no-repeat; }
.guide .copy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 12px 0 4px; }
.guide #copied { font-size: 13.5px; color: var(--owner); font-weight: 600; }
.guide small { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* print */
@media print {
  .hdr, .drawer, .scrim, .ftr, .closing, .skip { display: none !important; }
  body { background: #fff; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   30秒CMプレーヤー
   ========================================================= */
.cm-sec { padding-top: clamp(40px, 6vw, 80px); }
.cm-player {
  position: relative; max-width: 880px; margin: 0 auto; border-radius: 22px; overflow: hidden;
  background: var(--deep-2); color: var(--on-deep); box-shadow: var(--sh-3);
  container-type: inline-size; isolation: isolate;
}
.cm-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #174a4b 0%, var(--deep-2) 60%); }
@media (max-width: 560px) { .cm-stage { aspect-ratio: 1 / 1; } }
.cm-player[data-state="drop"] .cm-stage,
.cm-player[data-state="bright"] .cm-stage { background: radial-gradient(120% 90% at 70% 10%, #2a7a7b 0%, #0f3d3e 55%, #0b2f30 100%); }
.cm-player[data-state="dark"] .cm-stage { background: radial-gradient(120% 100% at 50% 30%, #1c2a2a 0%, #0c1414 70%); }

.cm-scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.5cqw; padding: 6cqw; text-align: center; opacity: 0; transform: scale(1.03); transition: opacity .45s ease, transform .9s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.cm-scene.on { opacity: 1; transform: none; }
.cm-big { margin: 0; word-break: keep-all; font-size: clamp(22px, 6.2cqw, 54px); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.cm-mid { margin: 0; word-break: keep-all; text-wrap: balance; font-size: clamp(15px, 3.6cqw, 30px); font-weight: 700; line-height: 1.45; }
.cm-sub { margin: 0; font-size: clamp(18px, 4.4cqw, 38px); font-weight: 700; opacity: 0; transform: translateY(8px); transition: all .5s .45s; }
.cm-s3.on .cm-sub { opacity: 1; transform: none; }

/* 0 部屋 */
.cm-room { width: 38cqw; max-width: 300px; fill: none; stroke: rgba(244,239,230,.35); stroke-width: 2; stroke-linejoin: round; }
.cm-s0 .cm-big { opacity: .92; }
/* 1 傷と問い */
.cm-wall { position: relative; width: 58cqw; height: 22cqw; border-radius: 1.4cqw; background: linear-gradient(180deg, #e9e4d8, #d9d2c2); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.cm-scratch { position: absolute; left: 30%; top: 40%; width: 34%; height: 3px; background: #6b5a45; border-radius: 2px; transform: rotate(-12deg) scaleX(0); transform-origin: left; transition: transform .7s .15s cubic-bezier(.2,.8,.2,1); box-shadow: 0 5px 0 -1px rgba(107,90,69,.5); }
.cm-s1.on .cm-scratch { transform: rotate(-12deg) scaleX(1); }
.cm-q { display: flex; align-items: center; gap: 2.4cqw; }
.cm-vs { font-size: clamp(12px, 2.4cqw, 20px); opacity: .7; }
.cm-pill { display: inline-flex; align-items: center; padding: .5em 1em; border-radius: 999px; font-weight: 700; font-size: clamp(16px, 3.8cqw, 32px); }
.cm-pill.t { background: #fbebe7; color: #b3412f; }
.cm-pill.o { background: #e5f1ea; color: #2c6b4c; }
.cm-pill.sm { font-size: clamp(11px, 1.9cqw, 16px); padding: .35em .8em; }
.cm-s1 .cm-pill { animation: none; }
.cm-s1.on .cm-pill.t { animation: cm-sway 1.6s ease-in-out infinite; }
.cm-s1.on .cm-pill.o { animation: cm-sway 1.6s .8s ease-in-out infinite; }
@keyframes cm-sway { 50% { transform: translateY(-6%) scale(1.04); } }
/* 2 時計と書類 */
.cm-clock { width: 17cqw; max-width: 140px; fill: none; stroke: #f4efe6; stroke-width: 4; stroke-linecap: round; }
.cm-clock .m { transform-origin: 50px 50px; }
.cm-s2.on .cm-clock .m { animation: cm-spin 1.2s linear infinite; }
.cm-clock .h { transform-origin: 50px 50px; }
.cm-s2.on .cm-clock .h { animation: cm-spin 14s linear infinite; }
@keyframes cm-spin { to { transform: rotate(360deg); } }
.cm-papers { position: absolute; right: 12cqw; top: 18%; width: 13cqw; height: 16cqw; }
.cm-papers i { position: absolute; inset: 0; background: #f4efe6; border-radius: 4px; opacity: .85; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.cm-papers i:nth-child(1) { transform: rotate(-9deg) translate(-12%, 6%); opacity: .5; }
.cm-papers i:nth-child(2) { transform: rotate(5deg) translate(8%, 2%); opacity: .7; }
/* 3 ロゴ登場 */
.cm-burst { position: absolute; inset: -20%; background: radial-gradient(closest-side, rgba(240,174,74,.55), transparent 70%); opacity: 0; transform: scale(.4); transition: all .9s cubic-bezier(.2,.8,.2,1); }
.cm-s3.on .cm-burst { opacity: 1; transform: scale(1.1); }
.cm-logo { position: relative; display: inline-flex; align-items: center; gap: 2.2cqw; font-size: clamp(30px, 9cqw, 84px); font-weight: 800; letter-spacing: -.03em; }
.cm-logo svg { width: 1.15em; height: 1.15em; border-radius: .25em; box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.cm-s3 .cm-logo { transform: scale(.8); opacity: 0; transition: all .7s .1s cubic-bezier(.2,1.4,.3,1); }
.cm-s3.on .cm-logo { transform: none; opacity: 1; }
/* 4 スマホ */
.cm-phone { width: 30cqw; max-width: 250px; aspect-ratio: 9 / 16; max-height: 64%; border-radius: 3.4cqw; background: #f6f5f1; padding: 1.6cqw; box-shadow: 0 0 0 .8cqw #10302f, 0 20px 50px rgba(0,0,0,.4); display: flex; flex-direction: column; gap: 1.4cqw; color: #14201f; text-align: left; }
@media (max-width: 560px) { .cm-phone { width: 42cqw; } }
.cm-photo { position: relative; flex: 1; border-radius: 1.6cqw; background: linear-gradient(160deg, #d8cdb5, #c7b89a); overflow: hidden; }
.cm-shot { position: absolute; inset: 0; background: #fff; opacity: 0; }
.cm-s4.on .cm-shot { animation: cm-flash .5s .3s ease-out; }
@keyframes cm-flash { 0% { opacity: .9; } 100% { opacity: 0; } }
.cm-card { background: #fff; border-radius: 1.4cqw; padding: 1.4cqw; display: grid; gap: .5cqw; font-size: clamp(10px, 1.8cqw, 15px); box-shadow: 0 2px 8px rgba(0,0,0,.08); opacity: 0; transform: translateY(12px); transition: all .5s 1.1s cubic-bezier(.2,.8,.2,1); }
.cm-card b { font-size: 1.15em; }
.cm-card small { color: #5f6a68; line-height: 1.45; }
.cm-s4.on .cm-card { opacity: 1; transform: none; }
.cm-ai { font-size: clamp(14px, 3.2cqw, 26px); font-weight: 700; display: flex; align-items: center; gap: .5em; }
.cm-spark { color: #f0ae4a; }
.cm-s4 { flex-direction: row; gap: 5cqw; }
@media (max-width: 560px) { .cm-s4 { flex-direction: column; gap: 3cqw; } }
/* 5 精算書 */
.cm-doc { width: 46cqw; max-width: 380px; background: #fff; color: #1c1c1c; border-radius: 6px; padding: 2.6cqw; display: grid; gap: 1.4cqw; box-shadow: 0 20px 50px rgba(0,0,0,.35); text-align: left; }
@media (max-width: 560px) { .cm-doc { width: 70cqw; } }
.cm-doc-t { font-size: clamp(13px, 2.4cqw, 20px); letter-spacing: .3em; text-align: center; border-bottom: 2px solid #1c1c1c; padding-bottom: .6cqw; }
.cm-doc-rows { display: grid; gap: .9cqw; }
.cm-doc-rows i { display: block; height: .9cqw; min-height: 6px; background: #e8e6df; border-radius: 3px; }
.cm-doc-rows i:nth-child(2) { width: 80%; } .cm-doc-rows i:nth-child(3) { width: 60%; }
.cm-doc-sum { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 3px double #1c1c1c; padding-bottom: .4cqw; font-size: clamp(11px, 2cqw, 16px); }
.cm-doc-sum b { font-size: 1.5em; font-variant-numeric: tabular-nums; }
.cm-sign { width: 60%; justify-self: end; fill: none; stroke: #1a3fa0; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.cm-s5.on .cm-sign { transition: stroke-dashoffset 1.6s 1.2s ease-in-out; stroke-dashoffset: 0; }
.cm-s5 { flex-direction: row; gap: 4cqw; }
@media (max-width: 560px) { .cm-s5 { flex-direction: column; gap: 3cqw; } }
/* 6 ブランド */
.cm-kicker { margin: 0; font-size: clamp(18px, 4.6cqw, 40px); font-weight: 700; opacity: .85; }
.cm-word { margin: 0; font-size: clamp(44px, 14cqw, 130px); font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, #fff, #f0d6a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cm-s6 .cm-word { transform: scale(.92); transition: transform 2.4s cubic-bezier(.2,.8,.2,1); }
.cm-s6.on .cm-word { transform: scale(1); }
/* 7 無料 */
.cm-free { margin: 0; font-size: clamp(22px, 6cqw, 52px); font-weight: 700; }
.cm-free b { font-size: 2.4em; color: #f0ae4a; margin-right: .08em; font-variant-numeric: tabular-nums; }
.cm-free2 { margin: 0; font-size: clamp(20px, 5cqw, 44px); font-weight: 800; }
.cm-note { margin: 0; font-size: clamp(12px, 2.2cqw, 18px); opacity: .75; }
/* 8 エンド */
.cm-logo.lg { font-size: clamp(34px, 10cqw, 96px); }
.cm-url { margin: 0; font-size: clamp(14px, 3cqw, 26px); letter-spacing: .08em; opacity: .85; }

/* 字幕 */
.cm-caption { position: absolute; left: 0; right: 0; bottom: 64px; margin: 0; padding: 0 5cqw; text-align: center; font-size: clamp(12px, 2.1cqw, 17px); font-weight: 600; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.7); min-height: 1.6em; pointer-events: none; opacity: 0; transition: opacity .2s; }
.cm-player[data-state]:not([data-state="idle"]):not([data-state="ended"]) .cm-caption { opacity: 1; }

/* ポスター（最初の再生ボタン） */
.cm-poster { position: absolute; inset: 0; bottom: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 0; background: linear-gradient(180deg, rgba(11,47,48,.35), rgba(11,47,48,.75)); color: #f4efe6; cursor: pointer; font: inherit; }
.cm-poster:focus-visible { outline: 3px solid #f0ae4a; outline-offset: -6px; }
.cm-play-ic { width: 76px; height: 76px; border-radius: 50%; background: #e39b2d; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 10px rgba(227,155,45,.18); transition: transform .2s; }
.cm-poster:hover .cm-play-ic { transform: scale(1.06); }
.cm-play-ic svg { width: 34px; height: 34px; fill: #1b1406; margin-left: 4px; }
.cm-poster-t { font-weight: 700; font-size: 17px; display: grid; gap: 2px; }
.cm-poster-t small { font-weight: 500; font-size: 12px; opacity: .8; }
.cm-player:not([data-state="idle"]) .cm-poster { display: none; }
.cm-player[data-state="idle"] .cm-s8 { opacity: .22; transform: none; filter: blur(2px); }

/* 終了後 */
.cm-end { position: absolute; inset: 0; bottom: 56px; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 20px; background: rgba(11,47,48,.86); backdrop-filter: blur(4px); text-align: center; }
.cm-end p { margin: 0; font-size: clamp(18px, 3.6cqw, 28px); font-weight: 700; }
.cm-end-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cm-end .btn { min-height: 46px; }
.cm-player[data-state="ended"] .cm-end { display: flex; }

/* 操作バー */
.cm-controls { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 14px; background: #0a2627; border-top: 1px solid rgba(244,239,230,.08); }
.cm-btn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #f4efe6; cursor: pointer; }
.cm-btn:hover { background: rgba(244,239,230,.1); }
.cm-btn svg { width: 22px; height: 22px; fill: currentColor; }
.cm-toggle .ic-play { display: none; }
.cm-player.paused .cm-toggle .ic-play, .cm-player[data-state="idle"] .cm-toggle .ic-play, .cm-player[data-state="ended"] .cm-toggle .ic-play { display: block; }
.cm-player.paused .cm-toggle .ic-pause, .cm-player[data-state="idle"] .cm-toggle .ic-pause, .cm-player[data-state="ended"] .cm-toggle .ic-pause { display: none; }
.cm-mute .ic-x { display: none; }
.cm-player.muted .cm-mute .ic-x { display: block; }
.cm-player.muted .cm-mute .ic-wave { display: none; }
.cm-bar { position: relative; flex: 1; height: 28px; cursor: pointer; }
.cm-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 999px; background: rgba(244,239,230,.18); }
.cm-bar i { position: absolute; left: 0; top: 12px; height: 4px; width: 0; border-radius: 999px; background: #f0ae4a; }
.cm-bar:focus-visible { outline: 2px solid #f0ae4a; outline-offset: 2px; border-radius: 6px; }
.cm-time { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .8; white-space: nowrap; }

.cm-script { max-width: 880px; margin: 16px auto 0; font-size: 14px; color: var(--muted); }
.cm-script summary { cursor: pointer; font-weight: 600; color: var(--ink-2, var(--ink)); }
.cm-script ol { margin: 10px 0; padding-left: 1.4em; line-height: 1.9; color: var(--ink); }
.cm-credit { font-size: 12px; margin: 6px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .cm-scene, .cm-scene * { transition: opacity .2s !important; animation: none !important; }
}
@media (max-width: 560px) { .cm-caption { display: none; } }

/* ---------- 販売パートナー募集（partner.html） ---------- */
.pt-hero-in { max-width: 760px; }
.pt-keys { display: grid; gap: 12px; margin: 40px 0 0; }
@media (min-width: 720px) { .pt-keys { grid-template-columns: repeat(3, 1fr); } }
.pt-keys > div { padding: 16px 18px; border: 1px solid var(--on-deep-line); border-radius: 14px; background: rgba(255,255,255,.04); }
.pt-keys dt { font-size: 13px; color: var(--on-deep-2); }
.pt-keys dd { margin: 4px 0 0; color: var(--on-deep); font-size: 15px; }
.pt-keys dd b { color: var(--accent); font-size: 1.25em; }
.pt-steps { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 16px; max-width: 1040px; }
@media (min-width: 900px) { .pt-steps { grid-template-columns: repeat(3, 1fr); } }
.pt-steps li { display: flex; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--sh-1); }
.pt-steps b { font-size: 17px; }
.pt-steps p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.pt-no { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--deep); color: var(--on-deep); font-weight: 700; }
@media (min-width: 900px) { .plans:has(.pt-reward) { grid-template-columns: repeat(3, 1fr); } }
.pt-reward { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.plan .pt-reward:first-of-type { margin-top: 20px; border-top: 1px solid var(--line); }
.pt-reward b { font-size: 24px; }
.pt-reward small { font-size: 13px; font-weight: 600; margin-left: 2px; }
.pt-life { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.plan-rec .pt-reward { border-color: var(--on-deep-line); color: var(--on-deep-2); }
.plan-rec .pt-reward b, .plan-rec .pt-life b { color: var(--on-deep); }
.plan-rec .pt-life { color: var(--on-deep-2); }
.pt-sim { max-width: 1040px; margin: 40px auto 0; padding: 24px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--sh-1); }
@media (min-width: 720px) { .pt-sim { padding: 32px; } }
.pt-sim h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.pt-sim h3 .ic { width: 22px; height: 22px; color: var(--brand-text); }
.pt-sim-in { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.pt-sim-in label { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.pt-sim-in select { width: auto; min-height: 44px; padding: 0 12px; font-size: 16px; }
.pt-sim-out { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 720px) { .pt-sim-out { grid-template-columns: 1fr 1fr; } }
.pt-sim-out > div { padding: 16px 20px; border-radius: 14px; background: var(--surface-2); display: flex; flex-direction: column; gap: 4px; }
.pt-sim-out span { font-size: 13.5px; color: var(--ink-2); }
.pt-sim-out b { font-size: clamp(26px, 4vw, 34px); color: var(--brand-text); }
.pt-sim .note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.pt-who { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .pt-who { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pt-who { grid-template-columns: repeat(3, 1fr); } }
.pt-who li { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.pt-who li > .ic { flex: none; width: 26px; height: 26px; color: var(--brand-text); }
.pt-who p { margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.pt-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: f; }
@media (min-width: 900px) { .pt-flow { grid-template-columns: repeat(5, 1fr); } }
.pt-flow li { counter-increment: f; display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.pt-flow li::before { content: "STEP " counter(f); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--brand-text); }
.pt-flow span { font-size: 13.5px; color: var(--ink-2); }
.pt-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 880px; }
.pt-rules li { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); font-size: 15px; line-height: 1.8; }
.pt-rules .ic { flex: none; width: 22px; height: 22px; margin-top: 3px; color: #b3412f; }
.partner #partner-apply .apply { max-width: 760px; margin: 0 auto; }

/* ---------- コラム・ツール ---------- */
.col .doc { max-width: 800px; }
.crumbs { padding-top: 20px; font-size: 13px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; }
.crumbs li { display: inline-flex; align-items: center; margin: 0; padding: 0; min-width: 0; }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand-text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.col .doc > h1 { padding-top: 20px; font-size: clamp(26px, 4.2vw, 36px); }
.col .doc > .crumbs + h1 { padding-top: 16px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.art-lead { margin-top: 20px !important; font-size: 16px !important; color: var(--ink) !important; }
.col .doc > .art-lead { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.col .toc { margin-top: 28px; }
.col .toc ol ol { margin: 0 0 4px; padding-left: 1.2em; list-style: none; }
.col .toc ol ol a { font-weight: 400; font-size: 14px; color: var(--ink-2); padding: 3px 0; }
.col .doc h2 { margin-top: 56px; padding-top: 4px; }
.col .doc h3 { font-size: clamp(16px, 2vw, 18px); margin: 32px 0 10px; padding-left: 12px; border-left: 3px solid var(--accent); line-height: 1.5; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.col .doc figure { margin: 20px 0; }
.col .doc figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.7; }

/* 表：狭い画面では横スクロール */
.table-wrap { margin: 16px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.table-wrap:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.doc .table-wrap table { margin: 0; border: 0; border-radius: 0; overflow: visible; min-width: 560px; }
.doc .table-wrap table.narrow { min-width: 0; }
.doc table.dt th, .doc table.dt td { width: auto; white-space: normal; padding: 11px 14px; font-size: 14px; line-height: 1.75; border-right: 1px solid var(--line); }
.doc table.dt tr > *:last-child { border-right: 0; }
.doc table.dt thead th { background: var(--surface-2); color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.doc table.dt tbody th { background: var(--surface); font-weight: 600; font-size: 14px; }
.doc table.dt td.n, .doc table.dt th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc table.dt tfoot td, .doc table.dt tfoot th { background: var(--surface-2); color: var(--ink); font-weight: 700; border-top: 1px solid var(--line-2); }
.table-cap { font-size: 12.5px; color: var(--muted); margin: -6px 0 16px !important; line-height: 1.7 !important; }
.b-tenant, .b-owner, .b-hold { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 6px; white-space: nowrap; line-height: 1.7; }
.b-tenant { background: var(--tenant-soft); color: var(--tenant); }
.b-owner { background: var(--owner-soft); color: var(--owner); }
.b-hold { background: var(--hold-soft); color: var(--hold); }

/* 要点まとめ・注記・式 */
.keypoints { margin: 28px 0; padding: 20px 22px; border-radius: var(--r-card); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand-2) 22%, transparent); }
.keypoints > b { display: flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .06em; color: var(--brand-text); }
.keypoints > b .ic { width: 18px; height: 18px; }
.doc .keypoints ul { list-style: none; padding: 0; margin: 10px 0 0; }
.doc .keypoints li { position: relative; padding-left: 26px; margin: 6px 0; color: var(--ink); font-size: 15px; line-height: 1.85; }
.doc .keypoints li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--brand-text); border-bottom: 2px solid var(--brand-text); transform: rotate(-45deg); }
.disclaimer { margin: 36px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }
.disclaimer b { color: var(--ink); }
.formula { margin: 18px 0; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--sh-1); font-size: 15.5px; line-height: 1.9; color: var(--ink); font-weight: 600; text-align: center; }
.formula small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 4px; }
.calc-ex { margin: 16px 0; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.calc-ex h4 { font-size: 15px; margin-bottom: 8px; }
.doc .calc-ex p { margin: 6px 0; font-size: 14.5px; line-height: 1.85; }
.calc-ex .ans { color: var(--ink); font-weight: 700; }
.chart-fig { padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.chart-fig svg { width: 100%; height: auto; }
.chart-fig .ax { stroke: var(--line-2); stroke-width: 1; fill: none; }
.chart-fig .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; fill: none; }
.chart-fig .l1 { stroke: var(--brand-2); stroke-width: 2.5; fill: none; }
.chart-fig .l2 { stroke: var(--accent); stroke-width: 2.5; fill: none; stroke-dasharray: 7 5; }
.chart-fig text { fill: var(--muted); font-size: 13px; font-family: var(--font); }
.chart-fig .lab1 { fill: var(--brand-text); font-weight: 700; }
.chart-fig .lab2 { fill: var(--accent-2); font-weight: 700; }
.chart-fig .dot1 { fill: var(--brand-2); }
.chart-fig .dot2 { fill: var(--accent); }
.flow-steps { list-style: none; counter-reset: fs; padding: 0 !important; margin: 18px 0 !important; display: grid; gap: 10px; }
.doc .flow-steps li { counter-increment: fs; position: relative; margin: 0; padding: 14px 16px 14px 56px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 14.5px; line-height: 1.8; }
.flow-steps li::before { content: counter(fs); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: var(--on-deep); font-weight: 700; font-size: 13px; font-family: "Inter", var(--font); }
.flow-steps b { display: block; }

/* 記事末 CTA・関連記事 */
.art-cta { margin: 48px 0 0; padding: 28px 24px; border-radius: var(--r-panel); background: var(--deep); color: var(--on-deep); box-shadow: var(--sh-2); }
@media (min-width: 720px) { .art-cta { padding: 36px 40px; } }
.art-cta .eyebrow { color: #a9d6d3; margin-bottom: 10px; }
.doc .art-cta h2 { display: block; margin: 0; color: var(--on-deep); font-size: clamp(20px, 3vw, 26px); }
.doc .art-cta p { color: var(--on-deep-2); font-size: 15px; }
.doc .art-cta ul { list-style: none; padding: 0; margin: 14px 0 0; }
.doc .art-cta li { display: flex; gap: 10px; color: var(--on-deep); font-size: 15px; padding-left: 0; }
.art-cta li .ic { width: 20px; height: 20px; margin-top: 5px; color: var(--accent); stroke-width: 2.25; }
.art-cta .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 479px) { .art-cta .cta-row .btn { flex: 1 1 100%; } }
.doc .art-cta a.btn { word-break: normal; }
.related { margin-top: 44px; }
.doc .related h2 { margin-top: 0; }
.rel-list { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 10px; }
@media (min-width: 640px) { .rel-list { grid-template-columns: 1fr 1fr; } }
.doc .rel-list li { margin: 0; padding: 0; }
.rel-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.6; word-break: normal; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.rel-list a:hover { border-color: var(--brand-2); box-shadow: var(--sh-2); }
.rel-list a .ic { width: 18px; height: 18px; color: var(--brand-text); }
.rel-list small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.tool-banner { display: flex; align-items: center; gap: 14px; margin: 24px 0; padding: 16px 18px; border-radius: var(--r-card); border: 1px dashed color-mix(in srgb, var(--brand-2) 45%, transparent); background: var(--surface); color: var(--ink); text-decoration: none; word-break: normal !important; }
.tool-banner:hover { border-style: solid; box-shadow: var(--sh-2); }
.tool-banner > .ic { width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-text); }
.tool-banner span { flex: 1; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.tool-banner b { display: block; color: var(--ink); font-size: 15px; }
.src-list { font-size: 13.5px !important; }
.src-list li { word-break: break-all; }

/* コラム一覧 */
.col-hero { padding-bottom: 8px; }
.col-grid { list-style: none; padding: 0 !important; margin: 28px 0 0 !important; display: grid; gap: 16px; }
@media (min-width: 720px) { .col-grid { grid-template-columns: 1fr 1fr; } }
.doc .col-grid > li { margin: 0; padding: 0; }
.col-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: var(--ink); text-decoration: none; word-break: normal !important; box-shadow: var(--sh-1); transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.col-card:hover { border-color: var(--brand-2); box-shadow: var(--sh-2); transform: translateY(-2px); }
.col-card .tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--brand-text); background: var(--brand-soft); padding: 2px 9px; border-radius: 6px; }
.col-card .tag.tool { color: var(--accent-2); background: var(--accent-soft); }
.col-card h2 { display: block !important; margin: 4px 0 0 !important; font-size: 17.5px !important; line-height: 1.5; }
.col-card p { margin: 0 !important; font-size: 14px !important; line-height: 1.8 !important; color: var(--ink-2); flex: 1; }
.col-card .more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--brand-text); }
.col-card .more .ic { width: 16px; height: 16px; }

/* 耐用年数ツール */
.tool-box { margin: 28px 0; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--sh-2); }
@media (min-width: 720px) { .tool-box { padding: 32px; } }
.tool-form { display: grid; gap: 18px; }
@media (min-width: 640px) { .tool-form { grid-template-columns: 1fr 1fr; } .tool-form .full { grid-column: 1 / -1; } }
.tool-form input[type="date"] { width: 100%; min-height: 48px; padding: 11px 14px; font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-ctl); box-shadow: var(--sh-1); -webkit-appearance: none; appearance: none; font-variant-numeric: tabular-nums; }
.tool-form .num-wrap input { padding-right: 56px; }
.mat-info { font-size: 13px; color: var(--ink-2); background: var(--surface-2); border-radius: 10px; padding: 10px 14px; line-height: 1.75; }
.mat-info b { color: var(--ink); }
.tool-out { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.tool-out[hidden] { display: none; }
.out-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .out-grid { grid-template-columns: repeat(3, 1fr); } }
.out-grid > div { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.out-grid span { font-size: 12.5px; color: var(--ink-2); }
.out-grid b { font-size: clamp(22px, 3.6vw, 28px); font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.out-grid .o-tenant { background: var(--tenant-soft); }
.out-grid .o-tenant b { color: var(--tenant); }
.out-grid .o-owner { background: var(--owner-soft); }
.out-grid .o-owner b { color: var(--owner); }
.bar { margin: 16px 0 6px; height: 14px; border-radius: 999px; background: var(--owner-soft); overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; background: var(--tenant); transition: width var(--t) var(--ease); }
.bar-legend { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); }
.out-steps { margin-top: 14px; font-size: 14px; color: var(--ink-2); line-height: 1.9; font-variant-numeric: tabular-nums; }
.out-steps b { color: var(--ink); }
.out-note { margin-top: 10px; font-size: 13px; color: var(--hold); line-height: 1.75; }
.out-note:empty { display: none; }
.tool-err { margin-top: 14px; font-size: 14px; color: var(--tenant); font-weight: 600; }
.tool-err:empty { display: none; }
.tool-form .field[hidden] { display: none; }
@media (min-width: 640px) { .tool-form .field:not(.full) { grid-template-rows: 1fr auto; } .tool-form .field:not(.full) label { align-self: end; } }
.doc table.dt.two th, .doc table.dt.two td { width: 50%; }

/* ---------- 無料資料ダウンロード（download/） ---------- */
.dl-grid { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; }
@media (min-width: 720px) { .dl-grid { grid-template-columns: 1fr 1fr; } }
.dl-card { position: relative; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--sh-1); }
.dl-card h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-top: 10px; }
.dl-card h2 .ic { width: 24px; height: 24px; color: var(--brand-text); }
.dl-card p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.dl-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--brand-text); }
.dl-apply { max-width: 760px; margin: 32px auto 0; }
.dl-h { display: flex; align-items: center; gap: 8px; font-size: 20px; margin-bottom: 18px; }
.dl-h .ic { width: 22px; height: 22px; color: var(--brand-text); }
.dl-done p { color: var(--ink-2); }
.dl-done .cta-row { margin: 18px 0 16px; }
.dl-done .note, .dl-apply .note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.dl-inline { margin-top: 16px; font-size: 14px; }
.dl-inline a { font-weight: 700; }

/* ---------- 導入モニター募集 ---------- */
.monitor-ribbon { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(227,155,45,.16); border: 1px solid rgba(227,155,45,.5); color: var(--on-deep); font-size: 13.5px; text-decoration: none; }
.monitor-ribbon b { color: var(--accent); }
.monitor-ribbon .ic { width: 16px; height: 16px; }
.monitor-ribbon:hover { background: rgba(227,155,45,.26); }
.monitor { display: grid; gap: 28px; align-items: start; max-width: 1040px; margin: 0 auto; }
@media (min-width: 900px) { .monitor { grid-template-columns: 1.15fr 1fr; gap: 44px; } }
.monitor-copy .lead { margin-top: 14px; }
.monitor-copy .checks { margin-top: 20px; }
.monitor-card { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--r-panel); padding: 26px 24px; box-shadow: var(--sh-2); }
.monitor-card h3 { font-size: 18px; }
.monitor-card ol { margin: 14px 0 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
.monitor-card .note { margin: 14px 0 18px; font-size: 13px; color: var(--muted); }
.field-note { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
