/* 自動生成：scripts/build-top-css.js。直接編集しない。元：styles.css、renewal.css、renewal-v3.css、renewal-v4.css、chat-hp.css */
/* ---- styles.css ---- */
/* =========================================================
   AI Human Capital — Design System
   Ver.1.0 based on Design System Handbook
   ========================================================= */

:root {
  /* Primary — Logo Red */
  --red-50: #fcebed;
  --red-100: #f7ccd2;
  --red-300: #e87f8d;
  --red-500: #d7374d;
  --red-600: #c12b40;
  --red-700: #9e2233;

  /* Accents */
  --gold-500: #c2a35a;
  --teal-500: #2e5c6e;

  /* Warm Neutrals */
  --n-0:   #ffffff;
  --n-50:  #f7f5f1;
  --n-100: #f0ede8;
  --n-200: #e4ded4;
  --n-300: #d4ccbe;
  --n-500: #7a7570;
  --n-700: #403c36;
  --n-900: #1a1a1a;

  /* Semantic */
  --paper:      var(--n-50);
  --surface:    var(--n-0);
  --ink:        var(--n-900);
  --ink-muted:  var(--n-500);
  --ink-strong: var(--n-700);
  --brand:      var(--red-500);
  --brand-deep: var(--red-700);
  --rule:       var(--n-200);
  --rule-soft:  var(--n-100);

  /* Type */
  --f-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-mono:  "Roboto Mono", "SF Mono", Menlo, monospace;

  /* Spacing (4px grid) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-6: 24px;
  --s-8: 32px;
  --s-12: 48px;
  --s-16: 64px;
  --s-24: 96px;
  --s-32: 128px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(26,26,26,.05), 0 1px 3px rgba(26,26,26,.06);
  --sh-md: 0 4px 12px rgba(26,26,26,.06), 0 2px 4px rgba(26,26,26,.04);
  --sh-lg: 0 20px 40px rgba(26,26,26,.10), 0 8px 16px rgba(26,26,26,.05);

  /* Density (Tweakable) */
  --density: 0.7;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* ============ TYPE ============ */
h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: pretty;
}
.display {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  /* Japanese: keep word units together; allow break at explicit <br> */
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
h1, .h1, h2, .h2, h3, .h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.lead {
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
h1, .h1 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.35; }
h2, .h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.4; }
h3, .h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; }
.lead   { font-size: 19px; line-height: 1.9; color: var(--ink-strong); }
.body   { font-size: 16px; line-height: 1.7; }

/* section intro text: one reading width on every page */
.container > .reveal > p.lead,
.container > .reveal > p.body { max-width: 640px; }
.container > .reveal[style*="margin: 0 auto"] > p.lead,
.container > .reveal[style*="margin: 0 auto"] > p.body { margin-left: auto; margin-right: auto; }
.small  { font-size: 13px; line-height: 1.6; color: var(--ink-muted); }
.mono   { font-family: var(--f-mono); font-feature-settings: "tnum"; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brand);
  display: inline-block;
}
.eyebrow.mute { color: var(--ink-muted); }
.eyebrow.mute::before { background: var(--ink-muted); }

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.section {
  padding: calc(var(--s-24) * var(--density)) 0;
}
.section-lg { padding: calc(var(--s-32) * var(--density)) 0; }
.divider {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}
.rule-gold {
  width: 40px;
  height: 1px;
  background: var(--gold-500);
  display: block;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--rule);
  background: color-mix(in oklch, var(--paper) 95%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo img {
  height: 22px;
  width: auto;
  display: block;
}
/* fallback text lockup (kept for footer & anywhere image can't be used) */
.nav-logo.text-lockup {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
}
.nav-logo .ai { color: var(--brand); }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  align-items: center;
}
.nav-link {
  font-size: 14px;
  color: var(--ink-strong);
  text-decoration: none;
  position: relative;
  padding: 6px 2px;
  transition: color .2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav-link:hover { color: var(--brand); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--brand); }
.nav-link.active::after { transform: scaleX(1); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-family: var(--f-sans);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
}
.btn-lg { padding: 18px 32px; font-size: 15px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

.btn-primary {
  background: var(--brand);
  color: var(--n-0);
}
.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--n-300);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--n-0);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { color: var(--brand); }

.btn .arrow {
  display: inline-block;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ============ CARDS ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-8);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--n-300);
}
.card-flat {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-6);
}

/* ============ BADGES ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-family: var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--n-100);
  color: var(--ink-strong);
}
.badge-brand { background: var(--red-50); color: var(--brand-deep); }
.badge-gold { background: color-mix(in oklch, var(--gold-500) 15%, transparent); color: #8a7434; }
.badge-teal { background: color-mix(in oklch, var(--teal-500) 15%, transparent); color: var(--teal-500); }

/* ============ FORM ============ */
.field { margin-bottom: 20px; }
.label {
  display: block;
  font-size: 13px;
  color: var(--ink-strong);
  margin-bottom: 8px;
  font-weight: 500;
}
.label .req {
  color: var(--brand);
  margin-left: 4px;
  font-size: 11px;
  font-weight: 700;
}
.consent-label { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; font-size: 13.5px; line-height: 1.7; cursor: pointer; }
.consent-label input { margin-top: 5px; flex: 0 0 auto; }
.consent-label a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.consent-label .req { color: var(--brand); margin-left: 4px; font-size: 11px; font-weight: 700; }
.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--n-300);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand) 15%, transparent);
}
.textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.helper { font-size: 12px; color: var(--ink-muted); margin-top: 6px; }
.error {
  font-size: 12px;
  color: var(--brand);
  margin-top: 6px;
  display: none;
  align-items: center;
  gap: 6px;
}
.field.is-error .input,
.field.is-error .textarea,
.field.is-error .select {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand) 12%, transparent);
}
.field.is-error .error { display: inline-flex; }
.field.is-ok .input,
.field.is-ok .textarea,
.field.is-ok .select {
  border-color: color-mix(in oklch, #2f7d5d 60%, var(--n-300));
}

/* ============ STAT / METRIC ============ */
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-value {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.stat-value .unit {
  font-family: var(--f-mono);
  font-size: 0.4em;
  color: var(--ink-muted);
  margin-left: 6px;
  letter-spacing: 0.1em;
}
.stat-rule {
  width: 32px;
  height: 1px;
  background: var(--gold-500);
}
.stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}

/* ============ REVEAL (scroll-in) ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }

/* ============ FLOATING CTA BAR ============ */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 20px;
  background: var(--n-900);
  color: var(--n-0);
  border-radius: 999px;
  box-shadow: var(--sh-lg);
  opacity: 0;
  transform: translateY(20px) scale(.96);
  pointer-events: none;
  transition: all .5s cubic-bezier(.2,.7,.2,1);
}
.float-cta.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.float-cta .fc-label {
  font-size: 13px;
  letter-spacing: 0.04em;
}
.float-cta .fc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--brand);
  color: var(--n-0);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background .25s;
}
.float-cta .fc-btn:hover { background: var(--red-600); }

/* ============ FOOTER ============ */
.footer {
  background: var(--n-900);
  color: var(--n-100);
  padding: var(--s-24) 0 var(--s-8);
  margin-top: var(--s-24);
}
.footer .container { color: var(--n-100); }
.footer h4 {
  color: var(--n-0);
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: .7;
}
.footer a {
  color: var(--n-200);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
  display: block;
  padding: 4px 0;
}
.footer a:hover { color: var(--red-300); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 64px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--n-300);
  letter-spacing: 0.06em;
}
.footer-bottom .footer-link {
  color: var(--n-300);
  padding: 0;
  display: inline-block;
  padding-bottom: 2px;
}
.footer-bottom .footer-link:hover { color: var(--red-300); }

/* ============ GRAIN OVERLAY ============ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============ UTILITIES ============ */
.grid { display: grid; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; } .mt-16 { margin-top: 64px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; } .mb-12 { margin-bottom: 48px; } .mb-16 { margin-bottom: 64px; }

/* ============ TWEAKS PANEL ============ */
.tweaks {
  position: fixed;
  right: 24px;
  top: 88px;
  z-index: 60;
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 20px;
  display: none;
}
.tweaks.is-open { display: block; animation: fadeIn .3s; }
.tweaks h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  margin: 0 0 16px;
}
.tweaks .tw-group { margin-bottom: 20px; }
.tweaks .tw-label {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.tweaks .tw-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 3px;
  background: var(--n-100);
  border-radius: var(--r-sm);
}
.tweaks .tw-seg button {
  padding: 8px 6px;
  font-size: 12px;
  font-family: var(--f-sans);
  border: 0;
  background: transparent;
  color: var(--ink-strong);
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s;
}
.tweaks .tw-seg button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--sh-sm);
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   FV Shoulder (compact breadcrumb + tag inline)
   ========================================================= */
.fv-shoulder {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ink-muted);
}
.fv-crumb {
  color: var(--ink-muted);
  text-decoration: none;
}
a.fv-crumb:hover { color: var(--brand); }
.fv-crumb-sep {
  color: color-mix(in oklch, var(--ink-muted) 45%, transparent);
}
.fv-tag {
  color: var(--brand);
  letter-spacing: .24em;
}

/* Two-column FV: copy left / video right */
.fv-2col {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.fv-copy { min-width: 0; }
/* Slightly smaller display in 2-col FV so JP phrases don't orphan */
.fv-2col .display {
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.35;
  letter-spacing: 0.015em;
}
.fv-video { min-width: 0; }
.fv-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--n-900);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.35);
}
.fv-vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
  filter: grayscale(.15);
}
.fv-vid-overlay {
  position: absolute; inset: 0;
  padding: 24px 26px;
  background: linear-gradient(180deg,
    color-mix(in oklch, var(--n-900) 55%, transparent) 0%,
    color-mix(in oklch, var(--n-900) 78%, transparent) 55%,
    color-mix(in oklch, var(--n-900) 92%, transparent) 100%);
  color: rgba(255,255,255,.96);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.fv-vid-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,.035) 0 2px,
    transparent 2px 14px
  );
  pointer-events: none;
}
.fv-vid-meta {
  position: absolute;
  top: 20px;
  left: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fv-vid-no {
  font-size: 11px;
  letter-spacing: .18em;
  color: color-mix(in oklch, var(--red-300) 90%, white);
}
.fv-vid-tag {
  font-size: 10px;
  letter-spacing: .22em;
  color: rgba(255,255,255,.55);
}
.fv-vid-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.fv-vid-play {
  width: 56px; height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px -8px color-mix(in oklch, var(--brand) 60%, transparent);
}
.fv-vid-play svg { transform: translateX(1px); }
.fv-vid-dur {
  font-size: 10.5px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.7);
}

@media (max-width: 960px) {
  .fv-2col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fv-video-frame { aspect-ratio: 16 / 9; }
  .fv-vid-meta { top: 14px; left: 16px; right: 16px; }
  .fv-vid-play { width: 48px; height: 48px; }
}


/* plan / menu table (shared: AI・DX導入支援の支援プラン、AI人材の研修一覧) */
.plan-table { border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--paper); }
.plan-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.35fr) minmax(0, 1.75fr) minmax(0, 1.5fr) minmax(0, 1.15fr); gap: 24px; align-items: start; padding: 32px 28px; border-bottom: 1px solid var(--rule); background: var(--surface); }
.plan-row:last-child { border-bottom: 0; }
.plan-head { position: sticky; top: var(--plan-head-top, 73px); z-index: 5; padding: 14px 28px; background: var(--paper); border-radius: var(--r-md) var(--r-md) 0 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ink-muted); box-shadow: 0 1px 0 var(--rule), 0 6px 14px -10px rgba(0,0,0,.25); }
.plan-row:last-child { border-radius: 0 0 var(--r-md) var(--r-md); }
.plan-name h3 { font-family: var(--f-serif); font-size: 22px; line-height: 1.4; margin: 0; color: var(--ink); }
.plan-name p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-muted); }
.plan-for { margin-top: 12px !important; font-size: 13px !important; line-height: 1.8 !important; color: var(--ink-strong) !important; }
.plan-for b { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--brand); }
.plan-body p, .plan-goal p { margin: 0 0 10px; font-size: 14px; line-height: 1.9; color: var(--ink-strong); }
.plan-body p:last-child, .plan-goal p:last-child { margin-bottom: 0; }
.plan-note { padding: 10px 12px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-sm); font-size: 12.5px !important; color: var(--ink-muted) !important; line-height: 1.8 !important; }
.plan-prep { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.85; color: var(--ink-strong); }
.plan-prep li + li { margin-top: 2px; }
.plan-goal b { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--brand); }
.plan-period { margin: 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.8; color: var(--ink-strong); }
.plan-fee { margin-top: 12px; font-size: 20px; line-height: 1.3; color: var(--brand); letter-spacing: .01em; }
@media (max-width: 1180px) {
  .pc-br { display: none; }
  .plan-head { display: none; }
  .plan-row { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; }
  .plan-row > [data-label]::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--ink-muted); }
  .plan-name::before { display: none !important; }
}
/* ---- renewal.css ---- */
/* =========================================================
   AI Human Capital — Renewal (editorial layer)
   Loaded after styles.css. Keeps brand tokens; replaces layout.
   Type: Noto Serif JP (display) / Noto Sans JP (text) /
         Cormorant Garamond (numerals) / Roboto Mono (labels)
   ========================================================= */

:root {
  --f-num: "Cormorant Garamond", "Noto Serif JP", serif;
  --ico-accent: var(--gold-500);
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

body { background: var(--paper); }
img { max-width: 100%; display: block; }

.r-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.r-sec { padding: clamp(80px, 10vw, 152px) 0; position: relative; }
.r-sec.is-tight { padding: clamp(64px, 7vw, 104px) 0; }
.r-sec.is-surface { background: var(--surface); }
.r-rule-top { border-top: 1px solid var(--rule); }

/* ---------- Section head (chapter + title) ---------- */
.r-head {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr);
  gap: 24px var(--gut);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.r-chap {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--ink);
}
.r-chap-no {
  font-family: var(--f-num); font-weight: 400;
  font-size: 15px; letter-spacing: .08em; color: var(--ink-muted);
}
.r-chap .eyebrow { font-size: 11px; letter-spacing: .2em; }
.r-chap .eyebrow::before { display: none; }
.r-h2 {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(30px, 4vw, 58px); line-height: 1.32; letter-spacing: .01em;
  margin: 0; word-break: keep-all; overflow-wrap: break-word; text-wrap: balance;
}
.r-h2 .b { color: var(--brand); }
.r-lead { margin: 24px 0 0; max-width: 46em; font-size: 16px; line-height: 2; color: var(--ink-strong); }
.r-note { font-size: 13px; line-height: 1.8; color: var(--ink-muted); }

/* ---------- Icons ---------- */
.ico { width: 20px; height: 20px; flex-shrink: 0; display: block; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico-label { display: flex; align-items: center; gap: 10px; line-height: 1.2; }

/* ---------- Photos ---------- */
.r-photo { position: relative; margin: 0; overflow: hidden; background: var(--n-200); }
.r-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.02); transform: scale(1.04); transition: transform 1.6s var(--ease); }
.r-photo.is-in img, .reveal.is-visible .r-photo img, .r-photo.reveal.is-visible img { transform: scale(1); }
.r-photo-note {
  position: absolute; right: 12px; bottom: 10px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em;
  color: rgba(255,255,255,.82); text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

/* ---------- Line drawing ---------- */
.r-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.is-drawn .r-draw, .r-draw.is-drawn { stroke-dashoffset: 0; }

/* =========================================================
   01 HERO — shared
   ========================================================= */
.r-hero { position: relative; overflow: hidden; }
.r-h1 {
  margin: 0; font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(34px, 5.4vw, 84px); line-height: 1.2; letter-spacing: .01em;
  word-break: keep-all; overflow-wrap: break-word;
}
.r-h1 .b { color: var(--brand); }
.r-hero-variant { display: none; }
body[data-hero="a"] .r-hero-a,
body[data-hero="b"] .r-hero-b { display: block; }

/* Variant A — cover: headline over a wide cinematic photo */
.r-hero-a .r-hero-copy {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px var(--gut); align-items: end;
  padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(32px, 4vw, 56px);
}
.r-hero-a .r-hero-meta { grid-column: 1 / -1; }
.r-hero-a .r-photo { aspect-ratio: 21 / 9; }
.r-hero-a .r-photo img { object-position: center 40%; }
.r-hero-a .r-hero-meta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--ink-muted);
}
.r-hero-a .r-hero-meta::before { content: ""; width: 40px; height: 1px; background: var(--brand); }

/* Variant B — portrait: text-dominant, tall portrait inset */
.r-hero-b .r-hero-grid {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: var(--gut); align-items: end;
  padding-top: clamp(48px, 7vw, 112px); padding-bottom: clamp(40px, 5vw, 72px);
}
.r-hero-b .r-h1 { font-size: clamp(30px, 6.4vw, 104px); line-height: 1.14; }
.r-hero-b .r-hero-copy { display: flex; flex-direction: column; gap: 48px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.r-hero-b .r-hero-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; }
.r-hero-b .r-hero-index { font-family: var(--f-num); font-size: 18px; color: var(--ink-muted); letter-spacing: .06em; }
.r-hero-b .r-photo { aspect-ratio: 3 / 4; }
.r-hero-b .r-photo::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); }

/* ---------- Business cards (hero) ---------- */
.r-biz { padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 8vw, 120px); }
.r-biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.r-biz-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border-top: 1px solid var(--ink); padding-top: 18px;
}
.r-biz-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.r-biz-no { font-family: var(--f-num); font-size: 44px; line-height: 1; color: var(--ink); }
.r-biz-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--brand); }
.r-biz-label .ico { width: 18px; height: 18px; }
.r-biz-title { margin: 16px 0 4px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.35; word-break: keep-all; }
.r-biz-tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; color: var(--ink-muted); }
.r-biz-media { position: relative; margin-top: 20px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--n-900); }
.r-biz-media video, .r-biz-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.r-biz-card:hover .r-biz-media img, .r-biz-card:hover .r-biz-media video { transform: scale(1.04); }
.r-biz-over {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: #fff;
  background: linear-gradient(180deg, rgba(26,26,26,0) 30%, rgba(26,26,26,.78) 100%);
}
.r-biz-catch { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.55; color: #fff; word-break: keep-all; text-wrap: pretty; }
.r-biz-foot { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; color: rgba(255,255,255,.75); }
.r-biz-play { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s var(--ease); }
.r-biz-card:hover .r-biz-play { transform: scale(1.12); }
.r-biz-body { padding-top: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.r-biz-body p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink-strong); }
.r-biz-body .eg { font-size: 13px; color: var(--ink-muted); padding-left: 14px; border-left: 1px solid var(--gold-500); }
.r-biz-cta { margin-top: auto; padding-top: 10px; color: var(--brand); font-size: 13px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.r-biz-cta .arrow { transition: transform .3s var(--ease); }
.r-biz-card:hover .r-biz-cta .arrow { transform: translateX(4px); }

/* =========================================================
   02 EASY START
   ========================================================= */
.r-easy { background: var(--n-900); color: var(--n-100); padding: clamp(48px, 6vw, 80px) 0; }
.r-easy-h { margin: 0 0 32px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); color: #fff; }
.r-easy-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) minmax(0, 1.1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.r-easy-lab { grid-row: 1; padding: 14px 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--gold-500); }
.r-easy-lab.co { grid-column: 1 / 4; }
.r-easy-lab.ind { grid-column: 4; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.r-easy-item {
  grid-row: 2; display: flex; flex-direction: column; gap: 10px; min-height: 148px;
  padding: 22px 28px 26px 0; text-decoration: none; color: inherit;
  border-top: 1px solid rgba(255,255,255,.1);
  transition: color .25s;
}
.r-easy-item + .r-easy-item { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.1); }
.r-easy-item.ind { border-left-color: rgba(255,255,255,.18); }
.r-easy-t { font-family: var(--f-serif); font-size: 19px; color: #fff; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.r-easy-t .arrow { color: var(--brand); transition: transform .3s var(--ease); }
a.r-easy-item:hover .r-easy-t .arrow { transform: translateX(5px); }
a.r-easy-item:hover .r-easy-t { color: var(--red-300); }
.r-easy-s { font-size: 13px; line-height: 1.75; color: var(--n-300); }
.r-easy-item.soon { opacity: .5; }

/* =========================================================
   03 THESIS — variants
   ========================================================= */
.r-thesis-variant { display: none; }
body[data-thesis="a"] .r-thesis-a,
body[data-thesis="b"] .r-thesis-b { display: block; }
.r-thesis-big {
  margin: 0; font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 68px); line-height: 1.36; letter-spacing: .01em; word-break: keep-all;
}
.r-thesis-big .b { color: var(--brand); }
.r-thesis-big .s { color: var(--ink-muted); }
.r-thesis-text p { margin: 0 0 20px; font-size: 16px; line-height: 2; color: var(--ink-strong); }
.r-thesis-text .lead { font-family: var(--f-serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.95; color: var(--ink); }
.r-mark { background: linear-gradient(transparent 64%, color-mix(in oklch, var(--gold-500) 38%, transparent) 64%); }
.r-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--rule); }
.r-stat { padding: 20px 16px 0 0; }
.r-stat + .r-stat { padding-left: 16px; border-left: 1px solid var(--rule); }
.r-stat-v { font-family: var(--f-serif); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); color: var(--brand); line-height: 1.1; }
.r-stat-v .u { display: block; margin-top: 6px; font-family: var(--f-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .2em; color: var(--ink-muted); }
.r-stat-l { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--ink-strong); }

/* A — stack diagram */
.r-thesis-a .r-thesis-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: center; margin-top: clamp(48px, 6vw, 88px); }
.r-fig { margin: 0; }
.r-fig-cap { margin-top: 18px; display: flex; gap: 12px; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--ink-muted); }
.r-fig-cap::before { content: ""; width: 24px; height: 1px; background: var(--ink-muted); }
.r-stack { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 40px); background: var(--surface); border: 1px solid var(--rule); }
.r-stack > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.r-stack.is-in > * { opacity: 1; transform: none; }
.r-stack.is-in .l1 { transition-delay: .05s; }
.r-stack.is-in .l2 { transition-delay: .3s; }
.r-stack.is-in .l3 { transition-delay: .55s; }
.r-stack.is-in .rooms { transition-delay: .85s; }
.r-stack .rooms { order: 0; width: 72%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.r-room { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 12px 8px; border: 1px solid color-mix(in oklch, var(--brand) 40%, var(--rule)); color: var(--ink); text-decoration: none; text-align: center; font-size: 12.5px; line-height: 1.45; word-break: keep-all; transition: background .25s, color .25s; }
.r-room .ico { color: var(--brand); width: 22px; height: 22px; }
.r-room:hover { background: var(--brand); color: #fff; --ico-accent: #fff; }
.r-room:hover .ico { color: #fff; }
.r-layer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 22px; font-family: var(--f-serif); font-weight: 600; }
.r-layer .k { font-family: var(--f-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .2em; padding: 3px 8px; border: 1px solid currentColor; border-radius: 999px; }
.r-layer.l3 { order: 1; width: 72%; height: 58px; border: 1px solid var(--brand); color: var(--brand); font-size: 15px; }
.r-layer.l2 { order: 2; width: 86%; height: 76px; background: color-mix(in oklch, var(--gold-500) 22%, var(--surface)); color: var(--ink); font-size: clamp(14px, 1.3vw, 17px); }
.r-layer.l1 { order: 3; width: 100%; height: 104px; background: var(--ink); color: #fff; font-size: clamp(17px, 1.7vw, 22px); }
.r-layer.l1 .k { color: var(--gold-500); }

/* B — photo strip + orbit diagram */
.r-thesis-b .r-strip { height: clamp(220px, 30vw, 420px); margin-bottom: clamp(48px, 6vw, 88px); }
.r-thesis-b .r-strip img { object-position: center 60%; }
.r-thesis-b .r-thesis-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); align-items: center; margin-top: clamp(40px, 5vw, 72px); }
.r-orbit { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; }
.r-orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.r-orbit .ring-core { fill: var(--ink); }
.r-orbit .ring-mid { fill: color-mix(in oklch, var(--gold-500) 18%, var(--surface)); stroke: color-mix(in oklch, var(--gold-500) 60%, transparent); stroke-width: 1; }
.r-orbit .ring-out { fill: none; stroke: var(--brand); stroke-width: 1; }
.r-orbit .spoke { fill: none; stroke: var(--brand); stroke-width: 1.2; }
.r-orbit .ring-txt { font-family: var(--f-serif); font-size: 15px; fill: var(--ink-strong); letter-spacing: .12em; }
.r-orbit .ring-txt.red { fill: var(--brand); font-size: 14px; }
.r-orbit-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; text-align: center; color: #fff; font-family: var(--f-serif); font-weight: 600; font-size: clamp(14px, 1.5vw, 19px); line-height: 1.45; word-break: keep-all; }
.r-orbit-core small { display: block; margin-top: 6px; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .2em; color: var(--gold-500); }
.r-orbit-node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--paper); border: 1px solid var(--brand); color: var(--ink); text-decoration: none; font-size: 13px; white-space: nowrap; transition: background .25s, color .25s; }
.r-orbit-node .ico { color: var(--brand); width: 18px; height: 18px; }
.r-orbit-node:hover { background: var(--brand); color: #fff; --ico-accent: #fff; }
.r-orbit-node:hover .ico { color: #fff; }
.r-orbit-node.n1 { left: 50%; top: 9%; }
.r-orbit-node.n2 { left: 85%; top: 70.5%; }
.r-orbit-node.n3 { left: 15%; top: 70.5%; }
.r-orbit .fade { opacity: 0; transition: opacity 1s var(--ease); }
.r-orbit.is-in .fade { opacity: 1; }
.r-orbit.is-in .fade.d2 { transition-delay: .4s; }
.r-orbit.is-in .fade.d3 { transition-delay: .9s; }

/* =========================================================
   04 CHALLENGES — bipartite diagram
   ========================================================= */
.r-chal { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(80px, 2fr) minmax(0, 3fr); align-items: stretch; }
.r-chal-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.r-chal-lines path { fill: none; stroke: var(--n-300); stroke-width: 1; transition: stroke .3s, stroke-width .3s, opacity .3s; }
.r-chal-lines path.is-on { stroke: var(--brand); stroke-width: 1.6; }
.r-chal.has-active .r-chal-lines path:not(.is-on) { opacity: .35; }
.r-chal-list { list-style: none; margin: 0; padding: 0; counter-reset: ch; }
.r-chal-item { position: relative; counter-increment: ch; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 24px 28px 24px 0; border-top: 1px solid var(--rule); cursor: default; transition: background .3s; }
.r-chal-item:last-child { border-bottom: 1px solid var(--rule); }
.r-chal-item::before { content: counter(ch, decimal-leading-zero); grid-row: 1 / span 3; font-family: var(--f-num); font-size: 30px; line-height: 1; color: var(--ink-muted); transition: color .3s; }
.r-chal-item .q { font-family: var(--f-serif); font-weight: 600; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); word-break: normal; overflow-wrap: anywhere; }
.r-chal-item .a { font-size: 14px; line-height: 1.8; color: var(--ink-strong); }
.r-chal-item .tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.r-chal-item .tags-lab { font-size: 11px; letter-spacing: .08em; color: var(--ink-muted); }
.r-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--brand); border-radius: 999px; color: var(--brand); font-size: 12.5px; text-decoration: none; transition: background .2s, color .2s; }
.r-tag .ico { width: 14px; height: 14px; stroke-width: 1.7; }
.r-tag:hover { background: var(--brand); color: #fff; --ico-accent: #fff; }
.r-chal-item .dot { position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--paper); border: 1px solid var(--n-300); transition: background .3s, border-color .3s; }
.r-chal-item.is-on::before { color: var(--brand); }
.r-chal-item.is-on .dot { background: var(--brand); border-color: var(--brand); }
.r-chal-nodes { grid-column: 3; display: flex; flex-direction: column; justify-content: space-around; gap: 16px; }
.r-node { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; background: var(--surface); border: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: border-color .3s, background .3s, color .3s; }
.r-node .ico { color: var(--brand); width: 26px; height: 26px; }
.r-node .nm { font-family: var(--f-serif); font-weight: 600; font-size: 17px; line-height: 1.4; word-break: keep-all; }
.r-node .go { font-size: 12px; color: var(--brand); }
.r-node .pin { position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--paper); border: 1px solid var(--n-300); transition: background .3s, border-color .3s; }
.r-node.is-on { border-color: var(--brand); }
.r-node.is-on .pin { background: var(--brand); border-color: var(--brand); }
.r-node:hover { background: var(--brand); color: #fff; border-color: var(--brand); --ico-accent: #fff; }
.r-node:hover .ico, .r-node:hover .go { color: #fff; }

/* =========================================================
   05 HOW — flow + cases
   ========================================================= */
.r-flow { position: relative; margin-top: 8px; }
.r-flow-line { position: absolute; left: 0; right: 0; top: 7px; height: 2px; width: 100%; overflow: visible; }
.r-flow-line path { stroke: var(--brand); stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; }
.r-flow-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.r-flow-steps li { min-width: 0; }
.r-flow-dot { display: block; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--brand); transition: background .4s var(--ease); }
.is-drawn .r-flow-dot { background: var(--brand); }
.is-drawn li:nth-child(1) .r-flow-dot { transition-delay: .1s; }
.is-drawn li:nth-child(2) .r-flow-dot { transition-delay: .45s; }
.is-drawn li:nth-child(3) .r-flow-dot { transition-delay: .8s; }
.is-drawn li:nth-child(4) .r-flow-dot { transition-delay: 1.15s; }
.is-drawn li:nth-child(5) .r-flow-dot { transition-delay: 1.5s; }
.r-flow-no { display: block; margin-top: 22px; font-family: var(--f-num); font-size: clamp(40px, 4vw, 60px); line-height: 1; color: var(--ink); }
.r-flow-t { margin: 14px 0 8px; font-family: var(--f-serif); font-weight: 600; font-size: 19px; }
.r-flow-s { font-size: 13.5px; line-height: 1.8; color: var(--ink-strong); }

.r-cases-head { margin-top: clamp(88px, 10vw, 144px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.r-cases-head h3 { margin: 0; font-family: var(--f-serif); font-size: clamp(26px, 2.8vw, 40px); }
.r-cases-head .r-note { grid-column: 1 / -1; max-width: 60em; margin: 0; }
.r-case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--rule); align-items: start; }
.r-case:nth-of-type(even) .r-case-photo { order: 2; }
.r-case-photo { aspect-ratio: 4 / 5; position: sticky; top: 100px; }
.r-case-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--brand); }
.r-ba { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.25fr); align-items: stretch; }
.r-ba-box { padding: 22px 22px 24px; border: 1px solid var(--rule); background: var(--surface); }
.r-ba-box.is-after { border-color: var(--brand); background: color-mix(in oklch, var(--brand) 5%, var(--surface)); }
.r-ba-lab { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; color: var(--ink-muted); }
.r-ba-box.is-after .r-ba-lab { color: var(--brand); }
.r-ba-box p { margin: 10px 0 0; font-size: 14px; line-height: 1.8; color: var(--ink-strong); }
.r-ba-box h4 { margin: 10px 0 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.r-ba-arrow { display: flex; align-items: center; justify-content: center; }
.r-ba-arrow svg { width: 100%; height: 20px; overflow: visible; }
.r-ba-arrow path { fill: none; stroke: var(--brand); stroke-width: 1.5; }
.r-plan { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.r-plan > div { padding: 16px 16px 16px 0; }
.r-plan > div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.r-plan .lab { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; color: var(--brand); }
.r-plan .val { margin-top: 6px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.r-plan .sub { margin-top: 6px; font-size: 12px; color: var(--ink-muted); }
.r-case-dl { margin: 24px 0 0; display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 14px 20px; }
.r-case-dl dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--brand); padding-top: 4px; }
.r-case-dl dd { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink-strong); }

/* =========================================================
   06 TOPICS
   ========================================================= */
.r-topic-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px var(--gut); padding: 32px 0; border-top: 1px solid var(--rule); }
.r-topic-group:last-child { border-bottom: 1px solid var(--rule); }
.r-topic-lab { font-family: var(--f-serif); font-weight: 600; font-size: 16px; line-height: 1.6; color: var(--ink); align-items: flex-start; }
.r-topic-lab .ico { color: var(--brand); width: 22px; height: 22px; margin-top: 2px; }
.r-topic-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gut); }
.r-topic-card { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px dashed var(--rule); }
.r-topic-card:nth-last-child(-n+2):nth-child(odd), .r-topic-card:last-child { border-bottom: 0; }
.r-topic-t { font-family: var(--f-serif); font-size: 16px; line-height: 1.75; color: var(--ink); }
.r-topic-s { flex-shrink: 0; font-size: 11.5px; color: var(--ink-muted); white-space: nowrap; }

/* =========================================================
   07 STRENGTHS
   ========================================================= */
.r-str-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gut); }
.r-str { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 28px; padding: 40px 0; border-top: 1px solid var(--ink); }
.r-str-no { font-family: var(--f-num); font-weight: 400; font-size: clamp(64px, 6vw, 96px); line-height: .85; color: var(--brand); }
.r-str-lab { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; color: var(--ink-muted); }
.r-str h3 { margin: 10px 0 14px; font-family: var(--f-serif); font-size: clamp(22px, 2vw, 28px); }
.r-str p { margin: 0; font-size: 15px; line-height: 1.95; color: var(--ink-strong); }

/* =========================================================
   VISION — full-bleed photo
   ========================================================= */
.r-vision-hero { position: relative; min-height: min(82vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.r-vision-hero .r-photo { position: absolute; inset: 0; background: var(--n-900); }
.r-vision-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,16,.82) 0%, rgba(20,18,16,.55) 45%, rgba(20,18,16,.05) 80%), linear-gradient(0deg, rgba(20,18,16,.5), transparent 40%); }
.r-vision-copy { position: relative; z-index: 2; max-width: 620px; padding-bottom: clamp(56px, 7vw, 104px); }
.r-vision-copy .eyebrow { color: var(--gold-500); }
.r-vision-copy .eyebrow::before { background: var(--gold-500); }
.r-vision-copy h2 { margin: 20px 0 24px; color: #fff; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.25; }
.r-vision-copy p { margin: 0; font-size: 15.5px; line-height: 2.05; color: rgba(255,255,255,.88); }
.r-vision-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.r-vision-col { padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px) clamp(32px, 4vw, 56px) 0; }
.r-vision-col + .r-vision-col { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--rule); }
.r-vision-col .lab { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--brand); }
.r-vision-col h3 { margin: 18px 0 0; font-family: var(--f-serif); font-size: clamp(20px, 2vw, 27px); line-height: 1.65; word-break: keep-all; }
.r-vision-col h3 .b { color: var(--brand); }

/* =========================================================
   TEAM
   ========================================================= */
.r-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gut); }
.r-member { border-top: 1px solid var(--rule); padding-top: 22px; }
.r-mono { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink); font-family: var(--f-num); font-size: 30px; letter-spacing: .04em; color: var(--ink); position: relative; }
.r-mono::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid color-mix(in oklch, var(--gold-500) 60%, transparent); }
.r-member .ini { margin-top: 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--brand); }
.r-member .role { margin-top: 6px; font-family: var(--f-serif); font-weight: 600; font-size: 18px; }
.r-member p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-strong); }

/* =========================================================
   CONTACT
   ========================================================= */
.r-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 112px); }
.r-contact-photo { aspect-ratio: 16 / 10; margin: 40px 0; }
.r-contact .r-h2 { font-size: clamp(32px, 3.8vw, 54px); }
.r-contact .co-dl { margin: 0; display: grid; grid-template-columns: 7.5em 1fr; gap: 12px 20px; font-size: 14px; }
.r-contact .co-dl dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--brand); padding-top: 3px; }
.r-contact .co-dl dd { margin: 0; line-height: 1.75; color: var(--ink-strong); }
.r-contact .co-dl a { color: var(--brand); text-decoration: underline; }
.r-promise { margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.r-promise ul { margin: 12px 0 0; padding-left: 20px; line-height: 2.1; color: var(--ink-strong); font-size: 14.5px; }
.r-form { position: sticky; top: 96px; padding: clamp(28px, 3vw, 48px); background: var(--surface); border: 1px solid var(--rule); }
.r-form h3 { font-size: 22px; }

/* ---------- Footer tweak ---------- */
.footer { margin-top: 0; }
.soon { opacity: .55; cursor: default; pointer-events: none; }

/* =========================================================
   Tweaks panel
   ========================================================= */
.r-tweaks { position: fixed; right: 20px; bottom: 20px; z-index: 200; width: 260px; padding: 18px; background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--sh-lg); font-size: 12px; display: none; }
.r-tweaks.is-open { display: block; }
.r-tweaks h4 { margin: 0 0 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--brand); font-weight: 500; display: flex; justify-content: space-between; }
.r-tweaks h4 button { border: 0; background: none; cursor: pointer; color: var(--ink-muted); font-size: 14px; }
.r-tw-g { margin-bottom: 14px; }
.r-tw-l { color: var(--ink-muted); margin-bottom: 6px; }
.r-tw-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; background: var(--n-100); }
.r-tw-seg button { padding: 8px 4px; border: 0; background: transparent; cursor: pointer; font: inherit; color: var(--ink-strong); }
.r-tw-seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .r-chal { grid-template-columns: minmax(0, 6fr) minmax(48px, 1.2fr) minmax(0, 3fr); }
  .r-team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .r-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .r-head > * { min-width: 0; }
  .r-chap { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-width: 0; }
  .r-chap .eyebrow { min-width: 0; flex-wrap: wrap; letter-spacing: .14em; }

  .r-hero-a .r-hero-copy { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .r-hero-a .r-hero-copy > * { min-width: 0; }
  .r-hero-a .r-hero-meta { flex-wrap: wrap; letter-spacing: .14em; }
  .r-hero .btn-lg { white-space: normal; padding: 16px 22px; font-size: 14px; max-width: 100%; }
  .r-hero-b .r-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .r-hero-a .r-photo { aspect-ratio: 4 / 3; }
  .r-hero-a .r-photo img { object-position: 30% center; }
  .r-hero-b .r-hero-grid > * { min-width: 0; }
  .r-hero-b .r-h1 { font-size: clamp(22px, 6.6vw, 56px); }
  .r-hero-b .r-photo { aspect-ratio: 4 / 3; }

  .r-biz-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; margin-right: calc(var(--gut) * -1); padding-right: var(--gut); }
  .r-biz-card { flex: 0 0 82%; scroll-snap-align: start; }

  .r-easy-grid { grid-template-columns: 1fr; }
  .r-easy-lab.co, .r-easy-lab.ind, .r-easy-item { grid-column: auto; grid-row: auto; }
  .r-easy-lab.ind { padding-left: 0; border-left: 0; margin-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
  .r-easy-item, .r-easy-item + .r-easy-item { padding: 18px 0; min-height: 0; border-left: 0; }

  .r-thesis-a .r-thesis-grid, .r-thesis-b .r-thesis-grid { grid-template-columns: 1fr; }
  .r-stats { grid-template-columns: 1fr; }
  .r-stat, .r-stat + .r-stat { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 9em 1fr; gap: 12px; align-items: center; }
  .r-stat-l { margin-top: 0; }
  .r-stack .rooms, .r-layer.l3 { width: 80%; }
  .r-layer { padding: 0 14px; }
  .r-room { min-height: 80px; font-size: 11.5px; }
  .r-orbit-node { font-size: 11.5px; padding: 8px 10px; }

  .r-chal { grid-template-columns: 1fr; }
  .r-chal-lines, .r-chal-item .dot, .r-node .pin { display: none; }
  .r-chal-nodes { grid-column: auto; grid-row: 1; flex-direction: row; margin-bottom: 24px; gap: 8px; }
  .r-node { flex: 1; padding: 14px 12px; gap: 6px; }
  .r-node .nm { font-size: 13px; }
  .r-node .go { display: none; }
  .r-chal-item { grid-template-columns: 40px minmax(0, 1fr); padding-right: 0; }
  .r-chal-item::before { font-size: 24px; }

  .r-flow-line { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: 100%; }
  .r-flow-steps { grid-template-columns: 1fr; gap: 0; }
  .r-flow-steps li { display: grid; grid-template-columns: 15px 64px minmax(0, 1fr); gap: 0 18px; padding-bottom: 28px; align-items: start; }
  .r-flow-no { margin-top: 0; font-size: 36px; grid-column: 2; grid-row: 1 / span 2; }
  .r-flow-t { margin: 2px 0 4px; grid-column: 3; }
  .r-flow-s { grid-column: 3; }
  .r-flow-dot { grid-row: 1; margin-top: 8px; }

  .r-case { grid-template-columns: 1fr; }
  .r-case:nth-of-type(even) .r-case-photo { order: 0; }
  .r-case-photo { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .r-ba { grid-template-columns: 1fr; }
  .r-ba-arrow { height: 40px; }
  .r-ba-arrow svg { width: 20px; height: 100%; transform: rotate(90deg); }
  .r-case-dl { grid-template-columns: 1fr; gap: 4px; }
  .r-case-dl dd { margin-bottom: 10px; }

  .r-topic-group { grid-template-columns: 1fr; }
  .r-topic-cards { grid-template-columns: 1fr; }
  .r-topic-card:nth-last-child(-n+2):nth-child(odd) { border-bottom: 1px dashed var(--rule); }
  .r-topic-card:last-child { border-bottom: 0; }

  .r-str-grid { grid-template-columns: 1fr; }
  .r-vision-cols { grid-template-columns: 1fr; }
  .r-vision-col, .r-vision-col + .r-vision-col { padding: 28px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .r-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .r-contact { grid-template-columns: 1fr; }
  .r-form { position: static; }
  .nav-link { display: none; }
  .r-thesis-grid > *, .r-case > *, .r-contact > *, .r-topic-group > *, .r-chal > * { min-width: 0; }
  body { overflow-x: clip; }
}
@media (max-width: 560px) {
  .r-plan { grid-template-columns: 1fr; }
  .r-plan > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .r-contact .co-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .r-contact .co-dl dd { margin-bottom: 10px; }
  .r-str { grid-template-columns: 1fr; gap: 12px; }
  .r-topic-card { flex-direction: column; gap: 4px; }
  .r-orbit { width: 88%; }
  .r-orbit-node { font-size: 10.5px; padding: 6px 8px; gap: 5px; white-space: normal; width: max-content; max-width: 9.5em; text-align: left; line-height: 1.35; }
  .r-orbit-node.n2 { left: 76%; }
  .r-orbit-node.n3 { left: 24%; }
  .r-orbit-node .ico { width: 14px; height: 14px; }
  .r-orbit .ring-txt { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .r-draw { stroke-dashoffset: 0; transition: none; }
  .r-stack > *, .r-orbit .fade { opacity: 1; transform: none; transition: none; }
  .r-photo img { transform: none; }
}
/* ---- renewal-v3.css ---- */
/* =========================================================
   Renewal v3 — 3 films side by side (first view) +
   diagram-led sections (no stray photos below the fold)
   Loaded after renewal.css
   ========================================================= */

/* ---------- FIRST VIEW ---------- */
.fv3 { background: #12110f; color: #fff; position: relative; overflow: hidden; }
.fv3::before { /* brand line-art, very faint */
  content: ""; position: absolute; inset: -10% -5% auto -5%; height: 80%;
  background: url('hero-abstract.jpg') center/cover no-repeat;
  opacity: .08; mix-blend-mode: screen; filter: invert(1) grayscale(.2); pointer-events: none;
}
.fv3-in { position: relative; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); }
.fv3-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px var(--gut); align-items: end; }
.fv3-eyebrow { margin: 0 0 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .26em; color: var(--gold-500); }
.fv3-h1 { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(26px, 4.6vw, 68px); line-height: 1.22; color: #fff; word-break: keep-all; overflow-wrap: break-word; }
.fv3-h1 .b { color: color-mix(in oklch, var(--brand) 80%, white); }
.fv3-side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; padding-bottom: 8px; }
.fv3-sum { margin: 0; font-size: 15px; line-height: 1.95; color: rgba(255,255,255,.8); }
.fv3-sum b { color: #fff; font-weight: 500; }

/* "3 businesses" rule */
.fv3-rule { display: flex; align-items: center; gap: 16px; margin: clamp(40px, 5vw, 64px) 0 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .24em; color: rgba(255,255,255,.55); }
.fv3-rule::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.18); }

.fv3-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.fv3-card { display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); transition: border-color .35s var(--ease), background .35s var(--ease), transform .5s var(--ease); }
.fv3-card:hover { border-color: color-mix(in oklch, var(--brand) 70%, transparent); background: rgba(255,255,255,.06); transform: translateY(-4px); }
.fv3-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 16px; }
.fv3-no { font-family: var(--f-num); font-size: 34px; line-height: 1; color: #fff; }
.fv3-lab { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; color: var(--gold-500); }
.fv3-lab .ico { width: 18px; height: 18px; color: #fff; }
.fv3-film { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.fv3-film img, .fv3-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fv3-film img { animation: fv3Ken 14s ease-in-out infinite alternate; }
.fv3-card:nth-child(2) .fv3-film img { animation-delay: -4s; }
.fv3-card:nth-child(3) .fv3-film img { animation-delay: -9s; }
@keyframes fv3Ken { from { transform: scale(1.12) translate3d(-2%, 1%, 0); } to { transform: scale(1.02) translate3d(2%, -1%, 0); } }
.fv3-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,17,15,.0) 35%, rgba(18,17,15,.82) 100%); }
.fv3-catch { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 0 20px 16px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(15px, 1.45vw, 20px); line-height: 1.55; color: #fff; word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; }
.fv3-rec { position: absolute; left: 14px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; background: rgba(0,0,0,.45); font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: rgba(255,255,255,.85); }
.fv3-rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: fv3Blink 1.6s ease-in-out infinite; }
@keyframes fv3Blink { 50% { opacity: .25; } }
.fv3-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 22px; }
.fv3-t { margin: 0; font-family: var(--f-serif); font-weight: 600; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.35; color: #fff; word-break: keep-all; overflow-wrap: break-word; }
.fv3-tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.45); }
.fv3-body p { margin: 0; font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,.78); }
.fv3-go { margin-top: auto; padding-top: 6px; display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: #fff; }
.fv3-go .arrow { color: var(--brand); transition: transform .3s var(--ease); }
.fv3-card:hover .fv3-go .arrow { transform: translateX(5px); }

/* entry motion */
.fv3 .fv3-card { opacity: 0; transform: translateY(28px); }
.fv3.is-ready .fv3-card { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease), border-color .35s, background .35s; }
.fv3.is-ready .fv3-card:nth-child(2) { transition-delay: .12s; }
.fv3.is-ready .fv3-card:nth-child(3) { transition-delay: .24s; }
.fv3.is-ready .fv3-card:hover { transform: translateY(-4px); transition-delay: 0s; }

/* light easy-start after dark FV */
.fv3 + .r-easy { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--rule); }
.fv3 + .r-easy .r-easy-h, .fv3 + .r-easy .r-easy-t { color: var(--ink); }
.fv3 + .r-easy .r-easy-grid { border-top-color: var(--ink); }
.fv3 + .r-easy .r-easy-lab { color: var(--brand); }
.fv3 + .r-easy .r-easy-lab.ind, .fv3 + .r-easy .r-easy-item.ind, .fv3 + .r-easy .r-easy-item + .r-easy-item { border-left-color: var(--rule); }
.fv3 + .r-easy .r-easy-item { border-top-color: var(--rule); }
.fv3 + .r-easy a.r-easy-item:hover .r-easy-t { color: var(--brand); }
.fv3 + .r-easy .r-easy-s { color: var(--ink-muted); }

/* ---------- CASE DIAGRAMS (replace photos) ---------- */
.r-case-fig { position: sticky; top: 100px; margin: 0; padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--rule); }
.r-case-fig .r-fig-cap { margin-top: 22px; }
.dg-title { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; color: var(--ink-muted); margin-bottom: 18px; }

/* split diagram (AI case) */
.dg-split { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1.5fr) 36px minmax(0, .9fr); align-items: center; }
.dg-src, .dg-out { padding: 16px 12px; text-align: center; font-family: var(--f-serif); font-weight: 600; font-size: 14px; line-height: 1.5; word-break: keep-all; }
.dg-src { border: 1px solid var(--ink); }
.dg-out { background: var(--ink); color: #fff; }
.dg-lanes { display: grid; gap: 10px; }
.dg-lane { padding: 12px 14px; border: 1px solid var(--rule); background: var(--paper); }
.dg-lane .who { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; color: var(--ink-muted); }
.dg-lane .who i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.dg-lane.is-ai { border-color: var(--brand); background: color-mix(in oklch, var(--brand) 5%, var(--surface)); }
.dg-lane.is-ai .who { color: var(--brand); }
.dg-lane.is-ai .who i { background: var(--brand); }
.dg-chips { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.dg-chip { padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid currentColor; font-size: 12.5px; }
.dg-lane.is-ai .dg-chip { color: var(--brand); }
.dg-conn { width: 100%; height: 120px; overflow: visible; }
.dg-conn path { fill: none; stroke: var(--n-500); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dg-conn path.red { stroke: var(--brand); }

/* timeline (HR case) */
.dg-days { display: grid; gap: 14px; }
.dg-day { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; }
.dg-day-h { padding-top: 4px; font-family: var(--f-serif); font-weight: 600; font-size: 15px; }
.dg-day-h small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .16em; color: var(--brand); }
.dg-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.dg-mod { padding: 10px 12px; background: var(--paper); border-left: 2px solid var(--gold-500); font-size: 12.5px; line-height: 1.5; }
.dg-mod.is-goal { grid-column: 1 / -1; background: var(--ink); color: #fff; border-left-color: var(--brand); font-family: var(--f-serif); font-weight: 600; font-size: 14px; }
.dg-ways { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; border-top: 1px dashed var(--rule); }
.dg-ways span { font-size: 12px; padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-strong); }

/* loop (DEV case) */
.dg-loop { position: relative; aspect-ratio: 1.25; max-width: 440px; margin: 0 auto; }
.dg-loop svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dg-loop .ring { fill: none; stroke: var(--brand); stroke-width: 1.4; }
.dg-loop .tip { fill: var(--brand); }
.dg-step { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--ink); text-align: center; white-space: nowrap; }
.dg-step b { font-family: var(--f-serif); font-size: 14px; }
.dg-step small { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .16em; color: var(--brand); }
.dg-step.s1 { left: 50%; top: 7.4%; }
.dg-step.s2 { left: 79.5%; top: 71.3%; }
.dg-step.s3 { left: 20.5%; top: 71.3%; }
.dg-loop-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font-size: 12px; line-height: 1.6; color: var(--ink-muted); }
.dg-loop-core b { display: block; font-family: var(--f-serif); font-size: 15px; color: var(--ink); }
.dg-vs { margin-top: 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--rule); font-size: 12.5px; }
.dg-vs .old { color: var(--ink-muted); text-decoration: line-through; text-decoration-color: var(--brand); text-align: right; }
.dg-vs .arrow { color: var(--brand); }
.dg-vs .new { font-family: var(--f-serif); font-weight: 600; }

/* ---------- STRENGTHS (dark band) ---------- */
#strengths.is-dark { background: var(--n-900); color: var(--n-100); }
#strengths.is-dark .r-h2, #strengths.is-dark h3 { color: #fff; }
#strengths.is-dark .r-chap { border-top-color: rgba(255,255,255,.5); }
#strengths.is-dark .r-chap-no, #strengths.is-dark .r-str-lab, #strengths.is-dark .r-note { color: rgba(255,255,255,.55); }
#strengths.is-dark .eyebrow { color: var(--gold-500); }
#strengths.is-dark .r-lead, #strengths.is-dark .r-str p { color: rgba(255,255,255,.8); }
#strengths.is-dark .r-str { border-top-color: rgba(255,255,255,.22); }
#strengths.is-dark .r-str-no { color: color-mix(in oklch, var(--brand) 82%, white); }
.r-str-meter { margin-top: 18px; display: flex; gap: 4px; }
.r-str-meter i { flex: 1; height: 3px; background: rgba(255,255,255,.14); }
.r-str-meter i.on { background: var(--gold-500); }

/* ---------- VISION (diagram + line art) ---------- */
.r-vision3 { position: relative; overflow: hidden; }
.r-vision3-art { position: absolute; right: -6%; top: -4%; width: 62%; aspect-ratio: 4 / 3; background: url('hero-abstract.jpg') center/cover no-repeat; opacity: .55; mix-blend-mode: multiply; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.r-vision3 .r-head { position: relative; }
.r-vision3 .r-lead { max-width: 40em; }
.r-pair { position: relative; margin-top: 8px; }
.r-pair-hd { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr) minmax(0, 2fr); gap: 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--ink-muted); }
.r-pair-hd .hm { color: var(--brand); }
.r-pair-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr) minmax(0, 2fr); gap: 0 20px; align-items: center; padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--rule); }
.r-pair-ai, .r-pair-hu { font-family: var(--f-serif); font-weight: 600; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.1; }
.r-pair-ai { color: var(--ink-muted); }
.r-pair-hu { color: var(--brand); }
.r-pair-ai small, .r-pair-hu small { display: block; margin-top: 8px; font-family: var(--f-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .16em; color: var(--ink-muted); }
.r-pair-arrow svg { width: 100%; height: 20px; overflow: visible; }
.r-pair-arrow path { fill: none; stroke: var(--brand); stroke-width: 1.4; }
.r-pair-txt .lab { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--brand); }
.r-pair-txt h3 { margin: 10px 0 0; font-family: var(--f-serif); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.7; word-break: keep-all; }
.r-pair-txt h3 .b { color: var(--brand); }

/* ---------- TEAM: line-art accent ---------- */
.r-team-art { height: clamp(140px, 16vw, 220px); margin-bottom: clamp(40px, 5vw, 64px); background: url('service-hr.jpg') center 42%/cover no-repeat; filter: saturate(.9); position: relative; }
.r-team-art::after { content: "人と、人の経験をつなぐ"; position: absolute; left: 20px; bottom: 14px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: var(--ink-muted); background: var(--surface); padding: 4px 8px; }

/* ---------- CONTACT FLOW (replaces photo) ---------- */
.r-cflow { margin: 40px 0 0; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.r-cflow::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.r-cflow.is-in::before { transform: scaleX(1); }
.r-cflow li { position: relative; padding-right: 16px; }
.r-cflow .n { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--paper); border: 1px solid var(--brand); color: var(--brand); font-family: var(--f-num); font-size: 20px; }
.r-cflow li:last-child .n { background: var(--brand); color: #fff; }
.r-cflow .t { margin-top: 14px; font-family: var(--f-serif); font-weight: 600; font-size: 16px; }
.r-cflow .s { margin-top: 4px; font-size: 12.5px; line-height: 1.7; color: var(--ink-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .fv3-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fv3-body p { font-size: 12.5px; }
}
@media (max-width: 900px) {
  .fv3-top { grid-template-columns: minmax(0, 1fr); }
  .fv3-side .btn-lg { white-space: normal; padding: 16px 22px; font-size: 14px; max-width: 100%; }
  /* keep 3 visible at a glance: compact stacked list with film thumbnails */
  .fv3-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fv3-card { display: grid; grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .fv3-head { grid-column: 2; grid-row: 1; padding: 12px 14px 0; }
  .fv3-no { font-size: 24px; }
  .fv3-film { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; min-height: 150px; }
  .fv3-catch, .fv3-rec { display: none; }
  .fv3-body { grid-column: 2; grid-row: 2; padding: 6px 14px 14px; gap: 6px; }
  .fv3-t { font-size: 17px; }
  .fv3-tag { display: none; }
  .fv3-body p { font-size: 12.5px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  .r-case-fig { position: relative; top: 0; }
  .dg-split { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dg-conn { height: 28px; width: 28px; margin: 0 auto; transform: rotate(90deg); }
  .r-pair-hd { display: none; }
  .r-pair-row { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 12px; }
  .r-pair-txt { grid-column: 1 / -1; margin-top: 14px; }
  .r-vision3-art { width: 100%; right: -30%; opacity: .35; }
  .r-cflow { grid-template-columns: 1fr; gap: 20px; }
  .r-cflow::before { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; }
  .r-cflow.is-in::before { transform: scaleY(1); }
  .r-cflow li { display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; }
  .r-cflow .t { margin-top: 0; grid-column: 2; }
  .r-cflow .s { grid-column: 2; }
  .r-cflow .n { grid-row: 1 / span 2; }
}
@media (max-width: 560px) {
  .fv3-card { grid-template-columns: 34% minmax(0, 1fr); }
  .fv3-film { min-height: 132px; }
  .dg-mods { grid-template-columns: 1fr; }
  .dg-step { padding: 8px 10px; }
  .dg-step b { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .fv3-film img, .fv3-rec::before { animation: none; }
  .fv3 .fv3-card { opacity: 1; transform: none; }
}
/* ---- renewal-v4.css ---- */
/* =========================================================
   Renewal v4 — "air" theme (matches current ai-human-capital.co.jp)
   Bright white / pale-blue network, red accent, centered serif heads,
   pill buttons, white cards with soft shadow, red→lavender→sky bar.
   Loaded after renewal.css + renewal-v3.css
   ========================================================= */
.theme-air {
  --red: #d93b48;
  --brand: #d93b48;
  --brand-deep: #b92f3b;
  --ink: #1f2937;
  --ink-strong: #4b5563;
  --ink-muted: #6b7280;
  --paper: #ffffff;
  --surface: #ffffff;
  --sec: #f8f9fa;
  --rule: #e5e7eb;
  --sky: #bae6fd;
  --lav: #d8b4fe;
  --air-bar: linear-gradient(90deg, #d93b48, #d8b4fe, #bae6fd);
  --air-shadow: 0 20px 60px rgba(0,0,0,.08);
  --air-shadow-sm: 0 6px 24px rgba(17,24,39,.06);
  --r-card: 12px;
  background: #fff; color: var(--ink);
}
.theme-air .grain { display: none; }
.theme-air .nav { background: rgba(255,255,255,.92); }
.theme-air .btn { border-radius: 50px; }
.theme-air .btn-primary { background: var(--red); }
.theme-air .btn-primary:hover { background: var(--red); opacity: .88; box-shadow: none; }
.theme-air .badge-gold { background: #fdecef; color: var(--red); }

/* ---------- Centered section heads (EN red + serif JP + red line) ---------- */
.theme-air .r-head { display: block; text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.theme-air .r-chap { display: block; border: 0; padding: 0; margin-bottom: 16px; }
.theme-air .r-chap-no { display: none; }
.theme-air .r-chap .eyebrow { display: block; font-family: var(--f-serif); font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--red); text-transform: none; }
.theme-air .r-h2, .theme-air .r-thesis-big { font-size: clamp(26px, 3vw, 38px); letter-spacing: .04em; line-height: 1.5; }
.theme-air .r-head .r-h2::after, .theme-air .r-head .r-thesis-big::after { content: ""; display: block; width: 48px; height: 2px; margin: 24px auto 0; background: var(--red); }
.theme-air .r-lead { margin-left: auto; margin-right: auto; font-size: 15px; color: var(--ink-strong); text-align: center; }
.theme-air .r-sec { padding: clamp(72px, 9vw, 112px) 0; }
.theme-air .r-sec.is-surface, .theme-air .r-sec.is-sec { background: var(--sec); }
.theme-air .r-rule-top { border-top: 0; }

/* =========================================================
   FIRST VIEW — bright hero photo + 3 film cards
   ========================================================= */
.theme-air .fv3 { background: #fff; color: var(--ink); }
.theme-air .fv3::before {
  inset: 0; height: auto; background: url('img/site/hero.webp') 62% 30%/cover no-repeat;
  opacity: 1; mix-blend-mode: normal; filter: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 86%); mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 86%);
}
.theme-air .fv3::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 34%, rgba(255,255,255,0) 62%); }
.theme-air .fv3-in { position: relative; z-index: 1; padding-top: clamp(56px, 8vw, 120px); }
.theme-air .fv3-top { grid-template-columns: minmax(0, 1fr); max-width: 660px; gap: 24px; }
.theme-air .fv3-eyebrow { font-family: var(--f-serif); font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--red); }
.theme-air .fv3-h1 { color: var(--ink); font-weight: 700; font-size: clamp(28px, 4.4vw, 60px); line-height: 1.32; letter-spacing: .02em; }
.theme-air .fv3-h1 .b { color: var(--red); }
.theme-air .fv3-side { padding: 0; }
.theme-air .fv3-sum { font-family: var(--f-serif); font-weight: 700; font-size: clamp(15px, 1.4vw, 19px); line-height: 1.8; color: var(--ink); }
.theme-air .fv3-sum b { color: var(--ink); font-weight: 700; }
.theme-air .fv3-rule { justify-content: center; margin-top: clamp(56px, 8vw, 120px); font-family: var(--f-serif); font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--red); }
.theme-air .fv3-rule::before, .theme-air .fv3-rule::after { content: ""; flex: 0 0 48px; height: 2px; background: var(--red); }

.theme-air .fv3-card { background: #fff; border: 0; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--air-shadow); }
.theme-air .fv3-card:hover { background: #fff; box-shadow: 0 28px 70px rgba(0,0,0,.12); }
.theme-air .fv3-card::before { content: ""; display: block; height: 4px; background: var(--air-bar); order: -1; }
.theme-air .fv3-head { padding: 18px 22px 14px; }
.theme-air .fv3-no { font-family: var(--f-serif); font-weight: 700; font-size: 28px; color: var(--red); }
.theme-air .fv3-lab { color: var(--ink-muted); }
.theme-air .fv3-lab .ico { color: var(--red); }
.theme-air .fv3-film::after { background: linear-gradient(180deg, rgba(17,24,39,0) 40%, rgba(17,24,39,.66) 100%); }
.theme-air .fv3-rec { background: rgba(255,255,255,.9); color: var(--ink); border-radius: 50px; }
.theme-air .fv3-body { padding: 18px 22px 24px; }
.theme-air .fv3-t { color: var(--ink); font-weight: 700; }
.theme-air .fv3-tag { color: var(--ink-muted); }
.theme-air .fv3-body p { color: var(--ink-strong); }
.theme-air .fv3-go { color: var(--red); font-weight: 700; }

/* easy start */
.theme-air .fv3 + .r-easy { background: var(--sec); border-bottom: 0; }
.theme-air .r-easy-h { text-align: center; }
.theme-air .fv3 + .r-easy .r-easy-grid { border-top: 0; gap: 16px; grid-template-columns: repeat(3, minmax(0,1fr)) minmax(0, 1.1fr); }
.theme-air .fv3 + .r-easy .r-easy-lab { font-family: var(--f-serif); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-align: center; padding: 0 0 6px; border: 0 !important; }
.theme-air .fv3 + .r-easy .r-easy-item,
.theme-air .fv3 + .r-easy .r-easy-item + .r-easy-item { padding: 22px 24px; border: 0; border-radius: var(--r-card); background: #fff; box-shadow: var(--air-shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.theme-air .fv3 + .r-easy a.r-easy-item:hover { transform: translateY(-3px); box-shadow: var(--air-shadow); }
.theme-air .fv3 + .r-easy .r-easy-item.ind { border-top: 3px solid var(--red); }

/* =========================================================
   THESIS — orbit on pale network bg
   ========================================================= */
.theme-air .r-thesis-sec { background: url('img/site/vision-bg.webp') center/cover no-repeat; }
.theme-air .r-thesis-b .r-thesis-grid { padding: clamp(28px, 4vw, 56px); background: rgba(255,255,255,.88); border-radius: var(--r-card); box-shadow: var(--air-shadow); }
.theme-air .r-thesis-big .s { color: var(--ink-muted); }
.theme-air .r-stats { border-top-color: var(--rule); }
.theme-air .r-stat-v { color: var(--red); }
.theme-air .r-orbit .ring-core { fill: var(--red); }
.theme-air .r-orbit .ring-mid { fill: #eef6fd; stroke: var(--sky); }
.theme-air .r-orbit .ring-out { stroke: var(--lav); stroke-width: 1.5; }
.theme-air .r-orbit .spoke { stroke: var(--red); }
.theme-air .r-orbit-core small { color: #fff; opacity: .8; }
.theme-air .r-orbit-node { background: #fff; border: 0; border-radius: 50px; box-shadow: var(--air-shadow-sm); font-weight: 500; }
.theme-air .r-orbit-node:hover { background: var(--red); }
.theme-air .r-fig-cap::before { background: var(--red); }

/* =========================================================
   CHALLENGES
   ========================================================= */
.theme-air .r-chal-item { border-top-color: var(--rule); }
.theme-air .r-chal-item::before { font-family: var(--f-serif); font-weight: 700; color: #c7cbd2; }
.theme-air .r-chal-item.is-on::before { color: var(--red); }
.theme-air .r-chal-lines path { stroke: #cfd5de; }
.theme-air .r-node { border: 0; border-radius: var(--r-card); box-shadow: var(--air-shadow-sm); overflow: hidden; }
.theme-air .r-node::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--air-bar); }
.theme-air .r-node:hover { background: var(--red); }
.theme-air .r-node .pin { z-index: 1; }

/* =========================================================
   HOW — flow + case diagrams
   ========================================================= */
.theme-air .r-flow-steps li { padding: 0; }
.theme-air .r-flow-no { font-family: var(--f-serif); font-weight: 700; color: var(--red); font-size: clamp(32px, 3vw, 44px); }
.theme-air .r-flow-dot { border-color: var(--red); }
.theme-air .is-drawn .r-flow-dot { background: var(--red); }
.theme-air .r-flow-line path { stroke: var(--lav); stroke-width: 2; }
.theme-air .r-cases-head { border-bottom: 0; text-align: center; grid-template-columns: 1fr; justify-items: center; }
.theme-air .r-cases-head h3 { font-weight: 700; }
.theme-air .r-cases-head .r-note { text-align: center; }
.theme-air .r-case { margin-top: 32px; padding: clamp(28px, 4vw, 48px); background: #fff; border: 0; border-radius: var(--r-card); box-shadow: var(--air-shadow); position: relative; overflow: hidden; }
.theme-air .r-case::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--air-bar); }
.theme-air .r-case-fig { background: var(--sec); border: 0; border-radius: var(--r-card); }
.theme-air .r-ba-box { border-radius: 10px; border-color: var(--rule); }
.theme-air .r-ba-box.is-after { border-color: var(--red); background: #fff5f6; }
.theme-air .r-plan { border: 0; gap: 10px; }
.theme-air .r-plan > div, .theme-air .r-plan > div + div { padding: 14px 16px; border: 0; background: var(--sec); border-radius: 10px; }
.theme-air .dg-src { border-radius: 10px; border-color: var(--ink); background: #fff; }
.theme-air .dg-out { border-radius: 10px; background: var(--red); }
.theme-air .dg-lane { border-radius: 10px; background: #fff; }
.theme-air .dg-lane.is-ai { background: #fff5f6; }
.theme-air .dg-mod { background: #fff; border-left-color: var(--lav); border-radius: 0 8px 8px 0; }
.theme-air .dg-mod.is-goal { background: var(--red); border-left-color: var(--red); border-radius: 8px; }
.theme-air .dg-day-h small { color: var(--red); }
.theme-air .dg-step { border: 0; border-radius: 50px; box-shadow: var(--air-shadow-sm); }
.theme-air .dg-loop .ring { stroke: var(--red); }

/* =========================================================
   TOPICS
   ========================================================= */
.theme-air .r-topic-group { border: 0; margin-top: 16px; padding: 28px 32px; background: #fff; border-radius: var(--r-card); box-shadow: var(--air-shadow-sm); }
.theme-air .r-topic-group:last-child { border: 0; }

/* =========================================================
   STRENGTHS — light 2x2 cards with brand icons
   ========================================================= */
.theme-air #strengths.is-dark { background: var(--sec); color: var(--ink); }
.theme-air #strengths.is-dark .r-h2, .theme-air #strengths.is-dark h3 { color: var(--ink); }
.theme-air #strengths.is-dark .r-lead, .theme-air #strengths.is-dark .r-str p { color: var(--ink-strong); }
.theme-air #strengths.is-dark .r-note, .theme-air #strengths.is-dark .r-str-lab { color: var(--ink-muted); }
.theme-air #strengths.is-dark .eyebrow { color: var(--red); }
.theme-air .r-str-grid { gap: 24px; max-width: 1000px; margin: 0 auto; }
.theme-air .r-str, .theme-air #strengths.is-dark .r-str { grid-template-columns: minmax(0, 1fr) 86px; gap: 0 28px; align-items: center; padding: 36px 36px; background: #fff; border: 0; border-radius: var(--r-card); box-shadow: var(--air-shadow-sm); }
.theme-air .r-str-no { display: none; }
.theme-air .r-str-ico { width: 86px; height: 86px; }
.theme-air .r-str h3 { font-family: var(--f-sans); font-weight: 700; font-size: clamp(19px, 1.7vw, 22px); }
.theme-air .r-str-lab { color: var(--red) !important; }
.theme-air #strengths .r-note { text-align: center; margin-left: auto; margin-right: auto; }

/* =========================================================
   VISION — network bg + icons in pair rows
   ========================================================= */
.theme-air .r-vision3 { background: url('img/site/vision-bg.webp') center/cover no-repeat; }
.theme-air .r-vision3-art { display: none; }
.theme-air .r-pair { max-width: 1040px; margin: 0 auto; padding: clamp(20px, 3vw, 40px) clamp(20px, 4vw, 56px); background: rgba(255,255,255,.9); border-radius: var(--r-card); box-shadow: var(--air-shadow); }
.theme-air .r-pair-hd { grid-template-columns: 86px minmax(0, 1fr) 110px minmax(0, 1fr) minmax(0, 2fr); border-bottom-color: var(--rule); }
.theme-air .r-pair-row { grid-template-columns: 86px minmax(0, 1fr) 110px minmax(0, 1fr) minmax(0, 2fr); }
.theme-air .r-pair-row:last-child { border-bottom: 0; }
.theme-air .r-pair-ico { width: 72px; height: 72px; }
.theme-air .r-pair-hu { color: var(--red); }
.theme-air .r-pair-arrow path { stroke: var(--red); }

/* =========================================================
   TEAM — white cards with gradient bar (like current site)
   ========================================================= */
.theme-air .r-team-art { display: none; }
.theme-air .r-team { gap: 24px; }
.theme-air .r-member { position: relative; padding: 28px 24px 26px; background: #fff; border: 0; border-radius: var(--r-card); box-shadow: var(--air-shadow-sm); overflow: hidden; }
.theme-air .r-member::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--air-bar); }
.theme-air .r-mono { width: 64px; height: 64px; font-family: var(--f-serif); font-weight: 700; font-size: 20px; border: 0; background: #fdecef; color: var(--red); }
.theme-air .r-mono::after { border-color: var(--sky); }
.theme-air .r-member .ini { color: var(--red); font-family: var(--f-sans); font-weight: 700; font-size: 15px; letter-spacing: .06em; }
.theme-air .r-member .role { font-family: var(--f-sans); font-weight: 500; font-size: 13px; color: var(--ink-muted); }

/* =========================================================
   CONTACT
   ========================================================= */
.theme-air #contact { background: #f4f6f8; }
.theme-air .r-contact .r-chap { max-width: none !important; }
.theme-air .r-contact .r-chap .eyebrow { text-align: left; }
.theme-air .r-contact .r-h2::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 24px; background: var(--red); }
.theme-air .r-contact .r-lead { text-align: left; margin-left: 0; }
.theme-air .r-form { border: 0; border-radius: var(--r-card); box-shadow: var(--air-shadow); }
.theme-air .r-promise { border: 0; padding: 24px 28px; background: #fff; border-radius: var(--r-card); }
.theme-air .r-cflow .n { font-family: var(--f-serif); font-weight: 700; background: #fff; }
.theme-air .input, .theme-air .textarea, .theme-air .select { border-radius: 8px; border-color: #d1d5db; }

/* ---------- v4.1 fixes ---------- */
/* headline: never break inside a phrase */
.theme-air .fv3-h1 .nw { display: inline-block; white-space: nowrap; }
.theme-air .fv3-h1 { font-size: clamp(24px, 4.2vw, 58px); }
.theme-air .fv3-top { max-width: 760px; }
/* hero photo: dedicated box sized to the top area so the face stays in frame */
.theme-air .fv3::before, .theme-air .fv3::after { display: none; }
.theme-air .fv3-in { position: relative; padding-top: clamp(64px, 9vw, 140px); }
.theme-air .fv3-top { position: relative; z-index: 2; }
.theme-air .fv3-photo {
  position: absolute; z-index: 0; top: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  height: clamp(600px, 60vw, 820px);
  background: url('img/site/hero.webp') 50% 42% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.theme-air .fv3-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 30%, rgba(255,255,255,0) 52%); }
.theme-air .fv3-rule, .theme-air .fv3-grid { position: relative; z-index: 1; }
.theme-air .fv3-rule { margin-top: clamp(120px, 16vw, 240px); }

/* film cards: icon + business name on top */
.theme-air .fv3-head { justify-content: flex-start; gap: 12px; padding: 20px 22px 16px; }
.theme-air .fv3-head .ico { width: 26px; height: 26px; color: var(--red); flex-shrink: 0; }
.theme-air .fv3-head .fv3-t { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; }
.theme-air .fv3-body { padding-top: 16px; }

/* easy start: obvious click targets */
.theme-air .fv3 + .r-easy a.r-easy-item { position: relative; cursor: pointer; padding-right: 64px; border: 1px solid var(--rule); }
.theme-air .fv3 + .r-easy a.r-easy-item.ind { border-top: 3px solid var(--red); }
.theme-air .r-easy-go { position: absolute; right: 18px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font-size: 15px; transition: transform .3s var(--ease); }
.theme-air .fv3 + .r-easy a.r-easy-item:hover { border-color: var(--red); }
.theme-air .fv3 + .r-easy a.r-easy-item:hover .r-easy-go { transform: translateX(4px); }
.theme-air .fv3 + .r-easy a.r-easy-item:hover .r-easy-t { color: var(--red); }
.theme-air .fv3 + .r-easy .r-easy-t { font-weight: 700; }
.theme-air .fv3 + .r-easy .r-easy-item.soon { background: transparent; box-shadow: none; border: 1px dashed #cfd5de; opacity: .75; }
.theme-air .r-easy-soon { margin-left: 8px; padding: 2px 8px; border-radius: 50px; background: #eef0f3; font-family: var(--f-sans); font-size: 11px; font-weight: 500; color: var(--ink-muted); vertical-align: middle; }

/* orbit: icons inline, larger names, single ring label */
.theme-air .r-orbit-node { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; font-size: 16px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.theme-air .r-orbit-node .ico { width: 22px; height: 22px; margin: 0; flex-shrink: 0; align-self: center; }
.theme-air .r-orbit .ring-txt { font-size: 15px; letter-spacing: .06em; fill: var(--ink-strong); dominant-baseline: central; }
.theme-air .r-orbit-node.n1 { left: 50%; top: 9%; }
.theme-air .r-orbit-node.n2 { left: 80%; top: 76%; }
.theme-air .r-orbit-node.n3 { left: 20%; top: 76%; }

/* easy start: reserve room for the arrow on every card */
.theme-air .fv3 + .r-easy a.r-easy-item,
.theme-air .fv3 + .r-easy .r-easy-item + a.r-easy-item { padding-right: 68px; }

/* footer */
.theme-air .footer { background: #1f2937; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .theme-air .fv3::before { background-position: 70% 20%; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 70%); }
  .theme-air .fv3::after { background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.88) 40%, #fff 70%); }
  .theme-air .fv3-card::before { grid-column: 1 / -1; }
  .theme-air .fv3-card { grid-template-rows: 4px auto 1fr; }
  .theme-air .fv3-head { grid-row: 2; }
  .theme-air .fv3-film { grid-row: 2 / span 2; }
  .theme-air .fv3-body { grid-row: 3; }
  .theme-air .fv3 + .r-easy .r-easy-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .theme-air .fv3 + .r-easy .r-easy-lab { text-align: left; }
  .theme-air .r-str, .theme-air #strengths.is-dark .r-str { grid-template-columns: minmax(0, 1fr) 64px; padding: 26px 22px; }
  .theme-air .r-str-ico { width: 64px; height: 64px; }
  .theme-air .r-pair-row { grid-template-columns: 56px minmax(0, 1fr) 40px minmax(0, 1fr); gap: 10px; }
  .theme-air .r-pair-ico { width: 52px; height: 52px; }
  .theme-air .r-pair-txt { grid-column: 1 / -1; }
  .theme-air .r-topic-group { padding: 22px 20px; }
  .theme-air .fv3-photo { height: auto; top: auto; position: relative; left: auto; transform: none; width: auto; margin: 28px calc(var(--gut) * -1) 0; aspect-ratio: 4 / 3; background-position: 62% 40%; -webkit-mask-image: none; mask-image: none; }
  .theme-air .fv3-photo::after { display: none; }
  .theme-air .fv3-rule { margin-top: 40px; }
  .theme-air .fv3-head { padding: 12px 14px 0; gap: 8px; }
  .theme-air .fv3-head .ico { width: 20px; height: 20px; }
  .theme-air .fv3-head .fv3-t { font-size: 16px; }
  .theme-air .r-orbit { width: 100%; }
  .theme-air .r-orbit-node { font-size: 12.5px; padding: 8px 12px; gap: 6px; white-space: normal; width: max-content; max-width: 10em; }
  .theme-air .r-orbit-node .ico { width: 16px; height: 16px; }
  .theme-air .r-orbit-node.n2 { left: 77%; top: 77%; }
  .theme-air .r-orbit-node.n3 { left: 23%; top: 77%; }
  .theme-air .r-case { padding: 24px 18px; }
}

/* ---------- v4.2 first view: show the 3 business cards (top third of the film) ---------- */
@media (min-width: 901px) {
  .theme-air .fv3-in { padding-top: clamp(44px, 6.1vw, 100px); }
  .theme-air .fv3-top { gap: 20px; }
  .theme-air .fv3-photo { height: clamp(450px, 44vw, 680px); }
  .theme-air .fv3-rule { margin-top: clamp(30px, 4.7vw, 80px); margin-bottom: 18px; }
}

/* ---------- v4.3 orbit nodes: keep the icon in the flex flow (the ring-svg rule made it absolute, so it sat on the left edge) ---------- */
.theme-air .r-orbit-node .ico { position: static; inset: auto; }
.theme-air .r-orbit-node { gap: 12px; padding: 12px 22px 12px 20px; }
@media (max-width: 900px) {
  .theme-air .r-orbit-node { gap: 8px; padding: 8px 14px 8px 12px; }
}


/* v4.4 TOP：3事業カードの下部ボタン／ヒーロー位置調整／「気軽なことから」の企業・個人グルーピング */
.theme-air .fv3-rule { margin-top: calc(clamp(30px, 4.7vw, 80px) + 38px); }
.theme-air .fv3-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--red); border-radius: 50px; background: #fff; color: var(--red); font-size: 13px; font-weight: 500; letter-spacing: .04em; transition: background .25s, color .25s; }
.theme-air .fv3-btn .arrow { transition: transform .3s var(--ease); }
.theme-air .fv3-card:hover .fv3-btn { background: var(--red); color: #fff; }
.theme-air .fv3-card:hover .fv3-btn .arrow { transform: translateX(4px); }

.theme-air .fv3 + .r-easy .r-easy-groups { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 24px; }
.theme-air .r-easy-group { border-radius: 16px; padding: 22px 22px 24px; }
.theme-air .r-easy-group.is-co { background: #fdf0f1; }
.theme-air .r-easy-group.is-ind { background: #eaf2fb; }
.theme-air .r-easy-gh { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.theme-air .r-easy-pill { display: inline-block; padding: 6px 18px; border-radius: 50px; background: var(--red); color: #fff; font-family: var(--f-serif); font-weight: 700; font-size: 15px; letter-spacing: .08em; }
.theme-air .r-easy-pill.is-ind { background: #2f6fb3; }
.theme-air .r-easy-gd { font-size: 13px; color: var(--ink-strong); }
.theme-air .r-easy-group .r-easy-items { display: grid; gap: 14px; }
.theme-air .r-easy-group.is-co .r-easy-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-air .fv3 + .r-easy .r-easy-group .r-easy-item { height: 100%; border-top: 1px solid var(--rule); }
.theme-air .fv3 + .r-easy .r-easy-group a.r-easy-item.ind { border-top: 1px solid var(--rule); }
.theme-air .r-easy-group.is-ind .r-easy-go { background: #2f6fb3; }
.theme-air .fv3 + .r-easy .r-easy-group.is-ind a.r-easy-item:hover { border-color: #2f6fb3; }
.theme-air .fv3 + .r-easy .r-easy-group.is-ind a.r-easy-item:hover .r-easy-t { color: #2f6fb3; }
@media (max-width: 900px) {
  .theme-air .fv3 + .r-easy .r-easy-groups { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .theme-air .r-easy-group.is-co .r-easy-items { grid-template-columns: minmax(0, 1fr); }
}
.theme-air .r-easy-item.soon .r-easy-t { flex-wrap: wrap; justify-content: flex-start; }


/* 共通：先頭へ戻るボタン（air-inner.css と同一） */
/* 先頭へ戻るボタン（「相談する」バーと同じ出現条件・同じ高さ。バーの右側） */
.theme-air .float-cta { right: 100px; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 66px; height: 66px; padding: 0; border-radius: 50%; border: 0; background: var(--n-900); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--sh-lg);
  opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none; transition: all .5s cubic-bezier(.2,.7,.2,1); }
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top-in { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .25s; }
.to-top:hover .to-top-in { background: var(--brand-deep); }

/* v4.5 TOP：ヒーロー写真をメニューの背面まで引き上げる（公開中のHPと同じ抜け感）。スクロールすると、メニューは白地になる */
@media (min-width: 901px) {
  .theme-air .nav { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .theme-air .nav.is-scrolled { background: rgba(255,255,255,.94); border-bottom-color: var(--rule); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
  .theme-air .fv3-in { padding-top: calc(clamp(44px, 6.1vw, 100px) + 73px); }
  .theme-air .fv3-photo { height: calc(clamp(450px, 44vw, 680px) + 73px); }
}

/* v4.6 TOP：女性（大きさはそのまま）を約40px下げる。空いた上端は、写真の最上部を上下反転して継ぎ足し、メニューの背面にも水色の壁面が続くようにする */
@media (min-width: 901px) {
  .theme-air .fv3-photo { --ph: calc(clamp(450px, 44vw, 680px) + 73px); --pw: max(100vw, calc(var(--ph) * 2.347)); background-size: var(--pw) auto; background-position: 50% 40px; }
  .theme-air .fv3-photo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px; transform: scaleY(-1); background: url('img/site/hero.webp') 50% 0 / var(--pw) auto no-repeat; }
}

/* v4.7 TOP 課題の紐付け：カード左端の接合部の丸（pin）が半分に欠けないようにする（overflow:hidden をやめ、上端の帯の角を丸める） */
.theme-air .r-node { overflow: visible; }
.theme-air .r-node::before { border-radius: var(--r-card) var(--r-card) 0 0; }
/* v4.12 上部バーの角を、ノード本体の角丸に合わせる（バーを角丸の高さで作り、上端3pxだけ見せる） */
.theme-air .r-node::before { height: var(--r-card); -webkit-mask: linear-gradient(#000 0 3px, transparent 3px); mask: linear-gradient(#000 0 3px, transparent 3px); }
.theme-air .r-node .pin { left: -5px; width: 10px; height: 10px; margin-top: -5px; }

/* v4.8 TOP 課題（8件）：ラベルは小さなチップを1行に収め、課題ごとの高さが伸びないようにする */
.theme-air .r-chal-item { padding-top: 16px; padding-bottom: 16px; }
.theme-air .r-chal-item .tags { margin-top: 4px; flex-wrap: nowrap; gap: 6px; }
.theme-air .r-chal-item .r-tag { padding: 1px 10px; font-size: 11.5px; line-height: 1.7; white-space: nowrap; }

/* v4.9 TOP 課題：右の事業カード（大きさ・横位置はそのまま）を、右エリアの上部に縦に並べ、スクロールに追随させる。コネクタは、追随に合わせて動く */
.theme-air .r-chal-nodes { justify-content: flex-start; align-self: start; position: sticky; top: 96px; }
@media (max-width: 900px) { .theme-air .r-chal-nodes { position: static; } }

/* v4.10 TOP 課題：アクティブなコネクタを赤く太くし、切り替えを早くする（線ごとの描画遅延は、描画後は 0 にする） */
.theme-air .r-chal-lines path.is-drawn { transition-delay: 0s !important; transition: stroke .35s ease-out, stroke-width .35s ease-out; }
.theme-air .r-chal-lines path.is-on { stroke: var(--red); stroke-width: 2.6; }
.theme-air .r-chal.has-active .r-chal-lines path:not(.is-on) { opacity: 1; }
.theme-air .r-chal-item, .theme-air .r-chal-item::before, .theme-air .r-chal-item .dot, .theme-air .r-node, .theme-air .r-node .pin { transition-duration: .1s; }
.theme-air .r-chal-item.is-on .dot, .theme-air .r-node.is-on .pin { background: var(--red); border-color: var(--red); }

/* v4.11 TOP メンバーのアイコン（イラスト。HTML内のSVGスプライトを使用） */
.theme-air .r-avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 4px #e5e7eb; }
.theme-air .r-avatar svg { display: block; width: 100%; height: 100%; }


/* v4.14 公式noteの最新記事：タブ付きのカルーセル */
.theme-air .nt { max-width: 1100px; margin: 0 auto; }
.theme-air .nt.is-empty .nt-stage, .theme-air .nt.is-empty .nt-tabs { display: none; }
.theme-air .nt-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 28px; }
.theme-air .nt-tabs[hidden] { display: none; }
.theme-air .nt-tab { appearance: none; border: 1px solid var(--rule, #dfe3e8); background: #fff; color: var(--ink-strong); font: inherit; font-size: 13.5px; font-weight: 600; padding: 9px 20px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.theme-air .nt-tab:hover { border-color: var(--red); color: var(--red); }
.theme-air .nt-tab.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.theme-air .nt-stage { position: relative; display: flex; align-items: center; gap: 12px; }
.theme-air .nt-viewport { flex: 1; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 6px 2px 22px; -webkit-overflow-scrolling: touch; }
.theme-air .nt-viewport::-webkit-scrollbar { display: none; }
.theme-air .nt-track { display: flex; gap: 20px; width: max-content; }
.theme-air .nt-card { flex: 0 0 clamp(240px, 26vw, 300px); display: flex; flex-direction: column; background: #fff; border-radius: var(--r-card); box-shadow: var(--air-shadow-sm); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.theme-air .nt-card:hover { transform: translateY(-4px); box-shadow: var(--air-shadow); }
.theme-air .nt-thumb { display: block; aspect-ratio: 1280 / 670; background: var(--sec); overflow: hidden; }
.theme-air .nt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-air .nt-meta { display: flex; align-items: center; gap: 10px; padding: 14px 18px 0; font-size: 11.5px; color: var(--ink-muted); }
.theme-air .nt-tag { color: var(--red); font-weight: 600; }
.theme-air .nt-title { padding: 8px 18px 20px; font-family: var(--f-sans); font-weight: 700; font-size: 15px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.theme-air .nt-nav { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--air-shadow-sm); transition: background .25s; }
.theme-air .nt-nav:hover { background: var(--red); }
.theme-air .nt-more { text-align: center; margin: 8px 0 0; }
@media (max-width: 700px) { .theme-air .nt-nav { display: none; } .theme-air .nt-card { flex-basis: 78vw; } }
/* TOPICS（note）の見出しは長い一文のため、少し小さくして、折り返しをそろえる */
.theme-air #note .r-h2 { font-size: clamp(24px, 2.8vw, 34px); text-wrap: balance; }
/* VISION：見出しの赤線と説明文の間の、大きなひとこと */
.theme-air .r-vision-tag { margin: 28px 0 0; font-family: var(--f-serif); font-weight: 700; font-size: clamp(32px, 6.4vw, 84px); line-height: 1.4; letter-spacing: .02em; text-wrap: balance; color: var(--ink); text-align: center; }
.theme-air .r-vision-tag + .r-lead { margin-top: 28px; }
@media (min-width: 901px) { .theme-air .r-vision-tag { width: min(1100px, 94vw); margin-left: 50%; transform: translateX(-50%); white-space: nowrap; } }
/* ひらがなの部分だけ、少し小さくして、文字に抑揚をつける */
.theme-air .r-vt-s { font-size: .68em; letter-spacing: .06em; }

/* 事例集：カルーセル（動きは、noteの最新記事と同じ。.nt-* を共用） */
.theme-air .cs.is-empty { display: none; }
.theme-air .cs .nt-card { flex-basis: clamp(280px, 30vw, 340px); }
.theme-air .cs-card { cursor: default; }
.theme-air .cs-card:hover { transform: none; }
.theme-air .cs-thumb { appearance: none; border: 0; padding: 0; margin: 0; position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--sec); cursor: zoom-in; overflow: hidden; }
.theme-air .cs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.theme-air .cs-thumb:hover img { transform: scale(1.03); }
.theme-air .cs-zoom { position: absolute; right: 10px; bottom: 10px; background: rgba(31,41,55,.82); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 999px; }
.theme-air .cs-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.theme-air .cs-biz { align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--red); background: color-mix(in oklch, var(--red) 9%, white); padding: 3px 10px; border-radius: 999px; }
.theme-air .cs-title { margin: 0; font-family: var(--f-sans); font-weight: 700; font-size: 16px; line-height: 1.6; color: var(--ink); }
.theme-air .cs-sum { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ink-strong); }
.theme-air .cs-facts { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--rule, #e5e7eb); display: grid; gap: 6px; }
.theme-air .cs-row { display: grid; grid-template-columns: 3.2em 1fr; gap: 8px; font-size: 13px; line-height: 1.7; }
.theme-air .cs-row dt { color: var(--ink-muted); }
.theme-air .cs-row dd { margin: 0; color: var(--ink); font-weight: 600; }
.theme-air .cs-dialog { width: min(1100px, 94vw); max-height: 94dvh; padding: 18px; border: 0; border-radius: var(--r-card); background: #fff; }
.theme-air .cs-dialog::backdrop { background: rgba(20,24,32,.6); }
.theme-air .cs-big { display: block; width: 100%; height: auto; max-height: 80dvh; object-fit: contain; }
.theme-air .cs-cap { margin: 10px 0 0; font-size: 13px; color: var(--ink-strong); text-align: center; }
.theme-air .cs-close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; z-index: 1; }
.theme-air .cs-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.theme-air .cs-flag { font-size: 11px; font-weight: 600; color: var(--ink-muted); border: 1px solid var(--rule, #d7dce2); padding: 2px 9px; border-radius: 999px; }
.theme-air .cs-note { margin: 4px auto 0; max-width: 760px; text-align: center; font-size: 12.5px; line-height: 1.8; color: var(--ink-muted); }
/* 進め方（HOW）の線：非スケール線の指定だと、描画の破線（pathLength）が効かず、線が途切れて見えるため、通常の線にする */
.theme-air .r-flow-line path { vector-effect: none; }

/* v4.15 TOP ヒーロー：画面が広くても、背景の写真を拡大しない。
   高さが上限（680px+73px）に達する幅（約1545px）より先は、写真を原寸（幅1767px）で中央に置き、左右の端は、白に溶け込ませる */
@media (min-width: 1768px) {
  .theme-air .fv3-photo {
    width: 1767px;
    --pw: 1767px;
    background-size: 1767px auto;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}

/* 問い合わせフォーム：送信完了の表示（フォームの代わりに出す） */
.theme-air .r-form.is-done > *:not(.form-done) { display: none; }
.theme-air .form-done { display: none; text-align: center; padding: 36px 16px 28px; outline: none; }
.theme-air .r-form.is-done .form-done { display: block; }
.theme-air .form-done-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #2f7d5d; color: #fff; font-size: 34px; line-height: 64px; font-weight: 700; }
.theme-air .form-done h3 { font-size: 22px; margin: 0 0 12px; }
.theme-air .form-done p { margin: 8px 0; line-height: 1.8; }
.theme-air .form-done .btn { margin-top: 18px; }

/* 画面の外にあるセクションの描画を、近づくまであと回しにする（表示の初期の処理を減らす）。
   contain-intrinsic-size は、あと回しの間の高さの目安（セクション全体の高さから、上下の余白（.r-sec の padding）を引いた値。余白が二重にならないようにして、ページ内リンクの位置ずれを防ぐ。表示した後は、実際の高さを覚える） */
.theme-air .r-thesis-sec { content-visibility: auto; contain-intrinsic-size: auto calc(1081px - 2 * clamp(72px, 9vw, 112px)); }
.theme-air #entry { content-visibility: auto; contain-intrinsic-size: auto calc(1604px - 2 * clamp(72px, 9vw, 112px)); }
.theme-air #how { content-visibility: auto; contain-intrinsic-size: auto calc(745px - 2 * clamp(72px, 9vw, 112px)); }
.theme-air #note { content-visibility: auto; contain-intrinsic-size: auto calc(869px - 2 * clamp(72px, 9vw, 112px)); }
.theme-air #strengths { content-visibility: auto; contain-intrinsic-size: auto calc(1035px - 2 * clamp(72px, 9vw, 112px)); }
.theme-air #vision { content-visibility: auto; contain-intrinsic-size: auto calc(1371px - 2 * clamp(72px, 9vw, 112px)); }
.theme-air #team { content-visibility: auto; contain-intrinsic-size: auto calc(1126px - 2 * clamp(72px, 9vw, 112px)); }
.theme-air #contact { content-visibility: auto; contain-intrinsic-size: auto calc(1381px - 2 * clamp(72px, 9vw, 112px)); }
@media (max-width: 700px) {
  .theme-air .r-thesis-sec { contain-intrinsic-size: auto calc(1447px - 2 * clamp(72px, 9vw, 112px)); }
  .theme-air #entry { contain-intrinsic-size: auto calc(1958px - 2 * clamp(72px, 9vw, 112px)); }
  .theme-air #how { contain-intrinsic-size: auto calc(971px - 2 * clamp(72px, 9vw, 112px)); }
  .theme-air #note { contain-intrinsic-size: auto calc(884px - 2 * clamp(72px, 9vw, 112px)); }
  .theme-air #strengths { contain-intrinsic-size: auto calc(1557px - 2 * clamp(72px, 9vw, 112px)); }
  .theme-air #vision { contain-intrinsic-size: auto calc(1283px - 2 * clamp(72px, 9vw, 112px)); }
  .theme-air #team { contain-intrinsic-size: auto calc(2230px - 2 * clamp(72px, 9vw, 112px)); }
  .theme-air #contact { contain-intrinsic-size: auto calc(2623px - 2 * clamp(72px, 9vw, 112px)); }
}
/* ---- chat-hp.css ---- */
/* =========================================================
   チャットでHP管理：全ページ共通（メニューのアイコン・訴求の帯）＋ chat-hp.html 専用
   ========================================================= */

/* ---- グローバルメニューの小さなアイコン ---- */
.nav-link--chat { display: inline-flex; align-items: center; gap: 6px; }
.nav-ico { width: 18px; height: 18px; flex: 0 0 18px; display: block; fill: none; stroke: var(--red, #d93b48); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-ico .nav-ico-dot { fill: var(--red, #d93b48); stroke: none; }

/* ---- メニューの上の帯（1行・低い高さ。スクロールすると、ページと一緒に上へ流れて隠れる） ---- */
.chat-band { background: #1f2937; color: #fff; position: relative; z-index: 51; }
.chat-band-in { display: flex; align-items: center; justify-content: center; gap: 6px 20px; padding-top: 6px; padding-bottom: 6px; }
.chat-band-tag { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-serif); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; color: #fff; white-space: nowrap; }
.chat-band-tag .nav-ico { width: 16px; height: 16px; stroke: #fff; }
.chat-band-tag .nav-ico .nav-ico-dot { fill: #fff; }
.chat-band-text { margin: 0; font-size: 12px; line-height: 1.5; color: #d1d5db; white-space: nowrap; }
.chat-band-go { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 50px; background: var(--red, #d93b48); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: opacity .2s; }
.chat-band-go:hover { opacity: .88; }
@media (max-width: 1180px) { .chat-band-text { display: none; } }
@media (max-width: 700px) {
  .chat-band-in { justify-content: space-between; gap: 8px; }
  .chat-band-in { flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
  .chat-band-tag { font-size: 12px; }
  .chat-band-go { padding: 3px 12px; font-size: 11.5px; }
}

/* =========================================================
   chat-hp.html
   ========================================================= */
.ch-hero { background: #fff; overflow: hidden; }
.ch-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 96px); }
.ch-hero .display { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.45; font-weight: 700; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; line-break: strict; margin-top: 20px; }
.ch-hero .display .b { color: var(--red); }
.ch-hero .lead { max-width: 52ch; margin-top: 24px; color: var(--ink-strong); }
.ch-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* チャット画面のイメージ */
.ch-demo { position: relative; background: #fff; border-radius: var(--r-card); box-shadow: var(--air-shadow); overflow: hidden; }
.ch-demo::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--air-bar); }
.ch-demo-bar { display: flex; align-items: center; gap: 8px; padding: 18px 20px 12px; font-size: 12px; color: var(--ink-muted); }
.ch-demo-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e5e7eb; display: block; }
.ch-demo-bar span { margin-left: 8px; font-family: var(--f-mono); letter-spacing: .06em; }
.ch-demo-body { padding: 6px 20px 20px; display: grid; gap: 12px; }
.ch-msg { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.75; }
.ch-msg--me { justify-self: end; background: #fdecef; color: var(--ink); border-bottom-right-radius: 4px; }
.ch-msg--ai { justify-self: start; background: #f3f4f6; color: var(--ink); border-bottom-left-radius: 4px; }
.ch-msg small { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .08em; color: var(--ink-muted); }
.ch-preview { margin-top: 2px; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: #fff; }
.ch-preview-top { height: 22px; background: #f3f4f6; display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.ch-preview-top i { width: 6px; height: 6px; border-radius: 50%; background: #d1d5db; display: block; }
.ch-preview-main { padding: 14px 16px 16px; }
.ch-preview-main .k { font-family: var(--f-serif); font-weight: 700; font-size: 11px; letter-spacing: .1em; color: var(--red); }
.ch-preview-main .t { margin-top: 4px; font-family: var(--f-serif); font-weight: 700; font-size: 17px; line-height: 1.5; color: var(--ink); }
.ch-preview-main .btn-fake { display: inline-block; margin-top: 10px; padding: 5px 14px; border-radius: 50px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; }
.ch-demo-note { padding: 0 20px 16px; font-size: 11.5px; color: var(--ink-muted); text-align: right; }

/* 仕組みの図（4ステップ） */
.ch-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 1040px; margin: 56px auto 0; position: relative; }
.ch-step { position: relative; text-align: center; padding: 0 14px; }
.ch-step-ico { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; background: #fff; box-shadow: var(--air-shadow-sm); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.ch-step-ico svg { width: 40px; height: 40px; fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ch-step-no { display: block; margin-top: 18px; font-family: var(--f-serif); font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--red); }
.ch-step h3 { margin: 6px 0 8px; font-family: var(--f-serif); font-weight: 700; font-size: 19px; color: var(--ink); }
.ch-step p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-strong); }
.ch-step:not(:last-child)::after { content: ""; position: absolute; top: 41px; left: calc(50% + 52px); right: calc(-50% + 52px); height: 2px; background: repeating-linear-gradient(90deg, var(--lav) 0 6px, transparent 6px 12px); }
.ch-step:not(:last-child)::before { content: ""; position: absolute; top: 36px; right: calc(-50% + 46px); width: 10px; height: 10px; border-top: 2px solid var(--lav); border-right: 2px solid var(--lav); transform: rotate(45deg); }
@media (max-width: 900px) {
  .ch-steps { grid-template-columns: 1fr; gap: 28px; max-width: 480px; }
  .ch-step { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 0 20px; text-align: left; padding: 0; align-items: center; }
  .ch-step-ico { grid-row: 1 / span 3; margin: 0; }
  .ch-step-no { margin-top: 0; }
  .ch-step:not(:last-child)::after, .ch-step:not(:last-child)::before { display: none; }
}

/* 構成図 */
.ch-arch { max-width: 1000px; margin: 56px auto 0; background: #fff; border-radius: var(--r-card); box-shadow: var(--air-shadow-sm); padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; }
.ch-arch::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--air-bar); }
.ch-arch svg { width: 100%; height: auto; display: block; }
.ch-arch-note { margin: 18px 0 0; font-size: 13.5px; line-height: 1.8; color: var(--ink-strong); }

/* 比較表 */
.ch-compare { max-width: 980px; margin: 56px auto 0; overflow-x: auto; }
.ch-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-card); box-shadow: var(--air-shadow-sm); overflow: hidden; font-size: 14px; }
.ch-table th, .ch-table td { padding: 16px 18px; text-align: left; vertical-align: top; line-height: 1.7; border-bottom: 1px solid var(--rule); color: var(--ink-strong); }
.ch-table thead th { background: #f8f9fa; font-family: var(--f-serif); font-size: 14px; color: var(--ink); }
.ch-table thead th.is-ours { background: var(--red); color: #fff; }
.ch-table tbody th { width: 22%; font-weight: 700; color: var(--ink); background: #fff; }
.ch-table td.is-ours { background: #fff7f8; color: var(--ink); font-weight: 500; }
.ch-table tr:last-child th, .ch-table tr:last-child td { border-bottom: 0; }
.ch-compare-note { max-width: 980px; margin: 14px auto 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-muted); }

/* できること */
.ch-can { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1040px; margin: 56px auto 0; }
.ch-can-item { position: relative; background: #fff; border-radius: var(--r-card); box-shadow: var(--air-shadow-sm); padding: 28px 24px 24px; overflow: hidden; }
.ch-can-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--air-bar); }
.ch-can-item h3 { margin: 0 0 8px; font-family: var(--f-serif); font-weight: 700; font-size: 17px; color: var(--ink); }
.ch-can-item .say { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: #fdecef; font-size: 13px; line-height: 1.7; color: var(--ink); }
.ch-can-item p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-strong); }
@media (max-width: 900px) { .ch-can { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ch-can { grid-template-columns: 1fr; } }

/* ページ内の見出し位置 */
#how, #compare, #can, #safe, #flow, #faq { scroll-margin-top: 90px; }

@media (max-width: 900px) {
  .ch-hero-in { grid-template-columns: 1fr; }
}

/* ---- メニューの折り返し防止 ---- */
.theme-air .nav-link { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1180px) { .theme-air .nav-links { gap: 16px; } .theme-air .nav-link { font-size: 13px; } }

/* TOP：メニューは、これまでどおり、ヒーロー写真の上に重ねる（固定表示）。帯の高さ分だけ下げる位置は、site.js が調整する */

/* スマホ幅：他のメニュー項目と同じく隠す（帯から案内する） */

/* よくあるご質問：枠の内側の余白と、開閉の見た目 */
.theme-air .faq-item { padding: 0; }
.theme-air .faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; font-family: var(--f-serif); font-weight: 700; font-size: 16px; line-height: 1.6; color: var(--ink); }
.theme-air .faq-item summary::-webkit-details-marker { display: none; }
.theme-air .faq-item summary::after { content: "+"; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: #fdecef; color: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--f-sans); font-size: 18px; font-weight: 400; line-height: 1; }
.theme-air .faq-item[open] summary::after { content: "−"; }
.theme-air .faq-item .faq-a { padding: 0 28px 22px; font-size: 14.5px; line-height: 1.9; color: var(--ink-strong); }
@media (max-width: 600px) {
  .theme-air .faq-item summary { padding: 16px 20px; font-size: 15px; }
  .theme-air .faq-item .faq-a { padding: 0 20px 18px; }
}

/* ---- ハンバーガーメニュー（スマホ・タブレット幅）。パソコン幅では、これまでどおり横並び ---- */
.nav-burger { display: none; }
.theme-air .nav-link--cta { display: none; }
@media (max-width: 900px) {
  .theme-air .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; width: 44px; height: 44px; padding: 0 11px; border: 0; background: transparent; cursor: pointer; }
  .theme-air .nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
  .theme-air .nav.is-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .theme-air .nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
  .theme-air .nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .theme-air .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 4px 20px 12px; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 16px 24px -12px rgba(17,24,39,.18); }
  .theme-air .nav.is-open .nav-links { display: flex; }
  .theme-air .nav.is-open .nav-link { display: flex; align-items: center; padding: 14px 2px; font-size: 15px; border-bottom: 1px solid var(--rule); }
  .theme-air .nav.is-open .nav-link:last-child { border-bottom: 0; }
  .theme-air .nav.is-open .nav-link::after { display: none; }
  .theme-air .nav.is-open .nav-link--cta { color: var(--red); font-weight: 700; }
}

/* 仕組み：5ステップ（監査役のチェックを含む） */
.ch-steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1120px; }
.ch-steps--5 .ch-step { padding: 0 8px; }
.ch-steps--5 .ch-step h3 { font-size: 17px; }
.ch-step--audit .ch-step-ico { box-shadow: 0 0 0 2px var(--red), var(--air-shadow-sm); }
.ch-step--approve .ch-step-ico { box-shadow: 0 0 0 2px var(--red), var(--air-shadow-sm); }
@media (max-width: 900px) { .ch-steps--5 { grid-template-columns: 1fr; } .ch-steps--5 .ch-step { padding: 0; } }

/* 導入までの流れ（全体の図と、各ステップの内容） */
.ch-ov { list-style: none; margin: 56px auto 0; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; position: relative; }
.ch-ov li { position: relative; text-align: center; padding: 0 4px; }
.ch-ov li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: calc(50% + 24px); right: calc(-50% + 24px); height: 2px; background: repeating-linear-gradient(90deg, var(--lav) 0 5px, transparent 5px 10px); }
.ch-ov-no { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; background: #fff; box-shadow: var(--air-shadow-sm); font-family: var(--f-serif); font-weight: 700; font-size: 14px; color: var(--red); position: relative; z-index: 1; }
.ch-ov-t { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.ch-fls { list-style: none; margin: 56px auto 0; padding: 0; max-width: 920px; position: relative; }
.ch-fls::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: var(--lav); opacity: .7; }
.ch-fl { position: relative; padding: 0 0 20px 48px; }
.ch-fl-dot { position: absolute; left: 4px; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #fff; }
.ch-fl-card { position: relative; background: #fff; border-radius: var(--r-card); box-shadow: var(--air-shadow-sm); padding: 24px 28px 22px; overflow: hidden; }
.ch-fl-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--air-bar); }
.ch-fl-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.ch-fl-no { font-family: var(--f-serif); font-weight: 700; font-size: 12px; letter-spacing: .12em; color: var(--red); }
.ch-fl-card h3 { margin: 0; font-family: var(--f-serif); font-weight: 700; font-size: 20px; color: var(--ink); }
.ch-fl-card h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--red); }
.ch-fl-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ch-fl-card li { position: relative; padding-left: 1.2em; font-size: 14px; line-height: 1.75; color: var(--ink-strong); }
.ch-fl-card li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); opacity: .55; }
.ch-fl-groups { display: grid; grid-template-columns: 3fr 2fr; gap: 20px 28px; }
.ch-fl-groups ul { grid-template-columns: 1fr; }
@media (max-width: 1000px) { .ch-ov { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; } .ch-ov li:nth-child(4)::after { display: none; } }
@media (max-width: 700px) {
  .ch-ov { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-ov li::after { display: none !important; }
  .ch-fl { padding-left: 38px; }
  .ch-fl-card { padding: 20px 18px 18px; }
  .ch-fl-card ul, .ch-fl-groups { grid-template-columns: 1fr; }
}

/* 右下の「無料相談」ボタン：文字を折り返さない。紺の台と赤いボタンの間の余白（12px）を、右の「先頭へ戻る」ボタンと同じにする。スマホ幅では、ひと言の説明を省いて、ボタンだけにする */
.float-cta .fc-label, .float-cta .fc-btn { white-space: nowrap; }
.theme-air .float-cta { padding: 12px 12px 12px 20px; }
.float-cta .fc-btn { box-sizing: border-box; height: 42px; padding: 0 20px; }
@media (max-width: 700px) {
  .theme-air .float-cta { right: 96px; bottom: 24px; padding: 12px; gap: 0; }
  .float-cta .fc-label { display: none; }
  .float-cta .fc-btn { font-size: 14px; }
}

/* カードの見分けやすさ：右上のアイコン（インライン SVG。装飾のため aria-hidden） */
.ch-ico { position: absolute; top: 20px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: #fdecef; display: flex; align-items: center; justify-content: center; }
.ch-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ch-can-item { padding-top: 22px; }
.ch-can-item .ch-ico { top: 22px; }
.ch-can-item h3 { min-height: 44px; display: flex; align-items: center; margin-bottom: 14px; padding-right: 56px; }
.air-point .ch-ico { top: 26px; }
.air-point .ch-ico + p { margin-top: 14px; }
/* SEO・AIO・GEO：整える観点 */
.ch-seo-lab { display: block; margin: 14px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--red); }
.ch-seo-list { margin: 0; padding: 0; list-style: none; }
.ch-seo-list li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.85; color: var(--ink-strong); }
.ch-seo-list li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
