/* =========================================================
   GLOBAL LIFE SERVICE — Apple ベンチマーク デザインシステム
   ベンチマーク: apple.com/jp/iphone-17-pro/
   ========================================================= */

:root {
  /* ブランド（ロゴの折り鶴グラデーションから抽出） */
  --blue-deep: #0f5ec9;
  --blue: #2a6cb5;
  --cyan: #16bcd4;
  --cyan-lt: #6fd8e8;
  --sky: #a7d4f7;
  --grad: linear-gradient(120deg, #0f5ec9 0%, #2a8fd0 45%, #16bcd4 100%);
  --grad-soft: linear-gradient(120deg, #e9f2fd 0%, #eefaff 100%);

  /* ニュートラル */
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --black: #000000;
  --white: #ffffff;
  --hair: rgba(0, 0, 0, 0.14);
  --hair-d: rgba(255, 255, 255, 0.18);

  /* レイアウト */
  --max: 1180px;
  --gut: 22px;
  --nav-h: 48px;
  --r: 18px;
  --r-lg: 28px;

  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro JP", "SF Pro Text",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic Medium", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- タイポグラフィ ---------- */

.display {
  font-size: clamp(38px, 7.6vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.display--hero {
  font-size: min(11.2vw, 12.6vh, 108px);
  line-height: 1.04;
}
.headline {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.subhead {
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 44ch;
}
.note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
}
.on-dark { color: var(--white); }
.on-dark .lede, .on-dark .note { color: rgba(255, 255, 255, 0.66); }
.on-dark .eyebrow { color: rgba(255, 255, 255, 0.5); }

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--fill { background: var(--grad); color: #fff; }
.btn--fill:hover { opacity: 0.86; }
.btn--line {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn--line:hover { background: rgba(255, 255, 255, 0.12); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { opacity: 0.84; }
.btn--sm { padding: 9px 18px; font-size: 14px; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  color: var(--blue-deep);
}
.link::after {
  content: "›";
  font-size: 1.15em;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.25s var(--ease);
}
.link:hover::after { transform: translate(3px, -1px); }
.on-dark .link { color: var(--cyan-lt); }

/* ---------- ヘッダー ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav__in {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gut);
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
}
.brand img { width: 26px; height: 26px; object-fit: contain; }
.brand span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #fff;
  white-space: nowrap;
}
.nav__links { display: flex; gap: 26px; align-items: center; }
.nav__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__cta { display: inline-flex; }

.burger {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.burger i {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 4px auto;
  background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav.is-open .burger i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.is-open .burger i:nth-child(2) { opacity: 0; }
.nav.is-open .burger i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 34px var(--gut) 60px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer .btn { margin-top: 26px; align-self: flex-start; }

/* ---------- セクション枠 ---------- */

.sec { padding: clamp(84px, 12vw, 148px) 0; }
.sec--dark { background: var(--black); color: #fff; }
.sec--alt { background: var(--bg-alt); }
.sec--tight { padding: clamp(56px, 7vw, 88px) 0; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.sec__head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.sec__head .lede { margin: 18px auto 0; text-align: center; }

/* ---------- ヒーロー ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  /* canvas が使えない環境でも同じ雰囲気になるベース */
  background: radial-gradient(80% 62% at 50% 44%, rgba(28, 124, 224, 0.5) 0%, rgba(16, 70, 150, 0.26) 40%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(52% 42% at 78% 20%, rgba(22, 188, 212, 0.26) 0%, rgba(0, 0, 0, 0) 100%),
    #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      46% 40% at 50% 46%,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    radial-gradient(
      120% 82% at 50% 44%,
      rgba(0, 0, 0, 0) 42%,
      rgba(0, 0, 0, 0.66) 100%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 22%),
    linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 16%);
  pointer-events: none;
}
.hero__in {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 40px) var(--gut) 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero__mark { width: clamp(58px, 8vw, 82px); opacity: 0.95; }
.hero__brand { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__ls { height: clamp(24px, 3.3vw, 30px); width: auto; opacity: 0.85; }
.hero .display--hero {
  background: linear-gradient(180deg, #ffffff 40%, #cfe9f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { color: rgba(255, 255, 255, 0.74); text-align: center; max-width: 34ch; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
/* ヒーロー：写真版（案B / 案C） */
.hero--photo { background: #000; }
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04) brightness(0.9);
}
.hero--photo .hero__canvas { opacity: 0.5; mix-blend-mode: screen; }
.hero--photo::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.24) 30%, rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.88) 100%),
    radial-gradient(64% 52% at 50% 46%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}
.hero--photo .display--hero {
  background: none;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
}
.hero--photo .lede { color: rgba(255, 255, 255, 0.86); }
.hero__credit {
  position: absolute;
  right: var(--gut);
  bottom: 22px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue i {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- ハイライト（横スクロール） ---------- */

.rail__head {
  max-width: var(--max);
  margin: 0 auto clamp(26px, 3vw, 40px);
  padding: 0 var(--gut);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px calc(max(var(--gut), (100vw - var(--max)) / 2 + var(--gut))) 30px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.card {
  position: relative;
  flex: 0 0 clamp(258px, 30vw, 330px);
  aspect-ratio: 3 / 4.35;
  border-radius: var(--r-lg);
  overflow: hidden;
  scroll-snap-align: center;
  background: #111;
  isolation: isolate;
  transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); }
.card__media,
.card__media video,
.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.06) 42%,
    rgba(0, 0, 0, 0.72) 100%
  );
}
.card__body {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.card__title {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.24;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.card__more {
  margin-top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  transition: background-color 0.25s var(--ease);
}
.card:hover .card__more { background: rgba(255, 255, 255, 0.4); }

/* ---------- 現場から（フォトバンド） ---------- */

.rail--photo { align-items: flex-start; }
.shot {
  flex: 0 0 clamp(232px, 25vw, 306px);
  margin: 0;
  scroll-snap-align: center;
}
.shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r);
  background: #111;
}
.shot--wide { flex-basis: clamp(300px, 38vw, 460px); }
.shot--wide img { aspect-ratio: 4 / 3; }
.shot figcaption {
  margin-top: 13px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- チャプター（事業） ---------- */

.chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
}
.chapter--flip .chapter__media { order: -1; }
.chapter__no {
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.chapter__text > * + * { margin-top: 18px; }
/* 2カラムの列幅に収まるよう、章見出しはヒーローより一段小さく */
.chapter .display { font-size: clamp(30px, 4vw, 50px); }
.chapter__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
  background: #0b1119;
}
.chapter__media img,
.chapter__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 業種・課題カード ---------- */

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.biz-card {
  background: var(--bg-alt);
  border-radius: var(--r);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(16, 29, 41, 0.1);
}
.biz-card__media {
  margin: -28px -24px 4px;
  aspect-ratio: 4 / 3;
  background: #111;
}
.biz-card__media img { width: 100%; height: 100%; object-fit: cover; }
.biz-card__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 16px;
}
.biz-card__level { font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em; }
.biz-card__copy { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; flex: 1; }
.biz-card__more { font-size: 13px; font-weight: 600; color: var(--blue-deep); margin-top: 6px; }

.lvl-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 28px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}
.lvl-legend__item { font-size: 13.5px; line-height: 1.65; }
.lvl-legend__item b {
  display: inline-block;
  min-width: 58px;
  font-weight: 700;
  color: var(--blue-deep);
}
.lvl-legend__item span { color: var(--ink-2); }

/* ---------- PROBLEMS ---------- */

.prob-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.prob-card {
  border-radius: var(--r);
  background: #101014;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prob-card--accent { box-shadow: inset 0 0 0 1px rgba(111, 216, 232, 0.35); }
.prob-card h3 { font-size: 16px; line-height: 1.5; font-weight: 700; letter-spacing: -0.01em; }
.prob-card p { font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.62); }
.prob-bottom {
  margin-top: clamp(36px, 5vw, 56px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.prob-bottom .lede { max-width: 46ch; }

/* ---------- PROGRAMS ---------- */

.prog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.prog-card {
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.prog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
}
.prog-card__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue-deep);
  background: var(--grad-soft);
  border-radius: 999px;
  padding: 5px 12px;
}
.prog-card__title { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; }
.prog-card__desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }
.prog-card__target { font-size: 13px; color: var(--ink-3); line-height: 1.65; }
.prog-card__level {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  padding-top: 10px;
  border-top: 1px solid var(--hair);
}
.prog-card .link { margin-top: 2px; }

/* ---------- 代表メッセージ 本文 ---------- */

.message__text > * + * { margin-top: 14px; }

/* ---------- 言語切替（/partners） ---------- */

.lang-tabs { display: flex; gap: 8px; justify-content: center; }
.lang-tabs button {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.lang-tabs button.is-on { background: #fff; border-color: #fff; color: var(--ink); }

/* ヒーロー内の言語パネルは、hero__in と同じ縦積みリズムを引き継ぐ */
.hero .lang-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero .lang-panel[hidden] { display: none; }

/* ---------- 明色版のカード（/partners 用） ---------- */

.prob-card--light { background: var(--bg-alt); }
.prob-card--light h3 { color: var(--ink); }
.prob-card--light p { color: var(--ink-2); }

/* ---------- 3カラム/4カラムのグリッド（/partners 用） ---------- */

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-step { padding: 22px 0 0; border-top: 1px solid var(--hair); }
.flow-step__no {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.flow-step__t { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.flow-step__d { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }

/* ---------- スペック帯 ---------- */

.specs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--hair-d);
}
.spec {
  padding: clamp(26px, 3vw, 40px) 18px;
  border-bottom: 1px solid var(--hair-d);
  border-right: 1px solid var(--hair-d);
  text-align: center;
}
.spec:nth-child(5n) { border-right: 0; }
.spec b {
  display: block;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  background: linear-gradient(180deg, #ffffff, #9fd0f5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.spec small {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

/* ---------- レベル インタラクティブ ---------- */

.levels { max-width: 820px; margin: 0 auto; text-align: center; }
.levels__tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.levels__tab {
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.levels__tab:hover { border-color: var(--ink-3); color: var(--ink); }
.levels__tab.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.levels__stage {
  border-radius: var(--r-lg);
  background: var(--grad-soft);
  padding: clamp(34px, 5vw, 62px) clamp(22px, 4vw, 54px);
  min-height: 260px;
  display: grid;
  place-content: center;
  gap: 16px;
}
.levels__ja {
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.levels__ruby { font-size: 13px; color: var(--ink-3); letter-spacing: 0.08em; }
.levels__desc { font-size: 15.5px; color: var(--ink-2); line-height: 1.7; }
.levels__fade { animation: fadeUp 0.5s var(--ease) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 声 ---------- */

.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quote {
  border-radius: var(--r);
  background: var(--bg-alt);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote p { font-size: 15px; line-height: 1.75; letter-spacing: 0.005em; }
.quote footer { font-size: 12.5px; color: var(--ink-3); margin-top: auto; }
.quote__flag { font-size: 24px; line-height: 1; }

/* ---------- 代表メッセージ ---------- */

.message { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.message img { border-radius: var(--r-lg); width: 100%; }
.message__q {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

/* ---------- CTA ---------- */

.cta { text-align: center; background: var(--grad); color: #fff; }
.cta .lede { color: rgba(255, 255, 255, 0.85); margin: 20px auto 0; text-align: center; }
.cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cta .btn--fill { background: #fff; color: var(--blue-deep); }

/* ---------- お問い合わせフォーム ---------- */

.form { max-width: 560px; margin: 34px auto 0; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__field { margin-bottom: 14px; }
.form__field--full { grid-column: 1 / -1; }
.form__label { display: block; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.85); margin-bottom: 6px; }
.form__label .req { color: var(--cyan-lt); margin-left: 4px; font-size: 11px; }
.form__input, .form__textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.form__input::placeholder, .form__textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.form__input:focus, .form__textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.18);
}
.form__textarea { min-height: 120px; resize: vertical; }
select.form__input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='rgba(255,255,255,0.7)'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='rgba(255,255,255,0.7)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
select.form__input option { color: #1d1d1f; }
.form__success {
  max-width: 560px;
  margin: 34px auto 0;
  padding: 48px 28px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}
.form__success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-deep);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form__success h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.form__success p { font-size: 14px; color: rgba(255, 255, 255, 0.85); margin: 0; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; width: 100%; justify-content: center; margin-top: 8px; border: none; cursor: pointer; }
.form__note { font-size: 12px; color: rgba(255, 255, 255, 0.6); margin-top: 14px; text-align: center; }
.form__error {
  max-width: 560px;
  margin: 0 auto 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 13.5px;
  text-align: center;
}
@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- フッター ---------- */

.foot { background: var(--bg-alt); padding: 56px 0 40px; font-size: 12.5px; color: var(--ink-2); }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; padding-bottom: 32px; border-bottom: 1px solid var(--hair); }
.foot__grid h4 { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.foot__grid li { margin-bottom: 7px; }
.foot__grid a:hover { color: var(--ink); text-decoration: underline; }
.foot__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot__brand img { width: 34px; height: 34px; object-fit: contain; }
.foot__brand span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.foot__end { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- スクロール演出 ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.d1.is-in { transition-delay: 0.08s; }
.js .reveal.d2.is-in { transition-delay: 0.16s; }
.js .reveal.d3.is-in { transition-delay: 0.24s; }

/* ---------- レスポンシブ ---------- */

@media (max-width: 1000px) {
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: repeat(3, 1fr); }
  .spec:nth-child(5n) { border-right: 1px solid var(--hair-d); }
  .spec:nth-child(3n) { border-right: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .lvl-legend { grid-template-columns: repeat(2, 1fr); }
  .prob-grid { grid-template-columns: repeat(2, 1fr); }
  .path-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .chapter { grid-template-columns: 1fr; }
  .chapter--flip .chapter__media { order: 0; }
  .chapter__media { aspect-ratio: 4 / 3.2; }
  .message { grid-template-columns: 1fr; text-align: left; }
  .message img { max-width: 200px; }
  .rail { scroll-snap-type: x proximity; }
  .display--hero { font-size: min(14vw, 11vh, 76px); }
  .prog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(3n) { border-right: 1px solid var(--hair-d); }
  .spec:nth-child(2n) { border-right: 0; }
  .spec:last-child { grid-column: 1 / -1; border-right: 0; }
  .quotes { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .card { flex-basis: 76vw; }
  .biz-grid { grid-template-columns: 1fr; }
  .lvl-legend { grid-template-columns: 1fr 1fr; }
  .prob-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* 案C：被写体の顔を避けてコピーを上寄せにする */
.hero--top { align-items: flex-start; }
.hero--top .hero__in { padding-top: calc(var(--nav-h) + 26px); }
