/* 株式会社Brave 公式サイト
   白とごく薄いグレーの面に、事業内容だけ濃紺の舞台を置いてメリハリをつける。
   画像は大きく、文字は短く。横に流れる部分はカルーセルにして縦の長さを抑える */
:root {
  --text: #1d1d1f;
  --sub: #6e6e73;
  --muted: #86868b;
  --line: #d2d2d7;
  --bg: #ffffff;
  --alt: #f5f5f7;
  --navy: #0c2f8a;
  --blue: #2257e6;
  --deep: #07112b;
  --yellow: #f9ba2b;
  --grad: linear-gradient(100deg, #0c2f8a 0%, #2b62f0 55%, #6a8dff 100%);
  --r-lg: 28px;
  --r-md: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1180px;
  --edge: max(var(--gutter), (100vw - var(--max)) / 2);
  --ease: cubic-bezier(.25, .1, .25, 1);
  --en: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  --display: "Zen Kaku Gothic New", -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; letter-spacing: .01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .lead { word-break: auto-phrase; text-wrap: balance; }
h1, h2, .h-xl, .h-lg, .index__name, .mission__title, .film__final, .case h3, .flow__txt b, .futures b, .edition h3, .work__telop, .band span { font-family: var(--display); font-feature-settings: "palt"; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp { display: none; }

.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--alt { background: var(--alt); }
.section--dark { background: radial-gradient(120% 80% at 80% 0%, #10245e 0%, var(--deep) 60%); color: #fff; }
.center { text-align: center; }

/* 見出し */
.eyebrow { display: block; font-size: 14px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.section--dark .eyebrow { color: var(--yellow); }
.h-xl { font-size: clamp(38px, 6vw, 76px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.h-lg { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; }
.eyebrow + .h-lg, .eyebrow + .h-xl { margin-top: 10px; }
.lead { margin-top: 18px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.65; color: var(--sub); font-weight: 500; }
.center .lead, .hero .lead { margin-inline: auto; max-width: 34em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold { color: var(--yellow); }

/* 英字の大見出し（クリエイティブ会社の文法：作品名・区画名を大きな文字で） */
.en-head { display: block; font-family: var(--en); font-size: clamp(40px, 8vw, 120px); font-weight: 800; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; color: var(--text); overflow-wrap: anywhere; }
.section--dark .en-head { color: #fff; }
.en-head--sm { font-size: clamp(30px, 4.6vw, 60px); margin-bottom: 14px; color: var(--navy); }
.section--dark .en-head--sm, .en-head--gold { color: var(--yellow); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head__jp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; }
.sec-head__jp p { color: var(--sub); font-size: 16px; line-height: 1.8; max-width: 32em; }
.section--dark .sec-head__jp p { color: rgba(255, 255, 255, .72); }

/* ボタン・リンク */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0; background: var(--navy); color: #fff; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.btn:hover { background: var(--blue); }
.btn:active { transform: scale(.98); }
.btn--light { background: #fff; color: var(--text); }
.btn--light:hover { background: #e8e8ed; }
.btn--sm { min-height: 32px; padding: 6px 16px; font-size: 13px; }
.header .btn--sm { background: var(--yellow); color: var(--deep); }
.header .btn--sm:hover { background: #ffd060; }
.btn--gold { background: var(--yellow); color: var(--deep); }
.btn--gold:hover { background: #ffd060; }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn--line:hover { background: var(--text); color: #fff; }
.link--light { color: var(--yellow); }
.link { color: var(--blue); text-decoration: none; font-weight: 600; }
.link::after { content: " ›"; }
.link:hover { text-decoration: underline; }
.cta-row { margin-top: 28px; display: flex; gap: 14px 28px; align-items: center; justify-content: center; flex-wrap: wrap; }
.plus { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--text); font-size: 20px; line-height: 1; border: 0; cursor: pointer; transition: background .2s ease, transform .3s var(--ease); }
.plus:hover { background: #fff; transform: scale(1.06); }

/* ナビ */
.header { position: sticky; top: 0; z-index: 100; color: #fff; background: rgba(7, 17, 43, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 56px; width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; font-weight: 800; font-size: 17px; letter-spacing: 0; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; font-size: 13px; color: #fff; opacity: .78; white-space: nowrap; }
.nav a:hover { opacity: 1; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: #fff; transition: transform .25s ease, opacity .25s ease; }
body.is-menu-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.is-menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.drawer { position: fixed; inset: 56px 0 0; z-index: 90; color: #fff; background: rgba(7, 17, 43, .97); backdrop-filter: blur(20px); padding: 20px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
body.is-menu-open .drawer { opacity: 1; visibility: visible; }
.drawer a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); text-decoration: none; font-weight: 700; font-size: 24px; letter-spacing: -.01em; }
.drawer .btn { width: 100%; margin-top: 24px; }
@media (max-width: 1060px) { .nav { display: none; } .menu-btn { display: block; } }
@media (max-width: 560px) { .header .btn--sm { display: none; } }

/* 最初の画面：作例が流れる壁＋見出し */
.hero { position: relative; overflow: hidden; background: var(--deep); color: #fff; min-height: calc(100svh - 56px); display: flex; align-items: flex-end; }
.wall { position: absolute; inset: -10% -6% -10% 34%; transform: rotate(-8deg); }
.wall__inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; height: 100%; }
.wall__col { overflow: hidden; }
.wall__track { display: grid; gap: 14px; animation: wall-up 60s linear infinite; }
.wall__col:nth-child(even) .wall__track { animation-name: wall-down; animation-duration: 72s; }
.wall__col:nth-child(3) .wall__track { animation-duration: 54s; }
.wall__track img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
@keyframes wall-down { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep) 30%, rgba(7, 17, 43, .75) 48%, rgba(7, 17, 43, .1) 75%), linear-gradient(0deg, rgba(7, 17, 43, .85), transparent 40%); }
.hero__body { position: relative; z-index: 1; padding-block: clamp(80px, 12vh, 140px) clamp(56px, 9vh, 96px); }
.hero__kick { display: block; font-family: var(--en); font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--yellow); }
.hero__title { margin-top: 18px; font-size: clamp(56px, 9.4vw, 148px); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; }
.hero__title .ch { display: inline-block; }
.js .hero__title .ch { opacity: 0; transform: translateY(.45em) rotate(6deg); animation: ch-in .8s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + .15s); }
@keyframes ch-in { to { opacity: 1; transform: none; } }
.hero__lead { margin-top: 26px; max-width: 36em; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.8; color: rgba(255, 255, 255, .8); font-weight: 500; }
.hero__cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__note { position: absolute; right: 16px; bottom: 12px; z-index: 1; margin: 0; font-size: 11px; color: rgba(255, 255, 255, .5); }

/* スクロールで進む映像（最初の画面） */
.film { position: relative; height: 170vh; margin-top: clamp(36px, 5vw, 56px); }
.film__stage { position: sticky; top: 56px; height: calc(100vh - 56px); height: calc(100svh - 56px); display: grid; place-items: center; overflow: hidden; }
.film__frame { --e: 0; position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--alt); border-radius: calc(var(--r-lg) * (1 - var(--e))); transform: scale(calc(.88 + .12 * var(--e))); will-change: transform; }
.film__poster, .film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__video { opacity: 0; transition: opacity .4s ease; }
.film.is-ready .film__video { opacity: 1; }
.film__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 17, 43, .55)); pointer-events: none; }
.film__chips { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); margin: 0; padding: 0 16px; list-style: none; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.film__chips li { padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 15px; font-weight: 600; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: .3; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), background .5s ease; }
.film__chips li.is-on { opacity: 1; transform: none; }
.film__final { position: absolute; left: 0; right: 0; top: 12%; padding: 0 16px; text-align: center; color: #fff; font-size: clamp(30px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; text-shadow: 0 4px 30px rgba(7, 17, 43, .5); opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.film.is-final .film__final { opacity: 1; transform: none; }
.film__shade { transition: background .7s ease; }
.film.is-final .film__shade { background: linear-gradient(180deg, rgba(7, 17, 43, .55), transparent 45%, transparent 60%, rgba(7, 17, 43, .55)); }
.film__final .vm-label { display: block; margin-bottom: 14px; font-size: 13px; }
.film.is-final .film__chips li { background: rgba(249, 186, 43, .3); border-color: rgba(249, 186, 43, .6); }

/* 回転する丸いバッジ */
.badge { position: absolute; right: clamp(20px, 5vw, 72px); bottom: clamp(40px, 9vh, 96px); z-index: 2; width: 132px; height: 132px; display: grid; place-items: center; text-decoration: none; color: #fff; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge text { font-family: var(--en); font-size: 10px; font-weight: 600; letter-spacing: .12em; fill: #fff; }
.badge__core { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--deep); display: grid; place-items: center; font-size: 26px; font-weight: 800; transition: transform .3s var(--ease); }
.badge:hover .badge__core { transform: scale(1.12) rotate(-45deg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* 黄色の帯：大きな言葉が流れる */
.band { background: var(--yellow); color: var(--deep); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: -14px -1% 0; position: relative; z-index: 3; box-shadow: 0 10px 30px rgba(7, 17, 43, .15); }
.band__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 34s linear infinite; }
.band span { font-size: clamp(22px, 3vw, 40px); font-weight: 900; white-space: nowrap; letter-spacing: -.01em; }
.band .en { font-family: var(--en); font-weight: 800; font-size: clamp(18px, 2.4vw, 32px); }
.band i { font-style: normal; font-size: clamp(16px, 2vw, 26px); }

/* やわらかい色のぼかし球（白い区画の背景） */
.orbs { position: relative; overflow: hidden; isolation: isolate; }
.orbs::before, .orbs::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.orbs::before { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle, #ffd56b, rgba(249, 186, 43, 0) 70%); }
.orbs::after { width: 600px; height: 600px; left: -220px; bottom: -200px; background: radial-gradient(circle, #6f8dff, rgba(34, 87, 230, 0) 70%); opacity: .35; }
.orbs--alt::before { left: -160px; right: auto; top: 30%; }
.orbs--alt::after { right: -200px; left: auto; bottom: -160px; }

/* 数字の帯 */
.stats { list-style: none; margin-top: 32px !important; margin-bottom: 4px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stats li { padding: 18px 20px; border-radius: var(--r-md); background: var(--alt); display: grid; gap: 4px; }
.stats b { font-family: var(--en); font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stats li > span { font-size: 13px; font-weight: 700; color: var(--sub); }

/* 取引先ロゴ（ロゴは本来の色のまま見せる） */
.logos { padding: clamp(48px, 6vw, 72px) 0; overflow: hidden; }
.logos__label { text-align: center; font-size: 14px; font-weight: 700; color: var(--sub); }
.logos__viewport { margin-top: 24px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__row { display: flex; align-items: center; width: max-content; animation: marquee 60s linear infinite; }
.logos__row--rev { animation-direction: reverse; animation-duration: 70s; margin-top: 12px; }
.logos:hover .logos__row { animation-play-state: paused; }
.logo-item { flex: none; display: grid; place-items: center; height: 52px; padding: 0 40px; }
.logo-item img { max-height: 24px; width: auto; }
.logo-item .wm { font-weight: 800; font-size: 18px; white-space: nowrap; color: var(--navy); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 作例（WORKS） */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter { border: 0; border-radius: 999px; padding: 10px 18px; background: var(--alt); font: inherit; font-size: 14px; font-weight: 700; color: var(--text); cursor: pointer; transition: background .2s ease, color .2s ease; }
.filter:hover { background: #e8e8ed; }
.filter.is-on { background: var(--text); color: #fff; }
.works__grid { columns: 5 200px; column-gap: 14px; }
.work { break-inside: avoid; margin: 0 0 16px; }
.work[hidden] { display: none; }
.work__media { position: relative; border-radius: 16px; overflow: hidden; background: var(--alt); }
.work__media img, .work__media video { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.work__media video { aspect-ratio: 9 / 16; object-fit: cover; }
.work:hover .work__media img, .work:hover .work__media video { transform: scale(1.03); }
.work__telop { position: absolute; left: 0; right: 0; bottom: 18%; margin: 0; padding: 0 12px; text-align: center; color: #fff; font-size: clamp(15px, 1.4vw, 19px); font-weight: 900; line-height: 1.35; text-shadow: 0 2px 10px rgba(0, 0, 0, .6), 0 0 2px rgba(0, 0, 0, .8); pointer-events: none; }
.work__media::after { content: "▶ 動画"; position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 700; display: none; }
.work[data-type="video"] .work__media::after { display: block; }
.work figcaption { display: grid; gap: 1px; padding: 10px 2px 0; font-size: 11px; color: var(--sub); line-height: 1.5; }
.work figcaption b { color: var(--text); font-size: 13px; }
.works__foot { margin-top: 24px; display: grid; justify-items: center; gap: 14px; text-align: center; }
.works.is-collapsed .work.is-extra { display: none; }

/* 事業内容：大きな文字の一覧 */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.index__item { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.index__row { width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 44px; gap: 20px; align-items: center; padding: 28px 0; border: 0; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.index__no { font-family: var(--en); font-weight: 800; font-size: 14px; color: var(--yellow); }
.index__name { font-size: clamp(26px, 3.6vw, 48px); font-weight: 900; letter-spacing: -.03em; line-height: 1.15; transition: transform .4s var(--ease), color .3s ease; }
.index__name small { display: block; margin-top: 6px; font-family: var(--en); font-size: 12px; font-weight: 800; letter-spacing: .1em; color: rgba(255, 255, 255, .5); }
.index__row:hover .index__name { transform: translateX(10px); color: var(--yellow); }
.index__tag { font-size: 15px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.index__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); font-size: 22px; transition: transform .35s var(--ease), background .2s ease; }
.index__item.is-open .index__icon { transform: rotate(45deg); background: var(--yellow); color: var(--deep); }
.index__more { display: none; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 0 0 32px 84px; align-items: start; }
.index__item.is-open .index__more { display: grid; }
.index__more img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.index__more p { color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.9; max-width: 36em; }
.index__more ul { margin: 18px 0 20px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.index__more li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 14px; font-weight: 600; }
.index__float { position: fixed; left: 0; top: 0; z-index: 50; width: 240px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-4deg); transition: opacity .25s ease, transform .35s var(--ease); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.index__float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
@media (hover: none), (pointer: coarse) { .index__float { display: none; } }

/* カルーセル（事業内容・支援事例で共通） */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rail-ctrl { display: flex; align-items: center; gap: 10px; flex: none; }
.rail-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 6em; text-align: right; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #e8e8ed; color: var(--text); font-size: 18px; cursor: pointer; transition: background .2s ease, opacity .2s ease; }
.rail-btn:hover { background: #d2d2d7; }
.rail-btn[disabled] { opacity: .3; cursor: default; }
.section--dark .rail-count { color: rgba(255, 255, 255, .6); }
.section--dark .rail-btn { background: rgba(255, 255, 255, .12); color: #fff; }
.section--dark .rail-btn:hover { background: rgba(255, 255, 255, .22); }
.rail { margin-top: 36px; display: grid; grid-auto-flow: column; grid-auto-columns: min(380px, 80vw); gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--edge); padding-inline: var(--edge); padding-bottom: 8px; scrollbar-width: none; touch-action: pan-x pan-y; }
/* マウス・トラックパッドの環境では縦のホイールを必ずページに渡す（横送りは矢印か横スワイプ） */
@media (hover: hover) and (pointer: fine) { .rail { overflow-x: hidden; } }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* 事業内容：画像が主役の縦長カード */
.svc { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #0b1636; color: #fff; isolation: isolate; }
.svc__bg { position: absolute; inset: 22% 0 0; width: 100%; height: 78%; object-fit: cover; object-position: 50% 100%; z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%); mask-image: linear-gradient(180deg, transparent 0, #000 30%); transition: transform .8s var(--ease); }
.svc:hover .svc__bg { transform: scale(1.04); }
.svc::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; z-index: 0; background: linear-gradient(180deg, rgba(7, 17, 43, .92) 30%, transparent); pointer-events: none; }
.svc__head { position: relative; z-index: 1; padding: 30px 30px 0; }
.svc__en { font-size: 12px; font-weight: 700; color: var(--yellow); letter-spacing: .08em; }
.svc h3 { margin-top: 8px; font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.svc__tag { margin-top: 6px; font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.svc__foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 40px 22px 22px 30px; background: linear-gradient(180deg, transparent, rgba(7, 17, 43, .85)); font-size: 14px; font-weight: 600; }
.svc__foot .plus { position: relative; z-index: 3; }
.svc__more { position: absolute; inset: 0; z-index: 2; background: rgba(7, 17, 43, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 30px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.svc.is-open .svc__more { opacity: 1; visibility: visible; }
.svc.is-open .svc__foot { visibility: hidden; }
.svc__more h4 { margin: 0; font-size: 24px; font-weight: 800; }
.svc__more p { margin-top: 14px; font-size: 15px; color: rgba(255, 255, 255, .82); line-height: 1.8; }
.svc__more ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.svc__more li { display: flex; gap: 10px; font-size: 15px; font-weight: 600; }
.svc__more li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--yellow); }
.svc__more .svc__close { position: absolute; right: 22px; bottom: 22px; transform: rotate(45deg); }

/* 支援事例：数字を画像の上に重ねたカード */
.rail--cases { grid-auto-columns: min(420px, 82vw); }
.case { background: var(--alt); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.case__ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.case__ph img { width: 100%; height: 100%; object-fit: cover; }
.case__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 17, 43, .75)); }
.case__num { position: absolute; left: 24px; bottom: 16px; z-index: 1; color: #fff; font-size: clamp(42px, 4.4vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.case__num .grad { background: none; color: #fff; }
.case__num small { font-size: .4em; font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.case__body { padding: 22px 24px 26px; display: grid; gap: 8px; }
.case__cat { font-size: 12px; font-weight: 700; color: var(--navy); }
.case h3 { font-size: 18px; font-weight: 700; line-height: 1.5; }
.case__from { font-size: 13px; color: var(--sub); }
.note { margin-top: 18px; font-size: 12px; color: var(--muted); }

/* SNS運用代行の実績：スマホの枠に実際のアカウント */
.rail--sns { grid-auto-columns: min(560px, 86vw); gap: 24px; }
.sns-card { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.phone { position: relative; aspect-ratio: 9 / 19.2; padding: 9px; border-radius: 42px; background: #0a0a0c; box-shadow: 0 0 0 2px #2a2d36, 0 30px 60px rgba(0, 0, 0, .45); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 17px; left: 50%; width: 30%; height: 18px; border-radius: 999px; background: #0a0a0c; transform: translateX(-50%); }
.phone__screen { position: relative; height: 100%; border-radius: 33px; overflow: hidden; background: #fff; container-type: size; }
.phone__screen::before { content: ""; position: absolute; inset: 0 0 auto; height: 40px; z-index: 1; background: #fff; }
.phone__screen img { position: absolute; left: 0; top: 40px; width: 100%; height: auto; animation: feed 16s ease-in-out infinite alternate; animation-delay: var(--delay, 0s); }
@keyframes feed { 0%, 18% { transform: translateY(0); } 82%, 100% { transform: translateY(calc(-100% + 100cqh - 40px)); } }
.sns-card__cat { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .65); }
.sns-card__num { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; line-height: 1; }
.sns-card__num small { font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.sns-card__num b { font-family: var(--display); font-size: clamp(48px, 5vw, 68px); font-weight: 900; color: var(--yellow); letter-spacing: -.02em; }
.sns-card__desc { margin-top: 16px; font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, .8); }
.sns-card__handle { display: inline-flex; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; }
.sns-card__handle:hover { background: rgba(255, 255, 255, .2); }
.sns .note { color: rgba(255, 255, 255, .5); }
.phone__screen--stat { display: grid; place-content: center; justify-items: center; gap: 10px; padding: 18px; text-align: center; color: #fff; background: radial-gradient(120% 70% at 50% 0%, #2b62f0, #0c2f8a 55%, #07112b); }
.phone__screen--stat::before { background: transparent; }
.phone__screen--stat span { font-family: var(--en); font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--yellow); }
.phone__screen--stat b { font-family: var(--display); font-size: clamp(30px, 3vw, 44px); font-weight: 900; line-height: 1; }
.phone__screen--stat i { font-style: normal; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.sns-card__tag { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: var(--yellow); color: var(--deep); font-size: 11px; font-weight: 800; vertical-align: 1px; }
.sns-card--own { background: rgba(249, 186, 43, .07); border-color: rgba(249, 186, 43, .25); }
.case__ph--text { display: grid; place-items: end start; background: radial-gradient(120% 90% at 0% 0%, #2b62f0, #0c2f8a 55%, #07112b); }
.case__ph--text::after { display: none; }
.case__ph--text .case__num { position: static; padding: 0 24px 18px; }
.activities { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.activities li { display: flex; gap: 12px; align-items: baseline; font-size: 14px; color: #424245; line-height: 1.7; }
.activities b { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--deep); color: #fff; font-size: 12px; }
@media (max-width: 640px) {
  .sns-card { grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .phone { padding: 6px; border-radius: 26px; }
  .phone::before { top: 11px; height: 11px; }
  .phone__screen { border-radius: 21px; }
  .phone__screen::before { height: 26px; }
  .phone__screen img { top: 26px; animation-name: feed-sp; }
  .sns-card__num b { font-size: 40px; }
  .sns-card__desc { font-size: 13px; margin-top: 10px; }
  .sns-card__handle { margin-top: 10px; font-size: 12px; }
  .phone__screen--stat { padding: 8px; gap: 6px; }
  .phone__screen--stat span { font-size: 8px; }
  .phone__screen--stat b { font-size: 22px; }
  .phone__screen--stat i { font-size: 10px; }
}
@keyframes feed-sp { 0%, 18% { transform: translateY(0); } 82%, 100% { transform: translateY(calc(-100% + 100cqh - 26px)); } }

/* 支援の進め方：画像1枚＋4つの切り替え */
.flow { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.flow__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: #e8e8ed; }
.flow__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.flow__img.is-on { opacity: 1; transform: none; }
.flow__tabs { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.flow__tab { width: 100%; display: flex; gap: 18px; align-items: flex-start; text-align: left; padding: 16px 18px; border: 0; border-radius: 16px; background: transparent; font: inherit; color: var(--text); cursor: pointer; transition: background .25s ease; }
.flow__tab:hover { background: rgba(255, 255, 255, .6); }
.flow__tab.is-on { background: #fff; box-shadow: 0 10px 30px rgba(7, 17, 43, .06); }
.flow__no { flex: none; font-size: 13px; font-weight: 800; color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.flow__tab.is-on .flow__no { color: var(--navy); }
.flow__txt { display: grid; gap: 4px; }
.flow__txt b { font-size: 19px; font-weight: 800; }
.flow__txt span { font-size: 14px; color: var(--sub); line-height: 1.7; display: none; }
.flow__tab.is-on .flow__txt span { display: block; }

/* 私たちについて：映像の上に見出し */
.vision__film { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--deep); }
.vision__film img, .vision__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vision__film video { opacity: 0; transition: opacity .6s ease; }
.vision__film.is-ready video { opacity: 1; }
.vision__film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 17, 43, .78) 0%, rgba(7, 17, 43, .35) 50%, transparent 75%); }
.vision__over { position: absolute; z-index: 1; left: clamp(24px, 5vw, 64px); top: 50%; transform: translateY(-50%); color: #fff; max-width: 640px; }
.vision__over .eyebrow { color: var(--yellow); }
.vm-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--yellow); }
.vm-label--dark { color: var(--navy); }
.vision__over .h-xl { margin-top: 12px; }
.vision__sub { margin-top: 16px; font-size: clamp(15px, 1.5vw, 18px); font-weight: 600; color: rgba(255, 255, 255, .88); }
.mission--tight { margin-top: 0 !important; }
.mission { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px clamp(32px, 5vw, 72px); margin-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.mission .vm-label { grid-column: 1 / -1; }
.mission__title { margin: 0; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; word-break: auto-phrase; }
.mission__text { display: grid; gap: 1em; font-size: 16px; color: #424245; line-height: 1.9; }
.futures-head { margin-top: clamp(40px, 5vw, 64px); }
.futures { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.futures li { background: var(--alt); border-radius: var(--r-md); overflow: hidden; }
.futures img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.futures li > div { padding: 18px 22px 22px; }
.futures span { font-size: 12px; font-weight: 700; color: var(--navy); }
.futures b { display: block; margin-top: 4px; font-size: 18px; font-weight: 800; line-height: 1.45; }
.futures p { margin-top: 6px; font-size: 14px; color: var(--sub); line-height: 1.75; }
.vision__more { margin-top: 24px; text-align: right; }

/* お役立ち資料（台座の上に表紙） */
.shelf { position: relative; margin-top: 44px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 2240 / 980; background: var(--alt); }
.shelf__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shelf__book { position: absolute; width: 9.6%; border-radius: 3px; box-shadow: 0 18px 30px rgba(7, 17, 43, .22); transform: translateX(-50%); transition: transform .5s var(--ease); }
.shelf__book--l { left: 31.9%; bottom: 45.6%; }
.shelf__book--c { left: 49.8%; bottom: 53.8%; width: 10.4%; }
.shelf__book--r { left: 67.5%; bottom: 42.4%; }
.shelf:hover .shelf__book { transform: translateX(-50%) translateY(-6px); }
.editions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; text-align: center; }
.edition { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.edition__cat { font-size: 13px; color: var(--sub); font-weight: 600; }
.edition h3 { font-size: 19px; font-weight: 800; line-height: 1.45; letter-spacing: -.01em; }
.edition .btn { margin-top: auto; }
.edition h3 { margin-bottom: 8px; }

/* 資料ダウンロードのモーダル */
.modal { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); background: #fff; color: var(--text); overflow-y: auto; box-shadow: 0 40px 80px rgba(7, 17, 43, .3); }
.modal::backdrop { background: rgba(7, 17, 43, .55); backdrop-filter: blur(6px); }
.modal__close { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--alt); font-size: 20px; cursor: pointer; }

/* フォーム（共通） */
.panel { margin: 48px auto 0; max-width: 760px; background: #fff; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 48px); }
.panel__head { text-align: center; }
.panel__head h3 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.panel__head p { margin-top: 8px; color: var(--sub); font-size: 15px; }
.form { display: grid; gap: 18px; margin-top: 24px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field label, .field-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.req { margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.req::before { content: "（"; }
.req::after { content: "）"; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--text); padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, #86868b 50%), linear-gradient(135deg, #86868b 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(34, 87, 230, .15); }
.field textarea { resize: vertical; min-height: 140px; }
.field__count { margin-top: 4px; font-size: 12px; color: var(--muted); text-align: right; }
.picks { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.pick { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.pick:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.pick input, .consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy); flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #424245; }
.form .btn { width: 100%; min-height: 54px; font-size: 17px; }
.form .btn[disabled] { opacity: .5; cursor: default; }
.status { padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.status--ok { background: #eaf6ec; color: #1d6b2c; }
.status--ng { background: #fdecec; color: #a3261f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dl__done { margin-top: 24px; text-align: center; }
.dl__done-title { font-weight: 700; font-size: 19px; }
.dl__files { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.dl__files a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 14px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s ease; }
.dl__files a:hover { background: var(--blue); }
.dl__files a::after { content: "PDF ↓"; font-size: 13px; color: var(--yellow); flex: none; }
.dl__done-note { margin-top: 18px; font-size: 14px; color: var(--sub); }

/* 採用 */
.recruit { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 480px; display: flex; align-items: center; color: #fff; background: var(--deep); }
.recruit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recruit::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 17, 43, .9) 0%, rgba(7, 17, 43, .5) 50%, transparent 80%); }
.recruit__body { position: relative; z-index: 2; padding: clamp(32px, 5vw, 64px); max-width: 600px; }
.recruit .eyebrow { color: var(--yellow); }
.recruit p { margin-top: 16px; font-size: 16px; line-height: 1.85; color: rgba(255, 255, 255, .88); }
.recruit .btn { margin-top: 26px; }

/* よくある質問・お知らせ */
.qa { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.qa__side { position: sticky; top: 88px; }
.news { margin-top: 36px; display: grid; gap: 10px; }
.news__label { font-size: 13px; font-weight: 700; color: var(--sub); }
.news__item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px; border-radius: 14px; background: #fff; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.5; }
.news__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.news__item time { display: block; font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 22px 0; font-weight: 700; font-size: 17px; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 300; color: var(--sub); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: #424245; font-size: 15px; line-height: 1.8; }

/* 代表・会社概要 */
.leader { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.leader__card { aspect-ratio: 1; border-radius: var(--r-lg); background: radial-gradient(80% 80% at 50% 35%, #ffffff, #e8ecf6); display: grid; place-items: center; box-shadow: 0 30px 60px rgba(7, 17, 43, .08); }
.leader__card img { width: 46%; }
.leader__role { font-size: 14px; color: var(--navy); font-weight: 700; }
.leader__name { margin-top: 6px; font-size: clamp(36px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.02em; }
.leader__name small { margin-left: 14px; font-size: 15px; font-weight: 500; color: var(--sub); }
.leader h3 { margin-top: 22px; font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; line-height: 1.45; }
.leader__text { margin-top: 16px; display: grid; gap: 1em; color: #424245; font-size: 15px; line-height: 1.9; }
.company { background: var(--alt); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.company h3 { font-size: 24px; font-weight: 800; }
.company dl { margin: 20px 0 0; display: grid; grid-template-columns: 160px minmax(0, 1fr); }
.company dt, .company dd { margin: 0; padding: 16px 0; border-top: 1px solid #e3e3e8; font-size: 15px; }
.company dt { color: var(--sub); font-weight: 500; }

/* お問い合わせ */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__side { position: sticky; top: 88px; }
.contact .panel { margin: 0; max-width: none; }
.contact-points { margin: 22px 0 0; padding: 0; list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.contact-points li { padding: 8px 16px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: #424245; }
.section--dark .contact-points li { background: rgba(255, 255, 255, .1); color: #fff; }
.section--dark .lead { color: rgba(255, 255, 255, .75); }
.section--dark .panel { color: var(--text); }
.contact .en-head { font-size: clamp(40px, 6vw, 92px); margin-bottom: 18px; }
.contact__ph { margin-top: 28px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.contact__ph img { width: 100%; height: 100%; object-fit: cover; }

/* お問い合わせ後のサンキュー画面 */
.thanks { text-align: center; padding: 12px 0 4px; outline: none; }
.thanks__mark { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--deep); font-size: 34px; font-weight: 900; animation: pop .6s var(--ease) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.thanks__kick { margin-top: 20px; font-family: var(--en); font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--navy); }
.thanks__title { margin-top: 10px; font-family: var(--display); font-feature-settings: "palt"; font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; line-height: 1.35; }
.thanks__text { margin-top: 14px; color: var(--sub); font-size: 15px; line-height: 1.9; }
.thanks__next { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.thanks__next p { font-size: 13px; font-weight: 700; color: var(--muted); }
.thanks__next a { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--alt); color: var(--text); font-weight: 700; font-size: 15px; text-decoration: none; transition: background .2s ease; }
.thanks__next a::after { content: "→"; color: var(--navy); }
.thanks__next a:hover { background: #e8e8ed; }

/* 404 */
.notfound { min-height: calc(100svh - 56px); display: flex; align-items: center; }
.notfound .en-head { color: var(--yellow); }
.notfound .h-lg { margin-top: 16px; }
.notfound .lead { color: rgba(255, 255, 255, .75); margin-inline: 0; }

/* フッター */
.footer { background: var(--alt); color: var(--sub); font-size: 12px; padding: 40px 0 28px; }
.footer__inner { width: min(1060px, 100% - var(--gutter) * 2); margin-inline: auto; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer .brand { color: var(--text); font-size: 15px; }
.footer__addr { margin-top: 12px; line-height: 1.8; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col b { color: var(--text); font-weight: 600; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--text); text-decoration: underline; }
.footer__bottom { padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom a { text-decoration: none; }

/* 下層ページ */
.page-hero { padding: clamp(64px, 9vw, 110px) 0 clamp(40px, 6vw, 64px); text-align: center; }
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 22px; font-weight: 700; margin-top: 44px; }
.prose p, .prose li { font-size: 16px; margin-top: 12px; color: #424245; line-height: 1.9; }
.prose ul { padding-left: 1.3em; }

/* 出現アニメーション */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .sec-head__jp { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge { width: 104px; height: 104px; bottom: 28px; }
  .badge__core { width: 50px; height: 50px; font-size: 20px; }
  .wall { inset: 52% -30% -30% -30%; }
  .hero__shade { background: linear-gradient(180deg, var(--deep) 46%, rgba(7, 17, 43, .45) 62%, rgba(7, 17, 43, .05) 82%, rgba(7, 17, 43, .4)); }
  .hero { align-items: flex-start; }
  .index__row { grid-template-columns: 40px minmax(0, 1fr) 40px; }
  .index__tag { display: none; }
  .index__more { grid-template-columns: 1fr; padding-left: 0; }
  .index__more img { aspect-ratio: 16 / 10; }
  .flow, .mission, .qa, .leader, .contact { grid-template-columns: 1fr; }
  .futures { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .futures::-webkit-scrollbar { display: none; }
  .futures li { scroll-snap-align: start; }
  .qa__side, .contact__side { position: static; }
  .editions { grid-template-columns: 1fr; gap: 32px; }
  .leader__card { max-width: 320px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sp { display: inline; }
  .film { height: 180vh; }
  .works__grid { columns: 2; column-gap: 10px; }
  .work { margin-bottom: 10px; }
  .work figcaption span { display: none; }
  .hero__title { font-size: clamp(44px, 13vw, 64px); }
  .hero__body { padding-top: 36px; }
  .film__frame { transform: scale(calc(.92 + .08 * var(--e))); }
  .film__chips li { font-size: 13px; padding: 7px 13px; }
  .film__final { top: 12%; }
  .rail-ctrl .rail-count { display: none; }
  .rail-btn { width: 40px; height: 40px; }
  .svc h3 { font-size: 25px; }
  .vision__film { aspect-ratio: 4 / 5; }
  .vision__film::after { background: linear-gradient(180deg, rgba(7, 17, 43, .8) 0%, rgba(7, 17, 43, .3) 55%, transparent); }
  .vision__over { top: 28px; transform: none; right: 24px; }
  .vision__sub { display: none; }
  .shelf { aspect-ratio: 4 / 3; }
  .editions { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; text-align: left; }
  .editions::-webkit-scrollbar { display: none; }
  .edition { scroll-snap-align: start; align-items: flex-start; background: #fff; border-radius: var(--r-md); padding: 20px; }
  .shelf__book--l { left: 19%; width: 16.5%; }
  .shelf__book--c { left: 49.7%; width: 17.8%; }
  .shelf__book--r { left: 80%; width: 16.5%; }
  .form__row { grid-template-columns: 1fr; }
  .recruit { min-height: 520px; align-items: flex-end; }
  .recruit::before { background: linear-gradient(180deg, rgba(7, 17, 43, .1), rgba(7, 17, 43, .92) 58%); }
  .faq summary { font-size: 16px; }
  .faq details p { padding-right: 0; }
  .company dl { grid-template-columns: 1fr; }
  .company dt { padding-bottom: 0; }
  .company dd { border-top: 0; padding-top: 6px; }
  .contact__ph { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .film { height: auto; }
  .film__stage { position: relative; top: 0; height: auto; aspect-ratio: 16 / 9; }
  .film__frame { transform: none; border-radius: 0; }
  .film__video { display: none; }
  .film__chips li { opacity: 1; transform: none; }
  .js .hero__title .ch { opacity: 1; transform: none; animation: none; }
}
