/* =========================================================
   HiroshimAI サービスLP v6 — 「瀬戸内の光と、実務の手触り」
   トップ刷新カンプ（HP_TOP 01〜09）と研修LP素材セット v1 のデザイン言語：
   写真が主役／紺の中字見出し／字間の広い英字ラベル＋細い罫／ガラスのパネル／斜めの光の帯。
   色は :root に集約（パレットA）。グラデーションはCTA・罫・光の帯だけ。緑・ティール不使用。
   ========================================================= */
:root {
  /* 色（2026-09-30 整理）：ページの色は次の12色と、その透明度違いだけ。規則の中に色を直書きしない。
     透明度違いは rgb(var(--*-ch) / .xx) と書く（--*-ch は同じ色の R G B） */
  /* ブランド：青・紫・マゼンタ */
  --c1: #536dfa; --c1-ch: 83 109 250;
  --c2: #6b4bf2; --c2-ch: 107 75 242;
  --c3: #d11e9a; --c3-ch: 209 30 154;
  --grad: linear-gradient(90deg, var(--c1) 0%, var(--c2) 52%, var(--c3) 100%);
  --grad-d: linear-gradient(135deg, var(--c1) 0%, var(--c2) 52%, var(--c3) 100%);
  /* 地：白と淡い青の2色。淡い青はヒーロー動画の空（OKLCH 色相245°）から採り、
     その上のマゼンタの文字が 4.5:1 を保てる明るさにした（oklch(.978 .011 245)） */
  --white: #fff; --white-ch: 255 255 255;
  --sky: #f2f9ff; --sky-ch: 242 249 255;
  /* 紺：深い紺（研修の中身・フッター）と、少し明るい紺（最終CTA）の2段 */
  --navy: #0b1630; --navy-ch: 11 22 48;
  --navy-2: #13224a;
  /* 文字：見出し・本文・補足の3段。暗い地の上は白の不透明度で同じ3段 */
  --ink: #0f1a3a; --ink-ch: 15 26 58;
  --ink-2: #454e6b;
  --ink-3: #5c6383;
  --on-dark: var(--white);
  --on-dark-2: rgb(var(--white-ch) / .8);
  --on-dark-3: rgb(var(--white-ch) / .7);
  --numeral: rgb(var(--ink-ch) / .26);    /* 飾りの大きな数字（Method 01〜03・Flow 01〜04）：見出しの文字色の透明度違い */
  /* 罫線：淡い・区切りの2段。暗い地の上は白の不透明度で2段 */
  --mist: #e6ebf4;
  --mist-2: #cfd7e6;
  --line-dark: rgb(var(--white-ch) / .12);
  --line-dark-2: rgb(var(--white-ch) / .24);
  /* 強調の文字はブランドのマゼンタそのもの（旧 #c2178d は廃止） */
  --accent: var(--c3);
  --glass: rgb(var(--white-ch) / .74);

  --f-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-en: "Montserrat", "Noto Sans JP", system-ui, sans-serif;

  --gut: clamp(20px, 5vw, 80px);
  --max: 1200px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --hd-h: 76px;
  --r: 20px;
  --shadow: 0 1px 2px rgb(var(--ink-ch) / .04), 0 18px 40px -22px rgb(var(--ink-ch) / .28);
  --shadow-lg: 0 2px 6px rgb(var(--ink-ch) / .05), 0 40px 80px -36px rgb(var(--ink-ch) / .38);

  --fs-hero: clamp(32px, 4.5vw, 60px);
  --fs-display: clamp(26px, 3.2vw, 42px);
  --fs-h2: clamp(22px, 2.3vw, 30px);
  --fs-h3: clamp(17px, 1.5vw, 19px);
  --fs-lead: clamp(15px, 1.2vw, 16px);
  --fs-body: 15px;
  --fs-note: 12.5px;
  --fs-label: 11px;
  --label-gap: 22px;          /* 英字ラベルから見出しまでの間隔（全区画で同じ） */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-jp); font-size: var(--fs-body); color: var(--ink); background: var(--white);
  line-height: 1.9; letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-feature-settings: "palt"; word-break: auto-phrase;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--white); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 6px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }
.num { font-family: var(--f-en); font-variant-numeric: tabular-nums; letter-spacing: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.sec { position: relative; padding-block: clamp(80px, 11vw, 144px); }
.sec--sky { background: var(--sky); }
.sec--tight { padding-block: clamp(64px, 8vw, 104px); }

/* ---------- 共通の部品 ---------- */
.label {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--f-en); font-weight: 500; font-size: var(--fs-label); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); line-height: 1;
}
.label::after { content: ""; flex: none; width: 56px; height: 1.5px; background: var(--grad); }
.on-dark .label { color: var(--on-dark-2); }
.display { font-size: var(--fs-display); font-weight: 500; line-height: 1.5; letter-spacing: .04em; margin-top: var(--label-gap); }
.h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.55; letter-spacing: .04em; margin-top: var(--label-gap); }
.sub-h { font-size: 14px; font-weight: 500; color: var(--ink-3); margin-top: 14px; letter-spacing: .08em; }
.lead { color: var(--ink-2); font-size: var(--fs-lead); line-height: 2.05; margin-top: 20px; max-width: 40em; }
.on-dark .lead { color: var(--on-dark-2); }
.note { color: var(--ink-3); font-size: var(--fs-note); line-height: 1.85; }
.on-dark .note { color: var(--on-dark-3); }
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 56px; padding: 0 11px 0 30px; border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: .06em; line-height: 1.3;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.btn .ring { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgb(var(--white-ch) / .2); transition: transform .4s var(--ease); }
.btn .ring svg { width: 14px; height: 14px; }
.btn:hover .ring { transform: translateX(4px); }
.btn--primary { color: var(--white); background: var(--grad); box-shadow: 0 14px 30px -14px rgb(var(--c2-ch) / .8); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgb(var(--c3-ch) / .7); }
.btn--line { color: var(--ink); border: 1px solid rgb(var(--ink-ch) / .3); background: rgb(var(--white-ch) / .55); }
.btn--line .ring { border: 1px solid rgb(var(--ink-ch) / .22); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.on-dark .btn--line { color: var(--white); border-color: rgb(var(--white-ch) / .45); background: rgb(var(--white-ch) / .06); }
.on-dark .btn--line .ring { border-color: rgb(var(--white-ch) / .35); }
.on-dark .btn--line:hover { border-color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13.5px; }

/* 斜めの光の帯（カンプ09・トップ03由来） */
.prism { position: absolute; top: -12%; bottom: -12%; width: clamp(110px, 15vw, 240px); pointer-events: none; transform: skewX(-24deg); z-index: 1;
  background: linear-gradient(180deg, rgb(var(--c2-ch) / 0) 0%, rgb(var(--c2-ch) / .14) 45%, rgb(var(--c3-ch) / .06) 75%, rgb(var(--c3-ch) / 0) 100%),
              linear-gradient(180deg, rgb(var(--white-ch) / .5) 0%, rgb(var(--white-ch) / .3) 45%, rgb(var(--white-ch) / .15) 75%, rgb(var(--white-ch) / 0) 100%);
  border-left: 1px solid rgb(var(--white-ch) / .55); }

/* 縦の英字スタック（カンプの右上） */
.vstack { position: absolute; z-index: 3; padding-left: 18px; border-left: 1px solid currentColor; font-family: var(--f-en); font-size: 10px; letter-spacing: .26em; line-height: 2.2; text-transform: uppercase; }

/* ---------- 空の枠（素材待ち） ---------- */
.slot {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: 160px; padding: 24px; border-radius: var(--r); color: var(--ink-3);
  background: repeating-linear-gradient(135deg, rgb(var(--c1-ch) / .05) 0 1px, transparent 1px 12px), linear-gradient(180deg, var(--white), var(--sky));
  border: 1px dashed var(--mist-2);
}
.slot__in { max-width: 30em; display: grid; gap: 6px; justify-items: center; }
.slot__tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-en); font-size: 10px; font-weight: 600; letter-spacing: .22em; }
.slot__tag::before { content: ""; width: 14px; height: 14px; border-radius: 3px; border: 1.5px dashed currentColor; }
.slot__title { font-weight: 500; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.slot__desc { font-size: 12.5px; line-height: 1.8; }
.on-dark .slot { color: var(--on-dark-3); background: repeating-linear-gradient(135deg, rgb(var(--white-ch) / .06) 0 1px, transparent 1px 12px), rgb(var(--white-ch) / .03); border-color: var(--line-dark-2); }
.on-dark .slot__title { color: var(--on-dark); }
.slot--inline { min-height: 0; display: inline-flex; padding: 4px 12px; border-radius: 8px; vertical-align: baseline; }
.slot--inline .slot__title { font-size: 13px; }

.chk { position: relative; }
.review .chk { background: linear-gradient(transparent 62%, rgb(var(--c3-ch) / .18) 62%); border-radius: 2px; }
.review .on-dark .chk { background: linear-gradient(transparent 62%, rgb(var(--c3-ch) / .34) 62%); }
.chk__mark { display: none; }
.review .chk__mark {
  display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  font-family: var(--f-jp); font-size: 10px; font-weight: 700; letter-spacing: .06em; line-height: 1.6; vertical-align: middle;
  color: var(--white); background: var(--c3); -webkit-text-fill-color: var(--white); white-space: nowrap;
}
.review .slot { border-color: rgb(var(--c3-ch) / .6); }
.slot__no { display: none; }
.review .slot__no { display: grid; place-items: center; position: absolute; top: 10px; left: 10px; width: 24px; height: 24px; border-radius: 50%; font-family: var(--f-en); font-size: 11px; font-weight: 700; color: var(--white); background: var(--c3); }
.review .slot--inline .slot__no { position: static; width: 20px; height: 20px; margin-right: 8px; font-size: 10px; flex: none; }

/* ---------- header ---------- */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hd-h); color: var(--ink); transition: background-color .4s, box-shadow .4s, color .4s; }
.hd__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.hd__logo { display: flex; align-items: center; gap: 16px; flex: none; }
.hd__logo img { width: 138px; height: auto; }
.hd__logo .w { display: none; }
.hd__svc { font-size: 12.5px; padding-left: 16px; border-left: 1px solid currentColor; line-height: 1.2; white-space: nowrap; }
.hd__nav { display: flex; gap: 30px; margin-left: auto; }
.hd__nav a { font-size: 13px; letter-spacing: .06em; position: relative; padding-block: 8px; }
.hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.hd__nav a:hover::after { transform: scaleX(1); }
.hd .btn { flex: none; }
.hd.is-scrolled { background: rgb(var(--white-ch) / .88); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--mist); color: var(--ink); }
.hd--dark:not(.is-scrolled) { color: var(--white); }
.hd--dark:not(.is-scrolled) .hd__logo .b { display: none; }
.hd--dark:not(.is-scrolled) .hd__logo .w { display: block; }
@media (max-width: 1080px) { .hd__nav { display: none; } .hd .btn { margin-left: auto; } }
@media (max-width: 560px) { .hd__svc { display: none; } .hd__logo img { width: 118px; } }
@media (max-width: 420px) { .hd .btn { display: none; } }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 110; background: var(--grad); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(660px, 92vh, 880px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 32px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; z-index: -1; }
.hero--light { color: var(--ink); }
.hero--light .hero__veil { background: linear-gradient(90deg, rgb(var(--sky-ch) / .97) 0%, rgb(var(--sky-ch) / .9) 36%, rgb(var(--sky-ch) / .3) 60%, rgb(var(--sky-ch) / 0) 80%), linear-gradient(0deg, var(--sky) 0%, rgb(var(--sky-ch) / 0) 30%); }
.hero--dark { color: var(--white); }
.hero--dark .hero__veil { background: linear-gradient(90deg, rgb(var(--navy-ch) / .95) 0%, rgb(var(--navy-ch) / .84) 38%, rgb(var(--navy-ch) / .3) 68%, rgb(var(--navy-ch) / .12) 100%), linear-gradient(0deg, rgb(var(--navy-ch) / .95) 0%, rgb(var(--navy-ch) / 0) 42%); }
.hero .prism { left: 40%; }
.hero--dark .prism { mix-blend-mode: soft-light; opacity: .85; }
.hero__body { position: relative; z-index: 2; padding-top: calc(var(--hd-h) + clamp(40px, 6vw, 88px)); }
.crumb { display: flex; gap: 10px; font-size: 12px; opacity: .75; margin-bottom: 28px; flex-wrap: wrap; }
.crumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 6px 16px 6px 6px; border-radius: 999px; font-size: 12.5px; line-height: 1.5; background: rgb(var(--white-ch) / .72); border: 1px solid rgb(var(--white-ch) / .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); }
.badge i { font-style: normal; flex: none; font-size: 11px; color: var(--white); background: var(--ink); padding: 3px 10px; border-radius: 999px; letter-spacing: .08em; }
.hero h1 { font-size: var(--fs-hero); font-weight: 500; line-height: 1.4; letter-spacing: .05em; margin-top: 24px; }
.hero h1 .l { display: block; }
.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero--dark .gt { background-image: var(--grad); }
.hero__lead { margin-top: 24px; font-size: clamp(15px, 1.25vw, 16.5px); line-height: 2.1; max-width: 30em; color: var(--ink-2); }
.hero--dark .hero__lead { color: var(--on-dark-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .vstack { right: var(--gut); top: calc(var(--hd-h) + 56px); color: var(--ink-2); }
.hero--dark .vstack { color: var(--on-dark-2); }
@media (max-width: 900px) { .hero .vstack { display: none; } .hero .prism { left: 64%; } .hero--light .hero__veil { background: linear-gradient(0deg, var(--sky) 0%, rgb(var(--sky-ch) / .92) 55%, rgb(var(--sky-ch) / .55) 100%); } .hero--dark .hero__veil { background: linear-gradient(0deg, rgb(var(--navy-ch) / .96) 0%, rgb(var(--navy-ch) / .85) 55%, rgb(var(--navy-ch) / .55) 100%); } }

/* ヒーロー下端の概要バー（カンプ05のサービスタブ帯） */
.overview { position: relative; z-index: 3; margin-top: clamp(44px, 5vw, 72px); }
.overview dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--glass); backdrop-filter: saturate(1.3) blur(18px); -webkit-backdrop-filter: saturate(1.3) blur(18px); border: 1px solid rgb(var(--white-ch) / .95); border-radius: 22px; box-shadow: var(--shadow-lg); color: var(--ink); }
.overview dl.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.overview dl > div { padding: 20px 22px 18px; border-left: 1px solid var(--mist); display: grid; gap: 4px; align-content: start; }
.overview dl > div:first-child { border-left: 0; }
.overview dt { font-family: var(--f-en); font-size: 10px; letter-spacing: .24em; color: var(--ink-3); text-transform: uppercase; }
.overview dt span { font-family: var(--f-jp); letter-spacing: .06em; margin-left: 8px; }
.overview dd { font-size: 14px; line-height: 1.7; font-weight: 500; }
.overview dd small { display: block; font-weight: 400; font-size: 11.5px; color: var(--ink-3); line-height: 1.65; margin-top: 2px; }
.overview .big { font-family: var(--f-en); font-size: 1.75em; font-weight: 400; letter-spacing: -.01em; line-height: 1; margin-right: 2px; }
@media (max-width: 1000px) {
  .overview dl, .overview dl.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview dl > div { border-left: 0; border-top: 1px solid var(--mist); }
  .overview dl > div:nth-child(-n+2) { border-top: 0; }
  .overview dl > div:nth-child(2n) { border-left: 1px solid var(--mist); }
}
@media (max-width: 480px) {
  .overview dl, .overview dl.cols-4 { grid-template-columns: 1fr; }
  .overview dl > div, .overview dl > div:nth-child(2n) { border-left: 0; border-top: 1px solid var(--mist); }
  .overview dl > div:first-child { border-top: 0; }
}

/* ---------- SUMMARY ---------- */
.summary { display: grid; grid-template-columns: 240px 1fr; gap: 20px 64px; align-items: start; }
.summary p:not(.label) { font-size: 15px; line-height: 2.15; color: var(--ink-2); max-width: 52em; }
@media (max-width: 800px) { .summary { grid-template-columns: 1fr; } }

/* ---------- PROBLEM（行組み） ---------- */
.problem { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.problem__rows li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 20px; padding-block: 28px; border-top: 1px solid var(--mist-2); }
.problem__rows li:last-child { border-bottom: 1px solid var(--mist-2); }
.problem__rows .q { grid-row: span 2; width: 28px; height: 2px; margin-top: 16px; background: var(--grad); border-radius: 2px; }
.problem__rows h3 { font-size: clamp(18px, 1.7vw, 21px); font-weight: 500; line-height: 1.6; }
.problem__rows p { color: var(--ink-2); font-size: 14.5px; line-height: 2; }
@media (max-width: 900px) { .problem { grid-template-columns: 1fr; } }

/* ---------- METHOD（38/62） ---------- */
.method { display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.method__head { position: sticky; top: calc(var(--hd-h) + 40px); }
.method__photo { aspect-ratio: 16 / 9; }
.method__list { margin-top: 40px; }
.method__list li { display: grid; grid-template-columns: 92px 1fr; gap: 8px 24px; padding-block: 30px; border-top: 1px solid var(--mist-2); }
.method__list .n { grid-row: span 2; font-family: var(--f-en); font-size: 56px; font-weight: 300; line-height: .9; letter-spacing: -.02em; color: var(--numeral); }
.method__list h3 { font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; line-height: 1.55; }
.method__list p { font-size: 14.5px; color: var(--ink-2); line-height: 2; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 88px); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.steps li { position: relative; padding: 28px 32px 30px; }
.steps li + li { border-left: 1px solid var(--mist); }
.steps li + li::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; background: var(--white); border-top: 1px solid var(--mist-2); border-right: 1px solid var(--mist-2); transform: translateY(-50%) rotate(45deg); }
.steps b { font-family: var(--f-en); font-weight: 500; font-size: 10.5px; letter-spacing: .24em; color: var(--accent); }
.steps h3 { font-size: 20px; font-weight: 500; margin-top: 6px; }
.steps p { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.9; }
@media (max-width: 900px) { .method { grid-template-columns: 1fr; } .method__head { position: static; } }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } .steps li + li { border-left: 0; border-top: 1px solid var(--mist); } .steps li + li::before { display: none; } .method__list li { grid-template-columns: 60px 1fr; } .method__list .n { font-size: 40px; } }

/* ---------- FORMAT（対面×オンライン） ---------- */
.format { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 48px; }
.format__card { position: relative; min-height: 380px; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 40px); isolation: isolate; }
.format__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.format__card::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.format__card--dark { color: var(--white); }
.format__card--dark::before { background: linear-gradient(0deg, rgb(var(--navy-ch) / .9) 0%, rgb(var(--navy-ch) / .25) 60%, rgb(var(--navy-ch) / 0) 100%); }
.format__card--light::before { background: linear-gradient(0deg, rgb(var(--sky-ch) / .97) 0%, rgb(var(--sky-ch) / .55) 55%, rgb(var(--sky-ch) / 0) 100%); }
.format__card .en { font-family: var(--f-en); font-size: 10.5px; letter-spacing: .26em; }
.format__card h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; margin-top: 8px; line-height: 1.5; }
.format__card p { margin-top: 10px; font-size: 14px; line-height: 1.95; max-width: 28em; }
.format__card:hover > img { transform: scale(1.04); }
@media (max-width: 860px) { .format { grid-template-columns: 1fr; } .format__card { min-height: 300px; } }

/* ---------- 暗い帯 ---------- */
.dark { background: var(--navy); color: var(--on-dark); }
.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 100% 0%, rgb(var(--c1-ch) / .22), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgb(var(--c3-ch) / .14), transparent 70%); }
.dark > * { position: relative; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 64px; flex-wrap: wrap; }
.split-head .lead { max-width: 34em; margin-top: 0; }
.film { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; margin-top: 52px; }
.film__main { border-radius: var(--r); overflow: hidden; background: var(--navy); border: 1px solid var(--line-dark); }
.film__main video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy); }
.film__main figcaption { padding: 14px 18px; font-size: 12.5px; color: var(--on-dark-3); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); }
.film__side { display: grid; gap: 18px; grid-template-rows: 1fr 1fr; }
@media (max-width: 860px) { .film { grid-template-columns: 1fr; } .film__side { grid-template-rows: none; } }

/* ---------- PROGRAM ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid var(--mist-2); border-bottom: 1px solid var(--mist-2); }
.stats > div { padding: 32px 28px 30px; display: grid; gap: 8px; }
.stats > div + div { border-left: 1px solid var(--mist-2); }
.stats .v { font-family: var(--f-en); font-weight: 300; font-size: clamp(56px, 7vw, 104px); line-height: .95; letter-spacing: -.03em; }
.stats .u { font-family: var(--f-en); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.stats .t { font-size: 14px; font-weight: 500; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } .stats > div + div { border-left: 0; border-top: 1px solid var(--mist-2); } }

.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 56px; }
.cat { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 3 / 4; text-align: left; color: var(--white); isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(var(--navy-ch) / .92) 0%, rgb(var(--navy-ch) / .4) 55%, rgb(var(--navy-ch) / .15) 100%); transition: opacity .4s; }
.cat .ct { position: absolute; left: 16px; right: 12px; bottom: 14px; display: grid; gap: 2px; }
.cat .ct small { font-family: var(--f-en); font-size: 10px; letter-spacing: .18em; }
.cat .ct b { font-weight: 500; font-size: 15px; line-height: 1.45; }
.cat .ct i { font-style: normal; font-size: 11px; }
.cat:hover img { transform: scale(1.06); }
.cat[aria-selected="true"]::before { background: linear-gradient(0deg, rgb(var(--c2-ch) / .92) 0%, rgb(var(--c2-ch) / .5) 55%, rgb(var(--c3-ch) / .25) 100%); }
.cat[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cat { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.program-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px clamp(32px, 4vw, 64px); margin-top: 28px; align-items: start; }
.mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.mod { display: grid; grid-template-columns: 50px 1fr; gap: 2px 14px; padding-block: 18px; border-top: 1px solid var(--mist-2); }
.mod span { grid-row: span 2; font-family: var(--f-en); font-size: 12px; font-weight: 500; color: var(--accent); padding-top: 3px; letter-spacing: .06em; }
.mod h4 { font-size: 15px; font-weight: 500; line-height: 1.6; }
.mod p { font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.panel { animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.goal { padding: 26px 26px 24px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.goal p { margin-top: 10px; font-size: 14px; line-height: 2; color: var(--ink-2); }
.aside-stack { display: grid; gap: 14px; position: sticky; top: calc(var(--hd-h) + 32px); }
.aside-stack .slot { min-height: 140px; }
@media (max-width: 960px) { .program-body { grid-template-columns: 1fr; } .aside-stack { position: static; } }
@media (max-width: 620px) { .mods { grid-template-columns: 1fr; } }

/* ---------- OUTCOME（28/72・縦長パネル） ---------- */
.outcome { display: grid; grid-template-columns: minmax(0, 28fr) minmax(0, 72fr); gap: 44px clamp(32px, 5vw, 72px); align-items: start; }
.states { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.state .photo { aspect-ratio: 4 / 5; border-radius: 16px; }
.state .n { display: block; margin-top: 18px; font-family: var(--f-en); font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--accent); }
.state h3 { font-size: 20px; font-weight: 500; margin-top: 2px; }
.state p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; margin-top: 6px; }
@media (max-width: 1000px) { .outcome { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .states { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }

.deliver { position: relative; margin-top: clamp(56px, 7vw, 88px); border-radius: 28px; overflow: hidden; isolation: isolate; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: center; }
.deliver > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.deliver::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(var(--sky-ch) / .98) 0%, rgb(var(--sky-ch) / .88) 42%, rgb(var(--sky-ch) / .4) 100%); }
.deliver h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.55; margin-top: var(--label-gap); }
.deliver p:not(.label) { margin-top: 12px; font-size: 14px; color: var(--ink-2); line-height: 2; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgb(var(--white-ch) / .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--white); box-shadow: 0 8px 20px -14px rgb(var(--ink-ch) / .5); font-size: 13.5px; font-weight: 500; }
.chips li span { font-family: var(--f-en); font-size: 10.5px; font-weight: 600; color: var(--accent); letter-spacing: .06em; }
@media (max-width: 860px) { .deliver { grid-template-columns: 1fr; } .deliver::before { background: rgb(var(--sky-ch) / .9); } }
.voices { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .voices { grid-template-columns: 1fr; } }

/* ---------- CLIENTS（写真の上のガラス） ---------- */
.photo-bg { position: relative; overflow: hidden; isolation: isolate; }
.photo-bg > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(var(--sky-ch) / .97) 0%, rgb(var(--sky-ch) / .85) 40%, rgb(var(--sky-ch) / .6) 100%); }
.logos { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.logos li { display: grid; place-items: center; height: 92px; padding: 18px 22px; border-radius: 16px; background: rgb(var(--white-ch) / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--white); box-shadow: 0 10px 26px -20px rgb(var(--ink-ch) / .5); }
.logos img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- PRICE ---------- */
.price { margin-top: 52px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow-lg); overflow: hidden; }
.price__eq { display: grid; grid-template-columns: 1fr auto 1fr auto 1.25fr; }
.price__cell { padding: clamp(28px, 3.6vw, 48px) clamp(20px, 2.8vw, 40px); display: grid; align-content: center; gap: 10px; }
.price__cell dt { font-size: 13px; color: var(--ink-3); letter-spacing: .08em; }
.price__cell dd { font-family: var(--f-en); font-weight: 300; font-size: clamp(48px, 5.4vw, 78px); line-height: 1; letter-spacing: -.03em; }
.price__cell dd small { font-family: var(--f-jp); font-size: .26em; font-weight: 500; letter-spacing: .04em; margin-left: 6px; }
.price__cell .sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
.price__op { display: grid; place-items: center; font-family: var(--f-en); font-size: 32px; font-weight: 300; color: var(--ink-3); }
.price__cell--em { background: linear-gradient(160deg, rgb(var(--c2-ch) / .045) 0%, rgb(var(--c3-ch) / .035) 100%), var(--white); }
.price__cell--em dt { color: var(--accent); font-weight: 500; }
.price__cell--em dd .gt { font-weight: 400; }
.price__notes { padding: 24px clamp(20px, 3vw, 40px) 28px; border-top: 1px solid var(--mist); background: var(--sky); display: grid; gap: 8px; }
.price__notes p { font-size: 12.5px; color: var(--ink-2); line-height: 1.9; }
.price__notes strong { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .price__eq { grid-template-columns: 1fr; } .price__op { height: 24px; font-size: 24px; } .price__cell { padding-block: 22px; } }

/* ---------- PLANS（顧問） ---------- */
.plans { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: rgb(var(--white-ch) / .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--white); padding: 32px 28px 28px; box-shadow: var(--shadow-lg); }
.plan__id { font-family: var(--f-en); font-size: 10.5px; letter-spacing: .26em; color: var(--ink-3); }
.plan h3 { font-size: 22px; font-weight: 500; margin-top: 6px; }
.plan__price { margin-top: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--mist); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__price b { font-family: var(--f-en); font-size: clamp(38px, 3.6vw, 50px); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.plan__price span { font-size: 12.5px; color: var(--ink-3); }
.plan .slot { margin-top: 20px; flex: 1; min-height: 170px; border-radius: 14px; }
.plan .btn { margin-top: 20px; width: 100%; justify-content: space-between; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- SCOPE（顧問・写真付き） ---------- */
.scope { margin-top: 52px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.scope li { display: grid; gap: 14px; align-content: start; }
.scope .photo { aspect-ratio: 4 / 3; border-radius: 16px; }
.scope .photo img { transition: transform 1.2s var(--ease); }
.scope .n { font-family: var(--f-en); font-size: 12px; letter-spacing: .1em; color: var(--accent); font-weight: 500; }
.scope h3 { font-size: 17px; font-weight: 500; line-height: 1.55; }
.scope p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.scope li:hover .photo img { transform: scale(1.05); }
@media (max-width: 1000px) { .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
@media (max-width: 520px) { .scope { grid-template-columns: 1fr; } }
.bound { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--mist-2); border-bottom: 1px solid var(--mist-2); }
.bound > div { padding: 26px 28px 26px 0; }
.bound > div + div { padding-left: 28px; border-left: 1px solid var(--mist-2); }
.bound h3 { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.bound h3 svg { width: 18px; height: 18px; flex: none; }
.bound p { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.95; }
.bound .in h3 { color: var(--c2); }
.bound p a { border-bottom: 1px solid currentColor; }
@media (max-width: 760px) { .bound { grid-template-columns: 1fr; } .bound > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--mist-2); } }

/* ---------- 写真帯の上の工程（顧問） ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; color: var(--white); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(var(--navy-ch) / .92) 0%, rgb(var(--navy-ch) / .76) 50%, rgb(var(--navy-ch) / .55) 100%); }
.band .prism { right: 10%; mix-blend-mode: soft-light; opacity: .9; }
.loop { position: relative; z-index: 2; margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.loop li { position: relative; padding: 30px 24px 0 0; border-top: 1px solid var(--line-dark-2); }
.loop li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 5px rgb(var(--white-ch) / .15); }
.loop li:last-child::before { background: var(--c3); box-shadow: 0 0 0 5px rgb(var(--c3-ch) / .35); }
.loop .n { font-family: var(--f-en); font-weight: 300; font-size: 48px; line-height: 1; color: rgb(var(--white-ch) / .42); }
.loop h3 { margin-top: 14px; font-size: 19px; font-weight: 500; }
.loop p { margin-top: 6px; font-size: 13.5px; color: var(--on-dark-2); line-height: 1.9; }
@media (max-width: 860px) { .loop { grid-template-columns: 1fr 1fr; gap: 40px 0; } }
@media (max-width: 480px) { .loop { grid-template-columns: 1fr; } }

/* ---------- FLOW ---------- */
.flow { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: f; }
.flow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow li { counter-increment: f; position: relative; padding: 0 28px 0 0; }
.flow li::before { content: counter(f, decimal-leading-zero); display: block; font-family: var(--f-en); font-weight: 300; font-size: 44px; line-height: 1; color: var(--numeral); }
.flow li::after { content: ""; position: absolute; left: 78px; right: 28px; top: 22px; height: 1px; background: var(--mist-2); }
.flow li:last-child::after { display: none; }
.flow h3 { margin-top: 18px; font-size: 17px; font-weight: 500; line-height: 1.55; }
.flow p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.95; }
.flow-note { margin-top: 40px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); font-size: 14px; }
.flow-note svg { width: 22px; height: 22px; flex: none; color: var(--c3); }
.flow-note strong { font-weight: 500; }
@media (max-width: 960px) { .flow, .flow--3 { grid-template-columns: 1fr 1fr; gap: 40px 0; } .flow li::after { display: none; } }
@media (max-width: 560px) { .flow, .flow--3 { grid-template-columns: 1fr; } }

/* ---------- FAQ（左に見出し固定） ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--hd-h) + 40px); }
.faq { border-top: 1px solid var(--mist-2); }
.faq details { border-bottom: 1px solid var(--mist-2); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr 28px; gap: 12px; align-items: start; padding: 24px 4px; font-weight: 500; font-size: 15.5px; line-height: 1.75; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--f-en); font-weight: 300; font-size: 22px; line-height: 1.2; color: var(--accent); }
.faq summary i { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--mist-2); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 1px; background: var(--ink); transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq summary:hover { color: var(--c2); }
.faq .a { padding: 0 40px 26px 50px; color: var(--ink-2); font-size: 14.5px; line-height: 2.05; }
.faq-more { margin-top: 20px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > div:first-child { position: static; } .faq .a { padding: 0 8px 24px 50px; } }

/* ---------- 他のサービス（斜めの写真カード・カンプ01） ---------- */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; }
.svc a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 28px 20% 30px 15%; color: var(--white); isolation: isolate; clip-path: polygon(11% 0, 100% 0, 89% 100%, 0 100%); margin-right: -5%; }
.svc a:last-child { margin-right: 0; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.svc a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(var(--navy-ch) / .94) 0%, rgb(var(--navy-ch) / .45) 60%, rgb(var(--navy-ch) / .2) 100%); transition: opacity .4s; }
.svc a::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(0deg, rgb(var(--c2-ch) / .9) 0%, rgb(var(--c2-ch) / .4) 60%, rgb(var(--c3-ch) / .15) 100%); transition: opacity .4s; }
.svc a:hover img { transform: scale(1.06); }
.svc a:hover::after { opacity: 1; }
.svc .en { font-family: var(--f-en); font-size: 10.5px; letter-spacing: .24em; }
.svc h3 { font-size: 22px; font-weight: 500; margin-top: 6px; display: flex; align-items: center; gap: 12px; }
.svc h3 svg { width: 16px; height: 16px; flex: none; transition: transform .4s var(--ease); }
.svc a:hover h3 svg { transform: translateX(5px); }
.svc p { margin-top: 8px; font-size: 13px; line-height: 1.85; color: var(--on-dark-2); }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; gap: 12px; } .svc a { clip-path: none; margin: 0; border-radius: 20px; padding: 24px; min-height: 220px; } }

/* ---------- 最終CTA（夕景） ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; color: var(--white); padding-block: clamp(96px, 12vw, 160px); }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(var(--navy-ch) / .93) 0%, rgb(var(--navy-ch) / .76) 45%, rgb(var(--navy-ch) / .38) 100%); }
.cta .prism { left: 56%; mix-blend-mode: soft-light; }
.cta__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.cta h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 500; line-height: 1.5; letter-spacing: .05em; margin-top: var(--label-gap); }
.cta p:not(.label) { margin-top: 18px; max-width: 32em; color: var(--on-dark-2); line-height: 2.05; }
.cta__mail { margin-top: 18px; font-size: 13px; color: var(--on-dark-3); }
.cta__mail a { color: var(--on-dark); border-bottom: 1px solid rgb(var(--white-ch) / .45); }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ft { background: var(--navy); color: var(--on-dark-3); padding-block: 56px 36px; font-size: 12.5px; }
.ft__in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.ft__brand img { width: 156px; }
.ft__brand p { margin-top: 16px; line-height: 2; }
.ft__nav { display: flex; gap: 12px 28px; flex-wrap: wrap; max-width: 560px; }
.ft__nav a:hover { color: var(--on-dark); }
.ft__copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 11px; letter-spacing: .08em; }

/* ---------- モバイル追従CTA ---------- */
.mcta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; transform: translateY(140%); transition: transform .45s var(--ease); }
.mcta .btn { width: 100%; justify-content: space-between; box-shadow: 0 14px 40px -10px rgb(var(--ink-ch) / .5); }
.mcta.is-on { transform: none; }
@media (max-width: 720px) { .mcta { display: block; } }

/* ---------- 確認モードのパネル ---------- */
.rv-dock { position: fixed; right: 16px; bottom: 16px; z-index: 120; display: grid; justify-items: end; gap: 10px; font-size: 13px; }
.rv-btns { display: flex; gap: 8px; align-items: center; }
.rv-open { min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--white); color: var(--ink); border: 1px solid var(--mist-2); box-shadow: var(--shadow); font-weight: 500; font-size: 12.5px; }
.rv-open[aria-expanded="true"] { border-color: var(--ink); }
.rv-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--navy-2); color: var(--white); box-shadow: 0 12px 30px -10px rgb(var(--navy-ch) / .55); font-weight: 500; font-size: 12.5px; }
.rv-toggle .sw { width: 30px; height: 18px; border-radius: 999px; background: rgb(var(--white-ch) / .25); position: relative; transition: background .25s; flex: none; }
.rv-toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); transition: transform .25s var(--ease); }
.rv-toggle[aria-pressed="true"] .sw { background: var(--c3); }
.rv-toggle[aria-pressed="true"] .sw::after { transform: translateX(12px); }
.rv-toggle .cnt { font-family: var(--f-en); font-size: 11px; opacity: .75; }
.rv-list { width: min(360px, calc(100vw - 32px)); max-height: min(60vh, 520px); overflow: auto; background: var(--white); color: var(--ink); border-radius: 16px; border: 1px solid var(--mist); box-shadow: var(--shadow-lg); padding: 16px 16px 12px; }
.rv-list h2 { font-size: 12px; letter-spacing: .08em; color: var(--ink-3); font-weight: 500; }
.rv-list h2 + ol { margin-top: 8px; }
.rv-list ol + h2 { margin-top: 16px; }
.rv-list li a { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 8px 6px; border-radius: 8px; line-height: 1.6; font-size: 12.5px; }
.rv-list li a:hover { background: var(--sky); }
.rv-list li b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c3); color: var(--white); font-family: var(--f-en); font-size: 10.5px; }
.rv-list li b.q { background: var(--ink); }
.rv-list p { font-size: 11.5px; color: var(--ink-3); margin-top: 10px; line-height: 1.7; }
.flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: none; } 25% { box-shadow: 0 0 0 4px rgb(var(--c3-ch) / .45); } }
@media (max-width: 720px) { .rv-dock { bottom: 84px; right: 12px; } .rv-toggle .lbl-long { display: none; } }

/* ---------- 動き ----------
   最初の画面はそのまま見せる。画面外の要素だけ JS が .is-pending を付け、入ってきたら外す */
.hero [data-load] { animation: rise 1s var(--ease) both; }
.hero [data-load="2"] { animation-delay: .12s; }
.hero [data-load="3"] { animation-delay: .24s; }
.hero [data-load="4"] { animation-delay: .36s; }
.hero .prism { animation: sweep 1.8s var(--ease) both; }
.hero__bg img { animation: settle 2.6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { opacity: 0; translate: -140px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-pending { opacity: 0; transform: translateY(26px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal].is-pending { opacity: 1; transform: none; }
}
@media print {
  .hd, .mcta, .rv-dock, .progress { display: none !important; }
  [data-reveal].is-pending { opacity: 1 !important; transform: none !important; }
  .method__head, .aside-stack, .faq-grid > div:first-child { position: static; }
}

/* 暗いヒーローの上の概要バーは、暗いガラスにする */
.hero--dark .overview dl { background: rgb(var(--navy-ch) / .42); border-color: var(--line-dark-2); color: var(--white); box-shadow: 0 30px 60px -30px rgb(var(--navy-ch) / .6); }
.hero--dark .overview dl > div { border-color: var(--line-dark); }
.hero--dark .overview dt, .hero--dark .overview dd small { color: var(--on-dark-3); }
.badge { max-width: 100%; }
