/* ==========================================================================
   Lumina Studio — design system (Phase 1 / v3 art direction)
   Sources: Lumina_Studio_Art_Direction_Implementation_v3.yaml
            Lumina_Studio_Interaction_Patterns_v3.css (adapted: renamed selectors, a11y fixes)
   Direction: Strategic Showcase × Editorial Craft × Refined Motion
   - Tokens: background #FAF8F3 / surface #FFFDF9 / text #171714 / muted #6A645B /
     bronze #8F6C35 / bronze_deep #765629 / gold_on_dark #C6A15A / hairline #D9D1C4
   - Type: Zen Kaku Gothic New (primary) + Cormorant Garamond (Latin display, numerals)
   - Radius: controls 4px / media <= 8px (6px) / structure 0 — no pill or large rounded cards
   - Motion: transform / opacity / clip / SVG stroke, cubic-bezier(.22,1,.36,1), 480–750ms,
     every animation has a prefers-reduced-motion fallback.
   ========================================================================== */

:root {
  --bg: #FAF8F3;
  --surface: #FFFDF9;
  --surface-2: #F3EFE7;
  --ink: #171714;
  --ink-2: #6A645B;          /* muted: 5.5:1 on background */
  --ink-3: #8C857A;          /* large decorative numerals / control borders: >= 3:1 */
  --accent: #8F6C35;         /* bronze: lines, large type, fills */
  --accent-deep: #765629;    /* bronze_deep */
  --accent-ink: #765629;     /* small accent text: >= 5.8:1 on every light surface */
  --gold: #C6A15A;           /* gold_on_dark */
  --sakura: #D6A3A9;         /* English hero only */
  --dark: #171714;
  --on-dark: #FAF8F3;
  --on-dark-2: #BDB6A9;
  --rule: #D9D1C4;           /* hairline */
  --rule-dark: rgba(250, 248, 243, 0.18);

  --font-jp: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 680ms;
  --dur-fast: 320ms;

  --radius-control: 4px;
  --radius-media: 6px;
  --shadow-media: 0 24px 60px rgba(23, 23, 20, 0.09);
  --shadow-media-dark: 0 24px 60px rgba(23, 23, 20, 0.12);

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(112px, 11vw, 160px);
  --header-h: 72px;
}

/* Dark contexts use gold as the accent so small accent text keeps its contrast */
.section--dark, .on-dark, .cta-band, .site-footer, .credit, .hero-en {
  --accent: var(--gold);
  --accent-ink: var(--gold);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.75; letter-spacing: 0; }
html[lang="en"] { --section-y: clamp(104px, 10vw, 152px); }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.45; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
address { font-style: normal; }
p, li, dd, figcaption, blockquote { text-wrap: pretty; }
/* Japanese: break lines at phrase boundaries where supported (falls back to normal breaking) */
html[lang="ja"] :is(h2, h3, p, li, dt, dd, figcaption, blockquote) { word-break: auto-phrase; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.on-dark :focus-visible, .section--dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--gold); }
::selection { background: rgba(169, 130, 69, 0.28); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-control);
  background: var(--ink); color: var(--on-dark); text-decoration: none; font-size: 0.875rem;
}
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section-y); }
.section--white { background: var(--surface); }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section + .section--rule { border-top: 1px solid var(--rule); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 20px; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
  font-size: 0.75rem; font-weight: 500; line-height: 1.4; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); flex: none; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--accent); }

.h2 {
  font-size: clamp(1.625rem, 1.1rem + 2vw, 2.5rem);
  line-height: 1.45; letter-spacing: 0.01em;
  word-break: keep-all; overflow-wrap: anywhere;
}
.h3 { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.55; letter-spacing: 0.02em; }
html[lang="en"] .h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.125rem, 1.35rem + 2.8vw, 3.375rem);
  line-height: 1.12; letter-spacing: -0.005em; text-wrap: balance;
}
html[lang="en"] .h3 { font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem); letter-spacing: 0; }
.lead {
  max-width: 40em;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem); line-height: 2;
  color: var(--ink-2);
}
html[lang="en"] .lead { line-height: 1.8; max-width: 38em; }
.section--dark .lead, .on-dark .lead { color: var(--on-dark-2); }
.prose { max-width: 42em; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15em; }
.prose strong { color: var(--ink); font-weight: 700; }
.section--dark .prose { color: var(--on-dark-2); }
.section--dark .prose strong { color: var(--on-dark); }
.note { font-size: 0.875rem; line-height: 1.9; color: var(--ink-2); }
.section--dark .note { color: var(--on-dark-2); }
.ja-keep { word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- buttons & links — Interaction Patterns v3 fill-sweep CTA (selector renamed to .btn) ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-dark);
  --btn-line: var(--ink);
  --btn-sweep: var(--accent-deep);
  --btn-sweep-fg: var(--on-dark);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 0.9rem;
  min-height: 3.25rem; padding: 0.85rem 1.25rem;
  border: 1px solid var(--btn-line); border-radius: var(--radius-control);
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-size: 0.9375rem; font-weight: 700; line-height: 1.45; letter-spacing: 0.04em;
  text-align: left; text-decoration: none; cursor: pointer;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: var(--btn-sweep);
  transform: translate3d(-101%, 0, 0);
  transition: transform 420ms var(--ease);
}
html[lang="en"] .btn { letter-spacing: 0.01em; }
.btn__arrow { display: inline-block; transition: transform 360ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--btn-sweep-fg); border-color: var(--btn-sweep); }
  .btn:hover::before { transform: translate3d(0, 0, 0); }
  .btn:hover .btn__arrow { transform: translate3d(0.28rem, 0, 0); }
}
/* Pattern used a light bronze mix for focus; a solid bronze_deep ring keeps >= 3:1 against ivory */
.btn:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 4px; }
.btn:focus-visible .btn__arrow { transform: translate3d(0.28rem, 0, 0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-line: var(--ink); --btn-sweep: var(--ink); --btn-sweep-fg: var(--on-dark); }
.section--dark .btn, .on-dark .btn, .cta-band .btn, .site-footer .btn {
  --btn-bg: var(--on-dark); --btn-fg: var(--ink); --btn-line: var(--on-dark); --btn-sweep: var(--gold); --btn-sweep-fg: var(--ink);
}
.section--dark .btn--ghost, .on-dark .btn--ghost, .cta-band .btn--ghost {
  --btn-bg: rgba(23, 23, 20, 0.6); --btn-fg: var(--on-dark); --btn-line: rgba(250, 248, 243, 0.55); --btn-sweep: var(--on-dark); --btn-sweep-fg: var(--ink);
}
.section--dark .btn:focus-visible, .on-dark .btn:focus-visible, .cta-band .btn:focus-visible, .site-footer .btn:focus-visible { outline-color: var(--gold); }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 0.95rem; font-size: 0.8125rem; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.actions--center { justify-content: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 1px; text-underline-offset: 6px;
  transition: text-decoration-color var(--dur-fast) var(--ease);
}
.text-link:hover { text-decoration-color: var(--ink); }
.section--dark .text-link, .on-dark .text-link { color: var(--on-dark); }

/* ---------- header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 239, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--max); height: var(--header-h); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; color: var(--ink); }
.brand__name { font-family: var(--font-display); font-size: 1.625rem; font-weight: 600; letter-spacing: 0.005em; }
.brand__by { margin-top: 5px; font-size: 0.625rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.site-nav__link {
  position: relative; padding: 8px 0;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink); text-decoration: none;
}
.site-nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur-fast) var(--ease);
}
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
/* Short EN labels (Home / Works) keep a 44px-wide target in the horizontal nav */
@media (min-width: 1025px) { .site-nav__link { min-width: 44px; text-align: center; } }
.site-nav__lang {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 44px;
  padding: 6px 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--ink-2); text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.site-nav__lang:hover { border-color: var(--ink); color: var(--ink); }
.menu-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 4px; border: 0; background: none;
  font: inherit; font-size: 0.8125rem; font-weight: 500; color: var(--ink); cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 22px; height: 12px; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform var(--dur-fast) var(--ease);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(5.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-5.25px) rotate(-45deg); }

@media (max-width: 1024px) {
  html.js .menu-toggle { display: inline-flex; }
  html.js .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 12px var(--gutter) 32px;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    opacity: 0; visibility: hidden; transform: translate3d(0, -8px, 0);
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s linear var(--dur-fast);
  }
  html.js .site-nav.is-open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s;
  }
  html.js .site-nav__link { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
  html.js .site-nav__link::after { display: none; }
  html.js .site-nav .btn { margin-top: 20px; min-height: 52px; font-size: 0.9375rem; }
  html.js .site-nav__lang { align-self: flex-start; margin-top: 16px; }
  /* Without JavaScript the menu stays visible as a wrapped list */
  html:not(.js) .site-header__inner { height: auto; flex-wrap: wrap; padding-block: 14px; }
  html:not(.js) .site-nav { flex-wrap: wrap; gap: 8px 18px; }
}
body.menu-open { overflow: hidden; }

/* ---------- breadcrumb & page hero ---------- */
.breadcrumb { margin-bottom: 28px; font-size: 0.8125rem; color: var(--ink-2); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); text-underline-offset: 4px; }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.page-hero { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--rule); }
.page-hero__grid { display: grid; gap: 32px 72px; align-items: center; }
.page-hero__title {
  max-width: 18em;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); line-height: 1.3; letter-spacing: 0.01em;
  word-break: keep-all; overflow-wrap: anywhere;
}
html[lang="en"] .page-hero__title {
  max-width: 16em; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.5rem); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance;
}
.page-hero .lead { margin-top: 24px; }
.page-hero .actions { margin-top: 36px; }
.price-chip {
  display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin-top: 28px; padding: 10px 18px; border: 1px solid var(--rule); border-radius: var(--radius-control);
  font-size: 0.875rem; color: var(--ink-2); background: var(--surface);
}
.price-chip strong { font-size: 1rem; color: var(--ink); }
@media (min-width: 1025px) {
  .page-hero__grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* ---------- JP home hero — Editorial Showcase (v3): H1 line-mask + layered real work proof ---------- */
.hero-jp { position: relative; overflow: hidden; padding-block: clamp(40px, 5vw, 72px) clamp(96px, 10vw, 144px); }
.hero-jp__inner {
  display: grid; gap: clamp(48px, 6vw, 72px); align-items: center;
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.hero-jp__title {
  font-size: clamp(2.125rem, 1.05rem + 3.6vw, 3.875rem);
  font-weight: 700; line-height: 1.26; letter-spacing: 0.01em;
}
/* Interaction Patterns v3 line-mask (renamed). Hidden only when JS runs, so the H1 is never lost without JS. */
.hero-title__line { display: block; overflow: hidden; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title__line > span { display: block; }
html.js:not(.is-ready) .hero-title__line > span { transform: translate3d(0, 112%, 0); opacity: 0.01; }
html.js.is-ready .hero-title__line > span { animation: lumina-line-reveal 760ms var(--ease) both; }
html.js.is-ready .hero-title__line:nth-child(2) > span { animation-delay: 80ms; }
html.js.is-ready .hero-title__line:nth-child(3) > span { animation-delay: 150ms; }
@keyframes lumina-line-reveal {
  from { transform: translate3d(0, 112%, 0); opacity: 0.01; }
  to { transform: none; opacity: 1; }
}
.hero-jp__lead {
  max-width: 34em; margin-top: 24px;
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.1875rem); line-height: 2; color: var(--ink-2);
}
.hero-jp .actions { margin-top: 32px; }

/* layered proof: browser frame + mobile crop + fine label */
.hero-proof { position: relative; padding-bottom: 8px; }
.hero-proof__layer { transition: transform 680ms var(--ease); }
.proof-frame {
  position: relative; overflow: hidden;
  border: 1px solid var(--rule); border-radius: var(--radius-media);
  background: var(--surface); box-shadow: var(--shadow-media);
}
.proof-frame__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #F1ECE3; border-bottom: 1px solid var(--rule); }
.proof-frame__bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
.proof-frame__bar .proof-frame__url { width: auto; height: auto; margin-left: 10px; background: none; border-radius: 0; font-size: 0.75rem; color: var(--ink-2); letter-spacing: 0.02em; }
.proof-phone { overflow: hidden; border: 5px solid var(--ink); border-radius: 8px; background: var(--ink); box-shadow: var(--shadow-media); }
.proof-phone img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top center; }
.hero-proof__layer--mobile { display: none; }
.hero-proof__label { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--ink); background: var(--bg); }
.hero-proof__kicker { font-family: var(--font-display); font-size: 1.0625rem; font-style: italic; font-weight: 500; line-height: 1.3; color: var(--accent-ink); }
.hero-proof__name { margin-top: 4px; font-size: 0.9375rem; font-weight: 700; line-height: 1.6; }
.hero-proof__meta { margin-top: 4px; font-size: 0.8125rem; line-height: 1.7; color: var(--ink-2); }
.hero-proof__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-size: 0.8125rem; font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px;
}
.hero-proof__link span { display: inline-block; transition: transform 360ms var(--ease); }
.hero-proof__link:hover span, .hero-proof__link:focus-visible span { transform: translate3d(0.28rem, 0, 0); }
/* staggered entrance once fonts are ready: transform only on the LCP frame, fade on secondary layers */
html.js [data-enter] { transition: transform 680ms var(--ease), opacity 520ms var(--ease); }
html.js:not(.is-ready) [data-enter] { transform: translate3d(0, 24px, 0); }
html.js:not(.is-ready) [data-enter="fade"] { opacity: 0; }
html.js.is-ready .proof-phone[data-enter] { transition-delay: 180ms; }
html.js.is-ready .hero-proof__label[data-enter] { transition-delay: 280ms; }

@media (min-width: 768px) {
  .hero-proof { padding: 0 0 clamp(96px, 10vw, 136px) clamp(56px, 7vw, 96px); }
  .hero-proof__layer--mobile { display: block; position: absolute; left: 0; bottom: 0; z-index: 2; width: clamp(112px, 22%, 164px); }
  .hero-proof__layer--label { position: absolute; right: 0; bottom: 0; z-index: 3; width: min(300px, calc(78% - 110px)); }
  .hero-proof__label { margin: 0; padding: 14px 18px 0 0; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-proof { max-width: 680px; }
}
@media (min-width: 1025px) {
  .hero-jp__inner { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); column-gap: clamp(40px, 4vw, 64px); }
}

/* ---------- editorial feature rows (3 Becauses etc.) ---------- */
.features { display: grid; gap: 0; list-style: none; border-top: 1px solid var(--rule); }
.feature {
  display: grid; gap: 12px 40px;
  padding-block: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--rule);
}
.feature__no { font-family: var(--font-display); font-style: italic; font-size: 1.75rem; font-weight: 500; line-height: 1; color: var(--accent-ink); }
.feature__title { font-size: clamp(1.1875rem, 1.02rem + 0.7vw, 1.5rem); line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.feature__text { color: var(--ink-2); max-width: 40em; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 4.5rem minmax(0, 5fr) minmax(0, 6fr); align-items: baseline; }
}
.section--dark .features, .section--dark .feature { border-color: var(--rule-dark); }
.section--dark .feature__no { color: var(--accent); }
.section--dark .feature__text { color: var(--on-dark-2); }

/* ---------- 「選ばれる理由→集客導線」7STEP ---------- */
.sr7 {
  --sr7-muted: var(--ink-3);
  --sr7-dur: 520ms;
  --sr7-gutter: 40px;
  --sr7-pad: clamp(32px, 4vw, 52px);
  background: var(--bg);
  padding: clamp(120px, 12vw, 168px) var(--gutter);
}
.sr7__inner { max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; }
.sr7__title {
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.625rem);
  line-height: 1.45; letter-spacing: 0.01em;
  word-break: keep-all; overflow-wrap: anywhere;
}
.sr7__title-step { display: block; color: var(--accent); letter-spacing: 0.04em; }
.sr7__lead { margin-top: 28px; max-width: 24em; font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem); line-height: 2; color: var(--ink-2); }
.sr7__intro .actions { margin-top: 32px; }
.sr7__meter { display: none; }
.sr7__track { position: relative; margin-top: clamp(48px, 7vw, 72px); padding-left: var(--sr7-gutter); }
.sr7__rail { position: absolute; top: 0; bottom: 0; left: 7px; width: 1px; overflow: hidden; background: var(--rule); }
.sr7__rail-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top center; }
.sr7__list { list-style: none; margin: 0; padding: 0; }
.sr7__step { position: relative; padding: var(--sr7-pad) 0; border-top: 1px solid var(--rule); }
.sr7__step:last-child { border-bottom: 1px solid var(--rule); }
.sr7__step::before {
  content: ''; position: absolute;
  top: calc(var(--sr7-pad) + 2px); left: calc(var(--sr7-gutter) * -1 + 2px);
  width: 11px; height: 11px; box-sizing: border-box;
  border: 1px solid var(--sr7-muted); background: var(--bg);
  transform: rotate(45deg);
  transition: background-color var(--sr7-dur) var(--ease), border-color var(--sr7-dur) var(--ease), transform var(--sr7-dur) var(--ease);
}
.sr7__no { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; }
.sr7__no-label { font-size: 0.75rem; font-weight: 500; line-height: 1.2; letter-spacing: 0.24em; color: var(--ink-2); }
.sr7__no-num {
  font-family: var(--font-display); font-size: clamp(3rem, 2.2rem + 3vw, 4.75rem); font-weight: 500; line-height: 0.9;
  letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums; color: var(--sr7-muted);
  transition: color var(--sr7-dur) var(--ease);
}
.sr7__name { margin-top: 18px; font-size: clamp(1.25rem, 1.08rem + 0.7vw, 1.625rem); line-height: 1.5; letter-spacing: 0.02em; }
.sr7__gloss { display: block; margin-top: 4px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-2); }
.sr7__text { margin-top: 12px; max-width: 34em; font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem); line-height: 2; color: var(--ink-2); }
.sr7__step.is-active .sr7__no-num { color: var(--accent); }
.sr7__step.is-active .sr7__no-label { color: var(--accent-ink); }
.sr7__step.is-past::before { background: var(--accent); border-color: var(--accent); }
.sr7__step.is-active::before { background: var(--accent); border-color: var(--accent); transform: rotate(45deg) scale(1.35); }
.sr7.is-armed .sr7__no,
.sr7.is-armed .sr7__body {
  opacity: 0; transform: translate3d(0, 10px, 0);
  transition: opacity var(--sr7-dur) var(--ease), transform var(--sr7-dur) var(--ease);
}
.sr7.is-armed .sr7__body { transition-delay: 70ms; }
.sr7.is-armed .sr7__step.is-in .sr7__no,
.sr7.is-armed .sr7__step.is-in .sr7__body { opacity: 1; transform: none; }
@media (min-width: 1025px) {
  .sr7 { --sr7-gutter: 56px; }
  .sr7__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(56px, 7vw, 112px); align-items: start; }
  .sr7__intro { position: sticky; top: calc(var(--header-h) + 56px); }
  .sr7__track { margin-top: 0; }
  .sr7__step { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); column-gap: 32px; align-items: start; }
  .sr7__name { margin-top: 20px; }
  .sr7__meter {
    display: flex; align-items: baseline; gap: 12px;
    margin-top: 48px; padding-top: 24px; max-width: 24em; border-top: 1px solid var(--rule);
    font-size: 0.875rem; font-weight: 500; letter-spacing: 0.16em; font-variant-numeric: tabular-nums;
    color: var(--ink-2); visibility: hidden;
  }
  .sr7.is-tracking .sr7__meter { visibility: visible; }
  .sr7__meter-now { font-family: var(--font-display); font-size: 2.5rem; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--accent); }
}
@media (max-width: 480px) { .sr7 { --sr7-gutter: 32px; } }

/* ---------- price & terms ---------- */
.terms { border-top: 1px solid var(--rule); }
.terms__row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.terms__row dt { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; line-height: 1.9; color: var(--ink-2); }
.terms__row dd { font-size: 1rem; line-height: 1.9; }
.terms__row dd ul { list-style: none; }
.terms__row dd li + li { margin-top: 4px; }
html[lang="en"] .terms__row { grid-template-columns: 9.5rem minmax(0, 1fr); }
html[lang="en"] .terms__row dt { letter-spacing: 0.04em; }
@media (max-width: 600px) {
  .terms__row, html[lang="en"] .terms__row { grid-template-columns: 1fr; gap: 2px; }
}
.section--dark .terms, .section--dark .terms__row { border-color: var(--rule-dark); }
.section--dark .terms__row dt { color: var(--on-dark-2); }

.scope { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.scope__group { padding-top: 20px; border-top: 2px solid var(--ink); }
.scope__title { margin-bottom: 14px; font-size: 1.0625rem; letter-spacing: 0.04em; }
@media (max-width: 1024px) { .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .scope { grid-template-columns: 1fr; } }

.dash-list { list-style: none; }
.dash-list li { position: relative; padding-left: 18px; font-size: 0.9375rem; line-height: 1.9; color: var(--ink-2); }
.dash-list li::before { content: ''; position: absolute; left: 0; top: 0.95em; width: 8px; height: 1px; background: var(--accent); }
.dash-list li + li { margin-top: 2px; }
.section--dark .dash-list li { color: var(--on-dark-2); }
.cross-list li::before { top: 0.95em; width: 9px; background: var(--ink-3); }
.check-list { list-style: none; }
.check-list li { position: relative; padding-left: 28px; line-height: 1.9; color: var(--ink-2); }
.check-list li + li { margin-top: 8px; }
.check-list li::before {
  content: ''; position: absolute; left: 2px; top: 0.62em;
  width: 12px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

.split { display: grid; gap: 48px 72px; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split--wide-left { }
@media (min-width: 1025px) { .split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.panel { padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--rule); border-radius: var(--radius-control); background: var(--surface); }
.panel--quiet { background: transparent; }
.panel__title { margin-bottom: 18px; font-size: 1.125rem; line-height: 1.55; }

/* ---------- flow chain: 見つける→比較する→選ぶ→問い合わせる→計測する ---------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; counter-reset: flow; }
.flow__item { position: relative; padding: 28px 12px 0 0; counter-increment: flow; }
.flow__item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--rule);
}
.flow__item::after {
  content: ''; position: absolute; top: -5px; left: 0;
  width: 11px; height: 11px; border: 1px solid var(--accent); background: var(--surface); transform: rotate(45deg);
}
.flow__item:last-child::after { background: var(--accent); }
.flow__label { font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.375rem); font-weight: 700; line-height: 1.5; }
.flow__num { display: block; margin-bottom: 6px; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--accent-ink); }
@media (max-width: 767px) {
  .flow { grid-template-columns: 1fr; padding-left: 28px; }
  .flow__item { padding: 0 0 22px; }
  .flow__item::before { top: 6px; bottom: 0; left: -23px; right: auto; width: 1px; height: auto; }
  .flow__item:last-child::before { display: none; }
  .flow__item::after { top: 7px; left: -28px; }
}

/* ---------- guarantees ---------- */
.cards { display: grid; gap: 48px 40px; }
@media (min-width: 768px) { .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1025px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  display: flex; flex-direction: column;
  padding: 28px 0 4px; border: 0; border-top: 1px solid var(--ink); border-radius: 0;
  background: transparent;
}
.card__no { margin-bottom: 14px; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--accent-ink); }
.card__eyebrow { margin-bottom: 10px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); }
.card__title { font-size: 1.1875rem; line-height: 1.55; }
html[lang="en"] .card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.625rem; line-height: 1.2; }
.card__text { margin-top: 12px; color: var(--ink-2); }
.card__price { margin-top: 18px; font-size: 1.125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.card__support { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.875rem; color: var(--ink-2); }
.card__link { margin-top: auto; padding-top: 24px; }
.card .dash-list, .card .check-list { margin-top: 14px; }
.section--tint .card { background: transparent; }
.section--dark .card { background: transparent; border-top-color: var(--rule-dark); }
.section--dark .card__text { color: var(--on-dark-2); }
.section--dark .card__no { color: var(--accent); }

/* ---------- FAQ (native details) ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  position: relative; display: block; padding: 24px 48px 24px 0;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem); font-weight: 700; line-height: 1.7;
  cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before, .faq__q::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--ink);
  transition: transform var(--dur-fast) var(--ease);
}
.faq__q::after { transform: rotate(90deg); }
.faq__item[open] .faq__q::after { transform: rotate(0deg); }
.faq__a { padding: 0 0 26px; color: var(--ink-2); max-width: 46em; }
.faq__a > * + * { margin-top: 0.9em; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); padding-block: clamp(96px, 11vw, 160px); }
.cta-band::before {
  content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: 64px; background: var(--accent);
}
.cta-band__inner { max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.cta-band__title { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
html[lang="en"] .cta-band__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem); line-height: 1.12; text-wrap: balance; }
.cta-band .lead { margin: 24px auto 0; color: var(--on-dark-2); }
.cta-band .actions { justify-content: center; margin-top: 40px; }
.cta-band .note { margin-top: 20px; }

/* ---------- works / voices ---------- */
.case { display: grid; gap: 40px 64px; align-items: start; }
@media (min-width: 1025px) { .case { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.case__media { margin: 0; }
.case__cat { margin-bottom: 8px; font-size: 0.8125rem; letter-spacing: 0.12em; color: var(--accent-ink); }
.case__title { font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); line-height: 1.45; }
html[lang="en"] .case__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem); line-height: 1.15; }
.case__text { margin-top: 18px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; }
.tags li { font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--ink-2); }
.tags li + li::before { content: '/'; margin-right: 8px; color: var(--ink-3); }
.case__subhead { margin-top: 28px; margin-bottom: 10px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; }
.case .actions { margin-top: 28px; }
.voices { display: grid; gap: 48px 40px; }
@media (min-width: 1025px) { .voices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.voice { padding: 24px 0 0; border: 0; border-top: 1px solid var(--ink); border-radius: 0; background: transparent; }
.voice__title { font-size: 1.125rem; line-height: 1.6; }
.voice__text { margin-top: 14px; color: var(--ink-2); font-size: 0.9375rem; }
.voice__text p + p { margin-top: 0.9em; }
.quote {
  padding-left: 24px; border-left: 2px solid var(--accent);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); font-weight: 700; line-height: 1.7;
}
.quote__source { margin-top: 12px; font-size: 0.8125rem; font-weight: 400; color: var(--ink-2); }

/* ---------- Works — one editorial case at a time, real screens as proof (v3) ---------- */
.work-case { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1025px) {
  .work-case { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .work-case--reverse { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .work-case--reverse > :first-child { order: 2; }
}
.work-proof__link { display: block; color: inherit; text-decoration: none; }
.work-proof { position: relative; }
.work-proof--stack { padding-bottom: clamp(88px, 12vw, 170px); }
.work-proof--pair { padding: 0 clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px) 0; }
.work-proof__media { overflow: hidden; border-radius: var(--radius-media); }
.work-proof__media img { transform: scale(1); transition: transform 620ms var(--ease); }
.work-proof--stack .work-proof__media--main { width: 84%; }
.work-proof__media--second { position: absolute; right: 0; bottom: 0; z-index: 2; width: 50%; }
.work-proof__media--mobile { position: absolute; z-index: 3; border-radius: 8px; }
.work-proof--stack .work-proof__media--mobile { left: 6%; bottom: 2%; width: clamp(84px, 17%, 132px); }
.work-proof--pair .work-proof__media--mobile { right: 0; bottom: 0; width: clamp(92px, 22%, 150px); }
.work-proof__arrow { display: inline-block; margin-left: 6px; transition: transform 360ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .work-case:hover .work-proof__media img { transform: scale(1.015); }
  .work-case:hover .work-proof__arrow, .work-case__cta a:focus-visible .work-proof__arrow { transform: translate3d(0.28rem, 0, 0); }
}
.work-case__index {
  margin-bottom: 18px;
  font-family: var(--font-display); font-size: clamp(3rem, 2.2rem + 2.6vw, 4.5rem); font-weight: 500; line-height: 0.9;
  font-variant-numeric: lining-nums; color: var(--ink-3);
}
.work-case__cta { margin-top: 28px; }
.work-voice { display: grid; gap: 12px 64px; margin: clamp(64px, 8vw, 104px) 0 0; padding-top: 28px; border-top: 1px solid var(--rule); }
.work-voice .eyebrow { margin-bottom: 0; }
@media (min-width: 1025px) { .work-voice { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); } }
@media (max-width: 767px) {
  .work-proof--stack { padding-bottom: 0; }
  .work-proof--stack .work-proof__media--main { width: 100%; }
  .work-proof__media--second { display: none; }
  .work-proof--stack .work-proof__media--mobile { left: auto; right: 14px; bottom: -44px; width: 22%; }
  .work-proof--stack { margin-bottom: 56px; }
}

/* ---------- integrated price / value block (v3): one ruled unit, value before price, restrained figures ---------- */
.value { padding-block: clamp(88px, 8vw, 120px); }
.value__top { position: relative; display: grid; gap: 28px 72px; align-items: end; padding-bottom: clamp(32px, 4vw, 44px); }
.value__top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform-origin: left center; transition: transform 480ms var(--ease); }
@media (min-width: 1025px) { .value__top { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.value__name { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.45; }
.value__lead { margin-top: 16px; max-width: 38em; color: var(--ink-2); }
.value__price { display: grid; gap: 12px; }
.value__price div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: baseline; gap: 16px; }
.value__price dt { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; color: var(--ink-2); }
.value__price dd { font-size: 1rem; }
.value__price .value__amount { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.value__amount span { margin-left: 0.2em; font-size: 0.875rem; font-weight: 500; }
.value__groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.value__group { padding: 28px 28px 32px 0; }
.value__group + .value__group { padding-left: 28px; border-left: 1px solid var(--rule); }
.value__group-title { margin-bottom: 10px; font-size: 1rem; letter-spacing: 0.06em; transition: opacity 480ms var(--ease), transform 480ms var(--ease); }
.value__group:nth-child(2) .value__group-title { transition-delay: 60ms; }
.value__group:nth-child(3) .value__group-title { transition-delay: 120ms; }
.value__group:nth-child(4) .value__group-title { transition-delay: 180ms; }
.value__group p { font-size: 0.875rem; line-height: 1.9; color: var(--ink-2); }
.value__more { margin-top: 24px; }
.value.is-armed:not(.is-in) .value__top::after { transform: scaleX(0); }
.value.is-armed:not(.is-in) .value__group-title { opacity: 0; transform: translate3d(0, 6px, 0); }
@media (max-width: 1024px) {
  .value__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value__group:nth-child(odd) { padding-left: 0; border-left: 0; }
  .value__group:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 600px) {
  .value__groups { grid-template-columns: 1fr; }
  .value__group, .value__group + .value__group { padding: 22px 0; border-left: 0; }
  .value__group + .value__group { border-top: 1px solid var(--rule); }
}

/* ---------- profile ---------- */
.profile { display: grid; gap: 48px 80px; align-items: start; }
@media (min-width: 1025px) {
  .profile { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .profile__aside { position: sticky; top: calc(var(--header-h) + 40px); }
}
.profile__photo { overflow: hidden; border-radius: var(--radius-media); background: var(--surface-2); box-shadow: var(--shadow-media); }
.profile__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.profile__name { margin-top: 28px; font-size: 1.5rem; line-height: 1.4; }
.profile__name-sub { font-family: var(--font-jp); font-size: 1.15rem; font-weight: 500; letter-spacing: 0.08em; color: var(--ink-2); }
.jp-name { font-family: var(--font-jp); letter-spacing: 0.08em; white-space: nowrap; }
.facts { margin-top: 20px; border-top: 1px solid var(--rule); list-style: none; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.9375rem; line-height: 1.6; }
.facts li span { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.sns { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; list-style: none; font-size: 0.875rem; }
.sns a { color: var(--ink-2); text-underline-offset: 4px; }
.profile__body { max-width: 42em; }
.profile__body > * + * { margin-top: 1.2em; }
.profile__body p { color: var(--ink-2); }
.profile__body h2 { margin-top: 2.2em; font-size: 1.25rem; }
.profile__body .insight { padding-left: 20px; border-left: 2px solid var(--accent); color: var(--ink); font-weight: 700; }
.profile__body .voices-inline { padding: 20px 24px; border-radius: var(--radius-control); background: var(--surface-2); color: var(--ink); }
.profile__body .voices-inline p { color: var(--ink); }
.profile__body .voices-inline p + p { margin-top: 6px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 26px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 0.9375rem; font-weight: 700; line-height: 1.5; }
.field__req { margin-left: 8px; padding: 2px 8px; border-radius: 2px; background: var(--ink); color: var(--on-dark); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; vertical-align: 2px; }
.field__opt { margin-left: 8px; font-size: 0.75rem; font-weight: 400; color: var(--ink-2); }
.field__hint { font-size: 0.8125rem; line-height: 1.7; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--ink-3); border-radius: var(--radius-control);
  background: var(--surface); color: var(--ink);
  font: inherit; font-size: 1rem; line-height: 1.6;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.textarea { min-height: 168px; resize: vertical; }
.select {
  appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(169, 130, 69, 0.28); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; margin: 0; padding: 0; }
.choices legend { margin-bottom: 8px; padding: 0; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--rule); border-radius: var(--radius-control); background: var(--surface); cursor: pointer; font-size: 0.9375rem; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent-ink); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; line-height: 1.7; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent-ink); }
.consent a { text-underline-offset: 4px; }
.hp-field { position: absolute; left: -9999px; }

.contact-layout { display: grid; gap: 48px 72px; align-items: start; }
@media (min-width: 1025px) { .contact-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.contact-aside { display: grid; gap: 20px; }
.qr { width: 132px; height: 132px; margin-top: 16px; border: 1px solid var(--rule); border-radius: var(--radius-control); }

/* ---------- legal ---------- */
.legal { max-width: 46em; }
.legal > * + * { margin-top: 1em; }
.legal h2 { margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--rule); font-size: 1.25rem; }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { margin-top: 1.8em; font-size: 1.0625rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 4px; }
.legal a { text-underline-offset: 4px; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 1.2em; font-size: 0.9375rem; }
.legal-table th, .legal-table td { padding: 14px 16px; border: 1px solid var(--rule); text-align: left; vertical-align: top; line-height: 1.8; }
.legal-table th { width: 32%; background: var(--surface-2); font-weight: 500; }
@media (max-width: 600px) {
  .legal-table th, .legal-table td { display: block; width: 100%; border-bottom: 0; }
  .legal-table tr:last-child td { border-bottom: 1px solid var(--rule); }
}
.updated { font-size: 0.875rem; color: var(--ink-2); }

/* ---------- EN home hero: Japan map, routes, petals ---------- */
.hero-en { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); isolation: isolate; }
.hero-en__visual { position: absolute; top: 0; bottom: 0; left: 36%; right: 0; z-index: 0; overflow: hidden; }
.hero-en__visual::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--dark) 0%, rgba(23, 23, 20, 0.62) 20%, rgba(23, 23, 20, 0) 52%),
    linear-gradient(0deg, rgba(23, 23, 20, 0.7) 0%, rgba(23, 23, 20, 0) 28%);
}
.hero-en__layer { position: absolute; inset: -3%; }
.hero-en.is-parallax .hero-en__layer {
  transform: translate3d(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -5px), 0);
  transition: transform 900ms var(--ease);
}
.hero-en__layer img, .hero-en__routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-en__layer img { object-fit: cover; object-position: 50% 50%; }
.route {
  fill: none; stroke: #D9B77A; stroke-width: 2.8; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: route-draw 720ms var(--ease) forwards;
}
.route--2 { animation-delay: 140ms; }
.route--3 { animation-delay: 280ms; }
.route--4 { animation-delay: 420ms; }
@keyframes route-draw { to { stroke-dashoffset: 0; } }
.node { fill: #F1D9A8; opacity: 0; animation: node-in 480ms var(--ease) forwards; }
/* sequential nodes: each origin lights as its route starts, Tokyo last where the routes converge */
.hero-en__routes .node:nth-of-type(5) { animation-delay: 160ms; }
.hero-en__routes .node:nth-of-type(6) { animation-delay: 300ms; }
.hero-en__routes .node:nth-of-type(7) { animation-delay: 440ms; }
.hero-en__routes .node:nth-of-type(8) { animation-delay: 580ms; }
.hero-en__routes .node:nth-of-type(4) { animation-delay: 860ms; }
@keyframes node-in { to { opacity: 1; } }
.node-pulse {
  fill: none; stroke: #E7C88E; stroke-width: 1.2; vector-effect: non-scaling-stroke;
  transform-box: fill-box; transform-origin: center; opacity: 0;
  animation: node-pulse 3.6s var(--ease) 1000ms infinite;
}
.node-pulse--2 { animation-delay: 1900ms; }
.node-pulse--3 { animation-delay: 2800ms; }
@keyframes node-pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}
.petals { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
/* keep petals clear of the H1 and CTA column: the petal field starts 40px right of the copy's max edge */
@media (min-width: 1025px) { .petals { left: max(calc(14vw + 110px), calc(700px - 36vw)); } }
.hero-en.is-parallax .petals { transform: translate3d(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -6px), 0); transition: transform 900ms var(--ease); }
.petal {
  position: absolute; top: -4%; left: var(--x);
  width: var(--s); height: calc(var(--s) * 0.72);
  border-radius: 100% 0 100% 0;
  background: var(--sakura);
  opacity: 0; filter: blur(var(--b, 0px));
  animation: petal-fall var(--d) cubic-bezier(0.37, 0, 0.63, 1) var(--delay) infinite;
}
@keyframes petal-fall {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); }
  12% { opacity: var(--o); }
  82% { opacity: var(--o); }
  100% { opacity: 0; transform: translate3d(var(--dx), 860px, 0) rotate(var(--r)); }
}
.petal:nth-child(1) { --x: 18%; --s: 11px; --d: 19s; --delay: -3s; --dx: -70px; --r: 210deg; --o: 0.5; }
.petal:nth-child(2) { --x: 34%; --s: 9px; --d: 23s; --delay: -11s; --dx: -40px; --r: 160deg; --o: 0.42; }
.petal:nth-child(3) { --x: 48%; --s: 12px; --d: 21s; --delay: -6s; --dx: -90px; --r: 240deg; --o: 0.5; }
.petal:nth-child(4) { --x: 62%; --s: 10px; --d: 25s; --delay: -15s; --dx: -50px; --r: 190deg; --o: 0.45; }
.petal:nth-child(5) { --x: 76%; --s: 11px; --d: 20s; --delay: -9s; --dx: -80px; --r: 220deg; --o: 0.48; }
.petal:nth-child(6) { --x: 88%; --s: 9px; --d: 24s; --delay: -18s; --dx: -60px; --r: 170deg; --o: 0.4; }
.petal:nth-child(7) { --x: 40%; --s: 17px; --d: 17s; --delay: -5s; --dx: -120px; --r: 260deg; --o: 0.62; --b: 1.2px; }
.petal:nth-child(8) { --x: 70%; --s: 19px; --d: 18s; --delay: -12s; --dx: -110px; --r: 230deg; --o: 0.58; --b: 1.6px; }
.petal:nth-child(9) { --x: 94%; --s: 15px; --d: 16s; --delay: -1s; --dx: -130px; --r: 250deg; --o: 0.55; --b: 1px; }
.hero-en.is-offscreen .petal, .hero-en.is-offscreen .node-pulse { animation-play-state: paused; }

.hero-en__inner {
  position: relative; z-index: 4;
  display: flex; align-items: center;
  min-height: clamp(600px, 78vh, 820px);
  padding-block: clamp(40px, 6vh, 88px);
}
.hero-en__copy { max-width: 620px; }
.hero-en__brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 20px; }
.hero-en__brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.hero-en__brand-line { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.hero-en__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.625rem, 1.5rem + 3.6vw, 4.5rem);
  line-height: 1.02; letter-spacing: -0.012em; text-wrap: balance;
}
.hero-en__lead { margin-top: 22px; max-width: 34em; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); line-height: 1.75; color: var(--on-dark-2); }
.hero-en__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin-top: 18px; max-width: 34em; list-style: none; }
.hero-en__checks li { position: relative; padding-left: 20px; font-size: 0.9375rem; line-height: 1.6; color: var(--on-dark); }
.hero-en__checks li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border: 1px solid var(--accent); transform: rotate(45deg); }
.hero-en .actions { margin-top: 28px; }
.hero-en__credit { margin-top: 20px; max-width: 34em; font-size: 0.875rem; line-height: 1.7; color: var(--on-dark-2); }
.hero-en__credit strong { color: var(--on-dark); }

@media (min-width: 768px) and (max-width: 1024px) {
  .hero-en__inner { min-height: 0; padding-block: 88px 96px; }
  /* copy sits over the map on tablet: deepen the scrim so lead text and the ghost CTA stay legible */
  .hero-en__visual::after {
    background:
      linear-gradient(90deg, var(--dark) 0%, rgba(23, 23, 20, 0.9) 40%, rgba(23, 23, 20, 0.45) 76%, rgba(23, 23, 20, 0.25) 100%),
      linear-gradient(0deg, rgba(23, 23, 20, 0.7) 0%, rgba(23, 23, 20, 0) 28%);
  }
  .hero-en__visual { left: 28%; }
  .petals { left: calc(700px - 28vw); }
  .petal:nth-child(n+6) { display: none; }
  .node-pulse--3, .route--4 { display: none; }
}
@media (max-width: 767px) {
  .hero-en { display: flex; flex-direction: column; }
  .hero-en__inner { min-height: 0; padding-block: 56px 32px; }
  .hero-en__visual { position: relative; left: auto; height: clamp(220px, 62vw, 340px); order: 2; }
  .hero-en__visual::after { background: linear-gradient(180deg, var(--dark) 0%, rgba(23, 23, 20, 0) 32%, rgba(23, 23, 20, 0) 70%, var(--dark) 100%); }
  .hero-en__layer { inset: 0; transform: none; transition: none; }
  .route--2, .route--3, .route--4, .node-pulse--2, .node-pulse--3, .node--minor { display: none; }
  .petals { display: none; }
  .hero-en__checks { grid-template-columns: 1fr; }
}

/* ---------- EN components ---------- */
.trust { border-bottom: 1px solid var(--rule); background: var(--surface); }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.trust__item { padding: 22px 20px; border-left: 1px solid var(--rule); font-size: 0.9375rem; line-height: 1.5; }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item span { display: block; margin-bottom: 4px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); }
@media (max-width: 900px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--rule); }
  .trust__item:nth-last-child(-n+2) { border-bottom: 0; }
}

.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; gap: 18px; list-style: none; }
.ladder__step {
  position: relative; display: flex; flex-direction: column;
  min-height: 0;
  padding: 20px 18px 18px; border-radius: 0;
  border: 0; border-top: 1px solid var(--rule); background: transparent;
}
.ladder__step:nth-child(1) { border-top: 2px solid var(--accent); background: var(--surface); }
.ladder__step:nth-child(2) { background: var(--surface); }
.ladder__tag { margin-bottom: 14px; padding-bottom: 0; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); }
.ladder__name { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; line-height: 1.15; }
.ladder__price { margin-top: 10px; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ladder__price small { font-size: 0.75rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0.04em; }
.ladder__note { margin-top: 8px; font-size: 0.8125rem; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 1024px) {
  .ladder { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--rule); margin-left: 8px; padding-left: 24px; }
  .ladder__step { min-height: 0; margin-bottom: 12px; }
  .ladder__step::before { content: ''; position: absolute; left: -30px; top: 28px; width: 11px; height: 11px; border: 1px solid var(--accent); background: var(--bg); transform: rotate(45deg); }
  .ladder__step:nth-child(1)::before { background: var(--accent); }
  .ladder__tag { margin-bottom: 0; padding-bottom: 8px; }
}
.credit {
  display: grid; gap: 8px 24px; align-items: center;
  margin-top: 28px; padding: 22px 26px;
  border-radius: var(--radius-media); background: var(--dark); color: var(--on-dark);
}
.credit__label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.credit__text { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); line-height: 1.65; }
@media (min-width: 900px) { .credit { grid-template-columns: 11rem minmax(0, 1fr); } }

.example { display: grid; gap: 40px 72px; align-items: start; }
@media (min-width: 1025px) { .example { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.example__label { display: inline-block; padding: 4px 12px; border: 1px solid var(--accent); border-radius: 2px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.example__body > * + * { margin-top: 1.1em; }
.example__body p { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.75; color: var(--ink); }
.example__body p:last-child { color: var(--ink-2); font-size: 1rem; }

.figure { margin: 0; overflow: hidden; border-radius: var(--radius-media); background: var(--dark); box-shadow: var(--shadow-media-dark); }
.figure img { width: 100%; aspect-ratio: 1672 / 941; object-fit: cover; }
.figure--light { background: var(--surface-2); }
.statement {
  margin-top: clamp(40px, 6vw, 64px); padding-left: 24px; border-left: 2px solid var(--accent);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); line-height: 1.15; letter-spacing: -0.005em; text-wrap: balance;
}
.section--dark .statement { color: var(--on-dark); }
.cols { display: grid; gap: 24px; }
@media (min-width: 900px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.results .card__text + .result { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.result__label { display: block; margin-bottom: 4px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); }
.result p { color: var(--ink); }
.results-visual { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; border-block: 1px solid var(--rule); }
.results-visual__item { min-width: 0; padding: 28px 24px 30px 0; }
.results-visual__item + .results-visual__item { padding-left: 24px; border-left: 1px solid var(--rule); }
.results-visual__metric { display: block; color: var(--accent-ink); font-family: var(--font-display); font-size: clamp(2.75rem, 4.5vw, 4.5rem); font-weight: 600; line-height: 0.95; letter-spacing: -0.025em; }
.results-visual__metric--word { font-size: clamp(2.15rem, 3.4vw, 3.5rem); letter-spacing: -0.01em; }
.results-visual__label { display: block; margin-top: 22px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; line-height: 1.4; text-transform: uppercase; color: var(--accent-ink); }
.results-visual__body { margin-top: 10px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.7; }
@media (max-width: 700px) {
  .results-visual { display: block; }
  .results-visual__item, .results-visual__item + .results-visual__item { padding: 24px 0; border-left: 0; }
  .results-visual__item + .results-visual__item { border-top: 1px solid var(--rule); }
}
.offer-list { display: grid; gap: 0 48px; list-style: none; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .offer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offer-list li { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.offer-list h3 { display: flex; gap: 14px; align-items: baseline; font-size: 1.0625rem; }
.offer-list h3 span { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; font-weight: 500; color: var(--accent-ink); }
.offer-list p { margin-top: 6px; padding-left: 34px; color: var(--ink-2); font-size: 0.9375rem; }
.purchase { display: grid; gap: 32px 64px; align-items: start; margin-top: clamp(48px, 6vw, 72px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-media); background: var(--surface); border: 1px solid var(--rule); }
@media (min-width: 1025px) { .purchase { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.purchase__side .credit { margin-top: 0; grid-template-columns: 1fr; }
.purchase__side .actions { margin-top: 24px; }
.purchase__side .note { margin-top: 14px; }
.notice { display: grid; gap: 12px; margin-top: 32px; padding: 26px 28px; border-radius: var(--radius-media); background: var(--surface-2); }
.notice__title { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.notice p { color: var(--ink-2); font-size: 0.9375rem; }
.steps3 { display: grid; gap: 20px; list-style: none; margin-top: clamp(40px, 5vw, 56px); }
@media (min-width: 1025px) { .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps3 .card__q { margin-top: 8px; font-weight: 700; color: var(--ink); }

/* ---------- simple pages ---------- */
.message-page { min-height: 60vh; display: grid; place-items: center; padding-block: clamp(96px, 12vw, 160px); text-align: center; }
.message-page__title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1.45; }
html[lang="en"] .message-page__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); line-height: 1.1; }
.message-page .lead { margin: 20px auto 0; }
.message-page .actions { justify-content: center; margin-top: 36px; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); padding-block: clamp(64px, 8vw, 96px) 32px; }
.site-footer__grid { display: grid; gap: 40px 64px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); } }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand__by { color: var(--on-dark-2); }
.site-footer__tagline { margin-top: 18px; max-width: 26em; word-break: keep-all; overflow-wrap: anywhere; font-size: 0.9375rem; line-height: 1.8; color: var(--on-dark-2); }
.site-footer__brand .btn { margin-top: 24px; }
.site-footer a.btn { color: var(--ink); text-decoration: none; }
.site-footer a.btn:hover { color: var(--btn-sweep-fg); text-decoration: none; }
.site-footer__label { margin-bottom: 10px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.site-footer__label ~ .site-footer__label { margin-top: 24px; }
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: var(--on-dark); font-size: 0.875rem; text-decoration: none; text-underline-offset: 4px; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.site-footer__bottom { margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--rule-dark); font-size: 0.8125rem; color: var(--on-dark-2); }

/* ---------- reduced motion: final state, no reveals, no drift ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .hero-title__line > span { animation: none !important; transform: none !important; opacity: 1 !important; }
  [data-enter] { transition: none !important; transform: none !important; opacity: 1 !important; }
  .hero-proof__layer { transform: none !important; transition: none !important; }
  .btn, .btn__arrow, .site-nav, .site-nav__link::after, .faq__q::before, .faq__q::after, .menu-toggle__bars::before, .menu-toggle__bars::after { transition: none !important; }
  .btn:hover .btn__arrow, .btn:focus-visible .btn__arrow { transform: none; }
  .btn::before { display: none; }
  .btn:hover, .btn:focus-visible { background: var(--btn-sweep); color: var(--btn-sweep-fg); border-color: var(--btn-sweep); }
  .text-link:hover { text-decoration-color: var(--ink); }
  .route { animation: none !important; stroke-dashoffset: 0; }
  .node { animation: none !important; opacity: 1 !important; }
  .node-pulse { animation: none !important; opacity: 0.35; transform: none; }
  .petals { display: none !important; }
  .hero-en__layer, .petals { transform: none !important; transition: none !important; }
  .sr7__intro { position: static; }
  .sr7 .sr7__no, .sr7 .sr7__body { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sr7__rail-fill { transform: none !important; }
  .sr7__step::before, .sr7__no-num { transition: none; }
  .sr7__meter { display: none !important; }
  .work-proof__media img, .work-proof__arrow { transition: none !important; transform: none !important; }
  .value__top::after, .value__group-title { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* 2026-09-20 approved EN HOME consistency fixes */
.jp-name,.profile__name-sub{letter-spacing:0!important}
.site-footer a.btn{color:#171714!important}
