/* ==========================================================================
   AIRAS — style.css
   Brand: deep indigo ink + amber accent, four-layer diagnostic palette
   (gold → blue → violet → plum).
   ========================================================================== */

:root {
  /* ---- neutrals ---- */
  --ink: #17223B;
  --ink-soft: #2B3A5C;
  --paper: #F2F4FA;
  --paper-alt: #E7EBF4;
  --bg-white: #FFFFFF;
  --border: #D7DDEB;
  --text-mid: #55607A;
  --text-dim: #8890A6;

  /* ---- brand ---- */
  --primary: #D89A32;
  --primary-dark: #B8802A;
  --primary-soft: #D89A3214;
  --primary-text: #9C6B1E;
  --ink-dark: #17223B;
  --ink-dark-alt: #22315A;
  --line-green: #06C755;

  /* ---- four-layer diagnostic palette ---- */
  --layer1: #E0AF52;
  --layer1-soft: #E0AF521A;
  --layer2: #5C7CB0;
  --layer2-soft: #5C7CB01A;
  --layer3: #7C6FA0;
  --layer3-soft: #7C6FA01A;
  --layer4: #A15B7C;
  --layer4-soft: #A15B7C1A;

  /* ---- semantic ---- */
  --ok: #4C8B6B;
  --no: #B3413B;

  /* ---- layout ---- */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 30, 28, 0.06), 0 1px 1px rgba(18, 30, 28, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(18, 30, 28, 0.22);
  --container: 1140px;

  --font-jp: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --font-en: "Montserrat", var(--font-jp);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

html, body { overflow-x: hidden; }
body {
  position: relative;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  word-break: normal;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
/* keep-all only on short, deliberately-composed labels (headings, buttons, chips) —
   on long-form paragraphs it removes so many break points that the browser falls
   back to break-word, which ignores kinsoku and can strand 、。at a line start */
h1, h2, h3, h4, .btn, .banner-card-title, .stage-title, .consult-card-title,
.diag-price-label, .checkcta-title, .audience-item, .footer-col-title,
.nav-logo-brand, .nav-logo-sub, .footer-logo, .footer-company, .intro-slogan,
.diag-deliverables strong {
  word-break: keep-all;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img, svg { display: block; max-width: 100%; }
/* grid/flex items with long CJK text default to min-width:auto, which combined
   with word-break:keep-all above can push the whole track wider than the
   viewport on narrow screens — reset to 0 wherever a text-bearing column lives */
.hero-inner > *, .pain-grid > *, .stance > *, .layer-row > *, .checkcta > *,
.diag-grid > *, .roadmap > *, .consult-grid > *, .footer-inner > *,
.access-panel > *, .banner-grid > *, .banner-card--wide > *,
.diag-deliverables li > * { min-width: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 3px; }
.btn-primary { background: var(--primary); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-text); }
.btn-ghost { background: transparent; color: var(--ink); padding-left: 6px; padding-right: 6px; }
.btn-ghost:hover { color: var(--primary-text); }
.btn-ghost-invert { background: transparent; color: rgba(255,255,255,0.9); padding-left: 6px; padding-right: 6px; }
.btn-ghost-invert:hover { color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-on-dark { background: #fff; color: var(--ink-dark); }
.btn-on-dark:hover { background: var(--layer1-soft); }

/* ----------------------------------------------------------------- header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.nav-logo { display: flex; align-items: baseline; gap: 10px; }
.nav-logo-brand {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.nav-logo-brand span { color: var(--primary-text); }
.nav-logo-sub { font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-size: 0.92rem; font-weight: 600; color: var(--text-mid); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--primary-text); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.hamburger { display: none; flex-direction: column; gap: 5px; width: 26px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.mobile-menu a { padding: 12px 4px; font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid var(--paper-alt); }
.mobile-menu .btn { margin-top: 12px; width: 100%; }
.mobile-menu.is-open { display: flex; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-primary { display: none; }
  .hamburger { display: flex; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 76px 0 88px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(560px circle at 8% -10%, var(--layer1-soft) 0%, transparent 60%),
    radial-gradient(480px circle at 100% 20%, var(--layer3-soft) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-text);
  background: var(--primary-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin-bottom: 22px;
}
.hero-title em { color: var(--primary-text); font-style: normal; }
.hero-sub { font-size: 1rem; color: var(--text-mid); line-height: 1.95; margin-bottom: 34px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-pillars span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-mid);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-pillars span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

.hero-visual { position: relative; }
.hero-strata-label {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

/* ---- strata illustration: cascading plates, deepest layer furthest back ---- */
.strata-illustration {
  position: relative;
  height: 336px;
  margin-bottom: 4px;
}
.strata-illustration::before {
  content: "";
  position: absolute;
  inset: -40px -60px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--layer1-soft) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.strata-plate {
  position: absolute;
  left: calc(var(--i) * 22px);
  right: 0;
  top: calc(var(--i) * 58px);
  z-index: calc(4 - var(--i));
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  transform: rotate(calc(var(--i) * -0.55deg));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.strata-plate:hover {
  transform: rotate(calc(var(--i) * -0.55deg)) translateY(-3px);
  box-shadow: 0 20px 40px -16px rgba(18, 30, 28, 0.28);
}
.strata-plate-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.strata-plate-body { flex: 1; min-width: 0; }
.strata-plate-top { display: flex; flex-wrap: wrap; row-gap: 2px; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.strata-plate-name { font-size: 0.92rem; font-weight: 800; color: var(--ink); }
.strata-plate-en { font-family: var(--font-en); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.strata-plate-bar { height: 6px; border-radius: 999px; background: var(--paper-alt); overflow: hidden; }
.strata-plate-bar span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.hero-strata-note { position: relative; z-index: 1; margin-top: 20px; font-size: 0.8rem; color: var(--text-dim); line-height: 1.7; }

/* --------------------------------------------------------------- section */
.section { padding: 96px 0; }
.section--gray { background: var(--paper-alt); }
.section--dark {
  position: relative;
  background: radial-gradient(1100px circle at 85% -10%, var(--ink-dark-alt) 0%, var(--ink-dark) 55%);
  color: #fff;
}
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-text);
  margin-bottom: 14px;
}
.section--dark .section-label { color: var(--layer1); }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; line-height: 1.55; text-wrap: balance; }
.section-sub { margin-top: 14px; font-size: 0.95rem; color: var(--text-mid); line-height: 1.85; }
.section--dark .section-sub { color: rgba(255,255,255,0.68); }

/* ------------------------------------------------------------- pain grid */
.pain-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.05fr; gap: 24px; }
.pain-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent, var(--primary));
  border-radius: var(--radius);
  padding: 32px 28px;
}
.pain-card:nth-child(1) { --accent: var(--layer1); }
.pain-card:nth-child(2) { --accent: var(--layer2); margin-top: 26px; }
.pain-card:nth-child(3) { --accent: var(--layer4); }
.pain-card::before {
  content: "01";
  position: absolute;
  top: -18px;
  right: 4px;
  font-family: var(--font-en);
  font-size: 5.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent, var(--primary));
  opacity: 0.09;
  z-index: 0;
}
.pain-card:nth-child(2)::before { content: "02"; }
.pain-card:nth-child(3)::before { content: "03"; }
.pain-quote { position: relative; z-index: 1; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 14px; }
.pain-body { position: relative; z-index: 1; font-size: 0.98rem; font-weight: 600; line-height: 1.85; color: var(--ink); }

/* ------------------------------------------------------- positioning box */
.stance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
}
.stance-col { padding: 36px 34px; }
.stance-col + .stance-col { border-left: 1px solid var(--border); }
.stance-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.stance-no .stance-label { color: var(--no); }
.stance-yes .stance-label { color: var(--ok); }
.stance-col p { font-size: 0.95rem; line-height: 1.9; color: var(--text-mid); }
.stance-col strong { color: var(--ink); }

/* ------------------------------------------------------------- 4-layer model */
.layers-list { display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,0.08); border-radius: var(--radius); overflow: hidden; }
.layer-row { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 30px 32px; background: var(--ink-dark); }
.layer-row:nth-child(odd) { background: var(--ink-dark-alt); }
.layer-index { font-family: var(--font-en); font-size: 1rem; font-weight: 800; }
.layer-name-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.layer-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.layer-name { font-size: 1.1rem; font-weight: 800; }
.layer-en { font-family: var(--font-en); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.layer-body { font-size: 0.92rem; line-height: 1.9; color: rgba(255,255,255,0.72); max-width: 60ch; }

/* --------------------------------------------------------------- self-check CTA */
.checkcta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--bg-white) 55%, var(--primary-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.checkcta::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--layer2-soft) 0%, transparent 72%);
  pointer-events: none;
}
.checkcta-title { position: relative; font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; text-wrap: balance; }
.checkcta-body { position: relative; font-size: 0.92rem; color: var(--text-mid); line-height: 1.85; max-width: 52ch; }
.checkcta > .btn { position: relative; }

/* --------------------------------------------------------------- diagnosis detail */
.diag-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.diag-matrix { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.diag-matrix-title { font-size: 0.8rem; font-weight: 700; color: var(--text-dim); margin-bottom: 18px; }
.diag-matrix table { width: 100%; border-collapse: collapse; font-size: 0.82rem; table-layout: fixed; }
.diag-matrix th, .diag-matrix td { padding: 9px 6px; text-align: center; border-bottom: 1px solid var(--paper-alt); }
.diag-matrix th { font-weight: 700; color: var(--text-mid); font-size: 0.72rem; border-radius: 6px 6px 0 0; }
.diag-matrix td:first-child, .diag-matrix th:first-child { width: 34%; text-align: left; font-weight: 600; }
.diag-matrix th:nth-child(2), .diag-matrix td:nth-child(2) { background: var(--layer2-soft); }
.diag-matrix th:nth-child(3), .diag-matrix td:nth-child(3) { background: var(--layer3-soft); }
.diag-matrix th:nth-child(4), .diag-matrix td:nth-child(4) { background: var(--layer4-soft); }
.diag-matrix .yes { font-weight: 800; }
.diag-matrix td:nth-child(2) .yes { color: var(--layer2); }
.diag-matrix td:nth-child(3) .yes { color: var(--layer3); }
.diag-matrix td:nth-child(4) .yes { color: var(--layer4); }
.diag-matrix-note { margin-top: 16px; font-size: 0.76rem; color: var(--text-dim); line-height: 1.7; }

.diag-deliverables { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.diag-deliverables li { display: flex; gap: 14px; align-items: flex-start; }
.diag-check { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-text); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.diag-deliverables strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.diag-deliverables span { font-size: 0.88rem; color: var(--text-mid); line-height: 1.8; }
.diag-price { margin-top: 30px; padding: 24px 26px; background: var(--primary-soft); border-radius: var(--radius-sm); display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.diag-price-label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.diag-price-value { font-family: var(--font-en); font-size: 1.7rem; font-weight: 800; color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.diag-price-value small { font-size: 0.85rem; font-weight: 600; }

/* --------------------------------------------------------------- roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stage-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.stage-card::before {
  content: "01";
  position: absolute;
  top: -14px;
  right: 10px;
  font-family: var(--font-en);
  font-size: 4.4rem;
  font-weight: 800;
  color: var(--ink);
  opacity: 0.05;
  line-height: 1;
}
.stage-card--active { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.stage-card:nth-child(2)::before { content: "02"; }
.stage-card:nth-child(3)::before { content: "03"; }
.stage-card--active::before { color: var(--primary); opacity: 0.08; }
.stage-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -25px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--border);
  border-right: 2px solid var(--border);
  transform: translateY(-50%) rotate(45deg);
  z-index: 3;
}
.stage-num { position: relative; font-family: var(--font-en); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; color: var(--primary-text); margin-bottom: 14px; }
.stage-title { position: relative; font-size: 1.08rem; font-weight: 800; margin-bottom: 10px; line-height: 1.6; }
.stage-body { position: relative; font-size: 0.88rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 18px; }
.stage-price { position: relative; font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.stage-price em { color: var(--primary-text); font-style: normal; }
.stage-price small { font-weight: 500; color: var(--text-dim); }

/* --------------------------------------------------------------- audience */
.audience-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.audience-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.audience-item:nth-child(3n+1) { border-color: var(--layer1); }
.audience-item:nth-child(3n+2) { border-color: var(--layer2); }
.audience-item:nth-child(3n+3) { border-color: var(--layer4); }
.audience-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.audience-fit { margin-top: 36px; background: var(--layer1-soft); border-radius: var(--radius-sm); padding: 22px 26px; font-size: 0.9rem; line-height: 1.85; color: var(--ink); }

/* --------------------------------------------------------------- FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.faq-item { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary-text);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 22px; font-size: 0.9rem; color: var(--text-mid); line-height: 1.9; }

/* --------------------------------------------------------------- CTA band */
.cta-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--ink-dark) 100%); padding: 88px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cta-title { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; line-height: 1.55; margin-bottom: 18px; }
.cta-sub { color: rgba(255,255,255,0.78); font-size: 0.95rem; line-height: 1.9; margin-bottom: 40px; }
.cta-note { color: rgba(255,255,255,0.55); font-size: 0.8rem; margin-top: 18px; }

/* ------------------------------------------------------- quick contact row */
.quick-contact { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.quick-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.16);
  transition: background 0.15s ease;
}
a.quick-contact-item:hover { background: rgba(255,255,255,0.16); }
.quick-contact-item .qc-icon { width: 18px; height: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.quick-contact-item.qc-line .qc-icon { background: var(--line-green); border-radius: 4px; color: #fff; }
.quick-contact-item[disabled], .quick-contact-item.is-pending {
  cursor: default;
  opacity: 0.55;
}
.qc-pending-tag { font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.6); margin-left: 2px; }

/* ------------------------------------------------------------- consult form */
.consult-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  box-shadow: var(--shadow-md);
}
.consult-card-title { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.consult-card-sub { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 26px; line-height: 1.8; }
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.consult-field { display: flex; flex-direction: column; gap: 7px; }
.consult-field.full { grid-column: 1 / -1; }
.consult-field label { font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.consult-field .req { font-size: 0.8rem; color: var(--no); font-weight: 700; margin-left: 3px; }
.consult-label-row { display: flex; align-items: baseline; gap: 0; }
.consult-field input[type="text"],
.consult-field input[type="tel"],
.consult-field input[type="email"],
.consult-field textarea {
  font-family: var(--font-jp);
  font-size: 0.92rem;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
}
.consult-field input:focus, .consult-field textarea:focus { outline: 2px solid var(--primary-text); outline-offset: 1px; }
.consult-field textarea { resize: vertical; min-height: 80px; font-family: var(--font-jp); }
.consult-radio-row { display: flex; gap: 20px; padding-top: 4px; }
.consult-radio-row label { display: flex; align-items: center; gap: 7px; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.consult-submit { width: 100%; margin-top: 6px; }
.consult-fineprint { font-size: 0.74rem; color: var(--text-dim); margin-top: 14px; line-height: 1.7; }

/* --------------------------------------------------------------- footer */
.footer { background: var(--ink-dark); color: rgba(255,255,255,0.75); padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { font-family: var(--font-en); font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-logo span { color: var(--layer1); }
.footer-company { font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.footer-body { font-size: 0.85rem; line-height: 1.9; color: rgba(255,255,255,0.55); max-width: 42ch; }
.footer-col-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; color: rgba(255,255,255,0.4); margin-bottom: 16px; text-transform: uppercase; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 0.86rem; }
.footer-links a:hover { color: #fff; }
.footer-meta { margin-top: 16px; font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.76rem; color: rgba(255,255,255,0.35); }

/* --------------------------------------------------------------- access / map */
.access-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}
.access-map { position: relative; min-height: 340px; background: var(--paper-alt); }
.access-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.access-info { padding: 34px 32px; display: flex; flex-direction: column; gap: 14px; }
.access-info-label { font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.access-address { font-size: 0.92rem; color: var(--text-mid); line-height: 1.9; }
.access-info .btn { align-self: flex-start; margin-top: 6px; }

@media (max-width: 780px) {
  .access-panel { grid-template-columns: 1fr; }
  .access-map { min-height: 260px; }
}

/* --------------------------------------------------------------- page hero (sub-pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 60px;
  background: radial-gradient(1100px circle at 85% -20%, var(--ink-dark-alt) 0%, var(--ink-dark) 55%);
  color: #fff;
}
.page-hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--layer1);
  margin-bottom: 14px;
}
.page-hero-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 900; line-height: 1.5; text-wrap: balance; }
.page-hero-sub { margin-top: 16px; font-size: 0.96rem; color: rgba(255,255,255,0.72); line-height: 1.9; max-width: 60ch; }
.page-breadcrumb { margin-top: 20px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.page-breadcrumb a { color: rgba(255,255,255,0.75); font-weight: 600; }
.page-breadcrumb a:hover { color: #fff; }

/* --------------------------------------------------------------- home banner nav grid */
.banner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.banner-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.banner-card:nth-child(1) { --accent: var(--layer1); }
.banner-card:nth-child(2) { --accent: var(--layer2); }
.banner-card:nth-child(3) { --accent: var(--layer3); }
.banner-card:nth-child(4) { --accent: var(--layer4); }
.banner-card:nth-child(5) { --accent: var(--primary-text); }
.banner-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent, var(--primary));
}
.banner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent, var(--primary)); }
.banner-card-eyebrow { font-family: var(--font-en); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent, var(--primary)); }
.banner-card-title { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.banner-card-body { font-size: 0.88rem; color: var(--text-mid); line-height: 1.8; flex: 1; }
.banner-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 700; color: var(--accent, var(--primary)); margin-top: 4px; }
.banner-card-link svg { transition: transform 0.15s ease; }
.banner-card:hover .banner-card-link svg { transform: translateX(3px); }
.banner-card--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.banner-card--wide .banner-card-body { flex: none; max-width: 56ch; }

@media (max-width: 720px) {
  .banner-grid { grid-template-columns: 1fr; }
  .banner-card--wide { flex-direction: column; align-items: stretch; }
}

/* --------------------------------------------------------------- intro splash */
html.intro-active, html.intro-active body { overflow: hidden; height: 100%; }
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(1200px circle at 50% 30%, var(--ink-dark-alt) 0%, var(--ink-dark) 70%);
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.7s ease;
}
.intro-splash.is-hiding { opacity: 0; }
.intro-splash.is-hidden { display: none; }

.intro-logo { display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; transform: scale(0.86); animation: introLogoIn 1s cubic-bezier(.2,.8,.2,1) 0.2s forwards; }
.intro-logo-brand { font-family: var(--font-en); font-weight: 800; font-size: clamp(2.2rem, 8vw, 3.6rem); letter-spacing: 0.02em; color: #fff; }
.intro-logo-brand span { color: var(--layer1); }
.intro-logo-sub { font-size: 0.78rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); }
.intro-slogan { margin-top: 20px; font-size: 0.9rem; color: rgba(255,255,255,0.7); opacity: 0; animation: introFadeUp 0.9s ease 0.85s forwards; }
.intro-skip { position: absolute; bottom: 36px; font-size: 0.72rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); opacity: 0; animation: introFadeUp 0.9s ease 1.5s forwards; }

@keyframes introLogoIn { from { opacity: 0; transform: scale(0.86); } to { opacity: 1; transform: scale(1); } }
@keyframes introFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .intro-logo, .intro-slogan, .intro-skip { animation: none; opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- reveal */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1.is-visible { transition-delay: 0.08s; }
.fade-up-delay-2.is-visible { transition-delay: 0.16s; }
.fade-up-delay-3.is-visible { transition-delay: 0.24s; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .diag-grid { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .stage-card:not(:last-child)::after { display: none; }
  .stage-card--active { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .checkcta { grid-template-columns: 1fr; text-align: left; }
}
.br-mobile { display: none; }
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 68px 0; }
  .hero { padding: 52px 0 60px; }
  .pain-grid { grid-template-columns: 1fr; }
  .stance { grid-template-columns: 1fr; }
  .br-mobile { display: inline; }
  .consult-grid { grid-template-columns: 1fr; }
  .stance-col + .stance-col { border-left: none; border-top: 1px solid var(--border); }
  .layer-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 24px; }
  .pain-card:nth-child(2) { margin-top: 0; }
  .strata-illustration { height: 300px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .diag-price { flex-direction: column; align-items: flex-start; }
  .btn { white-space: normal; text-align: center; }
  .checkcta > .btn { width: 100%; }
}


/* ==========================================================================
   会社概要・特定商取引法：情報テーブル
   ========================================================================== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.9rem;
}
.info-table-caption {
  caption-side: top;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
  padding-bottom: 14px;
}
.info-table th,
.info-table td {
  text-align: left;
  vertical-align: top;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  line-height: 1.9;
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }
.info-table th {
  width: 30%;
  min-width: 9em;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  white-space: nowrap;
}
.info-table td { color: var(--text-mid); }
.info-table a { color: var(--primary-text); text-decoration: underline; text-underline-offset: 3px; }
.info-table a:hover { color: var(--ink); }

/* ---- 本文ブロック ---- */
.prose { max-width: 62ch; }
.prose p {
  font-size: 0.95rem;
  line-height: 2.1;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.prose p:last-child { margin-bottom: 0; }

/* ==========================================================================
   モデルケース
   ========================================================================== */
.case-list { display: grid; gap: 20px; margin: 28px 0; }
.case-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 34px;
  box-shadow: var(--shadow-sm);
}
.case-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.case-card-title { font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.case-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}
.case-dl { display: grid; grid-template-columns: 10em 1fr; gap: 14px 24px; margin: 0; }
.case-dl dt {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  padding-top: 2px;
}
.case-dl dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.95;
  color: var(--text-mid);
}

/* ---- 注記（読める濃さを保つ。装飾で消さない） ---- */
.note-muted {
  font-size: 0.8rem;
  line-height: 1.95;
  color: var(--text-dim);
  border-left: 2px solid var(--border);
  padding-left: 16px;
  max-width: 76ch;
}
.note-muted--bottom { margin-top: 28px; }

/* ==========================================================================
   404
   ========================================================================== */
.notfound-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.9rem;
}
.notfound-links a { color: var(--primary-text); text-decoration: underline; text-underline-offset: 3px; }
.notfound-links a:hover { color: var(--ink); }

/* ==========================================================================
   図解：情報の食い違いが起きる構図
   ========================================================================== */
.figure-block { margin: 8px 0 0; }
.figure-block svg { width: 100%; height: auto; display: block; }
.figure-frame {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 22px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.figure-frame > svg { min-width: 520px; }
.figure-caption {
  margin-top: 14px;
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--text-dim);
}

@media (max-width: 900px) {
  .info-table th { width: 34%; white-space: normal; }
}
@media (max-width: 640px) {
  .info-table { font-size: 0.85rem; }
  .info-table th, .info-table td { padding: 14px 16px; }
  .info-table th { width: 38%; }
  .case-card { padding: 26px 22px; }
  .case-dl { grid-template-columns: 1fr; gap: 6px 0; }
  .case-dl dt { margin-top: 12px; }
  .case-dl dt:first-child { margin-top: 0; }
}
