/* ==========================================================================
   Ryuzu Watches — site stylesheet
   Design language: heritage / atelier. Warm paper, ink, brass hairlines.
   No frameworks, no build step. Theme-aware (light + dark).
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --bg: #faf8f4;
  --bg-alt: #f3efe8;
  --surface: #ffffff;
  --surface-2: #f6f2ea;
  --text: #1b1e23;
  --text-2: #3a4048;
  --muted: #5f6672;
  --line: #e3ddd2;
  --line-strong: #cfc6b6;
  --accent: #8c6a2f;
  --accent-hover: #6f5324;
  --accent-soft: #f1e8d8;
  --accent-ink: #574118;
  --ok: #2f6b46;
  --err: #a3342b;
  --btn-text: #ffffff;

  --font-display: "Cormorant Garamond", "Hiragino Mincho ProN", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --wrap-narrow: 760px;
  --radius: 2px;
  --shadow: 0 1px 2px rgba(27, 30, 35, .04), 0 8px 24px rgba(27, 30, 35, .05);

  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4.5rem;
  --sp-9: 6.5rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12141a;
    --bg-alt: #171a21;
    --surface: #181b22;
    --surface-2: #1e222a;
    --text: #eceae6;
    --text-2: #cdd2da;
    --muted: #a3aab7;
    --line: #2b303a;
    --line-strong: #3a4150;
    --accent: #d8b46a;
    --accent-hover: #e6c684;
    --accent-soft: #262013;
    --accent-ink: #f0dcae;
    --ok: #7fc09b;
    --err: #e08b81;
    --btn-text: #14120c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
  }
}
:root[data-theme="dark"] {
  --bg: #12141a;
  --bg-alt: #171a21;
  --surface: #181b22;
  --surface-2: #1e222a;
  --text: #eceae6;
  --text-2: #cdd2da;
  --muted: #a3aab7;
  --line: #2b303a;
  --line-strong: #3a4150;
  --accent: #d8b46a;
  --accent-hover: #e6c684;
  --accent-soft: #262013;
  --accent-ink: #f0dcae;
  --ok: #7fc09b;
  --err: #e08b81;
  --btn-text: #14120c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  /* 見出しの Cormorant Garamond は既定がオールドスタイル数字で、1 や 4 が
     x-height に沈む。欧文だけなら意匠だが、漢字と並ぶと誤植に見える
     （「正規店で買えない1本」の 1 が小さく見えていた）。
     font-variant-numeric は継承するので、body に一度だけ置いて全体を揃える。 */
  font-variant-numeric: lining-nums;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 var(--sp-4); }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-top: var(--sp-7); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-top: var(--sp-6); font-weight: 700; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-top: var(--sp-5); }
p { margin: 0 0 var(--sp-4); max-width: 68ch; }
strong { font-weight: 650; color: var(--text); }
small { font-size: .85rem; color: var(--muted); }
ul, ol { padding-left: 1.25rem; margin: 0 0 var(--sp-4); max-width: 68ch; }
li { margin-bottom: .4rem; }
blockquote { margin: var(--sp-5) 0; padding-left: var(--sp-4); border-left: 2px solid var(--accent); color: var(--text-2); }
code, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: var(--radius); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 650;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 var(--sp-3);
}
.lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--text-2); max-width: 60ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center p, .center .lede { margin-left: auto; margin-right: auto; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.narrow { max-width: var(--wrap-narrow); margin-inline: auto; }
section { padding-block: clamp(2.6rem, 6vw, var(--sp-8)); }
section.tight { padding-block: clamp(2rem, 4vw, var(--sp-7)); }
.band { background: var(--bg-alt); border-block: 1px solid var(--line); }
.band-ink { background: var(--surface-2); border-block: 1px solid var(--line); }

.grid { display: grid; gap: var(--sp-5); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.05fr .95fr; align-items: start; }
@media (max-width: 900px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: var(--sp-5); min-height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; color: var(--text); }
.brand:hover { text-decoration: none; color: var(--text); }
.brand .brand-mark { width: 28px; height: 28px; flex: none; }

/* **ロゴは円の外も内も抜けている。**
   ライトでは地にそのまま置けるが、ダークでは外輪の「RYUZU WATCHES」と
   中央のモノグラムが黒なので地に沈む。だから**ダークのときだけ**円ぶんの
   白を敷く。画像は正方形に整えてあるので、border-radius:50% が金の輪と重なる。
   画像を2枚に分けないのは、<picture> の media が data-theme に反応しないため。 */
.brand .brand-mark,
.hero-art img { border-radius: 50%; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .brand-mark,
  :root:not([data-theme="light"]) .hero-art img { background: #fff; }
}
:root[data-theme="dark"] .brand .brand-mark,
:root[data-theme="dark"] .hero-art img { background: #fff; }
.brand .brand-sub { display: block; font-family: var(--font-body); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }
.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a { color: var(--text-2); font-size: .93rem; }
.site-nav a[aria-current="page"] { color: var(--accent); }
/* Specificity note: `.site-nav a` would otherwise win over `.btn` and leave the
   nav button's label unreadable on the brass fill. */
.site-nav .btn { font-size: .86rem; padding: .55rem 1.05rem; color: var(--btn-text); }
.site-nav .btn:hover { color: var(--btn-text); }
.mobile-nav { display: none; }
@media (max-width: 940px) {
  .site-nav > ul { display: none; }
  .mobile-nav { display: block; margin-left: auto; }
  .mobile-nav summary {
    list-style: none; cursor: pointer; padding: .5rem .8rem;
    border: 1px solid var(--line-strong); border-radius: var(--radius);
    font-size: .85rem; font-weight: 600; color: var(--text-2);
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0 clamp(1.1rem, 4vw, 2rem); }
  .mobile-nav[open] > ul {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding-block: var(--sp-2);
  }
  .mobile-nav li { margin: 0; border-bottom: 1px solid var(--line); }
  .mobile-nav li:last-child { border-bottom: 0; }
  .mobile-nav a { display: block; padding: .8rem 0; color: var(--text-2); font-size: .95rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  padding: .8rem 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--accent); background: var(--accent); color: var(--btn-text);
  cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--btn-text); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; margin-top: var(--sp-5); }

/* ---------- cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--sp-5);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card-num { font-family: var(--font-display); font-size: 2rem; color: var(--accent); line-height: 1; display: block; margin-bottom: var(--sp-3); }

/* ---------- answer-first block (answer engine optimisation) ---------- */
.answer {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  padding: var(--sp-4) var(--sp-5);
  margin: 0 0 var(--sp-6);
  max-width: 74ch;
}
.answer > :last-child { margin-bottom: 0; }
.answer .eyebrow { margin-bottom: var(--sp-2); }

/* ---------- tables / key facts ---------- */
.table-scroll { overflow-x: auto; margin: var(--sp-5) 0; border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: var(--sp-3) var(--sp-4); color: var(--muted); font-size: .85rem; border-bottom: 1px solid var(--line); }
th, td { text-align: left; padding: .7rem var(--sp-4); border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--font-body); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 650; background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
td strong { color: var(--text); }

.keyfacts { display: grid; gap: 0; border: 1px solid var(--line); background: var(--surface); margin: var(--sp-5) 0; }
.keyfacts > div { display: grid; grid-template-columns: 210px 1fr; gap: var(--sp-4); padding: .75rem var(--sp-4); border-bottom: 1px solid var(--line); }
.keyfacts > div:last-child { border-bottom: 0; }
.keyfacts dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 650; padding-top: .18rem; }
.keyfacts dd { margin: 0; }
@media (max-width: 620px) { .keyfacts > div { grid-template-columns: 1fr; gap: .15rem; } }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: var(--sp-6) 0 0; counter-reset: step; max-width: none; }
.steps > li {
  counter-increment: step; position: relative;
  padding: 0 0 var(--sp-6) 3.4rem; margin: 0 0 0 1.1rem;
  border-left: 1px solid var(--line);
}
.steps > li::before {
  content: counter(step);
  position: absolute; left: -1.1rem; top: -.15rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--accent);
  color: var(--accent); font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
}
.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps h3 { margin: 0 0 var(--sp-2); }
.steps p:last-child { margin-bottom: 0; }
.steps .step-meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-2); }

/* ---------- FAQ ---------- */
.faq { margin: var(--sp-6) 0 0; max-width: 74ch; }
.faq > div { border-top: 1px solid var(--line); padding: var(--sp-5) 0; }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-family: var(--font-body); font-size: 1.04rem; font-weight: 650; margin: 0 0 var(--sp-2); line-height: 1.45; color: var(--text); }
.faq dd { margin: 0; color: var(--text-2); }
.faq dd > :last-child { margin-bottom: 0; }

/* ---------- glossary ---------- */
.glossary { margin: var(--sp-6) 0 0; }
.glossary > div { border-top: 1px solid var(--line); padding: var(--sp-4) 0; display: grid; grid-template-columns: 250px 1fr; gap: var(--sp-5); }
.glossary > div:last-child { border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 650; }
.glossary dt .jp { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.glossary dd { margin: 0; color: var(--text-2); }
@media (max-width: 760px) { .glossary > div { grid-template-columns: 1fr; gap: .3rem; } }

/* ---------- misc ---------- */
.badge {
  display: inline-block; font-size: .7rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .6rem; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--muted);
}
.badge-accent { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: var(--sp-4) 0; padding: 0; list-style: none; max-width: none; }
.pill-row li { margin: 0; }
.pill { display: inline-block; font-size: .86rem; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 100px; background: var(--surface); color: var(--text-2); }
.note { font-size: .92rem; color: var(--muted); border: 1px dashed var(--line-strong); padding: var(--sp-4); border-radius: var(--radius); margin: var(--sp-5) 0; background: var(--surface); }
.note > :last-child { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.updated { font-size: .82rem; color: var(--muted); }

.breadcrumb { font-size: .82rem; color: var(--muted); padding-top: var(--sp-5); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0; max-width: none; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .45rem; color: var(--line-strong); }

.page-head { padding-top: var(--sp-6); padding-bottom: 0; }
.page-head h1 { margin-bottom: var(--sp-4); }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 8vw, var(--sp-9)) clamp(2.5rem, 6vw, var(--sp-8)); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 82% 10%, var(--accent-soft) 0%, transparent 62%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 72%);
}
.hero h1 { max-width: 21ch; }
.hero .lede { max-width: 54ch; }
.hero-art { display: grid; place-items: center; }
.hero-art svg { width: min(100%, 430px); }
/* **トップのロゴ。** 幅は元の作図と同じにして、節の高さを変えない */
.hero-art img { width: min(100%, 430px); height: auto; }
.hero-stats { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-top: var(--sp-6); padding: 0; list-style: none; max-width: none; }
.hero-stats li { margin: 0; }
.hero-stats .n { display: block; font-family: var(--font-display); font-size: 1.75rem; color: var(--text); line-height: 1.15; }
.hero-stats .l { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- forms ---------- */
.form { margin-top: var(--sp-6); }
.form fieldset { border: 0; padding: 0; margin: 0 0 var(--sp-6); }
.form legend {
  padding: 0; margin-bottom: var(--sp-4);
  font-family: var(--font-body); font-size: .74rem; font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.form-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-size: .86rem; font-weight: 600; color: var(--text-2); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field .req { color: var(--accent); }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], select, textarea {
  font-family: var(--font-body); font-size: .97rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: .7rem .85rem; width: 100%;
}
textarea { min-height: 130px; resize: vertical; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); outline-offset: 0; }
.check { display: grid; grid-template-columns: 1.15rem 1fr; gap: .65rem; align-items: start; font-size: .9rem; color: var(--text-2); }
.check input { margin: .28rem 0 0; accent-color: var(--accent); }
.form-status { margin-top: var(--sp-4); padding: var(--sp-4); border: 1px solid var(--line); background: var(--surface-2); font-size: .93rem; }
.form-status.ok { border-color: var(--ok); color: var(--ok); }
.form-status.err { border-color: var(--err); color: var(--err); }
.sr-only { position: absolute; 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: -9999px; }
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); z-index: 100; background: var(--surface); padding: .6rem 1rem; border: 1px solid var(--accent); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--surface-2); border-block: 1px solid var(--line); text-align: center; }
.cta-band h2 { margin-top: 0; }
.cta-band .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding-block: var(--sp-7) var(--sp-6); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--sp-6); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2, .site-footer h3 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--sp-3); font-weight: 650; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--accent); }
.footer-legal { border-top: 1px solid var(--line); margin-top: var(--sp-6); padding-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; color: var(--muted); font-size: .84rem; }

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .btn-row { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Japanese pages (/ja/)
   Japanese text needs a different font stack, looser leading and different
   line-breaking rules than the Latin stack above. Scoped to [lang="ja"] so the
   English pages are untouched.
   ========================================================================== */
[lang="ja"] {
  --font-display: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho",
                  "YuMincho", "Noto Serif JP", serif;
  --font-body: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "YuGothic", "Noto Sans JP", "Meiryo", sans-serif;
}
[lang="ja"] body,
body[lang="ja"] {
  font-size: 16px;
  line-height: 1.9;          /* Japanese needs more air between lines than Latin */
  letter-spacing: .02em;
}
[lang="ja"] p,
[lang="ja"] li,
[lang="ja"] dd {
  max-width: 44em;           /* ~44 full-width chars; 68ch is far too wide in Japanese */
}
[lang="ja"] h1, [lang="ja"] h2, [lang="ja"] h3 {
  line-height: 1.4;
  letter-spacing: .01em;
  /* Keep headings from breaking mid-phrase where a browser supports it. */
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
[lang="ja"] h1 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
[lang="ja"] h2 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
[lang="ja"] h3 { font-size: clamp(1.08rem, 1.6vw, 1.2rem); }
[lang="ja"] .lede { font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 40em; }
[lang="ja"] .eyebrow { letter-spacing: .12em; }
[lang="ja"] .keyfacts > div { grid-template-columns: 12em 1fr; }
@media (max-width: 620px) {
  [lang="ja"] .keyfacts > div { grid-template-columns: 1fr; }
}
[lang="ja"] .glossary > div { grid-template-columns: 14em 1fr; }
@media (max-width: 760px) {
  [lang="ja"] .glossary > div { grid-template-columns: 1fr; }
}
/* Japanese numerals and currency read better without the serif display face. */
[lang="ja"] .hero-stats .n,
[lang="ja"] .price-panel .big { font-family: var(--font-body); font-weight: 650; }

/* ---------- language switch ---------- */
.lang-switch {
  font-size: .82rem !important;
  letter-spacing: .06em;
  padding: .3rem .6rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--muted) !important;
}
.lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  text-decoration: none;
}

/* ==========================================================================
   Client voices
   Real, attributable feedback only. The sample banner below is deliberately
   loud so a placeholder can never be mistaken for the real thing in review,
   and never ship by accident.
   ========================================================================== */
.voices { display: grid; gap: var(--sp-5); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--sp-6); }
@media (max-width: 900px) { .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .voices { grid-template-columns: 1fr; } }

.voice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.voice blockquote {
  margin: 0; padding: 0; border: 0;
  color: var(--text); font-size: .97rem;
}
.voice blockquote p { margin: 0 0 .7rem; max-width: none; }
.voice blockquote p:last-child { margin-bottom: 0; }
.voice .voice-meta {
  margin-top: auto; padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}
.voice .voice-meta strong { display: block; color: var(--text); font-weight: 650; }
.voice .voice-item {
  font-size: .8rem; color: var(--accent);
  letter-spacing: .04em; margin-top: .2rem;
}

/* A placeholder block. Impossible to miss, both on screen and in the source. */
.sample-banner {
  border: 2px dashed var(--err);
  background: var(--surface-2);
  color: var(--err);
  padding: var(--sp-4) var(--sp-5);
  margin: var(--sp-5) 0;
  font-size: .92rem;
  font-weight: 600;
}
.sample-banner > :last-child { margin-bottom: 0; }
.sample-banner p { color: var(--err); max-width: none; }
.voices.is-sample .voice { border-style: dashed; opacity: .82; }
.voices.is-sample .voice::before {
  content: "サンプル";
  align-self: flex-start;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  padding: .2rem .5rem; border-radius: 2px;
  background: var(--err); color: var(--surface);
}

/* ==========================================================================
   Utilities and one-off tweaks that used to be inline style="" attributes.

   The site ships a strict CSP (style-src 'self' …, no 'unsafe-inline'), which
   blocks style attributes as well as <style> blocks — every one of them was
   being dropped by the browser, so the spacing they asked for never applied.
   Rather than weaken the policy, the values live here.
   Written by scripts/inline-styles-to-classes.py; keep the two in step.
   ========================================================================== */

/* ---- spacing utilities (exact values, not token-snapped) ---------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--sp-4); }   /* 1rem   */
.mt-5 { margin-top: var(--sp-5); }   /* 1.5rem */
.mt-6 { margin-top: var(--sp-6); }   /* 2rem   */

/* ---- one-off, context-specific ----------------------------------------- */

/* "Contents" heading inside the in-page table of contents card. Sized down
   and set in the body face so it reads as a label, not a section heading. */
.toc-title {
  margin-top: 0;
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 650;
}

/* A note block that needs air above it because it closes a long section. */
.note.is-spaced { margin-top: 2.5rem; }

/* Licence line under the landing-page hero. */
.lp-licence { margin-top: 1.6rem; font-size: .92rem; }

/* Free-text boxes: the sourcing brief needs more room than a plain note. */
.textarea-brief { min-height: 104px; }
.textarea-notes { min-height: 90px; }

/* Submit button sits away from the last field. */
.form-submit { margin-top: 1.2rem; }

/* A link paragraph that follows a list and should hug it. */
.list-followup { margin: 1.2rem 0 0; }

/* Stacked group of related fields inside a form. */
.field-stack { display: grid; gap: .9rem; margin-top: 1.2rem; }

/* Hint text that follows a control rather than labelling it. */
.hint.is-spaced { margin-top: .9rem; }

/* Key-facts list used inside a card: the card already draws the frame. */
.keyfacts.is-bare { margin: 0; border: 0; }
.keyfacts.is-bare > div { padding-left: 0; padding-right: 0; }
.keyfacts.is-bare > div:last-child { border-bottom: 0; }


/* ==========================================================================
   Model pages
   型番ページ用。一覧はカード、個別ページは「日本国内のみ」バッジと別表記の行。
   ========================================================================== */
.model-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.model-list a {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.model-list a:hover,
.model-list a:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.model-list strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.model-list span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* 「日本国内のみで販売」。事実として裏の取れているモデルにしか出さないので、
   装飾ではなく主張として読めるだけの重みを持たせている。 */
.badge-jp {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 型番の別表記。読者にとっても実用的な情報なので、隠さず本文として置く。 */
.also {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (min-width: 40em) {
  .model-list { grid-template-columns: 1fr 1fr; }
}


/* --------------------------------------------------------------------------
   LINE ボタン（日本語ページのみ）
   LINE のブランド緑 #06C755 に白文字は、コントラスト比 2.2:1 で WCAG AA を
   満たさない。LINE 自身のガイドラインはそうしているが、このサイトは全要素で
   AA を通しているので合わせない。緑は残したまま文字を暗くする。
   見分けがつくのは色であって文字色ではないため、ブランド認知は損なわない。
   -------------------------------------------------------------------------- */
.btn-line {
  background: #06c755;
  border-color: #06c755;
  color: #08210f;
}

.btn-line:hover,
.btn-line:focus-visible {
  background: #05b34c;
  border-color: #05b34c;
  color: #08210f;
}


/* --------------------------------------------------------------------------
   言語の案内バー
   ブラウザ言語とページの言語が食い違うときだけ、JS が差し込む。
   強制的な振り分けはしない（理由は lang-suggest.js の冒頭）。
   ヘッダーの直下に入るので、既存のレイアウトを押し下げるだけで重ならない。
   -------------------------------------------------------------------------- */
.lang-banner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--muted);
}

.lang-banner a {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

/* × を右端へ。閉じるボタンは装飾ではなく操作なので、
   タップ領域を 44px 確保する。 */
.lang-banner-close {
  margin-inline-start: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.lang-banner-close:hover,
.lang-banner-close:focus-visible {
  color: var(--text);
}
