/* Oyraa Interpreting
   Layout concept: a quiet, cool-paper page that lets one dark "receiver" console carry the
   subject (two language channels running a couple of seconds apart); everything else is
   left-aligned text, rules and tables, the way a conference programme is set. */
:root {
  --bg: #f5f8f7;
  --surface: #ffffff;
  --ink: #13262e;
  --ink-2: #485c63;
  --line: #d5e0dd;
  --line-strong: #b9c9c5;
  --accent: #0f7f74;
  --accent-hover: #0b6a61;
  --accent-ink: #ffffff;
  --accent-soft: #e2f1ee;
  --lime: #8dcb2c;
  --sky: #5b8fd0;
  --console-bg: #102730;
  --console-edge: #1f3d47;
  --console-ink: #e9f3f0;
  --console-dim: #7c979b;
  --console-label: #9fb8b9;
  --focus: #2f7fd8;
  --danger: #b4372b;
  --brand-gradient: linear-gradient(90deg, #99d932, #54c09d 55%, #5f9cc7);

  --font: "IBM Plex Sans", "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --section: clamp(64px, 8vw, 104px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1a1f; --surface: #13242b; --ink: #e4eeeb; --ink-2: #a6b8b7; --line: #24393f; --line-strong: #34505a;
    --accent: #48c2b0; --accent-hover: #6ad3c3; --accent-ink: #062a26; --accent-soft: #123532;
    --console-bg: #08141a; --console-edge: #23404a; --console-ink: #e9f3f0; --console-dim: #6d888c; --console-label: #93adae;
    --focus: #7db4f0; --danger: #f08a7e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1a1f; --surface: #13242b; --ink: #e4eeeb; --ink-2: #a6b8b7; --line: #24393f; --line-strong: #34505a;
  --accent: #48c2b0; --accent-hover: #6ad3c3; --accent-ink: #062a26; --accent-soft: #123532;
  --console-bg: #08141a; --console-edge: #23404a; --console-ink: #e9f3f0; --console-dim: #6d888c; --console-label: #93adae;
  --focus: #7db4f0; --danger: #f08a7e;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html:where([lang="ja"]) body { font-size: 1rem; line-height: 1.9; letter-spacing: .02em; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.35rem + 3.1vw, 3.5rem); line-height: 1.07; letter-spacing: -.024em; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.35vw, 2.25rem); line-height: 1.16; letter-spacing: -.016em; }
h3 { font-size: 1.18rem; line-height: 1.35; letter-spacing: -.005em; }
html:where([lang="ja"]) h1 { font-size: clamp(1.85rem, 1.2rem + 2.5vw, 2.9rem); line-height: 1.32; letter-spacing: .01em; }
html:where([lang="ja"]) h2 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.95rem); line-height: 1.4; letter-spacing: .02em; }
html:where([lang="ja"]) h3 { font-size: 1.1rem; line-height: 1.55; letter-spacing: .02em; }
p { margin: 0; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
html:where([lang="ja"]) .lead { font-size: 1.06rem; line-height: 1.95; max-width: 40em; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 68ch; display: grid; gap: 1.05em; }
html:where([lang="ja"]) .prose { max-width: 40em; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: .8em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: .45em; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 30px; width: auto; display: block; }
.brand span { font-size: .92rem; color: var(--ink-2); padding-left: 10px; border-left: 1px solid var(--line-strong); line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--radius); font-size: .97rem; }
.nav a:hover { background: var(--accent-soft); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav .lang { color: var(--ink-2); }
.nav .btn { margin-left: 8px; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--accent-ink); }
.nav .btn-primary:hover { background: var(--accent-hover); }
@media (max-width: 760px) {
  .brand span { display: none; }
  .site-header .wrap { gap: 12px; }
  .nav .lang { padding: 8px 6px; font-size: .92rem; }
  .nav .btn { margin-left: 4px; padding: 9px 14px; font-size: .92rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius);
  padding: 12px 20px; font: inherit; font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.nav .btn { padding: 9px 16px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sections */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section.tight { padding-block: clamp(32px, 4vw, 48px) var(--section); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head p { color: var(--ink-2); text-wrap: pretty; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.relay {
  position: relative; padding-left: 18px; color: var(--ink-2); font-size: 1.12rem; line-height: 1.5; margin-top: -6px;
}
.relay::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 3px; border-radius: 2px; background: var(--brand-gradient); }
.assure { font-size: .95rem; color: var(--ink-2); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Receiver console */
.console {
  margin: 0; background: var(--console-bg); color: var(--console-ink); border: 1px solid var(--console-edge);
  border-radius: 14px; padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 18px; min-width: 0;
  box-shadow: 0 30px 60px -40px rgba(9, 30, 36, .55);
}
.console-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .82rem; color: var(--console-label); letter-spacing: .02em; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(141, 203, 44, .18); }
.channel { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 14px; align-items: start; padding-top: 16px; border-top: 1px solid var(--console-edge); }
.ch-id { display: grid; gap: 2px; font-size: .8rem; color: var(--console-label); line-height: 1.3; }
.ch-id b { font-weight: 600; font-size: 1.35rem; color: var(--console-ink); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.ch-text { font-size: 1.12rem; line-height: 1.55; margin: 0; min-width: 0; }
.ch-text[lang="ja"] { font-size: 1.02rem; line-height: 1.85; letter-spacing: .03em; }
.ch-text .w { transition: color .25s ease; }
.console.is-live .ch-text .w { color: var(--console-dim); }
.console.is-live .ch-text .w.said { color: var(--console-ink); }
.channel.speaking .ch-id b { color: var(--lime); }
.console figcaption { font-size: .86rem; color: var(--console-label); line-height: 1.5; border-top: 1px solid var(--console-edge); padding-top: 14px; }
html:where([lang="ja"]) .console figcaption { font-size: .82rem; }
@media (prefers-reduced-motion: reduce) { .ch-text .w { transition: none; } }

/* Client names */
.clients { padding-block: 48px 52px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.clients .wrap { display: grid; gap: 24px; }
.clients h2 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.75rem); line-height: 1.3; color: var(--ink); }
.clients h2 .h-aside { font-size: .72em; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.client-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 34px; }
.client-list li { font-size: 1.08rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
html:where([lang="ja"]) .client-list li { font-size: 1rem; white-space: normal; }
.facts { color: var(--ink-2); font-size: .98rem; max-width: 80ch; }

/* Services: three columns divided by rules */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service { padding: 4px 28px 8px; display: grid; gap: 14px; align-content: start; border-left: 1px solid var(--line); min-width: 0; }
.service:first-child { padding-left: 0; border-left: 0; }
.service .price { font-size: .98rem; color: var(--ink-2); }
.service .price b { font-weight: 600; color: var(--ink); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.service dl { margin: 0; display: grid; gap: 6px; font-size: .96rem; }
.service dt { color: var(--ink-2); font-size: .86rem; }
.service dd { margin: 0 0 6px; }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; gap: 28px; }
  .service { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .service:first-child { padding-top: 0; border-top: 0; }
}

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
tr:last-child > * { border-bottom: 0; }
thead th { font-weight: 500; color: var(--ink-2); font-size: .9rem; background: var(--bg); }
tbody th { font-weight: 600; }
.table-wrap table:not(.stack):has(thead th:nth-child(3)) { min-width: 34rem; }
@media (max-width: 640px) {
  table.stack thead { display: none; }
  table.stack tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 4px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack th, table.stack td { padding: 0; border: 0; min-width: 0; }
  table.stack td.price { order: 2; }
  table.stack td:not(.price) { grid-column: 1 / -1; order: 3; color: var(--ink-2); font-size: .92rem; }
}
tbody th[scope="row"] { min-width: 8.5em; }
td.price, th.price { white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.compare th[scope="row"] { color: var(--ink-2); font-weight: 500; width: 26%; }
.compare td { width: 37%; }

/* Steps: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 36px; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--ink); min-width: 0; }
.steps li::before { content: counter(step); font-weight: 600; font-size: 1.05rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Reasons */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 56px; }
.reasons > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.reasons p { color: var(--ink-2); }
.reasons.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
@media (max-width: 900px) { .reasons.three { grid-template-columns: 1fr; gap: 28px; } }
.reasons.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 64px; }
.reasons.four > div { padding-top: 18px; border-top: 2px solid var(--accent); }
@media (max-width: 760px) { .reasons.four { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; gap: 28px; } }

/* Founder note */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.founder blockquote { margin: 0; font-size: 1.3rem; line-height: 1.5; letter-spacing: -.01em; }
html:where([lang="ja"]) .founder blockquote { font-size: 1.15rem; line-height: 1.9; letter-spacing: .02em; }
.founder cite { display: block; margin-top: 14px; font-style: normal; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 500; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }
html:where([lang="ja"]) .faq .answer { max-width: 42em; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Call to action band */
.cta-band { background: var(--console-bg); color: var(--console-ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-block: clamp(44px, 6vw, 72px); }
.cta-band h2 { max-width: 22ch; }
html:where([lang="ja"]) .cta-band h2 { max-width: 20em; }
.cta-band p { color: var(--console-label); margin-top: 10px; }
.cta-band .btn-primary { background: var(--lime); color: #10230f; }
.cta-band .btn-primary:hover { background: #a3dc4a; color: #10230f; }
.cta-band .btn-ghost { color: var(--console-ink); border-color: var(--console-edge); }
.cta-band .btn-ghost:hover { border-color: var(--console-ink); color: var(--console-ink); }

/* Page header for inner pages */
.page-head { padding-block: clamp(36px, 5vw, 64px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: 18px; }
.crumbs { font-size: .9rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.note { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; color: var(--ink-2); }
.answer-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 10px; max-width: 68ch; }
html:where([lang="ja"]) .answer-box { max-width: 42em; }
.answer-box h2 { font-size: 1.1rem; letter-spacing: 0; }
.meta-line { font-size: .9rem; color: var(--ink-2); }

/* Footer */
.site-footer { padding-block: 56px 40px; font-size: .95rem; color: var(--ink-2); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h2 { font-size: .95rem; color: var(--ink); font-weight: 600; margin-bottom: 10px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: .86rem; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }

/* Quote form */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } }
.stepper { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: qs; }
.stepper li { counter-increment: qs; font-size: .88rem; color: var(--ink-2); padding-top: 10px; border-top: 3px solid var(--line); line-height: 1.35; }
.stepper li::before { content: counter(qs) ". "; font-variant-numeric: tabular-nums; }
.stepper li.done { border-top-color: var(--accent); }
.stepper li.current { border-top-color: var(--ink); color: var(--ink); font-weight: 500; }
.qform fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 26px; min-width: 0; }
.qform legend { font-size: 1.45rem; font-weight: 600; margin-bottom: 4px; padding: 0; }
html:where([lang="ja"]) .qform legend { font-size: 1.3rem; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field > label, .field > .label { font-weight: 500; font-size: 1rem; }
.field .hint { font-size: .88rem; color: var(--ink-2); margin-top: -4px; }
.opt { font-weight: 400; color: var(--ink-2); font-size: .88rem; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 12px; min-height: 46px;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--focus) 45%, transparent); outline-offset: 0; border-color: var(--focus); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice span {
  display: grid; gap: 4px; height: 100%; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface); line-height: 1.35; cursor: pointer;
}
.choice span small { color: var(--ink-2); font-size: .86rem; }
.choice input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.check { display: inline-flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .choice span { border-color: var(--danger); }
.err { color: var(--danger); font-size: .9rem; }
html:where([lang="ja"]) .err { word-break: auto-phrase; }
.form-nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.estimate {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); background: var(--console-bg); color: var(--console-ink);
  border: 1px solid var(--console-edge); border-radius: 12px; padding: 22px; display: grid; gap: 14px;
}
.estimate h2 { font-size: 1.02rem; color: var(--console-label); font-weight: 500; letter-spacing: 0; }
.estimate .range.empty { font-size: 1.05rem; font-weight: 400; color: var(--console-label); letter-spacing: 0; line-height: 1.5; }
.estimate .range { font-size: 1.7rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1.2; }
.estimate ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.estimate li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--console-edge); padding-bottom: 6px; }
.estimate li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.estimate p { font-size: .86rem; color: var(--console-label); line-height: 1.5; }
@media (max-width: 960px) { .estimate { position: static; } }
.done-panel { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.done-panel .ref { font-variant-numeric: tabular-nums; font-weight: 600; }
.form-error { color: var(--danger); margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Client logo wall */
:root { --tile-bg: #ffffff; --tile-ink: #3d5158; }
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.logo-wall li { height: 84px; display: flex; align-items: center; justify-content: center; padding: 12px 18px; background: var(--tile-bg); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.logo-wall img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; display: block; }
.logo-wall li.is-big { padding: 6px 12px; }
.logo-wall li.is-big img { max-height: 72px; }
.logo-wall .is-name span { color: var(--tile-ink); font-weight: 600; font-size: .95rem; line-height: 1.3; text-align: center; letter-spacing: -.005em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --tile-bg: #eef3f1; --tile-ink: #2c3f45; } }
:root[data-theme="dark"] { --tile-bg: #eef3f1; --tile-ink: #2c3f45; }
@media (max-width: 520px) { .logo-wall { grid-template-columns: 1fr 1fr; } .logo-wall li { height: 72px; padding: 10px 12px; } .logo-wall li.is-big { padding: 5px 10px; } .logo-wall li.is-big img { max-height: 62px; } }

/* Media coverage */
.media-wall { --s: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.media-wall li { min-width: 0; }
.media-wall .m-tile { height: 100%; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.media-wall a.m-tile:hover { border-color: var(--accent); box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .35); }
.media-wall .m-logo { flex: none; height: 156px; display: flex; align-items: center; justify-content: center; padding: 22px 24px; background: var(--tile-bg); }
.media-wall .m-logo img { display: block; width: calc(var(--w, 220px) * var(--s)); height: auto; max-width: 100%; object-fit: contain; }
.media-wall .m-word { color: var(--tile-ink); font-weight: 700; font-size: 1.5rem; line-height: 1.2; text-align: center; }
.media-wall .m-cap { flex: 1 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 11px 16px 12px; border-top: 1px solid var(--line); }
.media-wall .m-meta { display: flex; flex-direction: column; min-width: 0; }
.media-wall .m-name { font-weight: 700; font-size: .95rem; line-height: 1.35; }
.media-wall .m-note { font-size: .78rem; line-height: 1.35; color: var(--ink-2); }
.media-wall .m-read { flex: none; font-size: .8rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
@media (max-width: 900px) { .media-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); --s: .9; } }
@media (max-width: 520px) {
  .media-wall { gap: 10px; --s: .62; }
  .media-wall .m-logo { height: 104px; padding: 14px 12px; }
  .media-wall .m-cap { flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 8px 10px 10px; gap: 2px; }
  .media-wall .m-name { font-size: .86rem; }
}

/* Use cases: four cards */
.usecases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.usecase { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 28px 30px 26px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 12px; box-shadow: 0 1px 2px rgba(10, 40, 40, .05); transition: box-shadow .18s ease, transform .18s ease; }
.usecase:hover { box-shadow: 0 14px 32px -20px rgba(10, 40, 40, .45); transform: translateY(-2px); }
.uc-head { display: flex; align-items: center; gap: 14px; }
.uc-icon { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.uc-icon svg { width: 28px; height: 28px; }
.usecase h3 { font-size: 1.42rem; line-height: 1.3; }
html:where([lang="ja"]) .usecase h3 { font-size: 1.28rem; }
.uc-sub { display: block; margin-top: 3px; font-size: .7em; font-weight: 500; color: var(--ink-2); letter-spacing: .01em; }
html:where([lang="ja"]) .uc-sub { margin-left: -.5em; }
.usecase h3 a { color: var(--ink); text-decoration: none; }
.usecase h3 a:hover { color: var(--accent); }
.usecase p { color: var(--ink); font-size: 1rem; }
.usecase ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: .98rem; }
.usecase li { display: flex; align-items: flex-start; gap: 10px; }
.uc-check { flex: none; margin-top: .22em; color: var(--accent); }
.usecase .more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 8px; color: var(--accent); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .15s ease, color .15s ease; }
.usecase .more:hover { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 760px) {
  .usecases { grid-template-columns: 1fr; gap: 14px; }
  .usecase { padding: 22px 20px 20px; gap: 14px; }
  .uc-icon { width: 44px; height: 44px; }
  .uc-icon svg { width: 24px; height: 24px; }
}

/* Remote interpretation kit */
.kit { display: grid; gap: 34px; }
.kit-scene { display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); align-items: center; gap: 14px; }
.kit-panel { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 18px; display: grid; gap: 10px; min-width: 0; }
.kit-panel.remote { border-style: dashed; border-color: var(--line-strong); }
.kit-panel svg { width: 100%; height: auto; max-height: 200px; display: block; }
.kit-panel figcaption { display: grid; gap: 2px; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
.kit-panel figcaption strong { color: var(--ink); font-size: 1rem; font-weight: 600; }
.k-ln, .k-soft, .k-acc { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.k-ln { stroke: var(--ink-2); stroke-width: 2; }
.k-soft { stroke: var(--line-strong); stroke-width: 2; }
.k-acc { stroke: var(--accent); stroke-width: 2.4; }
.k-fill { fill: var(--surface); }
.k-kit { fill: var(--accent); }
.kit-link { display: grid; gap: 22px; }
.kit-arrow { position: relative; display: block; text-align: center; font-size: .8rem; line-height: 1.3; color: var(--ink-2); padding: 0 8px 7px; border-bottom: 2px dashed var(--line-strong); }
.kit-arrow.back { color: var(--accent); font-weight: 500; border-bottom-color: var(--accent); }
.kit-arrow::after { content: ""; position: absolute; bottom: -6px; width: 0; height: 0; border-style: solid; }
.kit-arrow.to::after { right: -3px; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--line-strong); }
.kit-arrow.back::after { left: -3px; border-width: 5px 8px 5px 0; border-color: transparent var(--accent) transparent transparent; }
.kit-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 28px; counter-reset: kit; }
.kit-steps li { display: grid; gap: 8px; align-content: start; min-width: 0; counter-increment: kit; }
.kit-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.kit-icon svg { width: 24px; height: 24px; }
.kit-steps h3 { font-size: 1.02rem; }
.kit-steps h3::before { content: counter(kit) ". "; color: var(--accent); font-variant-numeric: tabular-nums; }
.kit-steps p { font-size: .94rem; color: var(--ink-2); line-height: 1.6; }
.kit-note { margin-top: 18px; display: block; width: fit-content; max-width: 100%; background: var(--accent-soft); border-radius: 8px; padding: 11px 16px; font-size: .95rem; color: var(--ink); }
.kit-note strong { font-weight: 600; margin-right: .35em; }
@media (max-width: 760px) {
  .kit-steps { grid-template-columns: 1fr; }
  .kit-scene { grid-template-columns: 1fr; gap: 10px; }
  .kit-link { grid-template-columns: 1fr 1fr; gap: 12px; padding-inline: 18%; }
  .kit-arrow { border-bottom: 0; border-left: 2px dashed var(--line-strong); text-align: left; padding: 8px 0 8px 12px; }
  .kit-arrow.back { border-left-color: var(--accent); }
  .kit-arrow.to::after { left: -6px; right: auto; bottom: -4px; border-width: 8px 5px 0 5px; border-color: var(--line-strong) transparent transparent transparent; }
  .kit-arrow.back::after { left: -6px; top: -4px; bottom: auto; border-width: 0 5px 8px 5px; border-color: transparent transparent var(--accent) transparent; }
}
@media (max-width: 520px) { .kit-link { padding-inline: 4%; } }
.setup-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 32px; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.benefits > div { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--accent); min-width: 0; }
.benefits p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }

/* Scenario list on use-case pages */
.scenarios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.scenarios > div { display: grid; gap: 6px; align-content: start; min-width: 0; }
.scenarios p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 860px) { .scenarios { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .scenarios { grid-template-columns: 1fr; } }

/* Quote: what happens next */
.next-box { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); background: var(--console-bg); color: var(--console-ink); border: 1px solid var(--console-edge); border-radius: 12px; padding: 24px; display: grid; gap: 14px; }
.next-box h2 { font-size: 1.1rem; letter-spacing: 0; }
.next-box ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .95rem; }
.next-box p { font-size: .9rem; color: var(--console-label); }
@media (max-width: 960px) { .next-box { position: static; } }

html:where([lang="ja"]) :is(h1, h2, h3) { word-break: auto-phrase; }
.nw { display: inline-block; }
.choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 420px) { .choices.two { grid-template-columns: 1fr; } }
