/* ============================================================
   AXR Corporate Site — based on AXR Document Design System v1.0
   漆黒 × 知性の光 / Intelligent · Minimal · Extreme
   ============================================================ */

:root {
  /* Grayscale */
  --ink: #0A0A0A;
  --charcoal: #1A1A1A;
  --graphite: #333333;
  --slate: #4A5563;
  --grey: #666666;
  --grey2: #999999;
  --mist: #9CA3AF;
  --pale: #E8E8E8;
  --snow: #F5F5F5;
  --canvas: #FFFFFF;
  /* Accent */
  --indigo: #1E2761;
  --indigo-soft: #A8B0D9;
  --r72: #5D638D;
  --r48: #9397B3;
  --r32: #B7BACC;
  --r12: #E4E5EC;
  /* Supporting (figures only) */
  --dusk: #5D6B8E;
  --steel: #4F5D6B;
  --sand: #B8AE9C;
  /* Type */
  --sans: "Inter", "Noto Sans JP", sans-serif;
  --jp: "Noto Sans JP", "Inter", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--jp);
  color: var(--graphite);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- Header (master shell) ---------- */
.topbar { height: 8px; background: var(--charcoal); }
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pale);
}
.nav { display: flex; align-items: center; gap: 28px; height: 76px; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.nav .logo img { height: 30px; width: auto; }
.nav ul.menu { display: flex; gap: 26px; margin-left: auto; }
.nav ul.menu a {
  font-size: 14px; font-weight: 500; color: var(--graphite);
  padding: 6px 2px; letter-spacing: .02em;
  border-bottom: 2px solid transparent; transition: color .2s;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.nav ul.menu a[data-en]::before {
  content: attr(data-en);
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: .18em; color: var(--grey2); line-height: 1;
  transition: color .2s;
}
.nav ul.menu a:hover { color: var(--indigo); }
.nav ul.menu a:hover::before { color: var(--indigo); }
.nav ul.menu a.active { color: var(--indigo); font-weight: 700; }
.nav ul.menu a.active::before { color: var(--indigo); }
.nav .ctas { display: flex; gap: 10px; margin-left: 8px; }
.btn {
  display: inline-block; font-size: 13.5px; font-weight: 700;
  padding: 10px 20px; border-radius: 6px; letter-spacing: .03em;
  transition: opacity .2s, background .2s; text-align: center;
}
.btn-fill { background: var(--indigo); color: #fff; }
.btn-fill:hover { opacity: .85; }
.btn-line { border: 1.5px solid var(--indigo); color: var(--indigo); }
.btn-line:hover { background: var(--r12); }
.btn-white { background: #fff; color: var(--indigo); }
.btn-ghost { border: 1.5px solid var(--indigo-soft); color: var(--indigo-soft); }
.btn-lg { padding: 15px 36px; font-size: 15px; }
.hamburger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--charcoal); margin: 5px 0; }

/* ---------- Hero (Brand Mode / dark) ---------- */
.hero {
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
}
.hero video.fv-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,10,.42) 0%, rgba(10,10,10,.5) 60%, rgba(10,10,10,.62) 100%),
    radial-gradient(ellipse 900px 520px at 78% 18%, rgba(168,176,217,.16), transparent 60%),
    radial-gradient(ellipse 700px 420px at 12% 92%, rgba(93,99,141,.12), transparent 60%);
}
.hero canvas.net { z-index: 2; }
.hero .inner { position: relative; z-index: 3; padding: 128px 0 120px; }
@media (prefers-reduced-motion: reduce) {
  .hero video.fv-video { display: none; }
}

/* 動画のみのFV */
.hero.fv-only { width: 100%; height: min(56.25vw, 100vh); background: var(--ink); }
.hero.fv-only::before { content: none; }
.hero.fv-only video.fv-video { position: absolute; inset: 0; object-fit: cover; cursor: pointer; }
.fv-replay {
  position: absolute; right: 24px; bottom: 24px;
  z-index: 2; display: none;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .18em;
  color: rgba(255,255,255,.85); background: rgba(10,10,10,.3); border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px; padding: 8px 18px; cursor: pointer;
  backdrop-filter: blur(4px); transition: background .25s, color .25s, border-color .25s;
}
.fv-replay:hover { background: #fff; color: var(--ink); }
.hero.fv-only.ended .fv-replay { display: inline-block; }

/* タイポグラフィ中心のFV（アイデンティティ・ヒーロー） */
.hero.hero-identity {
  min-height: 72vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0A0F2E 0%, #1E2761 55%, #3A4390 100%);
}
.hero.hero-identity::before {
  background:
    radial-gradient(ellipse 900px 520px at 78% 18%, rgba(168,176,217,.16), transparent 60%),
    radial-gradient(ellipse 700px 420px at 12% 92%, rgba(10,15,46,.4), transparent 60%);
}
.hero.hero-identity .inner { width: 100%; padding: 88px 0; }
.hero.hero-identity p.lead { color: rgba(255,255,255,.86); max-width: 720px; }
.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;
}
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--indigo); font-weight: 500;
}
.hero .eyebrow { color: var(--indigo-soft); }
.hero h1 {
  font-family: var(--sans); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(38px, 5.4vw, 68px); line-height: 1.18; margin: 22px 0 8px;
}
.hero h1 .en { display: block; }
.hero p.lead { color: var(--mist); font-size: 17px; max-width: 640px; margin-top: 22px; }
.hero .hero-ctas { display: flex; gap: 14px; margin-top: 44px; flex-wrap: wrap; }

/* page hero (dark, small) */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 400px at 82% 30%, rgba(168,176,217,.14), transparent 60%);
}
.page-hero .inner { position: relative; padding: 76px 0 68px; }
.page-hero h1 {
  font-family: var(--sans); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(30px, 4vw, 46px); margin-top: 16px; line-height: 1.3;
}
.page-hero p { color: var(--mist); margin-top: 14px; max-width: 680px; font-size: 15.5px; }
.breadcrumb { font-family: var(--mono); font-size: 11px; color: var(--grey2); letter-spacing: .08em; padding: 14px 0; }
.breadcrumb a:hover { color: var(--indigo); }

/* ---------- Sections (Document Mode / light) ---------- */
section.block { padding: 96px 0; }
section.block.snow { background: var(--snow); }
.sec-head { margin-bottom: 52px; }
.sec-head h2 {
  font-family: var(--sans); font-weight: 800; color: var(--charcoal);
  font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; line-height: 1.35;
  margin-top: 14px;
}
.sec-head p.lead { color: var(--slate); margin-top: 16px; max-width: 720px; font-size: 15.5px; }
.sec-head p.lead strong { color: var(--indigo); }

h3.sub {
  font-family: var(--sans); font-weight: 800; color: var(--charcoal);
  font-size: 22px; letter-spacing: -.01em; margin-bottom: 18px;
}

/* ---------- KPI / big numbers ---------- */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kpi { background: #fff; border: 1px solid var(--pale); border-radius: 8px; padding: 34px 30px; }
.kpi .label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; color: var(--grey2); text-transform: uppercase; }
.kpi .num { font-family: var(--sans); font-weight: 800; font-size: 52px; color: var(--indigo); letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 4px; }
.kpi .num small { font-size: 22px; font-weight: 700; margin-left: 4px; color: var(--indigo); }
.kpi .desc { font-size: 13.5px; color: var(--slate); }

/* ---------- Cards ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--pale); border-radius: 8px;
  padding: 32px 28px; transition: border-color .2s, transform .2s;
}
a.card:hover { border-color: var(--indigo); transform: translateY(-3px); }
.card .no { font-family: var(--mono); font-size: 12px; color: var(--indigo); letter-spacing: .14em; font-weight: 700; }
.card h4 { font-family: var(--sans); font-weight: 800; font-size: 19px; color: var(--charcoal); margin: 10px 0 10px; letter-spacing: -.01em; line-height: 1.45; }
.card p { font-size: 13.8px; color: var(--slate); line-height: 1.8; }
.card .more { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--indigo); font-weight: 700; }
.card .more::after { content: "·"; margin-left: 8px; }

/* icon dot */
.icd { width: 44px; height: 44px; border-radius: 8px; background: var(--r12); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icd svg { width: 22px; height: 22px; stroke: var(--indigo); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* icon chip (共通・小型アイコン地) */
.icon-chip { width: 40px; height: 40px; border-radius: 10px; background: var(--indigo); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; margin-bottom: 10px; }
.icon-chip svg { width: 22px; height: 22px; }

/* ---------- Steps (right-angle, dot endpoints, no arrows) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 0 22px 0 0; }
.step .tick { display: flex; align-items: center; margin-bottom: 16px; }
.step .tick .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--indigo); flex: none; }
.step .tick .line { height: 2px; background: var(--r32); flex: 1; margin-left: 6px; }
.step:last-child .tick .line { background: transparent; }
.step .sno { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; color: var(--indigo); font-weight: 700; }
.step h5 { font-family: var(--sans); font-weight: 800; font-size: 17px; color: var(--charcoal); margin: 6px 0 8px; }
.step p { font-size: 13px; color: var(--slate); line-height: 1.75; padding-right: 6px; }

/* ---------- Compare table ---------- */
.tblwrap { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
table.cmp th, table.cmp td { border: 1px solid var(--pale); padding: 14px 16px; text-align: center; vertical-align: middle; }
table.cmp thead th { font-family: var(--sans); font-weight: 700; color: var(--charcoal); background: var(--snow); font-size: 13.5px; }
table.cmp thead th.axr { background: var(--indigo); color: #fff; }
table.cmp td.rowh { text-align: left; font-weight: 700; color: var(--charcoal); font-size: 13.5px; background: #fff; }
table.cmp td.rowh small { display: block; font-weight: 400; color: var(--grey); font-size: 12px; }
table.cmp td .ok { color: var(--indigo); font-weight: 800; }
table.cmp td .tri { color: var(--grey2); }
table.cmp td .no { color: var(--pale); }
table.cmp td.axrcell { background: var(--r12); }

/* ---------- Definition table ---------- */
table.def { width: 100%; border-collapse: collapse; background: #fff; }
table.def th, table.def td { border-bottom: 1px solid var(--pale); padding: 20px 18px; text-align: left; font-size: 14.5px; vertical-align: top; }
table.def th { width: 190px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--grey); font-weight: 500; text-transform: uppercase; }
table.def td { color: var(--graphite); line-height: 1.9; }

/* ---------- Before/After ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba .panel { background: #fff; border: 1px solid var(--pale); border-radius: 8px; padding: 30px; }
.ba .panel .cap { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; color: var(--grey2); }
.ba .row { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.ba .as { font-family: var(--sans); font-weight: 700; font-size: 24px; color: var(--grey2); text-decoration: line-through; text-decoration-thickness: 2px; }
.ba .to { font-family: var(--sans); font-weight: 800; font-size: 40px; color: var(--indigo); letter-spacing: -.02em; }
.ba .pct { font-family: var(--mono); font-size: 12.5px; color: #fff; background: var(--indigo); border-radius: 999px; padding: 3px 12px; font-weight: 700; }

/* ---------- Tags / pills ---------- */
.pill { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--indigo); background: var(--r12); border-radius: 999px; padding: 4px 13px; font-weight: 700; margin: 0 6px 8px 0; }
.pill.ghost { background: transparent; border: 1px solid var(--r32); color: var(--r72); }

/* ---------- Case cards ---------- */
.case { background: #fff; border: 1px solid var(--pale); border-radius: 8px; padding: 36px 34px; margin-bottom: 28px; }
.case .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.case h4 { font-family: var(--sans); font-weight: 800; font-size: 21px; color: var(--charcoal); letter-spacing: -.01em; line-height: 1.5; margin-bottom: 6px; }
.case .client { font-family: var(--mono); font-size: 12px; color: var(--grey); letter-spacing: .08em; }
.case .csg { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 0; margin-top: 26px; border-top: 1px solid var(--pale); }
.case .csg > div { padding: 22px 22px 4px 0; }
.case .csg > div + div { border-left: 1px solid var(--pale); padding-left: 24px; }
.case .csg .cap { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--indigo); font-weight: 700; }
.case .csg p { font-size: 13.5px; color: var(--slate); margin-top: 8px; }
.case .nums { display: flex; gap: 36px; margin-top: 20px; flex-wrap: wrap; }
.case .nums .n .v { font-family: var(--sans); font-weight: 800; font-size: 34px; color: var(--indigo); letter-spacing: -.02em; }
.case .nums .n .v small { font-size: 16px; margin-left: 2px; }
.case .nums .n .k { font-size: 12px; color: var(--grey); }

/* ---------- News / list rows ---------- */
.rows { border-top: 1px solid var(--pale); }
.row-item { display: grid; grid-template-columns: 130px 130px 1fr; gap: 20px; align-items: baseline; padding: 24px 6px; border-bottom: 1px solid var(--pale); transition: background .15s; }
.row-item:hover { background: var(--snow); }
.row-item .date { font-family: var(--mono); font-size: 12.5px; color: var(--grey); }
.row-item .cat { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--indigo); border: 1px solid var(--r32); border-radius: 999px; padding: 3px 10px; text-align: center; font-weight: 700; }
.row-item .ttl { font-size: 15px; color: var(--charcoal); font-weight: 500; line-height: 1.7; }

/* ---------- FAQ ---------- */
details.faq { background: #fff; border: 1px solid var(--pale); border-radius: 8px; margin-bottom: 14px; overflow: hidden; }
details.faq summary { cursor: pointer; list-style: none; display: flex; gap: 16px; align-items: baseline; padding: 22px 26px; font-weight: 700; color: var(--charcoal); font-size: 15.5px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .q { font-family: var(--mono); color: var(--indigo); font-weight: 700; font-size: 14px; }
details.faq .a { display: flex; gap: 16px; padding: 0 26px 24px; color: var(--slate); font-size: 14.5px; }
details.faq .a .am { font-family: var(--mono); color: var(--grey2); font-weight: 700; font-size: 14px; }

/* ---------- CTA band (dark) ---------- */
.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 760px 380px at 50% 120%, rgba(168,176,217,.18), transparent 65%); }
.cta-band .inner { position: relative; padding: 88px 0; text-align: center; }
.cta-band h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(24px, 3.4vw, 38px); letter-spacing: -.02em; line-height: 1.5; }
.cta-band p { color: var(--mist); margin-top: 14px; font-size: 15px; }
.cta-band .hero-ctas { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: var(--mist); }
footer.site .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 72px 0 56px; }
footer.site .flogo img { height: 30px; width: auto; }
footer.site .tag { font-family: var(--jp); font-size: 13px; font-weight: 500; letter-spacing: .1em; margin-top: 20px; color: var(--grey2); }
footer.site .addr { font-size: 12.5px; margin-top: 16px; line-height: 2; color: var(--grey2); }
footer.site h6 { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--indigo-soft); text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
footer.site ul li { margin-bottom: 10px; }
footer.site ul a { font-size: 13px; color: var(--mist); }
footer.site ul a:hover { color: #fff; }
footer.site .bottom { border-top: 1px solid #222; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--grey); }
footer.site .bottom a { color: var(--grey); margin-left: 18px; }
footer.site .bottom a:hover { color: #fff; }

/* ---------- Forms ---------- */
.form { background: #fff; border: 1px solid var(--pale); border-radius: 8px; padding: 44px; }
.form .fld { margin-bottom: 24px; }
.form label { display: block; font-weight: 700; font-size: 14px; color: var(--charcoal); margin-bottom: 8px; }
.form label .req { font-family: var(--mono); font-size: 10px; color: #fff; background: var(--indigo); border-radius: 3px; padding: 2px 7px; margin-left: 8px; vertical-align: 2px; letter-spacing: .08em; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; border: 1px solid var(--pale); border-radius: 6px; padding: 13px 14px;
  font-family: var(--jp); font-size: 15px; color: var(--graphite); background: var(--snow);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--indigo-soft); background: #fff; }
.form .note { font-size: 12.5px; color: var(--grey); }
.form button[type=submit]:disabled { opacity: .55; cursor: progress; }
/* ハニーポット（スパム対策）：画面にも読み上げにも出さない */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* 送信エラー表示 */
.form-alert {
  background: #FDF3F3; border: 1px solid #E8C4C4; border-left: 3px solid #B33A3A; border-radius: 0 6px 6px 0;
  padding: 14px 18px; margin-bottom: 20px; font-size: 13.5px; line-height: 1.8; color: #8C2F2F; white-space: pre-line;
}
/* 送信完了パネル */
.form-done { background: #fff; border: 1px solid var(--pale); border-radius: 8px; padding: 56px 44px; text-align: center; }
.form-done:focus { outline: none; }
.form-done h3 { font-size: 24px; letter-spacing: -.01em; margin: 12px 0 16px; color: var(--charcoal); }
.form-done p { font-size: 14.5px; line-height: 1.9; color: var(--slate); }
.form-done p.sub { font-size: 12.5px; color: var(--grey); margin-top: 16px; }
.form-done a { color: var(--indigo); font-weight: 700; }
@media (max-width: 640px) {
  .form-done { padding: 40px 24px; }
  .form-done h3 { font-size: 20px; }
}

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt40 { margin-top: 40px; } .mt56 { margin-top: 56px; } .mt72 { margin-top: 72px; }
.divider { height: 1px; background: var(--pale); border: 0; margin: 64px 0; }
.anchor-offset { scroll-margin-top: 100px; }

.logo-strip { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.logo-strip span { font-family: var(--mono); font-size: 12px; color: var(--grey); border: 1px solid var(--pale); border-radius: 6px; padding: 10px 18px; background: #fff; letter-spacing: .04em; }

.quote { background: #fff; border: 1px solid var(--pale); border-left: 3px solid var(--indigo); border-radius: 0 8px 8px 0; padding: 22px 26px; font-size: 14px; color: var(--slate); margin-bottom: 16px; }
.quote .who { font-family: var(--mono); font-size: 11px; color: var(--grey2); margin-top: 8px; letter-spacing: .08em; }

/* core diagram (method) */
.corewrap { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 28px; align-items: center; }
.corebox { background: var(--indigo); color: #fff; border-radius: 50%; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.corebox .cap { font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; color: var(--indigo-soft); }
.corebox .t { font-family: var(--sans); font-weight: 800; font-size: 22px; margin-top: 8px; line-height: 1.4; }
.corebox .s { font-size: 12px; color: var(--r32); margin-top: 6px; }
.coreside .item { background: #fff; border: 1px solid var(--pale); border-radius: 8px; padding: 18px 20px; margin-bottom: 14px; }
.coreside .item h6 { font-family: var(--sans); font-weight: 800; font-size: 14.5px; color: var(--charcoal); margin-bottom: 4px; }
.coreside .item p { font-size: 12.5px; color: var(--slate); line-height: 1.7; }
.coreside .item .dotline { display: flex; align-items: center; margin-bottom: 8px; }
.coreside .item .dotline i { width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); }
.coreside .item .dotline b { height: 2px; flex: 1; background: var(--r32); margin-left: 5px; }

/* joint team diagram */
.joint { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 26px; align-items: stretch; }
.joint .side { background: #fff; border: 1px solid var(--pale); border-radius: 8px; padding: 26px; }
.joint .side .cap { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--grey2); }
.joint .side h5 { font-family: var(--sans); font-weight: 800; font-size: 18px; color: var(--charcoal); margin: 6px 0 8px; }
.joint .side p { font-size: 13px; color: var(--slate); }
.joint .mid { background: var(--indigo); color: #fff; border-radius: 8px; padding: 26px; }
.joint .mid .cap { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--indigo-soft); }
.joint .mid h5 { font-family: var(--sans); font-weight: 800; font-size: 18px; margin: 6px 0 8px; }
.joint .mid p { font-size: 13px; color: var(--r32); line-height: 1.7; }
/* ===== Image slots (画像差込用プレースホルダー) ===== */
.img-slot { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; background: var(--snow); border: 1.5px dashed var(--r48); border-radius: 12px; overflow: hidden; }
.img-slot.ratio-wide { aspect-ratio: 21 / 9; }
.img-slot.ratio-4-3 { aspect-ratio: 4 / 3; }
.img-slot.ratio-3-2 { aspect-ratio: 3 / 2; }
.img-slot.ratio-square { aspect-ratio: 1 / 1; }
.img-slot.contain { background: var(--canvas); border-style: solid; border-color: var(--pale); }
.img-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.img-slot.contain > img { object-fit: contain; padding: 7%; }
.img-slot .slot-label { position: relative; z-index: 0; padding: 20px; text-align: center; color: var(--grey); font-family: var(--mono); font-size: 12px; line-height: 1.85; letter-spacing: .02em; word-break: break-all; }
.img-slot .slot-label strong { display: block; color: var(--slate); font-size: 12.5px; letter-spacing: .12em; margin-bottom: 6px; }
.img-slot .slot-label .dim { display: block; color: var(--grey2); font-size: 11px; margin-top: 4px; }
.slot-cap { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--grey2); margin-top: 8px; }
/* ===== Insight tiles（写真を使わないタイポグラフィ・タイル） ===== */
.insight-tile { display: flex; flex-direction: column; justify-content: space-between; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; padding: 18px 20px; margin: 0; overflow: hidden; }
.insight-tile .tno { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; }
.insight-tile .tnum { font-family: var(--sans); font-weight: 800; font-size: 44px; letter-spacing: .02em; line-height: 1; align-self: flex-end; }
.insight-tile.t-indigo { background: var(--indigo); color: #fff; }
.insight-tile.t-indigo .tno { color: var(--indigo-soft); }
.insight-tile.t-pale { background: var(--r12); color: var(--indigo); }
.insight-tile.t-pale .tno { color: var(--r72); }
.insight-tile.t-snow { background: var(--snow); color: var(--slate); border: 1px solid var(--pale); }
.insight-tile.t-snow .tno { color: var(--grey2); }
/* ===== Member cards（エクストリーマー紹介） ===== */
.member-card .m-role { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--r72); margin-bottom: 4px; }
.member-card .m-name { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.member-card .m-word { font-size: 13px; color: var(--slate); line-height: 1.75; }
/* ===== Service 章扉 & ページ内ナビ ===== */
.menu-divider { border-top: 3px solid var(--indigo); padding-top: 20px; display: flex; align-items: baseline; gap: 20px; margin-bottom: 30px; }
.menu-divider .mnum { font-family: var(--sans); font-weight: 800; font-size: clamp(46px, 6vw, 68px); line-height: 1; color: var(--indigo); letter-spacing: -.02em; }
.menu-divider .mcap { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--r72); }
.menu-divider .mttl { font-family: var(--sans); font-weight: 800; font-size: 18px; color: var(--charcoal); margin-top: 2px; }
.svc-subnav { position: sticky; top: 76px; z-index: 90; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-top: 1px solid var(--pale); border-bottom: 1px solid var(--pale); }
.svc-subnav .in { max-width: var(--max); margin: 0 auto; padding: 10px 32px; display: flex; gap: 8px; overflow-x: auto; }
.svc-subnav a { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--pale); color: var(--slate); transition: color .2s, background .2s, border-color .2s; }
.svc-subnav a:hover { border-color: var(--indigo); color: var(--indigo); }
.svc-subnav a.on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
/* ===== Case study 章扉（アイコン付き） ===== */
.case-divider { border-top: 3px solid var(--indigo); padding-top: 22px; margin-bottom: 28px; display: flex; align-items: center; gap: 18px; }
.case-divider .cd-num { font-family: var(--sans); font-weight: 800; font-size: clamp(44px, 5.5vw, 60px); line-height: 1; color: var(--indigo); letter-spacing: -.02em; }
.case-divider .cd-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--indigo); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.case-divider .cd-icon svg { width: 28px; height: 28px; }
.case-divider .cd-cap { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--r72); }
.case-divider .cd-ttl { font-family: var(--sans); font-weight: 800; font-size: 17px; color: var(--charcoal); margin-top: 2px; }
@media (max-width: 620px) { .case-divider { gap: 12px; } .case-divider .cd-num { font-size: 38px; } .case-divider .cd-icon { width: 44px; height: 44px; } }
/* ===== 成果パネル（事例の山場） ===== */
.outcome-panel { background: var(--indigo); border-radius: 14px; padding: 28px 32px; margin-top: 28px; }
.outcome-panel .cap { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--indigo-soft); margin-bottom: 12px; }
.outcome-panel .oklist li { color: rgba(255,255,255,.95); border-color: rgba(255,255,255,.14); }
.outcome-panel .oklist li::before { color: var(--indigo-soft); }
.outcome-panel .oklist li strong { color: #fff; }
/* ===== 実績の掛け算バンド（200社 × 業種 × 独自データ） ===== */
.xband { display: flex; align-items: stretch; gap: 14px; }
.xband .xb { flex: 1; background: var(--indigo); color: #fff; border-radius: 12px; padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; }
.xband .xv { font-family: var(--sans); font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -.01em; }
.xband .xv small { font-size: 16px; font-weight: 700; margin-left: 4px; }
.xband .xt { font-family: var(--sans); font-weight: 800; font-size: 21px; line-height: 1.4; }
.xband .xs { font-size: 12.5px; color: var(--indigo-soft); margin-top: 8px; line-height: 1.7; }
.xband .xmul { align-self: center; font-family: var(--sans); font-weight: 800; font-size: 30px; color: var(--indigo); flex: none; }
@media (max-width: 860px) { .xband { flex-direction: column; gap: 8px; } .xband .xmul { align-self: center; font-size: 22px; } }
/* ===== フッターSNSアイコン ===== */
footer.site .sns-row { display: flex; gap: 10px; margin-top: 16px; }
footer.site .sns-row a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); transition: background .2s, color .2s, border-color .2s; }
footer.site .sns-row a svg { width: 16px; height: 16px; }
footer.site .sns-row a:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ===== Generated figures ===== */
figure.taskfig, figure.chartfig, figure.orgfig { margin: 0; background: #fff; border: 1px solid var(--pale); border-radius: 12px; padding: 34px 30px; }
figure.taskfig > figcaption, figure.chartfig > figcaption, figure.orgfig > figcaption { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; color: var(--indigo); font-weight: 700; text-transform: uppercase; margin-bottom: 26px; }
.tf-flow { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; align-items: center; gap: 14px; }
.tf-cap { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--grey2); margin-bottom: 10px; }
.tf-block { border-radius: 10px; padding: 26px 22px; text-align: center; }
.tf-block.tf-biz { background: var(--snow); border: 1px solid var(--pale); }
.tf-block.tf-goal { background: var(--indigo); color: #fff; }
.tf-bt { font-family: var(--sans); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.tf-block.tf-biz .tf-bt { color: var(--charcoal); }
.tf-bs { font-size: 12px; line-height: 1.7; margin-top: 8px; color: var(--slate); }
.tf-block.tf-goal .tf-bs { color: var(--r32); }
.tf-arrow { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--indigo); }
.tf-arrow span { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--indigo); text-align: center; line-height: 1.5; }
.tf-arrow::after { content: "→"; font-size: 22px; font-weight: 700; }
.tf-tasks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.tf-chip { font-family: var(--mono); font-size: 10.5px; font-weight: 700; text-align: center; padding: 9px 4px; border-radius: 6px; letter-spacing: .04em; }
.tf-chip.a { background: var(--indigo); color: #fff; }
.tf-chip.b { background: var(--r32); color: var(--indigo); }
.tf-chip.c { background: var(--snow); color: var(--grey); border: 1px solid var(--pale); }
.tf-legend { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--pale); font-size: 12px; color: var(--slate); }
.tf-legend span { display: flex; align-items: center; gap: 7px; }
.tf-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.tf-legend i.a { background: var(--indigo); }
.tf-legend i.b { background: var(--r32); }
.tf-legend i.c { background: var(--snow); border: 1px solid var(--pale); }
.tf-legend .tf-step3 { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--indigo); font-weight: 700; }
@media (max-width: 760px) {
  .tf-flow { grid-template-columns: 1fr !important; }
  .tf-arrow { flex-direction: row; gap: 12px; padding: 4px 0; }
  .tf-arrow::after { content: "↓"; }
  .tf-legend .tf-step3 { margin-left: 0; }
}

/* Before/After bar chart figure */
.chartfig .cf-rows { display: flex; flex-direction: column; gap: 24px; }
.cf-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.cf-row .cf-k { font-size: 13px; font-weight: 700; color: var(--charcoal); }
.cf-row .cf-k small { display: block; font-weight: 400; font-size: 11.5px; color: var(--grey); font-family: var(--mono); letter-spacing: .04em; margin-top: 2px; }
.cf-bars { display: flex; flex-direction: column; gap: 8px; }
.cf-bar { display: flex; align-items: center; gap: 12px; }
.cf-bar .cf-track { flex: 1; height: 26px; background: var(--snow); border-radius: 5px; overflow: hidden; }
.cf-bar .cf-fill { height: 100%; border-radius: 5px; display: flex; align-items: center; padding: 0 10px; font-family: var(--mono); font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; }
.cf-bar.before .cf-fill { background: var(--grey2); }
.cf-bar.after .cf-fill { background: var(--indigo); }
.cf-bar .cf-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--grey); width: 46px; flex: none; }
.chartfig .cf-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--pale); font-size: 12.5px; color: var(--slate); }
.chartfig .cf-note strong { color: var(--indigo); font-weight: 800; }
@media (max-width: 620px) { .cf-row { grid-template-columns: 1fr; gap: 8px; } }

/* Org / CoE structure figure */
.orgfig .of-top { display: flex; justify-content: center; }
.of-node { border-radius: 10px; padding: 18px 24px; text-align: center; }
.of-node .of-t { font-family: var(--sans); font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.of-node .of-s { font-size: 11.5px; margin-top: 4px; }
.of-node.lead { background: var(--indigo); color: #fff; min-width: 260px; }
.of-node.lead .of-s { color: var(--r32); }
.of-connector { width: 2px; height: 26px; background: var(--r32); margin: 0 auto; }
.of-connector.wide { width: 80%; height: 2px; margin: 0 auto; border-top: 2px solid var(--r32); background: none; }
.of-tier { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.of-node.unit { background: #fff; border: 1px solid var(--pale); }
.of-node.unit .of-t { color: var(--charcoal); font-size: 14.5px; }
.of-node.unit .of-s { color: var(--slate); }
.of-stems { display: grid; grid-template-columns: repeat(3, 1fr); }
.of-stems .of-connector { grid-column: auto; }
@media (max-width: 620px) { .of-tier, .of-stems { grid-template-columns: 1fr; } .of-connector.wide { display: none; } }
.card .img-slot { margin-bottom: 16px; border-radius: 8px; aspect-ratio: 16 / 9; }
.case .img-slot { margin-top: 28px; }

/* ===== AI neural-flow band (generative headline) ===== */
.ai-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.ai-band canvas.flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.ai-band .inner { position: relative; z-index: 1; padding: clamp(88px, 13vw, 156px) 24px; text-align: center; pointer-events: none; }
.ai-band .kick { font-family: var(--mono); font-size: 12px; letter-spacing: .28em; color: var(--indigo-soft); text-transform: uppercase; }
.ai-band .prompt { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--grey2); margin-top: 26px; }
.ai-band .prompt::before { content: "› "; color: var(--indigo-soft); }
.ai-band .gen { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; font-size: clamp(26px, 4.6vw, 56px); line-height: 1.34; margin-top: 14px; min-height: 1.34em; }
.ai-band .gen .cursor { display: inline-block; width: .06em; min-width: 3px; height: 1em; background: var(--indigo-soft); margin-left: .06em; vertical-align: -.12em; animation: aiCaret 1s steps(1) infinite; }
.ai-band .gen .scr { color: var(--indigo-soft); opacity: .85; }
@keyframes aiCaret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ai-band .gen .cursor { animation: none; } }

/* ===== WHO WE ARE — founder quote ===== */
.founder-quote {
  display: flex; align-items: center; gap: 26px;
  background: var(--snow); border: 1px solid var(--pale); border-left: 3px solid var(--indigo);
  border-radius: 0 8px 8px 0; padding: 28px 32px; max-width: 860px;
}
.founder-quote .fq-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center top; flex: none; }
.founder-quote .fq-text { font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 2; color: var(--charcoal); }
.founder-quote .fq-who { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--grey); margin-top: 10px; }
@media (max-width: 620px) { .founder-quote { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; } }

/* Button row (light sections) */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Compact metric thumbnail (index case cards) */
.thumbfig { aspect-ratio: 16 / 9; border-radius: 8px; margin-bottom: 16px; background: var(--indigo); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 22px 26px; overflow: hidden; }
.thumbfig .tm-cap { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--indigo-soft); }
.thumbfig .tm-v { font-family: var(--sans); font-weight: 800; font-size: 40px; letter-spacing: -.03em; line-height: 1.05; margin-top: 8px; }
.thumbfig .tm-v small { font-size: 16px; margin-left: 3px; font-weight: 700; }
.thumbfig .tm-k { font-size: 12px; color: var(--r32); margin-top: 8px; }
.thumbfig.alt { background: var(--snow); color: var(--charcoal); border: 1px solid var(--pale); }
.thumbfig.alt .tm-cap, .thumbfig.alt .tm-v { color: var(--indigo); }
.thumbfig.alt .tm-k { color: var(--slate); }
.thumbfig .tm-flow { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbfig .tm-chip { font-family: var(--mono); font-size: 12px; font-weight: 700; background: rgba(255,255,255,.12); border-radius: 5px; padding: 7px 11px; }
.thumbfig .tm-ar { color: var(--indigo-soft); font-weight: 700; }

/* ===== 代表メッセージ ダーク全幅バンド（左：テキスト／右：写真） ===== */
.msg-band {
  display: grid; grid-template-columns: 1fr 40%; align-items: stretch;
  background: var(--canvas); color: var(--charcoal); overflow: hidden;
}
/* ===== JOIN US 採用バンド（ダーク・目立たせ） ===== */
section.block.join-band { background: linear-gradient(135deg, #0A0F2E 0%, #1E2761 55%, #3A4390 100%); }
.join-band .eyebrow { color: var(--indigo-soft); }
.join-band h2 { color: #fff; }
.join-band p.lead { color: rgba(255,255,255,.88); }
.join-band p.lead strong { color: #fff; }
.msg-band .msg-text { padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 96px); align-self: center; }
.msg-band .msg-text .eyebrow { color: var(--indigo); }
.msg-band .msg-text .sub { font-family: var(--sans); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.4; letter-spacing: -.01em; margin: 18px 0 28px; color: var(--charcoal); }
.msg-band .msg-text p { color: var(--slate); font-size: 15px; line-height: 2; margin-top: 14px; max-width: 620px; }
.msg-band .msg-text p.role { font-family: var(--mono); font-size: 12px; color: var(--grey); margin-top: 32px; }
.msg-band .msg-text p.name { font-family: var(--sans); font-weight: 800; font-size: 22px; color: var(--charcoal); margin-top: 4px; }
.msg-band .msg-photo { margin: 0; position: relative; min-height: 100%; background: var(--pale); }
.msg-band .msg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
@media (max-width: 860px) {
  .msg-band { grid-template-columns: 1fr; }
  .msg-band .msg-photo { min-height: 380px; }
}
.bases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.base { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; padding: 34px; border-radius: 12px; overflow: hidden; background: var(--ink) center/cover no-repeat; color: #fff; transition: transform .3s cubic-bezier(.2,.6,.2,1), box-shadow .3s; }
.base::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.9) 100%); z-index: 0; }
.base:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(10,10,10,.3); }
.base .tag { position: relative; z-index: 1; align-self: flex-start; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 13px; margin-bottom: auto; }
.base .binfo { position: relative; z-index: 1; }
.base .bcap { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--indigo-soft); }
.base .bname {
  display: block; font-family: var(--sans); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(40px, 4.6vw, 62px); line-height: 1.1; margin: 6px 0 14px;
}
.base .bdesc { display: block; font-size: 14.5px; line-height: 1.9; color: rgba(255,255,255,.92); }
.base .bview {
  display: inline-block; margin-top: 20px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; font-weight: 700; color: #fff;
  border-bottom: 1.5px solid #fff; padding-bottom: 5px;
  transition: color .25s, border-color .25s;
}
.base:hover .bview { color: var(--indigo-soft); border-color: var(--indigo-soft); }
@media (max-width: 900px) { .bases { grid-template-columns: 1fr; } .base { min-height: 380px; } }

/* ---------- FV (first view) ---------- */
.fv-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 84px); align-items: center; }
.fv-we {
  font-family: var(--sans); font-weight: 800; color: var(--mist);
  font-size: clamp(140px, 24vw, 340px); line-height: .82; letter-spacing: -.04em;
  opacity: 0; animation: fvIn 1s cubic-bezier(.2,.6,.2,1) .1s forwards;
}
.fv-lines { display: flex; flex-direction: column; gap: clamp(6px, 1vw, 14px); }
.fv-lines .l {
  font-family: var(--sans); font-weight: 500; color: #fff;
  font-size: clamp(21px, 2.6vw, 42px); letter-spacing: -.01em; line-height: 1.3;
  white-space: nowrap;
  opacity: 0; animation: fvIn .9s cubic-bezier(.2,.6,.2,1) forwards;
}
.fv-lines .l .o { font-weight: 800; }
.fv-lines .l:nth-child(1) { animation-delay: .35s; }
.fv-lines .l:nth-child(2) { animation-delay: .55s; }
.fv-lines .l:nth-child(3) { animation-delay: .75s; }
.fv-lines .l:nth-child(4) { animation-delay: .95s; }
.fv-lines .l:nth-child(5) { animation-delay: 1.25s; }
.fv-lines .l .t { margin-right: .45em; }
.fv-lines .withyou { display: flex; align-items: center; gap: 22px; margin-top: clamp(8px, 1.4vw, 20px); }
.fv-lines .withyou .dash { display: inline-block; width: clamp(48px, 6vw, 96px); height: 2px; background: var(--mist); }
.fv-lines .withyou .wy { color: var(--indigo-soft); font-weight: 800; font-size: clamp(30px, 4.6vw, 60px); }
.fv-sub { opacity: 0; animation: fvIn .9s cubic-bezier(.2,.6,.2,1) 1.5s forwards; }
@keyframes fvIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal (blur → focus, "generative" feel) ---------- */
.rv {
  opacity: 0; transform: translateY(26px); filter: blur(10px);
  transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1), filter .8s cubic-bezier(.2,.6,.2,1);
  transition-delay: var(--rvd, 0s);
}
.rv.in { opacity: 1; transform: none; filter: blur(0); }

/* ---------- Neural network canvas (dark sections) ---------- */
canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Decode / scramble text ---------- */
.decoding { color: var(--indigo-soft); }
.eyebrow.decoding { opacity: .85; }

/* ---------- Clients marquee (auto-sliding logos) ---------- */
.marquee {
  overflow: hidden; position: relative; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee .track {
  display: flex; align-items: center; gap: 72px; width: max-content;
  animation: mqMove var(--mq-dur, 32s) linear infinite;
}
.marquee .track + .track { margin-top: 30px; }
.marquee .track.rev { animation-direction: reverse; }
.marquee:hover .track { animation-play-state: paused; }
.marquee img { height: 42px; width: auto; }
.marquee .pillname {
  font-family: var(--mono); font-size: 13px; color: var(--grey); white-space: nowrap;
  border: 1px solid var(--pale); border-radius: 6px; padding: 12px 22px; background: #fff; letter-spacing: .04em;
}
@keyframes mqMove { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

/* ---------- Button animations ---------- */
.btn { position: relative; overflow: hidden; transition: opacity .2s, background .2s, transform .25s cubic-bezier(.2,.6,.2,1), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(10,10,10,.14); }
.btn:active { transform: translateY(0) scale(.96); box-shadow: none; }
.btn .ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: currentColor; opacity: .28; transform: scale(0);
  animation: ripple .6s ease-out forwards;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

a.card { transition: border-color .25s, transform .3s cubic-bezier(.2,.6,.2,1), box-shadow .3s; }
a.card:hover { box-shadow: 0 10px 28px rgba(30,39,97,.10); }
details.faq summary { transition: color .2s; }
details.faq summary:hover { color: var(--indigo); }

@media (prefers-reduced-motion: reduce) {
  .rv, .fv-we, .fv-lines .l, .fv-sub { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .btn:hover, .btn:active { transform: none; }
}

/* ---------- Case study: summary band / pains / results ---------- */
.case .case-no { font-family: var(--mono); font-size: 12px; color: var(--indigo); letter-spacing: .18em; font-weight: 700; margin-bottom: 10px; }
.case-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; background: var(--indigo); color: #fff; border-radius: 10px; padding: 22px 28px; margin-top: 22px; }
.case-hero .ch-tag { display: flex; flex-direction: column; gap: 4px; padding-right: 26px; border-right: 1px solid rgba(255,255,255,.18); }
.case-hero .ch-tag .t1 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--indigo-soft); font-weight: 700; }
.case-hero .ch-tag .t2 { font-family: var(--sans); font-weight: 800; font-size: 17px; letter-spacing: .02em; white-space: nowrap; }
.case-hero .ch-ba { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.case-hero .ch-ba .b, .case-hero .ch-ba .a { border-radius: 8px; padding: 9px 15px; font-size: 13px; line-height: 1.6; font-weight: 700; }
.case-hero .ch-ba .b { background: rgba(255,255,255,.10); color: var(--r32); }
.case-hero .ch-ba .a { background: #fff; color: var(--indigo); }
.case-hero .ch-ba .ar { color: var(--indigo-soft); font-weight: 800; font-size: 18px; flex: none; }
.case-hero .ch-nums { display: flex; gap: 28px; padding-left: 26px; border-left: 1px solid rgba(255,255,255,.18); }
.case-hero .ch-nums .v { font-family: var(--sans); font-weight: 800; font-size: 30px; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.case-hero .ch-nums .v small { font-size: 14px; margin-left: 2px; font-weight: 700; }
.case-hero .ch-nums .k { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--indigo-soft); margin-top: 3px; }
.case-sec { margin-top: 26px; border-top: 1px solid var(--pale); padding-top: 20px; }
.case-sec .cap { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--indigo); font-weight: 700; }
.painlist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.painlist li { background: var(--snow); border: 1px solid var(--pale); border-radius: 8px; padding: 13px 16px; font-size: 13.5px; color: var(--slate); line-height: 1.75; }
.oklist { list-style: none; display: grid; gap: 9px; margin-top: 12px; }
.oklist li { position: relative; padding-left: 28px; font-size: 13.5px; color: var(--slate); line-height: 1.75; }
.oklist li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--indigo); font-weight: 800; }
.tf-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.tf-menu .m { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--indigo); background: var(--r12); border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
@media (max-width: 960px) {
  .case-hero { grid-template-columns: 1fr; gap: 16px; }
  .case-hero .ch-tag { border-right: 0; padding-right: 0; flex-direction: row; align-items: baseline; gap: 12px; }
  .case-hero .ch-nums { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; }
}
@media (max-width: 620px) { .painlist { grid-template-columns: 1fr; } }

/* responsive */
@media (max-width: 1024px) {
  .nav ul.menu { gap: 18px; }
  .kpis, .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.three { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .corewrap { grid-template-columns: 1fr; }
  .corebox { max-width: 300px; margin: 0 auto; }
  .joint { grid-template-columns: 1fr; }
  footer.site .top { grid-template-columns: 1fr 1fr; }
  .case .csg { grid-template-columns: 1fr; }
  .case .csg > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--pale); }
}
@media (max-width: 900px) {
  .fv-grid { grid-template-columns: 1fr; gap: 20px; }
  .fv-we { font-size: clamp(110px, 30vw, 180px); }
}
/* ナビはタブレット縦(〜960px)でもハンバーガーに切り替える（PCメニューが折り返して崩れるため） */
@media (max-width: 960px) {
  .nav ul.menu, .nav .ctas { display: none; }
  .hamburger { display: block; }
  /* 開いたメニューはフロー配置にして項目数が増えても重ならないようにする */
  .nav.open { flex-wrap: wrap; height: auto; min-height: 76px; max-height: 100vh; overflow-y: auto; padding-top: 14px; padding-bottom: 24px; }
  .nav.open .logo { order: 1; }
  .nav.open .hamburger { order: 2; }
  .nav.open ul.menu {
    display: flex; flex-direction: column; position: static; order: 3; width: 100%;
    border-top: 1px solid var(--pale); margin-top: 14px; padding: 18px 0 8px; gap: 16px;
  }
  .nav.open ul.menu a { align-items: flex-start; }
  .nav.open .ctas { display: flex; position: static; order: 4; width: 100%; margin-left: 0; padding-top: 10px; }
  .nav.open .ctas .btn { flex: 1; text-align: center; justify-content: center; }
}
@media (max-width: 760px) {
  .kpis, .grid2, .grid3, .grid4, .ba, .steps, .steps.three { grid-template-columns: 1fr; }
  .row-item { grid-template-columns: 1fr; gap: 6px; }
  .row-item .cat { justify-self: start; }
  footer.site .top { grid-template-columns: 1fr; }
  table.def th { width: 120px; }
  section.block { padding: 64px 0; }
}
