/* ============================================================
   ai-dx.css — AI導入支援 特化LP + AI成熟度診断ツール
   dx.html の <style> をベースに複製。診断UI（.diag-*）を追加。
   ============================================================ */

:root {
  --cream: #FAF5EB;
  --paper: #F2EBDB;
  --ink: #15224F;
  --ink-deep: #0C1638;
  --tomato: #C93A2C;
  --mustard: #F4C443;
  --bone: #FFFCF5;

  --font-mincho: "Shippori Mincho", serif;
  --font-gothic: "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-num: "Bebas Neue";
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--cream); color: var(--ink); }
body { font-family: var(--font-gothic); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1340px; margin: 0 auto; padding: 0 48px; }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 48px; }

/* ===== Nav (shared) ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(250,245,235,.92); backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--ink);
}
.nav .logo { display: flex; align-items: center; gap: 12px; }
.nav .logo b { font-family: var(--font-num); font-size: 26px; color: var(--ink); letter-spacing: .04em; }
.nav .logo .yr { font-family: var(--font-gothic); font-size: 11px; opacity: .55; letter-spacing: .15em; }
.gw-mark { display: inline-block; color: #7EA32D; }
.nav .gw-mark { width: 28px; height: 28px; }
.ftr-brand .gw-mark { width: 42px; height: 42px; vertical-align: -10px; margin-right: 8px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-family: var(--font-gothic); font-size: 11px; letter-spacing: .15em; font-weight: 700;
  padding: 10px 14px; color: var(--ink); transition: background .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.on { background: var(--ink); color: var(--mustard); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700;
  padding: 14px 26px; cursor: pointer; border: none; font-family: var(--font-gothic); letter-spacing: .12em;
  font-size: 16px; text-transform: uppercase;
  transition: transform .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); }
  .nav .btn { font-size: 14px; padding: 10px 18px; }
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: 4px 4px 0 var(--tomato); }
.btn-tomato { background: var(--tomato); color: var(--cream); box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-mustard { background: var(--mustard); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }

/* ===== HERO ===== */
.art-hero { padding: 168px 0 64px; position: relative; }
.art-crumb { font-family: var(--font-gothic); font-size: 11px; letter-spacing: .18em; color: var(--ink); opacity: .65; margin-bottom: 24px; }
.art-crumb a { color: var(--tomato); }
.art-crumb a:hover { text-decoration: underline; }

.svc-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; }
.svc-hero-left .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-gothic); font-size: 11px; letter-spacing: .2em;
  margin-bottom: 28px;
}
.svc-hero-left .eyebrow .num { background: var(--tomato); color: var(--cream); padding: 4px 10px; border-radius: 3px; font-family: var(--font-num); letter-spacing: .04em; font-size: 14px; }
.svc-hero-left .eyebrow .bar { width: 60px; height: 1.5px; background: var(--ink); opacity: .3; }
.art-h1 {
  font-family: var(--font-mincho); font-weight: 900;
  font-size: clamp(56px, 7.6vw, 116px); line-height: 1; letter-spacing: -.03em;
  color: var(--ink);
}
.art-h1 em { font-style: normal; position: relative; display: inline-block; }
.art-h1 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 6%; height: 18px; background: var(--mustard); z-index: -1; }
.art-h1 .block { display: inline-block; background: var(--ink); color: var(--mustard); padding: 0 .12em; transform: skew(-3deg); }
.art-h1 .red { color: var(--tomato); }
.art-h1 .small { font-size: .38em; display: block; margin-top: 12px; opacity: .85; letter-spacing: 0; }

.svc-hero-right {
  border-left: 2px solid var(--ink); padding-left: 32px;
  align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 8px;
}
.svc-hero-right .lead { font-family: var(--font-mincho); font-weight: 500; font-size: 16px; line-height: 2; margin-bottom: 24px; }
.svc-hero-right .lead em { font-style: normal; font-weight: 700; color: var(--tomato); }
.svc-hero-right .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-hero-right .pills span {
  font-family: var(--font-gothic); font-size: 10px; letter-spacing: .14em;
  padding: 7px 12px; border: 1.5px solid var(--ink); border-radius: 999px;
}

.art-meta-bar {
  margin-top: 64px;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-gothic); font-size: 11px; letter-spacing: .14em;
}
.art-meta-bar > div { padding: 13px 22px; border-right: 1.5px solid var(--ink); display: flex; align-items: center; gap: 10px; }
.art-meta-bar > div:last-child { border-right: none; }
.art-meta-bar b { color: var(--tomato); font-family: var(--font-num); font-size: 16px; letter-spacing: .04em; }
.art-meta-bar .todo { font-size: 9px; opacity: .55; }

/* ===== Section base ===== */
.sec { padding: 120px 0; }
.sec-h { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 60px; margin-bottom: 56px; align-items: end; }
.sec-num { font-family: var(--font-num); font-size: 88px; color: var(--tomato); line-height: 1; letter-spacing: .04em; }
.sec-num small { display: block; font-family: var(--font-gothic); font-size: 11px; color: var(--ink); letter-spacing: .2em; margin-top: 8px; font-weight: 700; }
.sec-title { font-family: var(--font-mincho); font-weight: 900; font-size: clamp(40px, 4.8vw, 68px); line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.sec-title .hl { background: var(--mustard); padding: 0 .12em; }
.sec-title .block { display: inline-block; background: var(--ink); color: var(--mustard); padding: 0 .12em; transform: skew(-3deg); }
.sec-title .red { color: var(--tomato); }
.sec-aside { font-size: 13px; line-height: 1.85; opacity: .85; border-left: 2px solid var(--tomato); padding-left: 14px; font-family: var(--font-mincho); }

/* ===== PAIN POINTS ===== */
.pains { background: var(--paper); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.pains-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain {
  background: var(--bone); border: 1.5px solid var(--ink);
  padding: 28px 26px 32px; position: relative;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.pain:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--tomato); background: var(--ink); color: var(--cream); }
.pain:hover .pain-num, .pain:hover .pain-en { color: var(--mustard); }
.pain .pain-en { font-family: var(--font-gothic); font-size: 10px; letter-spacing: .16em; color: var(--tomato); margin-bottom: 14px; }
.pain .pain-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-num); font-size: 36px; color: var(--ink); opacity: .25; line-height: 1; transition: color .25s ease, opacity .25s ease; }
.pain:hover .pain-num { opacity: 1; }
.pain h3 { font-family: var(--font-mincho); font-weight: 900; font-size: 20px; line-height: 1.55; margin-bottom: 10px; }
.pain h3 em { font-style: normal; background: var(--mustard); padding: 0 .1em; color: var(--ink); }
.pain p { font-family: var(--font-mincho); font-size: 13px; line-height: 1.85; opacity: .8; }

/* ===== OFFER LIST (solution highlights) ===== */
.offer-list { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--ink); }
.offer { display: grid; grid-template-columns: 110px 1fr 1.15fr; gap: 32px; padding: 36px 0; border-bottom: 2px solid var(--ink); align-items: start; }
.offer-num { font-family: var(--font-num); font-size: 72px; color: var(--tomato); line-height: 1; letter-spacing: .02em; }
.offer-num small { display: block; font-family: var(--font-gothic); font-size: 10px; color: var(--ink); letter-spacing: .15em; margin-top: 6px; font-weight: 700; opacity: .6; }
.offer-title h3 { font-family: var(--font-mincho); font-weight: 900; font-size: 26px; line-height: 1.3; }
.offer-title .en { display: block; font-family: var(--font-num); font-size: 12px; letter-spacing: .14em; color: var(--tomato); margin-top: 8px; }
.offer-body { font-family: var(--font-mincho); font-size: 15px; line-height: 1.95; }
.offer-body em { font-style: normal; font-weight: 700; color: var(--tomato); }
.offer-body .hl { background: var(--mustard); padding: 0 .1em; }

/* ===== TWO-AXIS INTRO (services) ===== */
.axis-row { display: flex; gap: 16px; margin-bottom: 40px; }
.axis {
  flex: 1; background: var(--bone); border: 1.5px solid var(--ink);
  padding: 22px 26px; display: flex; align-items: baseline; gap: 14px;
}
.axis .axis-tag { font-family: var(--font-num); font-size: 30px; color: var(--tomato); }
.axis p { font-family: var(--font-mincho); font-size: 14px; line-height: 1.8; }
.axis p b { color: var(--ink); }

/* ===== PRICING LADDER ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: var(--bone); border: 1.5px solid var(--ink);
  padding: 32px 30px 36px; display: flex; flex-direction: column;
  position: relative; transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--tomato); }
.plan-tag { font-family: var(--font-gothic); font-size: 10px; letter-spacing: .18em; color: var(--tomato); margin-bottom: 12px; }
.plan h3 { font-family: var(--font-mincho); font-weight: 900; font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
.plan .price { font-family: var(--font-num); font-size: 44px; color: var(--ink); line-height: 1; letter-spacing: .02em; margin-bottom: 4px; }
.plan .price small { font-family: var(--font-gothic); font-size: 12px; letter-spacing: 0; font-weight: 700; color: var(--ink); opacity: .7; margin-left: 4px; }
.plan .unit { font-family: var(--font-mincho); font-size: 12px; opacity: .7; margin-bottom: 18px; }
.plan-meta { border-top: 1px dashed rgba(21,34,79,.3); padding-top: 14px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 10px; }
.plan-meta dt { font-family: var(--font-gothic); font-size: 9px; letter-spacing: .14em; color: var(--tomato); margin-bottom: 3px; }
.plan-meta dd { font-family: var(--font-mincho); font-size: 12.5px; line-height: 1.65; }
.plan .cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 22px; background: var(--ink); color: var(--cream);
  font-family: var(--font-gothic); font-size: 15px; letter-spacing: .1em; font-weight: 700;
  box-shadow: 4px 4px 0 var(--tomato); align-self: stretch; justify-content: center;
  transition: transform .15s ease;
}
.plan .cta:hover { transform: translate(-2px, -2px); }
.plan-featured { background: var(--mustard); }
.plan-featured .plan-tag { background: var(--ink); color: var(--mustard); padding: 4px 10px; display: inline-block; }
.plan-featured .price { color: var(--ink); }
.plan-featured::before {
  content: "STEP 1 · 無料"; position: absolute; top: -14px; right: 24px;
  background: var(--tomato); color: var(--cream);
  font-family: var(--font-gothic); font-size: 10px; letter-spacing: .18em; padding: 6px 12px;
}
.pricing-note { margin-top: 32px; padding: 18px 22px; background: var(--paper); border: 1.5px dashed var(--ink); font-family: var(--font-mincho); font-size: 13px; line-height: 1.85; }
.pricing-note b { color: var(--tomato); font-family: var(--font-gothic); font-size: 10px; letter-spacing: .18em; display: block; margin-bottom: 4px; }

/* ===== CASE / BEFORE-AFTER ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case {
  background: var(--bone); border: 1.5px solid var(--ink);
  padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; min-height: 260px;
  position: relative; transition: transform .25s ease, box-shadow .25s ease;
}
.case:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
.case-tag { font-family: var(--font-gothic); font-size: 10px; letter-spacing: .16em; color: var(--tomato); }
.case h3 { font-family: var(--font-mincho); font-weight: 900; font-size: 19px; line-height: 1.5; }
.case .ba-row { display: flex; gap: 14px; margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(21,34,79,.3); }
.case .ba-col { flex: 1; }
.case .ba-col .lbl { font-family: var(--font-gothic); font-size: 9px; letter-spacing: .14em; opacity: .6; }
.case .ba-col .v { font-family: var(--font-num); font-size: 32px; line-height: 1; color: var(--ink); margin-top: 4px; }
.case .ba-arrow { align-self: center; font-family: var(--font-num); font-size: 20px; color: var(--tomato); }
.case-placeholder {
  margin-top: 20px; padding: 14px 18px; background: rgba(201,58,44,.08); border: 1px dashed var(--tomato);
  font-family: var(--font-mincho); font-size: 12px; line-height: 1.75;
}
.case-placeholder b { font-family: var(--font-gothic); font-size: 9px; letter-spacing: .16em; color: var(--tomato); display: block; margin-bottom: 4px; }

/* ===== PROCESS ===== */
.process { background: var(--ink); color: var(--cream); }
.process .sec-num { color: var(--mustard); }
.process .sec-num small { color: var(--cream); }
.process .sec-title { color: var(--cream); }
.process .sec-title .block { background: var(--mustard); color: var(--ink); }
.process .sec-aside { color: var(--cream); border-left-color: var(--mustard); }

.proc-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1.5px solid rgba(255,255,255,.25);
  border-bottom: 1.5px solid rgba(255,255,255,.25);
}
.proc-step { padding: 32px 22px 36px; border-right: 1.5px solid rgba(255,255,255,.18); position: relative; transition: background .25s ease; }
.proc-step:last-child { border-right: none; }
.proc-step:hover { background: rgba(255,255,255,.04); }
.proc-step .pn { font-family: var(--font-num); font-size: 44px; line-height: 1; color: var(--mustard); letter-spacing: .04em; }
.proc-step .pn small { font-family: var(--font-gothic); font-size: 9px; letter-spacing: .2em; color: var(--cream); display: block; margin-top: 4px; opacity: .65; }
.proc-step h3 { font-family: var(--font-mincho); font-weight: 900; font-size: 18px; line-height: 1.4; margin-top: 20px; margin-bottom: 10px; }
.proc-step p { font-family: var(--font-mincho); font-size: 12.5px; line-height: 1.85; opacity: .8; }
.proc-step .dur { margin-top: 16px; font-family: var(--font-gothic); font-size: 10px; letter-spacing: .14em; color: var(--mustard); padding: 5px 10px; border: 1px solid var(--mustard); display: inline-block; }

/* ===== LEAD MAGNET TEASER (section 8) ===== */
.wp-teaser {
  background: var(--paper); border: 1.5px solid var(--ink);
  padding: 40px 44px; display: flex; align-items: center; gap: 32px; justify-content: space-between; flex-wrap: wrap;
}
.wp-teaser .wp-text { max-width: 560px; }
.wp-teaser .wp-tag { font-family: var(--font-gothic); font-size: 10px; letter-spacing: .18em; color: var(--tomato); margin-bottom: 8px; }
.wp-teaser h3 { font-family: var(--font-mincho); font-weight: 900; font-size: 24px; line-height: 1.4; margin-bottom: 10px; }
.wp-teaser p { font-family: var(--font-mincho); font-size: 13px; line-height: 1.85; opacity: .85; }

/* ===== FAQ ===== */
.faq { background: var(--paper); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1.5px solid rgba(21,34,79,.2); padding: 26px 0; display: grid; grid-template-columns: 64px 1fr; gap: 24px; }
.faq-q .num { font-family: var(--font-num); font-size: 34px; color: var(--tomato); line-height: 1; letter-spacing: .04em; }
.faq-q .num::after { content: "Q"; display: block; font-size: 12px; letter-spacing: .14em; color: var(--ink); opacity: .6; font-family: var(--font-gothic); margin-top: 4px; }
.faq-text h3 { font-family: var(--font-mincho); font-weight: 900; font-size: 20px; line-height: 1.5; margin-bottom: 12px; }
.faq-text .a { font-family: var(--font-mincho); font-size: 14px; line-height: 1.95; padding-left: 32px; position: relative; }
.faq-text .a::before {
  content: "A"; position: absolute; left: 0; top: -2px;
  font-family: var(--font-num); font-size: 22px; color: var(--mustard);
  background: var(--ink); width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}

/* ===== CTA ===== */
.art-cta { padding: 110px 0; background: var(--mustard); position: relative; overflow: hidden; }
.art-cta::before {
  content: "AI × DX"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-num); font-size: 340px; color: rgba(21,34,79,.08);
  letter-spacing: -.02em; line-height: 1; white-space: nowrap; pointer-events: none;
}
.art-cta-inner { text-align: center; position: relative; z-index: 1; }
.art-cta h2 { font-family: var(--font-mincho); font-weight: 900; font-size: clamp(38px, 5.4vw, 76px); line-height: 1.08; letter-spacing: -.02em; }
.art-cta h2 .block { background: var(--ink); color: var(--mustard); padding: 0 .12em; transform: skew(-3deg); display: inline-block; }
.art-cta h2 .red { color: var(--tomato); }
.art-cta p { font-family: var(--font-mincho); font-weight: 500; font-size: 15px; line-height: 1.95; margin-top: 20px; max-width: 600px; margin-left: auto; margin-right: auto; }
.art-cta-btns { margin-top: 32px; display: flex; gap: 14px; justify-content: center; }

/* ===== Footer (shared) ===== */
footer { background: var(--ink); color: var(--cream); padding: 64px 0 32px; }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.ftr-brand .b { font-family: var(--font-num); font-size: 38px; letter-spacing: .04em; }
.ftr-brand p { font-size: 12px; opacity: .65; margin-top: 12px; line-height: 1.7; }
footer .footer-heading { font-family: var(--font-gothic); font-size: 11px; letter-spacing: .18em; color: var(--mustard); margin-bottom: 16px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 13px; opacity: .82; }
footer ul a:hover { color: var(--mustard); }
.ftr-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; font-family: var(--font-gothic); font-size: 11px; letter-spacing: .14em; opacity: .65; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   ===== DIAGNOSIS TOOL (.diag-*) =====
   ============================================================ */
.diag-shell {
  background: var(--bone); border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--tomato);
  padding: 40px 44px 44px;
  max-width: 760px; margin: 0 auto;
}
.diag-note {
  font-family: var(--font-mincho); font-size: 12.5px; line-height: 1.8; opacity: .75;
  text-align: center; max-width: 640px; margin: 0 auto 32px;
}

/* Progress bar */
.diag-progress-row { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.diag-progress-label { font-family: var(--font-num); font-size: 15px; color: var(--tomato); letter-spacing: .04em; white-space: nowrap; }
.diag-progress-track { flex: 1; height: 8px; background: var(--paper); border: 1px solid var(--ink); position: relative; overflow: hidden; }
.diag-progress-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--tomato); transition: width .3s ease; }

/* Question card */
.diag-question { min-height: 260px; }
.diag-q-eyebrow { font-family: var(--font-gothic); font-size: 10px; letter-spacing: .18em; color: var(--tomato); margin-bottom: 10px; }
.diag-q-title { font-family: var(--font-mincho); font-weight: 900; font-size: clamp(20px, 3vw, 28px); line-height: 1.5; margin-bottom: 24px; }
.diag-q-group + .diag-q-group { margin-top: 28px; padding-top: 24px; border-top: 1px dashed rgba(21,34,79,.3); }
.diag-q-group-label { font-family: var(--font-gothic); font-size: 11px; letter-spacing: .12em; color: var(--ink); opacity: .7; margin-bottom: 14px; }

.diag-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.diag-choice {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--cream); border: 1.5px solid var(--ink); color: var(--ink);
  padding: 18px 20px; font-family: var(--font-mincho); font-size: 15px; font-weight: 700; line-height: 1.5;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.diag-choice:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--tomato); }
.diag-choice.is-selected { background: var(--ink); color: var(--mustard); box-shadow: 3px 3px 0 var(--tomato); }
.diag-choice:focus-visible { outline: 3px solid var(--tomato); outline-offset: 2px; }

.diag-nav-row { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.diag-back {
  background: transparent; border: 1.5px solid var(--ink); color: var(--ink); cursor: pointer;
  font-family: var(--font-gothic); font-size: 11px; letter-spacing: .12em; font-weight: 700;
  padding: 10px 18px; transition: transform .15s ease;
}
.diag-back:hover { transform: translate(-2px, -2px); }
.diag-back[hidden] { display: none; }
.diag-step-count { font-family: var(--font-gothic); font-size: 11px; letter-spacing: .12em; opacity: .55; }

/* Result panel */
.diag-result { text-align: center; }
.diag-level-tag { font-family: var(--font-gothic); font-size: 11px; letter-spacing: .2em; color: var(--tomato); margin-bottom: 8px; }
.diag-level-num { font-family: var(--font-num); font-size: clamp(72px, 12vw, 120px); line-height: 1; color: var(--ink); }
.diag-level-name { font-family: var(--font-mincho); font-weight: 900; font-size: clamp(24px, 3.4vw, 34px); margin-top: 4px; }
.diag-level-note { font-family: var(--font-mincho); font-size: 14px; line-height: 1.9; max-width: 560px; margin: 18px auto 0; text-align: left; }

/* Lead form */
.diag-lead { margin-top: 36px; padding-top: 32px; border-top: 2px solid var(--ink); text-align: left; }
.diag-lead h4 { font-family: var(--font-mincho); font-weight: 900; font-size: 19px; margin-bottom: 6px; }
.diag-lead .sub { font-family: var(--font-mincho); font-size: 12.5px; opacity: .7; margin-bottom: 20px; }
.diag-field { margin-bottom: 14px; }
.diag-field label { display: block; font-family: var(--font-gothic); font-size: 10.5px; letter-spacing: .12em; font-weight: 700; margin-bottom: 6px; }
.diag-field label .req { color: var(--tomato); }
.diag-field input[type="text"],
.diag-field input[type="email"] {
  width: 100%; font-family: var(--font-mincho); font-size: 15px; padding: 11px 14px;
  background: white; border: 1.5px solid rgba(21,34,79,.25); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.diag-field input:focus { outline: none; border-color: var(--tomato); box-shadow: 0 0 0 3px rgba(201,58,44,.18); }

.diag-consent { display: flex; align-items: start; gap: 10px; font-family: var(--font-mincho); font-size: 12.5px; line-height: 1.7; margin-bottom: 12px; }
.diag-consent input { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; accent-color: var(--tomato); }

.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.diag-turnstile-row { margin: 18px 0 6px; }

.diag-error {
  margin: 14px 0 0; padding: 12px 16px; background: #FFE8E5; border-left: 3px solid var(--tomato);
  color: var(--ink-deep); font-family: var(--font-mincho); font-size: 13px; line-height: 1.7;
}
.diag-error ul { margin: 6px 0 0 18px; padding: 0; }
.diag-error li { list-style: disc; }

.diag-submit-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.diag-submit-note { font-family: var(--font-mincho); font-size: 11.5px; opacity: .65; flex: 1; min-width: 200px; }
.diag-submit-btn {
  background: var(--tomato); color: var(--cream); border: 0;
  padding: 15px 30px; font-family: var(--font-gothic); font-size: 12px; letter-spacing: .14em; font-weight: 700;
  text-transform: uppercase; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s ease;
}
.diag-submit-btn:hover { transform: translate(-2px, -2px); }
.diag-submit-btn[disabled] { opacity: .55; cursor: progress; transform: none !important; }

.diag-consult-row { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Success */
.diag-success { padding: 40px 36px; background: var(--bone); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--mustard); text-align: left; }
.diag-success .num { font-family: var(--font-num); font-size: 56px; color: var(--tomato); line-height: 1; margin-bottom: 10px; }
.diag-success h3 { font-family: var(--font-mincho); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 12px; }
.diag-success p { font-family: var(--font-mincho); font-size: 13.5px; line-height: 1.85; }

/* noscript fallback */
.diag-noscript {
  padding: 32px 36px; background: var(--paper); border: 1.5px dashed var(--ink);
  font-family: var(--font-mincho); font-size: 14px; line-height: 1.9; text-align: center;
}
.diag-noscript a { color: var(--tomato); text-decoration: underline; }

/* ===== Mobile (self-contained; mobile.css is shared across other pages) ===== */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .diag-progress-fill { transition: none !important; }
}

@media (max-width: 900px) {
  .wrap, .wrap-narrow { padding: 0 20px !important; max-width: 100% !important; }
  .nav { padding: 12px 16px !important; flex-wrap: wrap !important; gap: 8px !important; }
  .sec { padding: 56px 0 !important; }
  .svc-hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .svc-hero-right { border-left: none !important; border-top: 2px solid var(--ink) !important; padding-left: 0 !important; padding-top: 20px !important; }
  .art-meta-bar { grid-template-columns: 1fr 1fr !important; }
  .art-meta-bar > div:nth-child(2n) { border-right: none !important; }
  .art-meta-bar > div:nth-child(-n+2) { border-bottom: 1.5px solid var(--ink) !important; }
  .sec-h { grid-template-columns: 1fr !important; gap: 14px !important; }
  .pains-grid, .case-grid, .pricing-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .offer { grid-template-columns: 1fr !important; gap: 12px !important; padding: 24px 0 !important; }
  .axis-row { flex-direction: column !important; }
  .proc-row { grid-template-columns: 1fr !important; }
  .proc-step { border-right: none !important; border-bottom: 1.5px solid rgba(255,255,255,.18) !important; }
  .proc-step:last-child { border-bottom: none !important; }
  .faq-item { grid-template-columns: 48px 1fr !important; gap: 14px !important; }
  .ftr-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .ftr-brand { grid-column: 1 / -1 !important; }
  .ftr-bottom { flex-direction: column !important; gap: 8px !important; align-items: flex-start !important; }
  .wp-teaser { padding: 28px 24px !important; }

  .diag-shell { padding: 28px 22px 32px !important; }
  .diag-choices { grid-template-columns: 1fr !important; }
  .diag-submit-row { flex-direction: column !important; align-items: stretch !important; }
  .diag-submit-btn { width: 100%; }
  .diag-consult-row { flex-direction: column !important; }
}

@media (max-width: 480px) {
  .art-h1 { font-size: 40px !important; }
  .sec-title { font-size: 32px !important; }
  .diag-level-num { font-size: 64px !important; }
}
