/* ============================================================
   MEDIBUZZ HP — style.css
   Nunito (EN display) + Noto Sans JP (JA body)
   ============================================================ */

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --c-navy:     #3F5F73;
  --c-mid:      #4A6C81;
  --c-deep:     #587C94;
  --c-dark:     #2A4657;
  --c-base:     #4A6C81;
  --c-white:    #FFFFFF;
  --c-accent:   #E2BF22;
  --c-text:     #E0E6EB;
  --c-sub:      #C7D1DB;
  --c-line:     rgba(255,255,255,0.10);
  --c-line-w:   rgba(255,255,255,0.12);

  /* Brand blue palette */
  --c-lux-1:    #3F5F73;
  --c-lux-2:    #4A6C81;
  --c-lux-3:    #587C94;
  --c-lux-4:    #2A4657;

  --font-en:    'Nunito', 'Helvetica Neue', sans-serif;
  --font-ja:    'Noto Sans JP', 'YuGothic', '游ゴシック', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-ui:    'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);

  --container:  1200px;
  --section-py: 120px;
  --header-h:   72px;
}

/* ── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-ja);
  background: var(--c-navy);
  color: var(--c-text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  opacity: 1;
  transition: opacity 0.5s ease;
}
body.is-loading { opacity: 0; }

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.section { padding: var(--section-py) 0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--dark  { background: var(--c-white); color: var(--c-deep); border-color: var(--c-white); }
.btn--dark:hover  { background: var(--c-deep); color: var(--c-white); border-color: var(--c-deep); }
.btn--light { color: var(--c-white); }
.btn--light:hover { background: var(--c-white); color: var(--c-deep); }
.btn--fill  { background: #4A9EBF; border-color: #4A9EBF; color: var(--c-white); }
.btn--fill:hover  { background: transparent; color: #4A9EBF; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
}
.text-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.text-link:hover::after { transform: scaleX(0); transform-origin: right; }
.text-link--light { color: var(--c-white); }
.text-link--dark  { color: var(--c-white); }

/* ── Typography helpers ──────────────────────────────────────── */
.section-tag {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 20px;
}
.section-tag--light { color: #C7D1DB; }

.section-title {
  font-family: var(--font-en);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-title--lg { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.section-title--md { font-size: clamp(2rem, 3.5vw, 3rem); }
.section-title--sm { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.section-title--light { color: var(--c-white); }
.section-title--dark  { color: var(--c-text); }

.body-text {
  font-family: var(--font-ja);
  font-size: 1rem;
  line-height: 2;
  color: var(--c-sub);
}
.body-text--light { color: rgba(255,255,255,0.6); }

.divider { border: none; border-top: 1px solid var(--c-line); margin: 0; }
.divider--light { border-color: var(--c-line-w); }

/* ── Scroll animations (GSAP handles opacity/transform) ─────── */
.fade-up { will-change: transform, opacity; }

/* ── Logo Watermarks ────────────────────────────────────────── */
.logo-wm {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  display: block;
}
.logo-wm img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero — right edge large symbol */
.hero__symbol {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(520px, 62vw, 920px);
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.hero__symbol-img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.28;
}

/* Cases — diagonal center (pattern ①) */
.logo-wm--cases {
  width: clamp(520px, 60vw, 820px);
  opacity: 0.038;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  filter: blur(1.5px);
}

/* Footer CTA — left overflow, upward tilt (pattern ①) */
.logo-wm--footer-cta {
  width: clamp(560px, 58vw, 860px);
  opacity: 0.05;
  bottom: -8%;
  left: -8%;
  transform: rotate(-6deg);
  filter: blur(1px);
}

/* ── Header ──────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}
.header.is-scrolled,
.header.is-dark {
  background: var(--c-lux-1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.header__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__nav-link {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.header__nav-link:hover,
.header__nav-link.is-active { color: #fff; }
.header__nav-link.is-active { color: var(--c-accent); }
@media (max-width: 900px) {
  .header__nav { display: none; }
}

.site-logo {
  display: flex;
  align-items: center;
  z-index: 201;
  position: relative;
}
.site-logo__img {
  height: 32px;
  width: auto;
  display: block;
}
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 32px;
  padding: 6px 0;
  z-index: 201;
  position: relative;
}
.hamburger__line {
  display: block;
  width: 100%; height: 1px;
  background: var(--c-white);
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.is-open .hamburger__line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open .hamburger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open .hamburger__line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Nav Overlay ─────────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--c-lux-1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 48px 60px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }

.nav-overlay__list { list-style: none; }
.nav-overlay__item {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.nav-overlay__item:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }

.nav-overlay__link {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  color: rgba(255,255,255,0.75);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s ease, color 0.3s ease;
}
.nav-overlay.is-open .nav-overlay__link { transform: none; opacity: 1; }
.nav-overlay__item:nth-child(1) .nav-overlay__link { transition-delay: 0.05s; }
.nav-overlay__item:nth-child(2) .nav-overlay__link { transition-delay: 0.1s; }
.nav-overlay__item:nth-child(3) .nav-overlay__link { transition-delay: 0.15s; }
.nav-overlay__item:nth-child(4) .nav-overlay__link { transition-delay: 0.2s; }
.nav-overlay__item:nth-child(5) .nav-overlay__link { transition-delay: 0.25s; }
.nav-overlay__link:hover { color: var(--c-white); }
.nav-overlay__link.is-active .nav-overlay__text { color: var(--c-white); }
.nav-overlay__link.is-active .nav-overlay__num  { color: var(--c-accent); }

.nav-overlay__num {
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  min-width: 28px;
}
.nav-overlay__text {
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1;
}
.nav-overlay__text-ja {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  margin-left: auto;
  align-self: center;
}
.nav-overlay__footer {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  gap: 32px;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}
.nav-overlay__footer a { color: #C7D1DB; transition: color 0.3s ease; }
.nav-overlay__footer a:hover { color: var(--c-white); }

/* ── HERO v2 — Luxury clinic interior ───────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Base: warm stone → cool glass gradient */
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    148deg,
    var(--c-lux-1) 0%,
    var(--c-lux-2) 22%,
    var(--c-lux-3) 55%,
    var(--c-lux-4) 100%
  );
}

/* Indirect lighting — cool accent glow */
.hero__light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 75% 30%,  rgba(74, 158, 191, 0.13) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 70%,  rgba(74, 158, 191, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 30% 45% at 5% 5%,    rgba(74, 158, 191, 0.04) 0%, transparent 50%);
}

/* Grain texture — stone / concrete surface */
.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.045;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Architectural detail — removed */
.hero__arch { display: none; }
.hero__shaft { display: none; }

/* Left content — final state (logo + CTA) */
.hero__center {
  position: absolute;
  top: 50%;
  left: 0;
  width: 54%;
  transform: translateY(-50%);
  z-index: 1;
  text-align: left;
  padding-left: max(48px, calc((100vw - 1200px) / 2 + 48px));
  padding-right: 32px;
  user-select: none;
}

/* ══════════════════════════════════════════════════════════
   CINEMATIC FV — 全画面シーケンス演出 (v3)
   STEP①(0.3s) → STEP②(2.6s) → STEP③(4.6s) → STEP④(5.5s)
   ══════════════════════════════════════════════════════════ */

/* 共通: 各シーケンスは左側に配置 */
.hero__seq {
  position: absolute;
  top: 50%;
  left: 0;
  width: 70%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
  pointer-events: none;
  padding-left: max(48px, calc((100vw - 1200px) / 2 + 48px));
  padding-right: 32px;
}

/* ── STEP① 大キャッチコピー ──────────────────────────── */
.hero__seq--1 .hero__seq-text {
  font-family: var(--font-ja);
  font-size: clamp(2.25rem, 3.5vw, 4.5rem);
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.45;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: seq1Enter 3.1s 0.3s ease forwards;
}

/* ── STEP② ミドルコピー ──────────────────────────────── */
.hero__seq--2 .hero__seq-text {
  font-family: var(--font-ja);
  font-size: clamp(1.5rem, 3vw, 3.75rem);
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.6;
  letter-spacing: 0.06em;
  opacity: 0;
  animation: seq2Enter 4.7s 2.6s ease forwards;
}

/* ── STEP③ ルール線 ─────────────────────────────────── */
.hero__rule {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.18);
  margin: 0 0 22px;
  transform: scaleX(0);
  opacity: 0;
  transform-origin: center;
  animation: ruleExpand 0.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── STEP③ Medibuzz ロゴ ────────────────────────────── */
.hero__brand {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 5vw, 6.5rem);
  font-weight: 300;
  color: var(--c-white);
  letter-spacing: 0.2em;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0;
  animation: brandEnter 1.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero__brand-logo {
  width: clamp(200px, 32vw, 420px);
  height: auto;
  display: block;
  margin: 0 0 16px;
  opacity: 0;
  animation: brandEnter 1.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── STEP③ タグライン ───────────────────────────────── */
.hero__tagline {
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  opacity: 0;
  animation: heroFadeIn 1s 0.7s ease forwards;
}

/* ── キーフレーム ──────────────────────────────────────── */

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* STEP①: 大きく登場(ease-out) → ホールド → 奥へ消える(ease-in) */
@keyframes seq1Enter {
  0% {
    opacity: 0;
    transform: scale(0.94);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }
  18% {
    opacity: 1;
    transform: scale(1);
    animation-timing-function: linear;
  }
  64% {
    opacity: 1;
    transform: scale(1);
    animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0);
  }
  100% {
    opacity: 0;
    transform: scale(1.09);
  }
}

/* STEP②: ふわり登場 → ホールド（呼吸感あり）→ 静かに消える */
@keyframes seq2Enter {
  0% {
    opacity: 0;
    transform: translateY(22px);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }
  14% {
    opacity: 1;
    transform: translateY(0);
    animation-timing-function: ease-in-out;
  }
  /* 呼吸感: ごく微細なopacity変化で有機的な静止感を演出 */
  43% {
    opacity: 0.87;
    transform: translateY(0);
    animation-timing-function: ease-in-out;
  }
  64% {
    opacity: 1;
    transform: translateY(0);
    animation-timing-function: ease-in;
  }
  76% {
    opacity: 1;
    transform: translateY(0);
    animation-timing-function: ease-in;
  }
  100% {
    opacity: 0;
    transform: translateY(-16px) scale(1.015);
  }
}

/* STEP③: ロゴ — scale 0.94→1.0 + フェードイン */
@keyframes brandEnter {
  0%   { opacity: 0; transform: scale(0.94) translateY(8px); }
  100% { opacity: 1; transform: scale(1)    translateY(0); }
}

@keyframes ruleExpand {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: heroFadeIn 1s 1.8s ease forwards;
}
.hero__scroll-text {
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero__scroll-line {
  display: block;
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite 2.2s;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background: var(--c-lux-1);
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(148deg, var(--c-lux-1) 0%, var(--c-lux-3) 100%);
}
.page-hero__light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 85% 0%,  rgba(74,158,191,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 10% 80%, rgba(74,158,191,0.05) 0%, transparent 50%);
}
.page-hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.page-hero__breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}
.page-hero__breadcrumb a:hover { color: rgba(255,255,255,0.6); }
.page-hero__breadcrumb span   { margin: 0 8px; }
.page-hero__en {
  font-family: var(--font-en);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  color: var(--c-white);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  opacity: 0;
  animation: heroFadeIn 0.9s 0.2s var(--ease-out) forwards;
}
.page-hero__ja {
  font-family: var(--font-ja);
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  opacity: 0;
  animation: heroFadeIn 0.8s 0.4s var(--ease-out) forwards;
}

/* ── About Intro (HOME) ─────────────────────────────────────── */
.about-intro {
  background: var(--c-deep);
  position: relative;
  overflow: hidden;
}
.logo-wm--about-intro {
  width: clamp(480px, 55vw, 760px);
  opacity: 0.05;
  bottom: -12%;
  right: -8%;
  transform: rotate(8deg);
  filter: blur(1px);
}
.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.about-intro__text { }
.about-intro__lead {
  font-family: var(--font-ja);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.9;
  margin: 28px 0 20px;
}
.about-intro__body {
  font-family: var(--font-ja);
  font-size: 1rem;
  color: #E0E6EB;
  line-height: 2;
  margin-bottom: 36px;
}
.about-intro__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.about-intro__point {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.about-intro__point-num {
  font-family: var(--font-en);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-top: 5px;
  min-width: 20px;
  flex-shrink: 0;
}
.about-intro__point-title {
  font-family: var(--font-ja);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--c-white);
  margin-bottom: 6px;
  line-height: 1.4;
}
.about-intro__point-desc {
  font-family: var(--font-ja);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
}

/* ── Services list (HOME) ────────────────────────────────────── */
.services-list { background: var(--c-mid); }
.services-list__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-line);
}
.service-list__item { border-bottom: 1px solid var(--c-line); }
.service-list__link {
  display: grid;
  grid-template-columns: 48px 52px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 36px 0;
  color: var(--c-white);
  position: relative;
}
.service-list__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.service-list__icon svg {
  width: 22px;
  height: 22px;
  color: rgba(255,255,255,0.6);
  transition: color 0.25s ease;
}
.service-list__link:hover .service-list__icon {
  background: rgba(226,191,34,0.12);
  border-color: rgba(226,191,34,0.3);
}
.service-list__link:hover .service-list__icon svg {
  color: var(--c-accent);
}
.service-list__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.25s ease;
  margin: 0 -48px;
}
.service-list__link:hover::before { opacity: 1; }
.service-list__num {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  position: relative; z-index: 1;
}
.service-list__body { position: relative; z-index: 1; }
.service-list__name {
  font-family: var(--font-ja);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--c-white);
  margin-bottom: 6px;
}
.service-list__desc {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: var(--c-sub);
  line-height: 1.7;
}
.service-list__arrow {
  font-size: 1.125rem;
  color: var(--c-accent);
  transition: transform 0.3s ease;
  position: relative; z-index: 1;
}
.service-list__link:hover .service-list__arrow { transform: translateX(6px); }

/* ── Stats bar ───────────────────────────────────────────────── */
.stats-section { background: var(--c-navy); padding: 0; }
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.stat-item {
  padding: 48px 32px;
  border-right: 1px solid var(--c-line);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  font-family: var(--font-ui);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 200;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.stat-item__label {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: var(--c-sub);
  line-height: 1.5;
}
.stat-item__sup {
  font-size: 0.58em;
  letter-spacing: 0;
  vertical-align: baseline;
}
.stat-item__unit {
  font-family: var(--font-ja);
  font-size: 0.44em;
  font-weight: 300;
  letter-spacing: 0.02em;
  vertical-align: baseline;
}
.stat-item__num--ja {
  font-family: var(--font-ja);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* ── Case Studies ────────────────────────────────────────────── */
.cases-section {
  background: linear-gradient(160deg, #3F5F73 0%, #4E7389 50%, #3F5F73 100%);
  position: relative;
  overflow: hidden;
}

/* ── Cases page (grid layout) ─────────────────────────────── */
.cases-page-section {
  background: linear-gradient(160deg, #3F5F73 0%, #4E7389 50%, #3F5F73 100%);
  position: relative;
}
.cases-page-intro {
  max-width: 640px;
  margin-bottom: 56px;
}
.cases-page-intro__text {
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
}
.cases-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .cases-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cases-page-grid { grid-template-columns: 1fr; }
}
.cases-section .logo-wm--cases { opacity: 0.032; }
.cases-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 56px;
}
.cases-slider {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 16px max(24px, calc((100vw - var(--container)) / 2 + 48px)) 56px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.cases-slider::-webkit-scrollbar { display: none; }
.cases-slider.is-dragging { cursor: grabbing; }
.cases-slider .case-card {
  flex: 0 0 clamp(360px, 44vw, 520px);
}

.cases-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cases-nav__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.cases-nav__btn svg { width: 18px; height: 18px; }
.cases-nav__btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
  color: var(--c-white);
}

.cases-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 28px;
  margin-bottom: 56px;
}
.cases-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
  transition: width 0.3s var(--ease-out), background 0.3s ease;
  cursor: pointer;
}
.cases-dot.is-active { width: 24px; background: var(--c-white); }
.case-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  color: var(--c-white);
  transform: scale(0.96);
  opacity: 0.6;
  transition: transform 0.6s var(--ease-out), opacity 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease;
  position: relative;
  overflow: hidden;
}
.case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.25), rgba(255,255,255,0.04));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.case-card.is-active {
  transform: scale(1.0);
  opacity: 1;
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 16px 56px rgba(0,0,0,0.4);
}
.case-card.is-active::before { transform: scaleX(1); }
.case-card:hover {
  transform: scale(1.02);
  opacity: 1;
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 24px 72px rgba(0,0,0,0.5);
}

.case-card__tag {
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 28px;
  display: block;
}
.case-card__icon {
  width: 36px; height: 36px;
  color: var(--c-text);
  margin-bottom: 20px;
  opacity: 0.7;
}
.case-card__icon svg { width: 100%; height: 100%; }

.case-card__title {
  font-family: var(--font-ja);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--c-text);
  line-height: 1.5;
  margin-bottom: 14px;
}
.case-card__desc {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: var(--c-sub);
  line-height: 1.85;
  flex: 1;
  margin-bottom: 28px;
}
.case-card__result {
  border-top: 1px solid var(--c-line);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-card__result-label {
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-sub);
}
.case-card__result-value {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--c-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.case-card__result-note {
  font-family: var(--font-ja);
  font-size: 0.8125rem;
  color: var(--c-sub);
}

/* ── About teaser (HOME) ─────────────────────────────────────── */
.about-teaser { background: var(--c-navy); padding: var(--section-py) 0; position: relative; overflow: hidden; }
.about-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-teaser__label { color: #C7D1DB; }
.about-teaser__text {
  font-family: var(--font-ja);
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: #E0E6EB;
  line-height: 2.1;
  margin: 32px 0 40px;
}
.about-teaser__features { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.1); }
.about-teaser__feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.about-teaser__feature-num {
  font-family: var(--font-en);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-top: 4px;
  min-width: 20px;
}
.about-teaser__feature-title { font-family: var(--font-ja); font-size: 1rem; color: var(--c-white); margin-bottom: 4px; }
.about-teaser__feature-desc  { font-family: var(--font-ja); font-size: 0.875rem; color: #C7D1DB; line-height: 1.75; }

/* ── Problems section (HOME) ─────────────────────────────────── */
.problems-section { background: var(--c-mid); }
.problems-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  margin-bottom: 48px;
}
.problem-item {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  padding: 36px 24px;
  transition: background 0.25s ease, color 0.25s ease;
  cursor: default;
}
.problem-item:hover { background: rgba(255,255,255,0.12); color: var(--c-white); }
.problem-item:hover .problem-item__icon { color: var(--c-accent); }
.problem-item__icon { width: 36px; height: 36px; margin-bottom: 20px; color: var(--c-accent); transition: color 0.25s ease; }
.problem-item__icon svg { width: 100%; height: 100%; }
.problem-item__text { font-family: var(--font-ja); font-size: 0.9375rem; line-height: 1.7; color: inherit; }
.problems-solution {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.problems-solution__text { font-family: var(--font-ja); font-size: clamp(1.0625rem, 2vw, 1.375rem); color: rgba(255,255,255,0.85); }
.problems-solution__text strong { color: var(--c-accent); }

/* ── About page: Mission ─────────────────────────────────────── */
.mission-section { background: var(--c-navy); }
.mission-section__quote {
  font-family: var(--font-ja);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 48px;
}

/* About: Features grid */
.features-section { background: var(--c-base); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.feature-item { background: rgba(255,255,255,0.07); backdrop-filter: blur(8px); padding: 48px 40px; position: relative; overflow: hidden; }
.feature-item__num { font-family: var(--font-en); font-size: 5rem; font-weight: 300; color: rgba(255,255,255,0.05); line-height: 1; position: absolute; top: 24px; right: 32px; }
.feature-item__tag { font-family: var(--font-ui); font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 20px; }
.feature-item__title { font-family: var(--font-ja); font-size: 1.375rem; font-weight: 400; color: var(--c-white); margin-bottom: 16px; line-height: 1.4; }
.feature-item__text { font-family: var(--font-ja); font-size: 0.9375rem; color: var(--c-sub); line-height: 1.85; }

/* ── Services page ───────────────────────────────────────────── */
.service-section {
  padding: var(--section-py) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.service-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 2px;
  background: var(--c-accent);
}
.service-section:nth-child(even) { background: var(--c-mid); }
.service-section:nth-child(odd)  { background: var(--c-navy); }
.service-section__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.service-section__meta { position: sticky; top: calc(var(--header-h) + 40px); }
.service-section__num {
  font-family: var(--font-en);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.service-section__title { font-family: var(--font-ja); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400; color: var(--c-white); line-height: 1.3; margin-bottom: 24px; }
.service-section__desc { font-family: var(--font-ja); font-size: 1rem; color: rgba(255,255,255,0.72); line-height: 2; margin-bottom: 36px; }
.service-section__detail h4 { font-family: var(--font-ui); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 20px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.service-list-detail { display: flex; flex-direction: column; }
.service-list-detail li { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-family: var(--font-ja); font-size: 0.9375rem; color: rgba(255,255,255,0.72); }
.service-list-detail li::before { content: '—'; color: var(--c-accent); flex-shrink: 0; font-family: var(--font-en); }

.service-section--dark { background: var(--c-navy) !important; }
.service-section--dark .service-section__title { color: var(--c-white); }

/* ── Pricing page ────────────────────────────────────────────── */
.pricing-section { background: var(--c-navy); }
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--c-line); }
.pricing-card { padding: 48px 40px; border-right: 1px solid var(--c-line); position: relative; background: rgba(255,255,255,0.06); backdrop-filter: blur(8px); }
.pricing-card:last-child { border-right: none; }
.pricing-card--featured {
  background: rgba(255,255,255,0.12);
  border-top: 2px solid var(--c-accent);
  margin-top: -2px;
}
.pricing-card__badge { font-family: var(--font-ui); font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 32px; }
.pricing-card__plan { font-family: var(--font-en); font-size: 2.5rem; font-weight: 300; color: var(--c-white); line-height: 1; margin-bottom: 8px; }
.pricing-card__price { font-family: var(--font-ja); font-size: 1rem; color: var(--c-sub); margin-bottom: 36px; }
.pricing-card__price strong { font-size: 1.5rem; color: var(--c-white); font-weight: 400; margin-right: 4px; }
.pricing-card__list { display: flex; flex-direction: column; margin-bottom: 40px; border-top: 1px solid var(--c-line); }
.pricing-card__list li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-family: var(--font-ja); font-size: 0.9375rem; color: var(--c-sub); }
.pricing-card__list li.included { color: var(--c-text); }
.pricing-card__list li.included::before { content: '✓'; color: var(--c-accent); font-size: 0.75rem; flex-shrink: 0; }
.pricing-card__list li.excluded { opacity: 0.35; }
.pricing-card__list li.excluded::before { content: '–'; color: var(--c-sub); flex-shrink: 0; }
.pricing-card__list li a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.pricing-card__list li a:hover { color: var(--c-accent); }

/* Flow */
.flow-section { background: var(--c-base); }
.flow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.flow-step { background: rgba(255,255,255,0.06); backdrop-filter: blur(8px); padding: 48px 40px; }
.flow-step__num { font-family: var(--font-ui); font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.2em; color: var(--c-accent); margin-bottom: 32px; text-transform: uppercase; }
.flow-step__icon { width: 40px; height: 40px; color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.flow-step__icon svg { width: 100%; height: 100%; }
.flow-step__title { font-family: var(--font-ja); font-size: 1.125rem; font-weight: 400; color: var(--c-white); margin-bottom: 12px; }
.flow-step__text  { font-family: var(--font-ja); font-size: 0.9375rem; color: var(--c-sub); line-height: 1.8; }

/* ── Contact page ────────────────────────────────────────────── */
.contact-section { background: var(--c-mid); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.contact-info__item { padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.contact-info__label { font-family: var(--font-ui); font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.contact-info__value { font-family: var(--font-ja); font-size: 1rem; color: rgba(255,255,255,0.92); }
.contact-info__value a:hover { color: var(--c-accent); }
.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-group { padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.form-group:first-child { border-top: 1px solid var(--c-line); }
.form-label { display: block; font-family: var(--font-ui); font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.form-label .req { color: var(--c-accent); margin-left: 4px; }
.form-input, .form-textarea, .form-select { width: 100%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; padding: 12px 16px; font-family: var(--font-ja); font-size: 1rem; color: var(--c-white); outline: none; transition: border-color 0.3s ease, background 0.3s ease; -webkit-appearance: none; }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--c-accent); background: rgba(255,255,255,0.12); }
.form-textarea { min-height: 120px; resize: vertical; line-height: 1.8; }
.form-submit { margin-top: 40px; display: flex; align-items: center; gap: 20px; }
.form-success {
  display: none;
  padding: 48px 0;
  text-align: center;
}
.form-success__icon {
  font-size: 2rem;
  color: var(--c-accent);
  margin-bottom: 16px;
}
.form-success__title {
  font-family: var(--font-ja);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 12px;
}
.form-success__sub {
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}
.form-note { font-family: var(--font-ui); font-size: 0.75rem; color: var(--c-sub); }
.contact-lead { font-family: var(--font-ja); font-size: clamp(1.25rem, 2.5vw, 1.875rem); color: #ffffff; line-height: 1.7; font-weight: 400; margin-bottom: 48px; max-width: 640px; }

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section { background: var(--c-navy); padding: var(--section-py) 0; text-align: center; position: relative; overflow: hidden; }
.cta-section__bg {
  position: absolute; inset: 0;
  background: linear-gradient(148deg, var(--c-lux-1) 0%, var(--c-lux-3) 100%);
}
.cta-section__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
}
.cta-section__inner { position: relative; z-index: 1; }
.cta-section__title { font-family: var(--font-ja); font-size: clamp(1.75rem, 3.5vw, 3rem); font-weight: 400; color: var(--c-white); line-height: 1.4; margin-bottom: 16px; }
.cta-section__sub   { font-family: var(--font-ja); font-size: 1rem; color: #C7D1DB; margin-bottom: 48px; line-height: 1.8; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--c-lux-1); padding: 64px 0 0; }
.footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; padding-bottom: 64px; flex-wrap: wrap; }
.footer__logo    { margin-bottom: 8px; }
.footer__logo-img { height: 22px; width: auto; display: block; }
.footer__tagline { font-family: var(--font-ja); font-size: 0.8125rem; color: #C7D1DB; line-height: 1.7; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { font-family: var(--font-ui); font-size: 0.8125rem; letter-spacing: 0.1em; color: #C7D1DB; transition: color 0.3s ease; }
.footer__nav a:hover { color: var(--c-white); }
.footer__contact-label { font-family: var(--font-ui); font-size: 0.5625rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.footer__contact a { font-family: var(--font-ui); font-size: 0.9375rem; color: rgba(255,255,255,0.5); transition: color 0.3s ease; }
.footer__contact a:hover { color: var(--c-white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__copy { font-family: var(--font-ui); font-size: 0.75rem; color: rgba(255,255,255,0.45); letter-spacing: 0.05em; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }
  .container, .header__inner, .hero__center, .page-hero__inner { padding-left: 32px; padding-right: 32px; }
  .service-section__inner { grid-template-columns: 1fr; gap: 48px; }
  .service-section__meta  { position: static; }
  .about-teaser__inner    { grid-template-columns: 1fr; gap: 48px; }
  .about-intro__inner     { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout         { grid-template-columns: 1fr; gap: 48px; }
  .features-grid          { grid-template-columns: 1fr; }
  .pricing-cards          { grid-template-columns: 1fr; }
  .pricing-card           { border-right: none; border-bottom: 1px solid var(--c-line); }
  .pricing-card:last-child { border-bottom: none; }
  .cases-slider .case-card { flex: 0 0 clamp(360px, 68vw, 520px); }
  .stats-bar              { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--c-line); }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; }
  .container, .header__inner, .page-hero__inner { padding-left: 24px; padding-right: 24px; }
  .nav-overlay { padding-left: 24px; padding-right: 24px; }
  .nav-overlay__footer { flex-direction: column; gap: 10px; }
  .hero__brand { letter-spacing: 0.14em; }
  .hero__seq--1 .hero__seq-text { font-size: clamp(1.6rem, 7vw, 5rem); line-height: 1.5; }
  .hero__seq--2 .hero__seq-text { font-size: clamp(1.25rem, 3.5vw, 2.25rem); letter-spacing: 0.03em; }
  .hero__scroll { bottom: 32px; }
  .problems-grid     { grid-template-columns: repeat(2, 1fr); }
  .services-list__header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .service-list__link    { grid-template-columns: 32px 44px 1fr auto; gap: 12px; }
  .service-list__icon    { width: 44px; height: 44px; }
  .service-list__link::before { margin: 0 -24px; }
  .flow-steps        { grid-template-columns: 1fr; }
  .cases-slider .case-card { flex: 0 0 calc(100vw - 48px); }
  .case-card { padding: 40px 32px; min-height: 340px; }
  .cases-slider { padding-left: 24px; padding-right: 24px; }
  .stats-bar         { grid-template-columns: repeat(2, 1fr); }
  .footer__inner     { flex-direction: column; gap: 36px; }
  .footer__bottom    { flex-direction: column; align-items: flex-start; }
  .problems-solution { flex-direction: column; align-items: flex-start; }
  .cases-header      { gap: 10px; margin-bottom: 40px; }
  /* Hero: sp では中央寄せに戻す */
  .hero__seq,
  .hero__center {
    left: 50%;
    width: 96%;
    padding-left: 16px;
    padding-right: 16px;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  .hero__rule  { margin: 0 auto 22px; }
  .hero__brand-logo { margin: 0 auto 16px; width: clamp(180px, 60vw, 320px); }
  .hero__cta-group  { justify-content: center; }
  .hero__symbol { display: none; }
}

@media (max-width: 480px) {
  .problems-grid { grid-template-columns: 1fr; }
  .stats-bar     { grid-template-columns: 1fr; }
  .stat-item     { border-right: none; }
}

/* ============================================================
   CTA-OPTIMIZED ADDITIONS (v3)
   ============================================================ */

/* ── Hero dual CTAs ──────────────────────────────────────── */
.hero__cta-group {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 40px;
  opacity: 0;
  animation: ctaRise 1s 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.32);
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  padding: 14px 32px;
  font-size: 0.8125rem;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn--outline:hover {
  border-color: rgba(255,255,255,0.8);
  color: var(--c-white);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn--outline svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.btn--outline:hover svg { transform: translateX(3px); }

/* ── Stats CTA strip ─────────────────────────────────────── */
.stats-cta-strip {
  background: var(--c-mid); /* dark bg */
  background: var(--c-base);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.stats-cta-strip__text {
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  color: var(--c-text);
  font-weight: 400;
}
.stats-cta-strip__link {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: gap 0.3s ease, opacity 0.3s ease;
}
.stats-cta-strip__link:hover { gap: 12px; opacity: 0.75; }
.stats-cta-strip__link svg { width: 14px; height: 14px; }

/* ── Services list CTA ───────────────────────────────────── */
.service-list__cta {
  margin-top: 48px;
  padding: 32px 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.service-list__cta-q {
  font-family: var(--font-ja);
  font-size: 1rem;
  color: rgba(255,255,255,0.95);
  font-weight: 400;
  margin-bottom: 6px;
}
.service-list__cta-note {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}

/* ── Case card gallery content ───────────────────────────── */
/* ── Case card profile row ───────────────────────────────── */
.case-card__profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.case-card__profile-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.case-card__handle {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

.case-card__name {
  font-family: var(--font-ja);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.35;
  margin-bottom: 0;
}
.case-card__profile-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.case-card__profile-meta .case-card__handle {
  margin-top: 0;
}
.case-card__cat {
  font-family: var(--font-ui);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  line-height: 1.6;
}
.case-card__cat--hire    { background: rgba(255,180,60,0.15);  color: #FFB43C; }
.case-card__cat--attract { background: rgba(226,191,34,0.15);   color: var(--c-accent); }
.case-card__cat--aware   { background: rgba(168,120,255,0.15); color: #A878FF; }
.case-card__cat--sales   { background: rgba(80,200,120,0.15);  color: #50C878; }
.case-card__cat--line    { background: rgba(6,199,85,0.15);    color: #06C755; }
.case-card__figure {
  margin-bottom: 28px;
}
.case-card__figure-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
  margin-bottom: 10px;
}
.case-card__figure-pre {
  font-family: var(--font-ja);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: var(--c-white);
  margin-right: 2px;
}
.case-card__figure-num {
  font-family: var(--font-ui);
  font-size: clamp(3.25rem, 5.5vw, 5.5rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  color: var(--c-white);
}
.case-card__figure-unit {
  font-family: var(--font-ja);
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  font-weight: 300;
  color: var(--c-white);
}
.case-card__figure-label {
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.case-card__note {
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  color: var(--c-white);
  line-height: 1.85;
  flex: 1;
  margin-bottom: 32px;
}
.case-card__note strong { color: var(--c-white); font-weight: 500; }

/* ── Case card per-CTA ───────────────────────────────────── */
.case-card__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: var(--c-white);
  transition: gap 0.3s ease, color 0.3s ease;
}
.case-card__cta svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.case-card__cta:hover { gap: 12px; color: var(--c-white); }
.case-card__cta:hover svg { transform: translateX(3px); }

/* ── Cases section CTA strip ─────────────────────────────── */
.cases-cta-strip {
  margin-top: 0;
  padding: 32px 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cases-cta-strip__text {
  font-family: var(--font-ja);
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

/* ── Footer large CTA (replaces cta-section on index) ────── */
.footer-cta {
  background: var(--c-navy);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer-cta__bg {
  position: absolute; inset: 0;
  background: linear-gradient(148deg, var(--c-lux-1) 0%, var(--c-lux-2) 35%, var(--c-lux-3) 70%, var(--c-lux-4) 100%);
}
.footer-cta__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.footer-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.footer-cta__kicker {
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.footer-cta__title {
  font-family: var(--font-ja);
  font-size: clamp(1.625rem, 3.2vw, 2.75rem);
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.5;
  margin-bottom: 20px;
}
.footer-cta__sub {
  font-family: var(--font-ja);
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 520px;
}
.footer-cta__btn {
  font-size: 0.9375rem;
  padding: 18px 48px;
  border-radius: 14px;
  margin-bottom: 32px;
}
.footer-cta__trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.footer-cta__trust span {
  font-family: var(--font-ja);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
}

/* ── Sticky mobile CTA ───────────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(29,46,59,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: #4A9EBF;
  color: var(--c-white);
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.04em;
  border-radius: 12px;
  transition: background 0.3s ease;
}
.sticky-cta__btn:hover { background: #3a8eaf; color: var(--c-white); }

/* ── Float CTA (PC bottom-right) ─────────────────────────── */
.float-cta {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 900;
  background: #4A9EBF;
  color: var(--c-white);
  font-family: var(--font-ja);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  padding: 14px 22px;
  border-radius: 40px;
  box-shadow: 0 8px 32px rgba(74,158,191,0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}
.float-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-cta:hover {
  background: #3a8eaf;
  box-shadow: 0 12px 40px rgba(74,158,191,0.45);
  transform: translateY(-2px);
  color: var(--c-white);
}
.float-cta svg { width: 14px; height: 14px; }

/* ── Trust badges (contact page) ─────────────────────────── */
.trust-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}
.trust-badge__check {
  color: var(--c-accent);
  font-size: 0.875rem;
  font-weight: 600;
}
.trust-badge span:last-child {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.92);
}

/* STEP⑤ CTA — 下からふわり */
@keyframes ctaRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive overrides for v3 additions ───────────────── */
@media (max-width: 768px) {
  .sticky-cta  { display: block; }
  .float-cta   { display: none !important; }
  .stats-cta-strip { /* dark bg */ padding: 20px 24px; flex-direction: column; align-items: flex-start; }
  .service-list__cta { padding: 24px; flex-direction: column; align-items: flex-start; }
  .cases-cta-strip   { padding: 24px; flex-direction: column; align-items: flex-start; }
  .footer-cta  { padding: 72px 0; }
  .footer-cta__trust { gap: 16px; }
  .footer-cta__btn   { padding: 16px 36px; }
}
@media (min-width: 769px) {
  .float-cta { display: flex; }
}

/* ============================================================
   r-dr.jp REDESIGN ADDITIONS
   ============================================================ */

/* ── Problem Statement section ───────────────────────────── */
.problem-stmt { background: var(--c-navy); }

.problem-stmt__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.problem-stmt__heading {
  font-family: var(--font-ja);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--c-text);
  line-height: 1.55;
  margin-top: 20px;
}

.problem-stmt__list {
  list-style: none;
  margin-bottom: 48px;
}

.problem-stmt__item {
  font-family: var(--font-ja);
  font-size: clamp(1rem, 2vw, 1.3125rem);
  color: var(--c-text);
  line-height: 1.6;
  padding: 26px 0;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  gap: 20px;
}

.problem-stmt__item:first-child { border-top: 1px solid var(--c-line); }

.problem-stmt__item::before {
  content: '—';
  font-family: var(--font-en);
  color: var(--c-accent);
  font-size: 1.125rem;
  flex-shrink: 0;
  line-height: 1;
}

.problem-stmt__answer {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.problem-stmt__answer-text {
  font-family: var(--font-ja);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: var(--c-sub);
  line-height: 2.1;
}

/* ── Case Card KPI Block (big numbers) ───────────────────── */
.case-card__kpi-block {
  padding: 24px 0 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--c-line);
}

.case-card__kpi-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 8px;
  line-height: 1;
}

.case-card__kpi-num {
  font-family: var(--font-en);
  font-size: clamp(3.25rem, 6.5vw, 5.5rem);
  font-weight: 300;
  color: var(--c-text);
  letter-spacing: -0.01em;
  line-height: 1;
}

.case-card__kpi-unit {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 300;
  color: var(--c-text);
  letter-spacing: -0.01em;
  line-height: 1;
  padding-bottom: 4px;
}

.case-card__kpi-label {
  font-family: var(--font-ja);
  font-size: 0.8125rem;
  color: var(--c-sub);
  letter-spacing: 0.04em;
}

.case-card__sub-result {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
  margin-bottom: 0;
}

.case-card__sub-num {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--c-accent);
  letter-spacing: -0.01em;
  line-height: 1;
}

.case-card__sub-label {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: var(--c-sub);
}

/* ── Case Card: Copy / Location / Before→After / Results ─── */
.case-card__location {
  display: block;
  font-family: var(--font-ja);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--c-sub);
  margin-top: 5px;
  letter-spacing: 0.02em;
}
.case-card__copy {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: var(--c-sub);
  line-height: 1.6;
  margin-bottom: 4px;
}
.case-card__ba {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.case-card__ba-from {
  display: flex;
  align-items: baseline;
  gap: 2px;
  opacity: 0.32;
}
.case-card__ba-num {
  font-family: var(--font-ui);
  font-size: clamp(1.0rem, 1.8vw, 1.375rem);
  font-weight: 200;
  color: var(--c-text);
  line-height: 1;
}
.case-card__ba-unit {
  font-family: var(--font-ja);
  font-size: 0.7em;
  color: var(--c-text);
}
.case-card__ba-arrow {
  font-size: 1rem;
  color: var(--c-accent);
  padding-bottom: 3px;
  opacity: 0.8;
}
.case-card__ba-to {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.case-card__kpi-prefix {
  font-family: var(--font-ja);
  font-size: clamp(0.9rem, 1.5vw, 1.125rem);
  color: var(--c-sub);
  padding-bottom: 6px;
  align-self: flex-end;
}
.case-card__results {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.case-card__results li {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: var(--c-sub);
  line-height: 1.65;
  padding-left: 14px;
  position: relative;
}
.case-card__results li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-size: 0.75rem;
}
.case-card__results li strong {
  color: var(--c-text);
  font-weight: 600;
}

/* Override: case-card layout to flex-column so sub-result pushes to bottom */
.case-card {
  display: flex;
  flex-direction: column;
}

.case-card__title { margin-bottom: 10px; }
.case-card__desc  { flex: 1; }

/* ── Services: more editorial spacing ────────────────────── */
.service-list__link { padding: 44px 0; }
.service-list__num  { font-size: 0.875rem; color: var(--c-accent); }

/* ── Section padding increase for r-dr breathing room ────── */
:root { --section-py: 140px; }
@media (max-width: 1024px) { :root { --section-py: 96px; } }
@media (max-width: 768px)  { :root { --section-py: 72px; } }

/* ── Responsive: problem-stmt ────────────────────────────── */
@media (max-width: 1024px) {
  .problem-stmt__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .problem-stmt__item { font-size: 1rem; padding: 20px 0; }
  .case-card__kpi-num { font-size: clamp(2.75rem, 10vw, 4rem); }
  .case-card__kpi-unit { font-size: clamp(1.25rem, 4vw, 1.75rem); }
}


/* ── Fixed background logo (site-wide, persists on scroll) ── */
.site-bg-logo {
  position: fixed;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(660px, 78vw, 1140px);
  z-index: 2;
  pointer-events: none;
  user-select: none;
  opacity: 0;
}
.site-bg-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.07;
}
@media (max-width: 768px) {
  .site-bg-logo { width: clamp(360px, 95vw, 580px); right: -18%; }
}

/* ============================================================
   FV v5 — 共感+解決コピー（hero__left）
   ============================================================ */

.hero__left {
  position: absolute;
  top: 50%;
  left: 0;
  width: 54%;
  transform: translateY(-50%);
  z-index: 2;
  padding-left: max(48px, calc((100vw - 1200px) / 2 + 48px));
  padding-right: 40px;
}

/* 上段: 共感コピー — 小さめ・グレー・Regular */
.hero__copy-top {
  font-family: var(--font-ja);
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 400;
  color: #E0E6EB;
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin: 0 0 22px;
  opacity: 0;
  animation: heroSlideUp 1.0s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 下段: 解決コピー — 大きめ・白・Medium */
.hero__copy-main {
  font-family: var(--font-ja);
  font-size: clamp(1.75rem, 3vw, 3.75rem);
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin: 0 0 36px;
  opacity: 0;
  animation: heroSlideUp 1.0s 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* サブコピー */
.hero__copy-sub {
  font-family: var(--font-ja);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 400;
  color: rgba(255,255,255,0.48);
  line-height: 1.85;
  letter-spacing: 0.06em;
  margin: 0;
  opacity: 0;
  animation: heroSlideUp 0.9s 2.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* CTA — 旧7.1sのグローバル遅延を上書き */
.hero__left .hero__cta-group {
  margin-top: 32px;
  opacity: 0;
  animation: heroSlideUp 0.9s 2.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* SP: 左寄せ・全幅 */
@media (max-width: 768px) {
  .hero__left {
    left: 5%;
    width: 90%;
    padding-left: 0;
    padding-right: 0;
    transform: translateY(-50%);
    text-align: left;
  }
  .hero__copy-top  { font-size: clamp(0.875rem, 3.5vw, 1.05rem); }
  .hero__copy-main { font-size: clamp(1.5rem, 5.5vw, 2.25rem); margin-bottom: 28px; }
  .hero__left .hero__cta-group { justify-content: flex-start; }
}

/* ============================================================
   FV v5 — レイヤーデザイン（テキスト×ロゴ重なり）
   ============================================================ */

/* 背景グラデーション */
.hero .hero__bg {
  background: linear-gradient(135deg, #587C94 0%, #3F5F73 100%);
}

/* 右: 大型ロゴ（低レイヤー） */
.hero__logo-layer {
  position: absolute;
  right: -12%;
  top: 50%;
  transform: translateY(-50%) scale(1.05);
  width: clamp(680px, 78vw, 1120px);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  animation: heroLogoReveal 2.2s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero__logo-layer img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* 左: テキストコンテナ（最前面） */
.hero__content {
  position: absolute;
  top: 50%;
  left: 0;
  width: 58%;
  transform: translateY(-50%);
  z-index: 3;
  padding-left: max(48px, calc((100vw - 1200px) / 2 + 48px));
  padding-right: 32px;
}

/* 共感コピー（小・グレー） */
.hero__emp {
  font-family: var(--font-ja);
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  font-weight: 400;
  color: #E0E6EB;
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  opacity: 0;
  animation: heroTextReveal 1.0s 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 解決コピー（大・白・Medium） */
.hero__sol {
  font-family: var(--font-ja);
  font-size: clamp(1.875rem, 3.2vw, 4rem);
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0 0 44px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  opacity: 0;
  animation: heroTextReveal 1.0s 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* CTA（旧グローバル7.1s遅延を上書き） */
.hero__content .hero__cta-group {
  margin-top: 0;
  opacity: 0;
  animation: heroTextReveal 0.9s 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Keyframes */
@keyframes heroLogoReveal {
  from { opacity: 0;    transform: translateY(-50%) scale(1.05); }
  to   { opacity: 0.10; transform: translateY(-50%) scale(1.00); }
}
@keyframes heroTextReveal {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* SP: ロゴ非表示、テキスト全幅 */
@media (max-width: 768px) {
  .hero__logo-layer { display: none; }
  .hero__content {
    left: 5%;
    width: 90%;
    padding-left: 0;
    padding-right: 0;
  }
  .hero__emp { font-size: clamp(0.875rem, 3.5vw, 1.05rem); }
  .hero__sol { font-size: clamp(1.5rem, 5.5vw, 2.25rem); margin-bottom: 28px; }
  .hero__content .hero__cta-group { justify-content: flex-start; }
}

/* ============================================================
   FV v5 — 大型タイポグラフィ × ロゴ重なり（RDr.スタイル）
   ============================================================ */

/* テキストコンテナ: 縦中央 */
.hero__content {
  position: absolute;
  top: 50%;
  left: 0;
  width: 60%;
  transform: translateY(-50%);
  z-index: 3;
  padding-left: max(48px, calc((100vw - 1200px) / 2 + 48px));
  padding-right: 24px;
}

/* 大型見出し: 1行ずつ縦に積む */
.hero__display {
  display: flex;
  flex-direction: column;
  margin: 0 0 28px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.hero__dl {
  display: block;
  font-family: var(--font-ja);
  font-size: clamp(2.5rem, 5.5vw, 7rem);
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 16px rgba(0,0,0,0.18);
  opacity: 0;
}
.hero__dl--1 { animation: heroTextReveal 1.0s 0.5s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero__dl--2 { animation: heroTextReveal 1.0s 0.9s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero__dl--3 { animation: heroTextReveal 1.0s 1.3s cubic-bezier(0.16,1,0.3,1) forwards; }

/* サブコピー */
.hero__sub-copy {
  font-family: var(--font-ja);
  font-size: clamp(0.75rem, 1.05vw, 0.9rem);
  font-weight: 400;
  color: rgba(255,255,255,0.48);
  line-height: 1.8;
  letter-spacing: 0.06em;
  margin: 0;
  opacity: 0;
  animation: heroTextReveal 0.9s 1.8s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* CTA */
.hero__content .hero__cta-group {
  margin-top: 32px;
  opacity: 0;
  animation: heroTextReveal 0.9s 2.2s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* ロゴ: 右寄せ・大型・テキスト領域に食い込む */
.hero__logo-layer {
  position: absolute;
  right: -14%;
  top: 50%;
  transform: translateY(-50%) scale(1.05);
  width: clamp(600px, 76vw, 1080px);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  animation: heroLogoReveal 2.2s 0.2s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero__logo-layer img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* SP */
@media (max-width: 768px) {
  .hero__logo-layer { display: none; }
  .hero__content {
    left: 5%;
    width: 90%;
    padding-left: 0;
    padding-right: 0;
  }
  .hero__dl { font-size: clamp(2rem, 8vw, 3.5rem); }
  .hero__content .hero__cta-group { justify-content: flex-start; }
}

/* ── 白背景セクション: テキストを濃く ────────────────────── */
.section--light .section-title--dark {
  color: var(--c-dark);
}
.section--light .body-text {
  color: rgba(42, 70, 87, 0.82);
}
.section--light .section-tag {
  color: var(--c-accent);
}

/* ── FAQ Q&A ────────────────────────────────────────────── */
.faq-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item__q,
.faq-item__a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.faq-item__badge {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.faq-item__badge--q {
  background: var(--c-accent);
  color: #fff;
}
.faq-item__badge--a {
  background: transparent;
  border: 1px solid rgba(63,95,115,0.25);
  color: var(--c-navy);
}
.faq-item__question {
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-dark);
  line-height: 1.7;
}
.faq-item__answer {
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  color: rgba(42,70,87,0.75);
  line-height: 1.9;
}

/* ── Founder section ─────────────────────────────────────── */
.founder-section { background: var(--c-navy); }
.founder-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}
.founder-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(63,95,115,0.08) 0%,
    rgba(63,95,115,0.0) 40%,
    rgba(42,70,87,0.35) 100%
  );
  pointer-events: none;
}
.founder-photo__placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(1.18) contrast(1.08) saturate(1.15);
}
.founder-name-block { text-align: center; }
.founder-name-en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.founder-name-ja {
  font-family: var(--font-ja);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 6px;
}
.founder-role {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
}
.founder-timeline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.founder-timeline__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 80px;
}
.founder-timeline__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.founder-timeline__icon svg {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.55);
}
.founder-timeline__item--accent .founder-timeline__icon {
  background: rgba(226,191,34,0.12);
  border-color: rgba(226,191,34,0.35);
}
.founder-timeline__item--accent .founder-timeline__icon svg {
  color: var(--c-accent);
}
.founder-timeline__body {
  text-align: center;
}
.founder-timeline__label {
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.founder-timeline__item--accent .founder-timeline__label {
  color: var(--c-accent);
}
.founder-timeline__text {
  font-family: var(--font-ja);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  text-align: center;
}
.founder-timeline__arrow {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  padding-bottom: 20px;
}
@media (max-width: 1100px) {
  .founder-timeline { gap: 4px; }
  .founder-timeline__text { font-size: 0.6875rem; }
}
.founder-career {
  font-family: var(--font-ja);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.founder-heading {
  font-family: var(--font-ja);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: #fff;
  margin: 16px 0 32px;
  line-height: 1.4;
}
.founder-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.founder-body p {
  font-family: var(--font-ja);
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  line-height: 2;
}
.founder-signature {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}
.founder-signature__role {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}
.founder-signature__name {
  font-family: var(--font-ja);
  font-size: 1.125rem;
  color: #fff;
  font-weight: 400;
}
@media (max-width: 900px) {
  .founder-inner { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { max-width: 260px; margin: 0 auto 24px; }
}

/* ══════════════════════════════════════════════════════════
   LOGO MARQUEE
   ══════════════════════════════════════════════════════════ */
.logo-marquee {
  overflow: hidden;
  padding: 48px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logo-marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: logoScroll 28s linear infinite;
}

.logo-marquee__track:hover {
  animation-play-state: paused;
}

.logo-marquee__item img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.7;
  filter: grayscale(20%);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
  display: block;
}

.logo-marquee__item img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
