/* Kenshin Aoki r3 — 設計の芯は ../DESIGN.md。値を足すときはトークンから選ぶ。
   ★触ったら: python3 checks/check_site.py と checks/shoot.py を回す（数字・色の濃さ・横はみ出し）。 */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --bg-dark: #05070d;
  --bg-see: rgb(245 246 248 / .62);   /* 薄灰の章の地。奥に浮かぶ球が少しだけ透ける（2026-10-03）。
                                        足もと（.footer）は右端に文字があり右端の球の通り道と重なる→透かさない（透かすと © の行が 2.96:1） */
  --ink: #0b1220;
  --ink-2: #4b5565;
  --ink-dark-2: #a9b3c4;
  --blue: #1d5cff;
  --blue-hover: #1549dc;
  --blue-on-dark: #5b8bff;
  --orange: #ff7a1a;
  --orange-text: #c2410c;
  --orange-on-dark: #ff8a33;
  --green: #15a05a;
  --green-text: #15803d;
  --gray: #c9d0db;
  --line: rgb(11 18 32 / .1);

  --r-lg: 28px;
  --r-md: 18px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);

  --font: "Google Sans Flex", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  --font-latin: "Google Sans Flex", "Hiragino Sans", system-ui, sans-serif;

  --fs-hero: clamp(2.25rem, 1.15rem + 4.1vw, 5rem);
  --fs-display: clamp(2rem, 1.1rem + 3.6vw, 4.25rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem);
  --fs-h3: clamp(1.1875rem, 1.05rem + .6vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(104px, 13vw, 200px);
  --nav-h: 60px;

  --z-bg: -1;        /* 白い章の奥に浮かぶ球の層（一番下） */
  --z-orb: 1;
  --z-content: 2;
  --z-float: 40;
  --z-nav: 50;
  --z-cursor: 60;

  interpolate-size: allow-keywords;
}

*, *::before, *::after { 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: var(--font);
  font-size: var(--fs-body);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-break: strict;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .02em;
  text-wrap: balance;
  word-break: auto-phrase;
}
h1, h2 { font-feature-settings: "palt"; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.nw { display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
[data-tone="dark"] :focus-visible, [data-tone="blue"] :focus-visible { outline-color: #fff; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: calc(var(--z-nav) + 1);
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus-visible { transform: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: .03em; line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: transform .6s var(--ease-out), background-color .3s, box-shadow .6s var(--ease-out), color .3s;
}
.btn small { font-size: .78rem; font-weight: 500; letter-spacing: .02em; }
/* 補足（無料・オンライン30分など）があるボタンは、見出しの下に小さく2段で（1つのピルに横並びで詰め込まない） */
.btn:has(> small) { flex-direction: column; gap: 2px; padding-block: 10px; line-height: 1.25; }
.btn:has(> small) small { font-size: .72rem; letter-spacing: .06em; opacity: .84; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 1.0625rem; }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: .875rem; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgb(29 92 255 / .6); }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px rgb(29 92 255 / .38); }
.btn-ghost:hover { background: rgb(29 92 255 / .06); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.link {
  display: inline-flex; align-items: center; gap: .4em; color: var(--blue); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link::after { content: "→"; transition: transform .5s var(--ease-out); }
.link:hover { background-size: 100% 1.5px; }
.link:hover::after { transform: translateX(4px); }

.role { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .6em; vertical-align: .12em; }
.role.b { background: var(--blue); }
.role.o { background: var(--orange); }
.role.gr { background: var(--green); }

/* ---------- 上の帯 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  height: var(--nav-h); padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 28px;
  background: rgb(255 255 255 / .8);
  -webkit-backdrop-filter: saturate(1.8) blur(18px);
  backdrop-filter: saturate(1.8) blur(18px);
  box-shadow: 0 1px 0 rgb(11 18 32 / .06);
  transition: background-color .45s, color .45s, box-shadow .45s;
}
.nav-brand { font-family: var(--font-latin); font-weight: 600; font-size: 1.1875rem; letter-spacing: -.01em; text-decoration: none; margin-right: auto; }
.nav-links { display: flex; gap: 6px; font-size: .875rem; }
.nav-links a { padding: 6px 12px; border-radius: 99px; text-decoration: none; color: var(--ink-2); transition: color .3s, background-color .3s; }
.nav-links a:not([aria-current]):hover { background: rgb(11 18 32 / .04); }
.nav-links a:hover { color: var(--ink); }
.nav[data-tone="blue"] { background: rgb(29 92 255 / .86); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .14); }
.nav[data-tone="dark"] { background: rgb(5 7 13 / .74); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .08); }
.nav[data-tone="blue"] .nav-links a, .nav[data-tone="dark"] .nav-links a { color: #fff; }
.nav[data-tone="blue"] .nav-cta { background: #fff; color: var(--blue); }
/* 3つの別ページの色の帯（AI＝青／SNS＝橙／eスポーツ＝緑。色は pages.css の --pc-band） */
.nav[data-tone="band"] { background: color-mix(in srgb, var(--pc-band, var(--blue)) 88%, transparent); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .14); }
.nav[data-tone="band"] .nav-links a { color: #fff; }
.nav[data-tone="band"] .nav-cta { background: #fff; color: var(--pc-text, var(--blue)); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; background: rgb(11 18 32 / .07); }
.nav:is([data-tone="blue"], [data-tone="dark"], [data-tone="band"]) .nav-links a[aria-current="page"] { background: rgb(255 255 255 / .18); }
.nav-menu { display: none; position: relative; flex: none; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.nav-menu i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.nav-menu i:nth-of-type(1) { top: 18px; }
.nav-menu i:nth-of-type(2) { top: 25px; }
.nav-menu[aria-expanded="true"] i { top: 21.5px; }
.nav-menu[aria-expanded="true"] i:nth-of-type(1) { transform: rotate(45deg); }
.nav-menu[aria-expanded="true"] i:nth-of-type(2) { transform: rotate(-45deg); }
.menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: calc(var(--z-nav) - 1); overflow: auto;
  padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; transform: translateY(-10px); transition: opacity .35s var(--ease-out), transform .6s var(--ease-out);
}
.menu.is-open { opacity: 1; transform: none; }
.menu[hidden] { display: none; }
.menu nav { max-width: 520px; margin: 0 auto; display: grid; }
.menu a:not(.btn) { display: flex; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.1875rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.menu a[aria-current="page"] { color: var(--pc-text, var(--blue)); }
.menu .btn { margin-top: 28px; }
/* ★ページのスクロールは止めない（html に overflow:hidden を掛けると、なめらかスクロールの途中で画面ごとずれる。2026-09-28 撮影で確認）。
   メニューは画面の下まで覆うので、後ろが動いても見えない。メニュー自体のスクロールが後ろへ伝わらないようにだけする。 */
.menu { overscroll-behavior: contain; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav { gap: 12px; }
  .nav-menu { display: block; }
}
@media (min-width: 861px) { .menu { display: none !important; } }

/* ---------- 共通の見出し ---------- */
.sec-head { max-width: var(--wrap); margin: 0 auto clamp(40px, 5vw, 64px); }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head p { margin-top: 18px; font-size: var(--fs-lead); color: var(--ink-2); max-width: 34em; }
.sec-head.is-center { text-align: center; }
.sec-head.is-center p { margin-inline: auto; }
main > section:not(.hero), .footer { position: relative; z-index: var(--z-content); }

/* ---------- 1 扉 ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 88px;
  overflow: clip;
  background: transparent;
}
.hero-inner {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center;
  gap: clamp(24px, 4vw, 72px);
}
.hero-kicker { font-size: .9375rem; font-weight: 600; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 14px; }
.hero-name {
  font-family: var(--font-latin); font-weight: 600; letter-spacing: -.01em; line-height: 1.1;
  font-size: clamp(2.25rem, 1.2rem + 2.9vw, 3.9rem); color: var(--blue); margin-bottom: 12px;
}
.hero-name .ch { display: inline-block; }
.hero-title { font-size: var(--fs-hero); line-height: 1.2; letter-spacing: .01em; margin-bottom: 28px; }
.hero-title .line { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 30em; margin-bottom: 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; width: min(100%, 620px, 74svh); aspect-ratio: 1; justify-self: center; transition: translate 1.4s var(--ease-out); }
.hero-float { width: 100%; height: 100%; animation: float 7s ease-in-out infinite; }
.hero-sphere {
  width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;
  transform-origin: var(--ox, 50%) var(--oy, 47%);
  will-change: transform, opacity;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .75rem; letter-spacing: .2em; color: var(--ink-2);
}
.hero-scroll span { width: 1.5px; height: 36px; background: linear-gradient(var(--ink-2) 50%, transparent 50%) 0 0 / 100% 200%; animation: drip 2.2s var(--ease-out) infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes drip { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

.js .hero-kicker { animation: fadeUp 1s var(--ease-out) .1s both; }
.js .hero-name .ch { animation: chIn 1s var(--ease-out) both; animation-delay: calc(.18s + var(--i) * 42ms); }
.js .hero-name.glint .ch { animation: glint 1.3s var(--ease-out) both; animation-delay: calc(var(--i) * 55ms); }
.js .hero-title .line > span { animation: rise 1.15s var(--ease-out) both; }
.js .hero-title .line:nth-child(1) > span { animation-delay: .42s; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .54s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: .66s; }
.js .hero-lead { animation: fadeUp 1s var(--ease-out) .82s both; }
.js .hero-cta { animation: fadeUp 1s var(--ease-out) .96s both; }
.js .hero-visual { animation: sphereIn 1.6s var(--ease-out) .05s both; }
.js .hero-scroll { animation: fade 1s var(--ease-out) 1.4s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(108%); } }
@keyframes chIn { from { opacity: 0; transform: translateY(.45em); filter: blur(8px); } }
@keyframes glint { 0% { color: var(--blue); } 35% { color: #7fa4ff; text-shadow: 0 0 22px rgb(29 92 255 / .55); } 100% { color: var(--blue); text-shadow: none; } }
@keyframes sphereIn { from { opacity: 0; transform: scale(.88); filter: blur(14px); } }

@media (max-width: 860px) {
  .hero { align-items: start; padding-top: calc(var(--nav-h) + 16px); padding-bottom: 96px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { order: -1; width: min(62vw, 340px); justify-self: end; margin-right: -4vw; margin-bottom: -18px; }
  .br-wide { display: none; }
}
@media (max-width: 480px) {
  .hero-cta .btn { width: 100%; }
}

/* 球が育って画面を満たす層（位置と大きさは main.js が毎フレーム入れる） */
.orb {
  position: fixed; inset: 0; z-index: var(--z-orb); pointer-events: none;
  opacity: 0; visibility: hidden;
  --cx: 50vw; --cy: 50vh; --r: 0px; --hl: .5; --sh: .35; --g: 1;
  clip-path: circle(var(--r) at var(--cx) var(--cy));
  background:
    radial-gradient(circle calc(var(--r) * .2) at calc(var(--cx) - var(--r) * .44) calc(var(--cy) - var(--r) * .48), rgb(255 255 255 / calc(var(--hl) * 1.4)), rgb(255 255 255 / 0)),
    radial-gradient(circle var(--r) at var(--cx) var(--cy), rgb(150 185 255 / 0) 86%, rgb(150 185 255 / calc(var(--hl) * .9)) 97%, rgb(150 185 255 / 0) 100%),
    radial-gradient(circle calc(var(--r) * 1.05) at calc(var(--cx) - var(--r) * .34) calc(var(--cy) - var(--r) * .4), rgb(255 255 255 / var(--hl)), rgb(255 255 255 / 0) 55%),
    radial-gradient(circle var(--r) at var(--cx) var(--cy), rgb(4 18 96 / 0) 70%, rgb(4 18 96 / var(--sh)) 100%),
    color-mix(in srgb, var(--blue) calc(var(--g) * 100%), #1233d4);
}

/* ---------- 2 青の一文 ---------- */
.statement { background: var(--blue); color: #fff; }
.statement-stage { display: grid; place-items: center; padding: var(--section) var(--gutter); }
.motion .statement { height: 230vh; }
.motion .statement-stage { position: sticky; top: 0; height: 100svh; padding-block: 0; }
.statement-body { max-width: 980px; text-align: center; }
.statement-text { font-size: var(--fs-display); line-height: 1.34; letter-spacing: .02em; }
.statement-text span { display: inline-block; transition: opacity .25s linear; }
.statement-sub { margin: 40px auto 0; max-width: 30em; font-size: var(--fs-lead); line-height: 1.9; }

/* ---------- 2 実績の数字（HOME・2026-09-28 c で「青の一文」から置き換え）：数字が1つずつ灯る（main.js の statementUpdate） ---------- */
.stats-title { margin-bottom: clamp(28px, 4vw, 52px); font-size: var(--fs-h3); font-weight: 700; letter-spacing: .1em; }
.statement-text.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 44px); line-height: 1.2; }
.statement-text .stat { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stat b { font: 600 clamp(2.25rem, 1.2rem + 3.2vw, 4.25rem)/1 var(--font-latin); letter-spacing: -.03em; white-space: nowrap; }
.is-stats .statement-body { max-width: var(--wrap); width: 100%; }
.stat small { font-size: clamp(.875rem, .8rem + .3vw, 1.0625rem); font-weight: 600; line-height: 1.6; letter-spacing: .02em; }
.is-stats .statement-sub { margin-top: clamp(40px, 5vw, 64px); }
/* 動く人だけ：1つずつ画面いっぱいに（main.js の statsUpdate が is-beat / is-on を付ける） */
.motion .statement.is-stats { height: 310vh; }
.motion .is-stats .stats.is-beat { grid-template-columns: 1fr; grid-template-areas: "s"; }
.motion .is-stats .stats.is-beat .stat {
  grid-area: s; opacity: 0; transform: translateY(44px) scale(.94); filter: blur(12px);
  transition: opacity .6s var(--ease-out), transform 1.1s var(--ease-out), filter .9s var(--ease-out);
}
.motion .is-stats .stats.is-beat .stat.is-on { opacity: 1; transform: none; filter: none; }
.motion .is-stats .stat b { transition: font-size .9s var(--ease-out); }
.motion .is-stats .stats.is-beat .stat b { font-size: clamp(4.5rem, 2.4rem + 9.5vw, 11rem); }
.motion .is-stats .stats.is-beat .stat small { font-size: var(--fs-h3); }
.stat b span { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .statement-text.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; }
}

/* ---------- 2-2 主な実績（HOME・青い章の続き）：どの会社に何をしたかのカードを横に送る ---------- */
.works { background: var(--blue); color: #fff; padding: clamp(8px, 2vw, 24px) 0 var(--section); overflow-x: clip; }
.works > .sec-head { margin-inline: auto; padding-inline: var(--gutter); max-width: calc(var(--wrap) + var(--gutter) * 2); }
.works .sec-head h2 { font-size: var(--fs-h2); }
.works .sec-head p { color: rgb(255 255 255 / .88); }
.works-track {
  list-style: none; margin: 0; display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 28px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.works-track::-webkit-scrollbar { display: none; }
.work {
  flex: 0 0 clamp(282px, 30vw, 372px); scroll-snap-align: start; display: flex; flex-direction: column;
  padding: 14px 14px 26px; border-radius: var(--r-lg); background: #fff; color: var(--ink);
  box-shadow: 0 30px 60px -34px rgb(4 18 96 / .55); transition: transform .9s var(--ease-out);
}
.work:hover { transform: translateY(-6px); }
.work img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); mix-blend-mode: multiply; }
.work-num { display: flex; align-items: baseline; justify-content: center; gap: .12em; aspect-ratio: 3 / 2; padding-top: 18%; border-radius: var(--r-md); background: var(--bg-alt); color: var(--blue); font: 600 clamp(3.5rem, 2.6rem + 3vw, 5rem)/1 var(--font-latin); letter-spacing: -.03em; }
.work-num small { font-family: var(--font); font-size: .3em; font-weight: 700; letter-spacing: .02em; color: var(--ink); }
.work.is-gr .work-num { color: var(--green-text); background: #edf8f1; }
.work-tag { margin: 18px 10px 0; font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
.work h3 { margin: 6px 10px 0; font-size: var(--fs-h3); line-height: 1.45; }
.work-what { margin: 10px 10px 0; font-size: .9375rem; line-height: 1.8; color: var(--ink-2); }
.work .link { align-self: flex-start; margin: auto 10px 0; padding-top: 18px; font-size: .9375rem; }
.works .round { background: #fff; }
/* 広い画面：章を画面に留め、縦スクロールでカードの列を横へ（main.js が高さと位置を入れる） */
.works.is-pin { padding: 0; }
.works.is-pin .works-pin { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 20px) 0 32px; }
.works.is-pin .works-track { overflow: visible; scroll-snap-type: none; will-change: transform; }
.works.is-pin .track-nav { display: none; }

/* ---------- 4 実績から見る、頼めること（HOME）：実績 → 何をしてあげられるか → 詳しいページへ ---------- */
.caps { padding: var(--section) var(--gutter); }
.cap { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cap + .cap { margin-top: clamp(72px, 9vw, 128px); }
.cap:nth-of-type(even) .cap-media { order: 2; }
.cap-media { display: grid; place-items: center; aspect-ratio: 1 / .86; border-radius: var(--r-lg); background: var(--bg-alt); overflow: hidden; }
.cap-media img { width: 76%; mix-blend-mode: multiply; transition: transform 1.2s var(--ease-out); }
.cap:hover .cap-media img { transform: translateY(-10px) scale(1.04) rotate(-3deg); }
.cap.is-o { --kc: var(--orange-text); }
.cap.is-b { --kc: var(--blue); }
.cap.is-gr { --kc: var(--green-text); }
.cap-kicker { font-size: .9375rem; font-weight: 700; letter-spacing: .1em; color: var(--kc); }
.cap h3 { margin-top: 14px; font-size: var(--fs-h2); line-height: 1.3; }
.cap-proof { margin: 28px 0 0; display: grid; gap: 14px; }
.cap-proof div { display: grid; grid-template-columns: 3.4em 1fr; gap: 14px; align-items: baseline; }
.cap-proof dt { padding: 3px 0; border-radius: 99px; background: var(--kc); color: #fff; font-size: .75rem; font-weight: 700; text-align: center; }
.cap-proof dd { margin: 0; line-height: 1.85; }
.cap-proof div:first-child dd { font-weight: 700; }
.cap-can-h { margin-top: 28px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); }
.cap-can { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cap-can li { padding: 6px 14px; border-radius: 99px; background: var(--bg-alt); font-size: .9375rem; font-weight: 600; }
.cap-go { margin-top: 32px; }
.caps-nation { max-width: var(--wrap); margin: clamp(72px, 9vw, 120px) auto 0; text-align: center; color: var(--ink-2); font-weight: 600; }
@media (max-width: 860px) {
  .cap { grid-template-columns: 1fr; gap: 24px; }
  .cap:nth-of-type(even) .cap-media { order: 0; }
  .cap-media { aspect-ratio: 1 / .72; }
  .cap-media img { width: 60%; }
  .cap h3 { font-size: clamp(1.625rem, 1.2rem + 2vw, 2.25rem); }
}
@media (max-width: 480px) { .cap-go { width: 100%; } }

/* ---------- 3 紹介映像 ---------- */
/* スクロールで進む映像（2026-09-30）：枠は画面に留まり、スクロールした分だけ場面が進む。音声は無し */
.film { background: var(--bg-dark); color: #fff; padding: 0 var(--gutter); }
.film-track { position: relative; z-index: 1; }
/* 直前の青い章（主な実績）から、夜へ溶けていく継ぎ目。映像の頭の部分だけに敷く（スクロールで上へ流れて消える） */
.works + .film::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 42vh; background: linear-gradient(var(--blue) 0%, #0f2a8a 38%, var(--bg-dark) 100%); pointer-events: none; }
.film-script { position: relative; z-index: 1; }
.film-pin { padding-top: var(--section); }
.motion .film-track { height: calc(100svh + 5 * 42svh); }
@media (max-width: 760px) { .motion .film-track { height: calc(100svh + 5 * 38svh); } .motion .statement.is-stats { height: 300vh; } }
.motion .film-pin {
  position: sticky; top: 0; height: 100svh; padding: calc(var(--nav-h) + 18px) 0 22px;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 2.2svh, 24px);
}
.film-head { text-align: center; max-width: 40em; margin: 0 auto 32px; }
.motion .film-head { margin-bottom: 0; }
.film-head h2 { font-size: var(--fs-h2); }
.film-head p { margin-top: 10px; color: var(--ink-dark-2); font-size: var(--fs-lead); }
.film-frame {
  position: relative; width: min(1080px, 100%); margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; flex: none;
  background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 50px 140px -40px rgb(29 92 255 / .55);
}
.film-stage {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size;
  background: radial-gradient(120% 95% at 50% 38%, #ffffff 0%, #f1f4f9 100%);
}
.motion .film-frame { width: min(1080px, 100%, calc((100svh - 380px) * 16 / 9)); }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease-out), visibility 0s linear .8s; }
.scene.is-on { opacity: 1; visibility: visible; transition: opacity .8s var(--ease-out); }
/* 場面の中を進むほど、カメラがゆっくり寄る（映像らしさ）。
   ★寄せるのは舞台ごと（背景を含む）。場面の側で拡大すると、その場面が独立した層になって
   画像の白抜き（mix-blend-mode: multiply）が効かなくなり、物の後ろに白い四角が出る（2026-09-30 撮影で確認） */
.motion .film-stage { transform: scale(calc(1 + var(--cam, 0) * .045)); transform-origin: 50% 46%; }
.scene img { mix-blend-mode: multiply; position: absolute; }
.scene p { position: absolute; margin: 0; }
.film-stage.is-paused * { animation-play-state: paused !important; }

/* 場面ごとの動き：.is-on で入り、.is-b で後半の動き */
.sc1-sphere { width: 30cqw; left: 35cqw; top: 3cqw; transform: scale(.55); opacity: 0; transition: transform 1.8s var(--ease-out), opacity 1s var(--ease-out); }
.sc1-name { left: 0; right: 0; top: 32.5cqw; text-align: center; font: 600 6.4cqw/1 var(--font-latin); letter-spacing: -.01em; color: var(--ink); opacity: 0; transform: translateY(2cqw); transition: 1.1s var(--ease-out) .35s; }
.sc1-sub { left: 0; right: 0; top: 41.5cqw; text-align: center; font-size: 2.3cqw; font-weight: 600; color: var(--ink-2); opacity: 0; transition: opacity 1s var(--ease-out) .8s; }
.sc-1.is-on .sc1-sphere { transform: none; opacity: 1; }
.sc-1.is-on .sc1-name { opacity: 1; transform: none; }
.sc-1.is-on .sc1-sub { opacity: 1; }

.sc2-strip {
  position: absolute; left: -10cqw; right: -10cqw; top: 19cqw; height: 17cqw; background-color: #0b1220;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 1.2cqw, rgb(255 255 255 / .9) 1.2cqw 2.6cqw, transparent 2.6cqw 4cqw),
    repeating-linear-gradient(90deg, transparent 0 1.2cqw, rgb(255 255 255 / .9) 1.2cqw 2.6cqw, transparent 2.6cqw 4cqw),
    repeating-linear-gradient(90deg, #dfe8ff 0 12.6cqw, #0b1220 12.6cqw 14cqw);
  background-size: 100% 1.1cqw, 100% 1.1cqw, 100% 11cqw;
  background-position: 0 1cqw, 0 calc(100% - 1cqw), 0 50%;
  background-repeat: repeat-x;
  transform: rotate(-4deg) translateX(0); opacity: 0; transition: opacity .8s var(--ease-out);
}
.sc-2.is-on .sc2-strip { opacity: .95; animation: strip 9s linear infinite; }
@keyframes strip { to { transform: rotate(-4deg) translateX(-28cqw); } }
.sc2-cam { width: 32cqw; left: 10cqw; top: 9cqw; transform: translateX(-8cqw) rotate(-6deg); opacity: 0; transition: transform 1.4s var(--ease-out), opacity .9s var(--ease-out); }
.sc-2.is-on .sc2-cam { transform: none; opacity: 1; }
.sc2-year { right: 9cqw; top: 13cqw; font: 600 13cqw/1 var(--font-latin); color: var(--blue); letter-spacing: -.02em; opacity: 0; transform: translateY(3cqw); transition: 1.2s var(--ease-out) .3s; }
.sc2-label { right: 9.5cqw; top: 29cqw; font-size: 2.4cqw; font-weight: 700; color: var(--ink); opacity: 0; transition: opacity 1s var(--ease-out) .7s; }
.sc-2.is-on .sc2-year, .sc-2.is-on .sc2-label { opacity: 1; transform: none; }

.sc3-phone { width: 30cqw; left: 35cqw; top: 6cqw; transform: translateY(4cqw); opacity: 0; transition: transform 1.3s var(--ease-out), opacity .9s var(--ease-out); }
.sc-3.is-on .sc3-phone { transform: none; opacity: 1; }
.sc3-ring { position: absolute; left: 50%; top: 45%; width: 26cqw; aspect-ratio: 1; margin: -13cqw 0 0 -13cqw; border-radius: 50%; box-shadow: inset 0 0 0 .35cqw var(--orange); opacity: 0; }
.sc-3.is-on .sc3-ring { animation: ripple 3s var(--ease-out) infinite; }
.sc-3.is-on .sc3-ring:nth-child(2) { animation-delay: 1s; }
.sc-3.is-on .sc3-ring:nth-child(3) { animation-delay: 2s; }
@keyframes ripple { from { transform: scale(.55); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.sc3-label { left: 0; right: 0; bottom: 5.5cqw; text-align: center; font-size: 2.4cqw; font-weight: 700; opacity: 0; transition: opacity 1s var(--ease-out) .6s; }
.sc-3.is-on .sc3-label { opacity: 1; }

.sc4-pad { width: 36cqw; left: 8cqw; top: 9cqw; transform: rotate(-10deg) scale(.9); opacity: 0; transition: transform 1.4s var(--ease-out), opacity .9s var(--ease-out); }
.sc-4.is-on .sc4-pad { transform: rotate(-4deg); opacity: 1; }
.sc4-num { right: 10cqw; top: 14cqw; font: 600 15cqw/1 var(--font-latin); color: var(--blue); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sc4-num small { font-family: var(--font); font-size: .3em; font-weight: 700; letter-spacing: .02em; margin-left: .15em; color: var(--ink); }
.sc4-label { right: 10.5cqw; top: 31cqw; font-size: 2.4cqw; font-weight: 700; color: var(--ink-2); opacity: 0; transition: opacity 1s var(--ease-out) .5s; }
.sc-4.is-on .sc4-label { opacity: 1; }

.chip {
  position: absolute; left: 50%; top: 40%; padding: 1cqw 2.2cqw; border-radius: 99px; background: #e4e8ef; color: var(--ink-2);
  font-size: 2.3cqw; font-weight: 700; white-space: nowrap;
  transform: translate(-50%, -50%) translate(calc(var(--x) * 1cqw), calc(var(--y) * 1cqw)) scale(.6); opacity: 0;
  transition: transform 1s var(--ease-out), opacity .6s var(--ease-out);
}
.sc-5.is-on .chip { transform: translate(-50%, -50%) translate(calc(var(--x) * 1cqw), calc(var(--y) * 1cqw)); opacity: 1; }
.sc-5.is-on .chip:nth-of-type(2) { transition-delay: .12s; }
.sc-5.is-on .chip:nth-of-type(3) { transition-delay: .24s; }
.sc-5.is-on .chip:nth-of-type(4) { transition-delay: .36s; }
.sc-5.is-on .chip:nth-of-type(5) { transition-delay: .48s; }
.sc-5.is-on .chip:nth-of-type(6) { transition-delay: .6s; }
.sc-5.is-b .chip { transform: translate(-50%, -50%) scale(.15); opacity: 0; transition: transform 1.1s var(--ease-in), opacity .9s var(--ease-in) .2s; }
.sc-5.is-b .chip:nth-of-type(2) { transition-delay: .1s; }
.sc-5.is-b .chip:nth-of-type(3) { transition-delay: .2s; }
.sc-5.is-b .chip:nth-of-type(4) { transition-delay: .3s; }
.sc-5.is-b .chip:nth-of-type(5) { transition-delay: .4s; }
.sc-5.is-b .chip:nth-of-type(6) { transition-delay: .5s; }
.sc5-sphere { width: 26cqw; left: 37cqw; top: 9.5cqw; transform: scale(0); transition: transform 1.2s var(--ease-out); }
.sc-5.is-b .sc5-sphere { transform: scale(1); }

.sc6-ring { position: absolute; width: 34cqw; left: 33cqw; top: 5.5cqw; overflow: visible; }
.sc6-track { fill: none; stroke: #e4e8ef; stroke-width: 10; }
.sc6-arc { fill: none; stroke: var(--green); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 200px 200px; transition: stroke-dashoffset 2.2s var(--ease-out) .2s; }
.sc6-head { transform-origin: 200px 200px; }
.sc6-head path { fill: none; stroke: var(--green); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .4s 1.8s; }
.sc-6.is-on .sc6-arc { stroke-dashoffset: 0; }
.sc-6.is-on .sc6-head path { opacity: 1; }
.sc-6.is-on .sc6-head { animation: spin 6s linear 2.2s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sc6-center { left: 0; right: 0; top: 17.5cqw; text-align: center; font-size: 3cqw; font-weight: 700; line-height: 1.35; color: var(--green-text); opacity: 0; transition: opacity 1s var(--ease-out) .9s; }
.sc-6.is-on .sc6-center { opacity: 1; }
.sc6-pill { position: absolute; top: 20cqw; padding: 1.2cqw 2.4cqw; border-radius: 99px; color: #fff; font-size: 2cqw; font-weight: 700; opacity: 0; transition: transform 1.1s var(--ease-out), opacity .8s var(--ease-out); }
.sc6-pill.is-b { left: 6cqw; background: var(--blue); transform: translateX(-4cqw); transition-delay: .5s; }
.sc6-pill.is-o { right: 6cqw; background: var(--orange-text); transform: translateX(4cqw); transition-delay: .7s; }
.sc-6.is-on .sc6-pill { opacity: 1; transform: none; }

.sc7-sphere { width: 18cqw; left: 41cqw; top: 3.5cqw; opacity: 0; transform: translateY(-4cqw) scale(1.4); transition: transform 1.6s var(--ease-out), opacity 1s var(--ease-out); }
.sc-7.is-on .sc7-sphere { opacity: 1; transform: none; }
.sc7-title { left: 0; right: 0; top: 24cqw; text-align: center; font-size: 6.4cqw; font-weight: 700; letter-spacing: .02em; opacity: 0; transform: translateY(2cqw); transition: 1.1s var(--ease-out) .3s; }
.sc7-btn { position: absolute; left: 50%; top: 36cqw; transform: translate(-50%, 1cqw); padding: 1.4cqw 3.4cqw; border-radius: 99px; background: var(--blue); color: #fff; font-size: 2.1cqw; font-weight: 700; white-space: nowrap; opacity: 0; transition: 1s var(--ease-out) .7s; }
.sc-7.is-on .sc7-title { opacity: 1; transform: none; }
.sc-7.is-on .sc7-btn { opacity: 1; transform: translate(-50%, 0); }

/* 映像の枠が狭いとき（スマホ）は、枠の中の小さい文字だけ大きくする。場面の配置は同じ */
@container (max-width: 600px) {
  .sc1-sub, .sc2-label, .sc3-label, .sc4-label { font-size: 3.6cqw; }
  .sc2-label { top: 30cqw; }
  .sc4-label { top: 32cqw; }
  .chip { font-size: 3.4cqw; padding: 1.2cqw 2.6cqw; }
  .sc6-center { font-size: 3.8cqw; top: 16.5cqw; }
  .sc6-pill { font-size: 3.2cqw; top: 19cqw; padding: 1.4cqw 2.6cqw; }
  .sc6-pill.is-b { left: 2.5cqw; }
  .sc6-pill.is-o { right: 2.5cqw; }
  .sc7-btn { font-size: 3.4cqw; top: 35cqw; }
}

/* 場面の目盛り（押すとその場面へ進む） */
.film-bar { width: min(1080px, 100%); margin: 0 auto; }
.motion .film-bar { width: min(1080px, 100%, calc((100svh - 380px) * 16 / 9)); }
.film-segs { flex: 1; display: flex; gap: 6px; }
.film-segs button { flex: 1; height: 28px; padding: 12px 0; border: 0; background: none; cursor: pointer; }
.film-segs i { display: block; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .16); overflow: hidden; position: relative; }
.film-segs i::after { content: ""; position: absolute; inset: 0; background: var(--blue-on-dark); transform-origin: left; transform: scaleX(var(--p, 0)); }
.film-segs button[aria-current] i { background: rgb(255 255 255 / .28); }
.film-caption { max-width: 34em; min-height: 3.6em; margin: 0 auto; text-align: center; font-size: var(--fs-lead); font-weight: 500; line-height: 1.8; transition: opacity .35s; }
.film-caption.is-swap { opacity: 0; }
.film-script { max-width: 40em; margin: 0 auto; padding: 28px 0 var(--section); color: var(--ink-dark-2); }
.film-script summary { cursor: pointer; width: max-content; margin: 0 auto; padding: 8px 16px; border-radius: 999px; font-size: .9375rem; font-weight: 600; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); list-style: none; }
.film-script summary::-webkit-details-marker { display: none; }
.film-script ol { margin: 24px 0 0; padding-left: 1.4em; line-height: 1.9; }
.film-script li + li { margin-top: 8px; }

/* ★2026-09-28 c: 「社長の1週間」「こんな声から」「軽くなる作業」「やり方の輪」はHOMEから外した（考え方・サービスの説明は3つのページへ）。
   見た目と動き（main.js）は、AIのページなどへ移すときのために残してある。使う要素が無ければ何も起きない。 */
/* ---------- 4 社長の1週間 ---------- */
.week { background: transparent; }   /* 奥の球が透ける（2026-10-03） */
.week-stage { padding: var(--section) var(--gutter); }
.motion .week { height: 520vh; }
.motion .week-stage { position: sticky; top: 0; height: 100svh; padding-block: calc(var(--nav-h) + 12px) 24px; display: grid; align-items: center; }
.week-grid { width: 100%; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.week-copy h2 { font-size: var(--fs-h2); }
.week-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 28px; }
.week-steps li strong { display: block; font-size: var(--fs-h3); line-height: 1.55; text-wrap: balance; }
.week-steps li span { display: block; margin-top: 8px; color: var(--ink-2); }
.week-steps li[data-c="b"] strong { color: var(--blue); }
.week-steps li[data-c="o"] strong { color: var(--orange-text); }
.week-steps li[data-c="gr"] strong { color: var(--green-text); }
.motion .week-steps { display: grid; grid-template-areas: "s"; min-height: 9.5em; gap: 0; }
.motion .week-steps li { grid-area: s; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease-out), transform .8s var(--ease-out); pointer-events: none; }
.motion .week-steps li.is-on { opacity: 1; transform: none; transition-delay: .12s; pointer-events: auto; }
.week-chart { position: relative; margin: 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--bg-alt); }
.week-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.4vw, 16px); height: min(46svh, 420px); }
.day { display: flex; flex-direction: column-reverse; min-height: 0; }
.day em { order: -1; flex: none; margin-top: 10px; text-align: center; font-style: normal; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.seg {
  flex: var(--f, 1) 1 0; min-height: 0; border-radius: 12px;
  margin-top: calc(min(var(--f, 1), 1) * 6px);
  transition: flex-grow 1.1s var(--ease-out), margin-top 1.1s var(--ease-out), background-color .6s;
}
.seg.g { background: var(--gray); }
.seg.b { background: var(--blue); }
.seg.o { background: var(--orange); }
.seg.n { background: rgb(255 255 255 / .6); outline: 1.5px dashed rgb(11 18 32 / .22); outline-offset: -1.5px; }
.week-ring {
  position: absolute; inset: 8px; border-radius: calc(var(--r-lg) - 4px); pointer-events: none;
  box-shadow: inset 0 0 0 3px var(--green); opacity: 1; transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
}
.week-ring span { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); padding: 4px 14px; border-radius: 99px; background: var(--green-text); color: #fff; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.motion .week:not([data-step="4"]) .week-ring { opacity: 0; transform: scale(.97); }
.week-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .8125rem; color: var(--ink-2); }
.week-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 12px; height: 12px; border-radius: 4px; }
.sw.g { background: var(--gray); } .sw.b { background: var(--blue); } .sw.o { background: var(--orange); }
.sw.n { background: #fff; outline: 1.5px dashed rgb(11 18 32 / .3); outline-offset: -1.5px; }
@media (max-width: 860px) {
  .week-grid { grid-template-columns: 1fr; gap: 20px; }
  .week-chart { order: -1; }
  .week-copy h2 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2rem); }
  .motion .week-steps { margin-top: 16px; min-height: 8.5em; }
  .week-days { height: 30svh; }
}

/* ---------- 5 こんな声から ---------- */
.voices { background: var(--bg-alt); padding: var(--section) var(--gutter); overflow-x: clip; }
.bubbles { list-style: none; max-width: 1000px; margin: 0 auto; padding: 0; display: grid; gap: 22px; }
.bubble {
  max-width: 30em; padding: 26px 32px; border-radius: 34px; background: #fff;
  font-size: var(--fs-h3); font-weight: 600; line-height: 1.65; text-wrap: balance;
  box-shadow: 0 1px 2px rgb(11 18 32 / .04), 0 24px 50px -30px rgb(11 18 32 / .22);
}
.bubble:nth-child(odd) { justify-self: start; border-bottom-left-radius: 10px; }
.bubble:nth-child(even) { justify-self: end; border-bottom-right-radius: 10px; }
.voices-answer { max-width: var(--wrap); margin: clamp(64px, 8vw, 104px) auto 0; text-align: center; font-size: var(--fs-h2); font-weight: 700; line-height: 1.45; text-wrap: balance; }
.voices-answer em { font-style: normal; color: var(--blue); }

/* ---------- 6 頼めること ---------- */
.services { padding: var(--section) var(--gutter); }
.bento { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 400px; padding: 34px; overflow: hidden;
  border-radius: var(--r-lg); background: var(--bg-alt); isolation: isolate;
}
.tile h3 { font-size: var(--fs-h3); }
.tile p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; max-width: 26em; }
.tile .link { margin-top: 14px; }
.tile img { width: 76%; margin: auto auto -6%; mix-blend-mode: multiply; transition: transform 1.2s var(--ease-out); }
.tile:hover img { transform: translateY(-8px) scale(1.035); }
/* タイル全体を押せるようにする（中の「詳しく」の見えない面をタイル全体に広げる。別の行き先のリンクだけ上に出す） */
.tile .go { position: static; margin-top: 14px; }
.tile .go::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tile .go ~ .link { position: relative; z-index: 2; margin-left: 20px; }
.tile:has(.go):hover .go { background-size: 100% 1.5px; }
.tile:has(.go):hover .go::after { transform: translateX(4px); }
.t-ai { grid-column: span 7; grid-row: span 2; }
.t-ai h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.t-ai p { font-size: var(--fs-lead); }
.t-ai img { width: 88%; }
.t-train, .t-snstrain { grid-column: span 5; }
.t-snsops, .t-video, .t-nation { grid-column: span 4; }
.t-esports { grid-column: span 12; flex-direction: row; align-items: center; min-height: 340px; gap: 32px; }
.t-esports .tile-text { flex: 1; }
.t-esports img { width: min(36%, 380px); margin: -4% 0; flex: none; }
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { grid-column: span 1 !important; grid-row: auto !important; }
  .t-ai, .t-esports { grid-column: span 2 !important; }
  .t-ai img { width: 64%; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .t-ai, .t-esports { grid-column: span 1 !important; }
  .tile { min-height: 0; padding: 28px; }
  .tile img, .t-ai img { width: 74%; margin-top: 8px; }
  .t-esports { flex-direction: column; align-items: stretch; }
  .t-esports img { width: 64%; margin: 0 auto -4%; }
}

/* ---------- 7 軽くなる作業 ---------- */
.tasks { background: var(--bg-alt); padding: var(--section) 0; }
.tasks > .sec-head, .tasks > .research, .tasks > .tools { margin-inline: auto; padding-inline: var(--gutter); max-width: calc(var(--wrap) + var(--gutter) * 2); }
.sec-head.has-nav { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.track-nav { display: flex; gap: 10px; flex: none; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 2px rgb(11 18 32 / .06), inset 0 0 0 1px var(--line); transition: transform .5s var(--ease-out), opacity .3s; }
.round svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round:hover { transform: scale(1.06); }
.round:disabled { opacity: .35; cursor: default; transform: none; }
.task-track {
  list-style: none; margin: 0; display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 28px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.task-track::-webkit-scrollbar { display: none; }
.task { flex: 0 0 clamp(280px, 29vw, 372px); scroll-snap-align: start; display: flex; flex-direction: column; padding: 28px 28px 32px; border-radius: var(--r-lg); background: #fff; }
.task img { width: 64%; margin: -4px auto 12px; mix-blend-mode: multiply; transition: transform 1s var(--ease-out); }
.task:hover img { transform: translateY(-6px) rotate(-2deg); }
.task h3 { font-size: var(--fs-h3); margin-bottom: 16px; }
.task p { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; font-size: .9375rem; line-height: 1.75; }
.task p + p { margin-top: 12px; }
.task b { font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; white-space: nowrap; }
.task .now { color: var(--ink-2); }
.task .now b { background: #e4e8ef; color: var(--ink-2); }
.task .next b { background: var(--blue); color: #fff; }
.task .now span { -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(currentColor, currentColor) 0 56% / 0 1.5px no-repeat; transition: background-size 1.1s var(--ease-out) .25s; }
.task.is-seen .now span { background-size: 100% 1.5px; }
.research {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 56px; align-items: center;
  margin-top: 56px !important;
}
.research > * { background: #fff; border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 44px); height: 100%; }
.research-text { color: var(--ink-2); line-height: 2; }
.research-text a { color: var(--blue); text-underline-offset: 3px; }
.research-q { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.research-q .q { font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; color: var(--ink); }
.research-q p:not(.q) { color: var(--ink-2); font-size: .9375rem; }
.tools { margin-top: 40px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; color: var(--ink-2); font-size: .9375rem; }
.tools span { font-family: var(--font-latin); font-weight: 600; color: var(--ink); padding: 4px 14px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 860px) {
  .research { grid-template-columns: 1fr; }
  .track-nav { display: none; }
}

/* ---------- 8 約束（暗い章） ---------- */
.promise { background: var(--bg-dark); color: #fff; padding: var(--section) var(--gutter); overflow: clip; }
.promise-hero { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.promise h2 { font-size: var(--fs-display); line-height: 1.22; }
.promise-hero p { margin-top: 24px; color: var(--ink-dark-2); font-size: var(--fs-lead); max-width: 24em; line-height: 1.95; }
.promise-key {
  width: 100%; mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  transform: rotate(var(--rot, 0deg)) translateY(var(--ty, 0px));
}
.promise-list { list-style: none; max-width: var(--wrap); margin: clamp(72px, 9vw, 120px) auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.promise-list h3 { margin-top: 18px; font-size: var(--fs-h3); }
.promise-list p { margin-top: 12px; color: var(--ink-dark-2); line-height: 1.95; }
.promise-list .role { width: 14px; height: 14px; margin: 0; }
.cycle { max-width: var(--wrap); margin: clamp(96px, 12vw, 160px) auto 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.cycle h3 { font-size: var(--fs-h2); }
.cycle-copy > p { margin-top: 16px; color: var(--ink-dark-2); font-size: var(--fs-lead); }
.cycle ol { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: c; color: var(--ink-dark-2); }
.cycle ol li { counter-increment: c; display: grid; grid-template-columns: 2.2em 6.5em 1fr; align-items: baseline; }
.cycle ol li::before { content: counter(c); font-family: var(--font-latin); font-weight: 600; color: var(--blue-on-dark); }
.cycle ol li:last-child::before { color: var(--orange-on-dark); }
.cycle ol b { color: #fff; font-weight: 700; }
.cycle-ring { width: 100%; max-width: 580px; justify-self: center; overflow: visible; }
.cy-track { fill: none; stroke: rgb(255 255 255 / .08); stroke-width: 2; }
.cy-arc { fill: none; stroke: var(--blue-on-dark); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--off, 0); }
.cy-arc.is-o { stroke: var(--orange-on-dark); }
.cy-arc { marker-end: url(#ah-b); }
.cy-arc.is-o { marker-end: url(#ah-o); }
.cycle.is-live .cy-arc:not(.is-done) { marker-end: none; }
.cy-nodes circle { fill: #fff; }
.cy-labels text { fill: #fff; font-size: 22px; font-weight: 700; font-family: var(--font); }
.cy-center { fill: var(--orange-on-dark); font-size: 30px; font-weight: 700; font-family: var(--font); }
@media (max-width: 860px) {
  .promise-hero, .cycle { grid-template-columns: 1fr; }
  .promise-key { width: 86%; justify-self: center; }
  .promise-list { grid-template-columns: 1fr; gap: 40px; }
  .cycle ol li { grid-template-columns: 2em 5.5em 1fr; }
}

/* ---------- 9 現場 ---------- */
.cases { padding: var(--section) 0; }
.cases > .sec-head { padding-inline: var(--gutter); }
.cases-row { display: flex; justify-content: center; gap: 24px; padding: 20px var(--gutter) 40px; }
.case {
  flex: 0 1 380px; display: flex; flex-direction: column; padding: 18px 18px 30px; border-radius: var(--r-lg); background: var(--bg-alt);
  transform: rotate(var(--tilt, 0deg)) translateY(var(--lift, 0px));
  transition: transform 1s var(--ease-out), box-shadow 1s var(--ease-out), background-color .6s;
}
.case:nth-child(1) { --tilt: -2.5deg; --lift: 18px; }
.case:nth-child(3) { --tilt: 2.5deg; --lift: 18px; }
.case:nth-child(2) { background: #fff; box-shadow: 0 40px 90px -46px rgb(11 18 32 / .38), inset 0 0 0 1px var(--line); z-index: 1; }
.case:hover { --tilt: 0deg; --lift: -6px; }
.case img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); mix-blend-mode: multiply; }
.case-tag { align-self: flex-start; margin: 20px 12px 0; padding: 4px 12px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.case:nth-child(2) .case-tag { background: var(--bg-alt); }
.case h3 { margin: 14px 12px 0; font-size: var(--fs-h3); }
.case dl { margin: 18px 12px 0; display: grid; gap: 12px; }
.case dl div { display: grid; grid-template-columns: 3.4em 1fr; gap: 8px; font-size: .9375rem; line-height: 1.75; }
.case dt { font-size: .75rem; font-weight: 700; color: var(--ink-2); padding-top: .25em; }
.case dd { margin: 0; color: var(--ink-2); }
.case dl div:last-child dt { color: var(--blue); }
.case dl div:last-child dd { color: var(--ink); }
.case-link { align-self: flex-start; margin: 18px 12px 0; font-size: .9375rem; }
.coconala { max-width: var(--wrap); margin: clamp(40px, 6vw, 72px) auto 0; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: center; gap: 12px 24px; flex-wrap: wrap; }
.coconala strong { font: 600 clamp(3.25rem, 2rem + 4vw, 5.5rem)/1 var(--font-latin); letter-spacing: -.03em; color: var(--blue); }
.coconala span { font-size: var(--fs-lead); font-weight: 600; line-height: 1.6; }
@media (max-width: 960px) {
  .cases-row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 32px; }
  .cases-row::-webkit-scrollbar { display: none; }
  .case { flex: 0 0 min(82vw, 380px); scroll-snap-align: center; --tilt: 0deg !important; --lift: 0px !important; }
}

/* ---------- 10 人となり ---------- */
.profile { padding: var(--section) var(--gutter); }
.profile-head { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.slot {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  display: grid; place-items: center; background: linear-gradient(160deg, #eef2fb 0%, #e2e7f0 100%);
  color: var(--ink-2); font-size: .875rem; font-weight: 600;
}
.slot::before { content: ""; position: absolute; width: 38%; aspect-ratio: 1; top: 22%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 6%, rgb(255 255 255 / 0) 30%), radial-gradient(circle, #d3dcf0, #c3cde3); }
.slot span { position: relative; margin-top: 50%; }
.profile-intro h2 { font-size: var(--fs-h2); }
.profile-name { margin-top: 20px; font: 600 clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem)/1.05 var(--font-latin); letter-spacing: -.02em; color: var(--blue); }
.profile-role { margin-top: 10px; font-weight: 700; }
.profile-intro p:last-child { margin-top: 24px; color: var(--ink-2); font-size: var(--fs-lead); max-width: 30em; }
.timeline { list-style: none; max-width: var(--wrap); margin: clamp(88px, 11vw, 140px) auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; --tl: 1; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; border-radius: 2px; background: #e4e8ef; }
.timeline::after { background: var(--blue); transform-origin: left; transform: scaleX(var(--tl)); }
.timeline li { position: relative; z-index: 1; }
.tl-dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--blue); transition: background-color .5s, transform .6s var(--ease-out); }
.timeline li.is-on .tl-dot, .timeline:not(.is-live) .tl-dot {
  background: radial-gradient(circle at 33% 28%, rgb(255 255 255 / .95) 0 12%, rgb(255 255 255 / 0) 42%), radial-gradient(circle at 50% 64%, #4a86ff 0%, #1d5cff 50%, #0a31bd 100%);
  box-shadow: inset 0 -3px 5px rgb(4 18 96 / .4), 0 6px 14px -4px rgb(29 92 255 / .7); transform: scale(1.35);
}
.tl-when { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.tl-when b { font: 600 1.625rem/1 var(--font-latin); letter-spacing: -.01em; color: var(--ink); }
.timeline img { width: 78%; margin: 18px 0 8px -6%; transition: transform 1.2s var(--ease-out), opacity .8s var(--ease-out); }
.timeline h3 { font-size: 1.1875rem; }
.timeline li > p:last-child { margin-top: 10px; color: var(--ink-2); font-size: .9375rem; line-height: 1.85; }
.fact { color: var(--ink); font-weight: 700; }
.count { font-family: var(--font-latin); font-variant-numeric: tabular-nums; }
.timeline.is-live li:not(.is-on) img { opacity: .35; transform: translateY(16px) scale(.96); }
@media (max-width: 860px) {
  .profile-head { grid-template-columns: 1fr; }
  .slot { max-width: 360px; }
  .timeline { grid-template-columns: 1fr; gap: 44px; padding-left: 40px; }
  .timeline::before, .timeline::after { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .timeline::after { transform-origin: top; transform: scaleY(var(--tl)); }
  .tl-dot { position: absolute; left: -40px; top: 0; }
  .tl-when { margin-top: -4px; }
  .timeline img { width: 56%; margin-left: -4%; }
}
.scrap { max-width: 1040px; margin: clamp(96px, 12vw, 150px) auto 0; padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 48px) clamp(56px, 7vw, 80px); border-radius: var(--r-lg); background: var(--bg-alt); text-align: center; }
.scrap h3 { font-size: var(--fs-h2); }
.notes { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px 28px; margin-top: 56px; }
.note {
  position: relative; width: 290px; min-height: 230px; padding: 40px 28px 30px; text-align: left; border-radius: 6px; background: #fff;
  box-shadow: 0 1px 1px rgb(11 18 32 / .05), 0 22px 44px -22px rgb(11 18 32 / .3);
  transform: rotate(var(--r, 0deg)); transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out);
}
.note::before { content: ""; position: absolute; top: -13px; left: 50%; width: 104px; height: 28px; border-radius: 3px; transform: translateX(-50%) rotate(-3deg); background: var(--tape); opacity: .5; }
.note:hover { transform: rotate(0deg) translateY(-8px); box-shadow: 0 1px 1px rgb(11 18 32 / .05), 0 34px 60px -26px rgb(11 18 32 / .34); }
.note h4 { font-size: 1.3125rem; }
.note p { margin-top: 14px; color: var(--ink-2); line-height: 1.9; }
.profile-luck { max-width: var(--wrap); margin: clamp(88px, 10vw, 128px) auto 0; text-align: center; font-size: var(--fs-h3); font-weight: 600; line-height: 1.9; }
.profile-luck em { display: inline-block; margin-top: 12px; font-style: normal; font-size: var(--fs-h2); font-weight: 700; color: var(--blue); }

/* ---------- 11 はじめ方 ---------- */
.start { background: var(--bg-see); padding: var(--section) var(--gutter); }
.steps { list-style: none; max-width: var(--wrap); margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { position: relative; text-align: center; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 47px; left: calc(50% + 64px); width: calc(100% - 128px + 40px); height: 2px;
  background: var(--blue); border-radius: 2px;
  transform-origin: left; transform: scaleX(1); transition: transform 1.1s var(--ease-out) .35s;
}
.step:not(:last-child)::before {
  content: ""; position: absolute; top: 42px; left: calc(50% + 64px + 100% - 128px + 40px - 10px); width: 10px; height: 10px;
  border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); transition: opacity .3s 1.2s;
}
.step.pre::after { transform: scaleX(0); }
.step.pre::before { opacity: 0; }
.step.pre.is-in::after { transform: scaleX(1); }
.step.pre.is-in::before { opacity: 1; }
.step-mark {
  display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 50%;
  background: var(--blue); color: #fff; font: 600 2rem/1 var(--font-latin);
  box-shadow: 0 18px 40px -18px rgb(29 92 255 / .6);
  transition: border-radius .8s var(--ease-out), transform .8s var(--ease-out);
}
.step:hover .step-mark { border-radius: 34%; transform: rotate(8deg); }
.step h3 { font-size: var(--fs-h3); }
.step p { margin: 10px auto 0; max-width: 18em; color: var(--ink-2); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .step:not(:last-child)::after { top: auto; bottom: -44px; left: 50%; width: 2px; height: 32px; transform-origin: top; }
  .step.pre::after { transform: scaleY(0); }
  .step.pre.is-in::after { transform: scaleY(1); }
  .step:not(:last-child)::before { top: auto; bottom: -46px; left: calc(50% - 5px); transform: rotate(135deg); }
}

/* ---------- 12 よくある質問 ---------- */
.faq { padding: var(--section) var(--gutter); }
.faq-list { max-width: 880px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 700;
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.pm { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-alt); transition: transform .6s var(--ease-out), background-color .4s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; margin: -1px 0 0 -6.5px; border-radius: 2px; background: currentColor; }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm { transform: rotate(45deg); background: rgb(29 92 255 / .1); color: var(--blue); }
.faq-a { padding: 0 4px 30px; color: var(--ink-2); max-width: 40em; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .55s var(--ease-out), content-visibility .55s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- 13 締め ---------- */
.contact { padding: calc(var(--section) * .7) var(--gutter) var(--section); text-align: center; overflow: clip; }
.contact-sphere { width: min(46vw, 300px); margin: 0 auto 4px; transform: translateY(var(--sy, 0px)) scale(var(--ss, 1)); }
.contact h2 { font-size: var(--fs-display); line-height: 1.25; }
.contact-lead { max-width: 32em; margin: 28px auto 0; font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.95; }
.contact-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.contact-note { margin-top: 22px; font-size: .875rem; color: var(--ink-2); }
@media (max-width: 480px) { .contact-cta .btn { width: 100%; } }

/* ---------- フッター ---------- */
.footer { background: var(--bg-alt); padding: 56px var(--gutter) calc(64px + env(safe-area-inset-bottom)); font-size: .875rem; color: var(--ink-2); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 40px; }
.footer-brand { font: 600 1.25rem/1.2 var(--font-latin); color: var(--ink); margin-bottom: 6px; }
.footer-links, .footer-legal { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 右下に浮く「相談する」 ---------- */
.float-cta {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: var(--z-float);
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px 0 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 18px 44px -14px rgb(11 18 32 / .5);
  transition: transform .8s var(--ease-out), background-color .3s;
}
.js .float-cta { transform: translateY(160%); }
.js .float-cta.is-shown { transform: none; }
.float-cta:hover { background: #1b2436; }
.float-cta .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); animation: pulse 2.6s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(255 122 26 / .6); } 70%, 100% { box-shadow: 0 0 0 10px rgb(255 122 26 / 0); } }

/* ---------- マウスを追う青い丸（細かく指せる端末だけ） ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .motion .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--blue); opacity: 0;
    transition: opacity .3s, width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background-color .4s;
  }
  .motion .cursor.is-shown { opacity: .9; }
  .motion .cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; opacity: .16; }
}

/* ---------- 画面に入ったら出る（JS が画面より下のものにだけ .pre を付ける） ---------- */
.pre { opacity: 0; transform: translateY(32px); }
.pre[data-reveal="left"] { transform: translateX(-48px); }
.pre[data-reveal="right"] { transform: translateX(48px); }
.pre.note { transform: rotate(calc(var(--r) * 3)) translateY(40px); }
.pre.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease-out) var(--d, 0s); }
.pre.is-in.note { transform: rotate(var(--r)); }
.pre.is-in.case { transform: rotate(var(--tilt, 0deg)) translateY(var(--lift, 0px)); }
.pre.step { opacity: 1; transform: none; }
.pre.step .step-mark { transform: scale(.6); opacity: 0; }
.pre.step.is-in .step-mark { transform: none; opacity: 1; transition: transform 1s var(--ease-out) var(--d, 0s), opacity .6s var(--ease-out) var(--d, 0s), border-radius .8s var(--ease-out); }

/* ================= 受賞水準の仕上げ（2026-09-30・Awwwards の評価＝Design 40 / Usability 30 / Creativity 20 / Content 10 を物差しに） ================= */

/* ページとページの間を、切り替えではなく滑らかにつなぐ（View Transitions。対応していないブラウザは今まで通りに切り替わる） */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: vtOut .42s var(--ease-in) both; }
::view-transition-new(root) { animation: vtIn .8s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-18px) scale(.99); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(28px); } }

/* なめらかスクロール（Lenis・細かく指せる端末だけ。main.js が付ける） */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }

/* 見出しが、行ごとに覆いの下から出る（main.js が <br> で行に分ける。画面より下にある見出しだけ隠す＝見えている状態が基本） */
.ml { display: block; overflow: clip; padding-bottom: .14em; margin-bottom: -.14em; }
.ml-i { display: inline-block; }
.pre[data-reveal="mask"] { opacity: 1; transform: none; }
.pre[data-reveal="mask"] .ml-i { transform: translateY(112%); }
.pre.is-in[data-reveal="mask"] .ml-i { transform: none; transition: transform 1.15s var(--ease-out) calc(var(--d, 0s) + var(--li, 0) * 90ms); }

/* 物の後ろを、撮影スタジオの光に（平らな灰色の板ではなく、上から光が当たった床に見せる） */
:root { --studio: radial-gradient(120% 95% at 50% 26%, #ffffff 0%, #f4f6fa 52%, #e8ecf2 100%); }
.tile, .cap-media, .more-card, .training-visual { background: var(--studio); }
.tile, .cap-media { box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), inset 0 0 0 1px rgb(11 18 32 / .04); }

/* 押せる大きなボタンが、指（カーソル）に少し吸い寄せられる（main.js が --mx / --my を入れる） */
.btn-lg, .float-cta, .round { translate: var(--mx, 0px) var(--my, 0px); }
.btn-lg { transition: transform .6s var(--ease-out), translate .4s var(--ease-out), background-color .3s, box-shadow .6s var(--ease-out), color .3s; }
.round { transition: transform .5s var(--ease-out), translate .4s var(--ease-out), opacity .3s; }
.float-cta { transition: transform .8s var(--ease-out), translate .4s var(--ease-out), background-color .3s; }

/* はじめ方：数字の印をガラスの球に（サイトの主役の物と同じ質感）＋その場で予約できるボタン */
.step-mark {
  background:
    radial-gradient(circle at 33% 27%, rgb(255 255 255 / .9) 0 6%, rgb(255 255 255 / 0) 30%),
    radial-gradient(circle at 50% 64%, #4a86ff 0%, #1d5cff 48%, #0a31bd 100%);
  box-shadow: inset 0 -12px 22px rgb(4 18 96 / .38), inset 0 6px 14px rgb(255 255 255 / .22), 0 26px 40px -20px rgb(29 92 255 / .75);
  font-size: 2.25rem;
}
.start-cta { max-width: var(--wrap); margin: clamp(56px, 7vw, 88px) auto 0; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.start-cta p { color: var(--ink-2); font-size: .9375rem; }

/* 締めの大きな名前（どのページもいちばん下に） */
.footer-mark {
  display: block; max-width: var(--wrap); margin: 0 auto 40px; padding-bottom: .06em; overflow: clip;
  font: 600 min(13.2vw, 11.8rem)/.9 var(--font-latin); letter-spacing: -.04em; color: var(--ink); white-space: nowrap;
}
.footer-mark .ch { display: inline-block; }
.motion .footer-mark.pre { opacity: 1; transform: none; }
.motion .footer-mark.pre .ch { transform: translateY(105%); }
.motion .footer-mark.pre.is-in .ch { transform: none; transition: transform 1.2s var(--ease-out) calc(var(--i) * 45ms); }
.footer-mark .dot { color: var(--blue); }

/* ---------- 白い章の奥に浮かぶガラスの球（2026-10-03 リベ様決定A案・見本2案から選んだ） ----------
   画面に貼り付いた1枚の層（重なり順は一番下）を main.js が作る。白い章は地が透明なので透けて見え、
   青い章・暗い章は地が不透明なので隠れる。位置と大きさは main.js が毎フレーム入れる（動かすのは transform だけ）。
   ★白い章の上の画像は「白を消す重ね方（multiply）」に頼ると、この層の上では白い四角が出る
     （各章が重なり順の箱を作るので、重ね方が章の外の層まで届かない）→ 透明な版を使う（assets/make_bg.py）。
   ★触ったら: python3 checks/compare_bg.py contrast（文字の後ろの色を実測）と --mutate。 */
.bgfx { position: fixed; inset: 0; z-index: var(--z-bg); pointer-events: none; overflow: hidden; contain: strict; }
.bgo { position: absolute; left: 0; top: 0; width: var(--s); aspect-ratio: 1; will-change: transform; transform: translate3d(var(--tx, 0px), var(--ty, -999px), 0); }
.bgo > i {
  display: block; width: 100%; height: 100%;
  background-position: center; background-size: contain; background-repeat: no-repeat;   /* 画像は main.js が要素に直接入れる */
  opacity: var(--o, 1);
  animation: bgoBob var(--bob, 9s) ease-in-out infinite alternate; animation-delay: var(--bd, 0s);
}
@keyframes bgoBob { from { transform: translateY(-1.2%) rotate(-3deg); } to { transform: translateY(1.2%) rotate(3deg); } }
@media (max-width: 860px) { .bgo.is-wide { display: none; } }

/* ---------- 動きを減らす設定の人には、最後の形をそのまま出す ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-float { animation: none; }
}

/* ---------- 法定ページ（特定商取引法・プライバシー） ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: calc(var(--nav-h) + 72px) var(--gutter) 112px; }
.legal h1 { font-size: var(--fs-h2); }
.legal-sub { margin-top: 16px; color: var(--ink-2); }
.legal dl { margin: 48px 0 0; border-top: 1px solid var(--line); }
.legal dl div { display: grid; grid-template-columns: 13em 1fr; gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; color: var(--ink-2); }
.legal dd a { color: var(--blue); }
.legal-back { margin-top: 48px; }
@media (max-width: 640px) { .legal dl div { grid-template-columns: 1fr; } }

/* ---------- 扉の主役を本人の写真に（2026-10-01 リベ様決定B案）。ガラスの球は写真のそばに浮かべる脇役。
   スクロールで球が育って画面を青で満たす動きはそのまま（main.js は .hero-float の位置から測る） ---------- */
.hero-visual.is-portrait { aspect-ratio: auto; width: min(100%, 460px, 58svh); }
.hero-portrait { width: 100%; aspect-ratio: 4 / 5; border-radius: 32px; box-shadow: 0 60px 110px -60px rgb(11 18 32 / .45); }
.hero-portrait::before { display: none; }
.hero-portrait span { margin-top: 0; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual.is-portrait .hero-float { position: absolute; z-index: 2; width: 54%; height: auto; aspect-ratio: 1; left: -24%; bottom: -10%; }
@media (max-width: 860px) {
  .hero-visual.is-portrait { width: min(62vw, 270px); justify-self: end; margin: 0 4vw 12px 0; }
  .hero-visual.is-portrait .hero-float { width: 58%; left: -30%; bottom: -8%; }
}
/* 扉の球は背景が透明な版（hero-sphere-a.webp）。写真の枠の上に重なるので、白抜き（multiply）には頼らない
   ★multiply は、浮かぶ動き（transform）で独立した層になった中では効かず、白い四角が出る（2026-10-01 撮影で確認） */
.hero-visual.is-portrait .hero-sphere { mix-blend-mode: normal; }
/* 仮の写真（本人の写真が届くまでの代わり）。見た人が本人と取り違えないよう、角に必ず印を出す。
   ★公開の直前は checks/check_site.py --publish（data-temp が1つでも残っていたら落ちる） */
.slot[data-temp]::after {
  content: "仮の写真"; position: absolute; z-index: 1; top: 14px; left: 14px; padding: 4px 11px; border-radius: 99px;
  background: rgb(11 18 32 / .72); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em;
}
.slot:has(img)::before { display: none; }
/* 写真の枠が無いあいだ（2026-10-03 写真待ちで公開）: 人となりは文章だけを1列で */
.profile-head:not(:has(.slot)) { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
