/* ============================================================
   株式会社DiVE — styles
   配色: 深い黒 × エレクトリックブルー（ロゴのグラデーションを継承）
   ============================================================ */
:root {
  --bg: #06070b;
  --bg-2: #0b0d14;
  --bg-3: #10131c;
  --ink: #f2f4f8;
  --ink-2: #c7cdd9;
  --muted: #8b93a6;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.16);
  --blue: #2f6bff;
  --blue-deep: #1a3fd0;
  --cyan: #37d6ff;
  --grad: linear-gradient(115deg, #1a3fd0 0%, #2f7dff 48%, #37d6ff 100%);
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Space Grotesk", "Inter", system-ui, sans-serif;
  --container: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --ease: cubic-bezier(.22,.8,.2,1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.motion-off { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-jp); font-size: 16px; line-height: 1.85;
  font-feature-settings: "palt"; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl { margin: 0; }
em { font-style: normal; }
.container { width: min(var(--container), 100% - var(--pad) * 2); margin-inline: auto; }
.sp { display: none; }
@media (max-width: 640px) { .sp { display: inline; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- progress bar ---------- */
.progress { position: fixed; inset: 0 auto auto 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad); z-index: 60; }

/* ---------- custom cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--cyan); pointer-events: none; mix-blend-mode: difference; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s; display: none; }
.cursor span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 12px/1 var(--font-en); letter-spacing: .12em; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-play { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: #fff; mix-blend-mode: normal; }
.cursor.is-play span { opacity: 1; }
@media (pointer: fine) { .cursor { display: block; } body.has-cursor .work-card, body.has-cursor .reel-card { cursor: none; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad);
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(6,7,11,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.brand img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { display: flex; flex-direction: column; align-items: center; padding: 8px 14px; border-radius: 10px; font: 600 12px/1 var(--font-en); letter-spacing: .14em; color: var(--ink-2); transition: color .25s, background .25s; }
.site-nav a small { font: 500 10px/1 var(--font-jp); letter-spacing: .04em; color: var(--muted); margin-top: 5px; }
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.site-nav .nav-cta { margin-left: 8px; background: var(--ink); color: var(--bg); }
.site-nav .nav-cta small { color: rgba(0,0,0,.6); }
.site-nav .nav-cta:hover { background: #fff; color: var(--bg); }
.motion-toggle { width: 36px; height: 36px; margin-left: 8px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 13px; display: grid; place-items: center; }
.motion-toggle[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.mobile-nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; background: rgba(6,7,11,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 12px var(--pad) 24px; display: grid; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
@media (max-width: 900px) { .site-nav { display: none; } .nav-toggle { display: block; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: .02em; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s; border: 1px solid transparent; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -10px rgba(55,214,255,.45); }
.btn-primary .arrow { transition: transform .3s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-grad { background: var(--grad); color: #fff; }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 14px 44px -12px rgba(47,125,255,.7); }

/* ---------- typography helpers ---------- */
.kicker { font: 600 12px/1 var(--font-en); letter-spacing: .22em; color: var(--cyan); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--cyan); }
h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; line-height: 1.25; letter-spacing: -.01em; }
h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-lead { margin-top: 20px; color: var(--ink-2); max-width: 720px; font-size: 15.5px; }
section { position: relative; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
html.motion-off .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.wall { position: absolute; inset: -10% -20%; z-index: -2; display: grid; grid-template-rows: repeat(3, 1fr); gap: 2vw; transform: perspective(1400px) rotateX(18deg) rotateZ(-6deg) scale(1.15); transform-origin: 50% 40%; opacity: .55; }
.wall-row { display: flex; gap: 2vw; width: max-content; will-change: transform; }
.wall-row img { width: clamp(220px, 22vw, 380px); aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; filter: saturate(.85) brightness(.9); flex: none; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(70% 60% at 50% 50%, rgba(6,7,11,.1) 0%, rgba(6,7,11,.7) 75%, var(--bg) 100%),
  linear-gradient(180deg, rgba(6,7,11,.7) 0%, rgba(6,7,11,.12) 22%, rgba(6,7,11,.12) 72%, var(--bg) 100%); }
.hero.has-video .hero-shade { background:
  linear-gradient(90deg, rgba(6,7,11,.72) 0%, rgba(6,7,11,.35) 45%, rgba(6,7,11,.15) 100%),
  linear-gradient(180deg, rgba(6,7,11,.55) 0%, rgba(6,7,11,.05) 20%, rgba(6,7,11,.05) 75%, var(--bg) 100%); }
.hero-inner { align-self: center; padding: calc(var(--header-h) + 8vh) var(--pad) 6vh; width: min(var(--container), 100%); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--font-en); letter-spacing: .2em; color: var(--ink-2); padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(6,7,11,.4); backdrop-filter: blur(6px); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(55,214,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(55,214,255,.6); } 100% { box-shadow: 0 0 0 12px rgba(55,214,255,0); } }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.award-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); padding: 9px 14px 9px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(6,7,11,.4); backdrop-filter: blur(6px); opacity: 0; animation: fadeup 1s var(--ease) .9s forwards; }
.award-pill:empty { display: none; }
.award-pill .aw-tag { font: 700 10px/1 var(--font-en); letter-spacing: .2em; color: var(--muted); padding-right: 10px; border-right: 1px solid var(--line-2); }
.award-pill b { color: var(--ink); font-weight: 700; }
.award-pill small { font-size: 11px; color: var(--muted); }
.award-pill small::before { content: "／ "; }
html.motion-off .award-pill { animation: none; opacity: 1; }
@media (max-width: 640px) { .award-pill { font-size: 11px; padding: 7px 11px; } .award-pill small { display: none; } }
.stats .is-award b.txt { font-family: var(--font-jp); font-weight: 900; letter-spacing: 0; }
.hero-title { margin-top: 30px; font-size: clamp(38px, 7.2vw, 100px); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; }
.hero-title .ch { display: inline-block; transform: translateY(110%) rotate(4deg); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms); }
html.motion-off .hero-title .ch { animation: none; transform: none; }
@keyframes rise { to { transform: none; } }
.btn.magnet { will-change: transform; }
.hero-title em .ch, .hero-title em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title.is-hw { font-size: clamp(32px, 4.8vw, 68px); }
.hero-title .hw-line > span { display: inline-flex; flex-wrap: wrap; align-items: center; column-gap: .14em; row-gap: .05em; }
.hw-tail { display: inline-flex; align-items: center; column-gap: .14em; white-space: nowrap; }
.hw-box { display: inline-flex; align-items: center; justify-content: center; height: 1.98em; width: 6em; box-sizing: border-box; padding: 0 .3em; border: 2px solid rgba(255,255,255,.92); border-radius: 3px; vertical-align: middle; position: relative; overflow: hidden; transition: box-shadow .5s ease; }
.hw-box.settle { animation: settle .9s ease-out; }
@keyframes settle { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } 25% { box-shadow: 0 0 22px 1px rgba(255,255,255,.35), inset 0 0 18px rgba(255,255,255,.12); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.hw-box .kw { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: "Yuji Syuku", "Shippori Mincho B1", "Hiragino Mincho ProN", serif; font-weight: 400; font-size: 1.58em; letter-spacing: .08em; line-height: 1; color: #fff; -webkit-text-stroke: .6px #fff; transform: skewX(-9deg); opacity: 0; will-change: transform, filter, opacity; }
.hw-box .kw.is-static { opacity: 1; }
.hw-box .kw.in { animation: inkIn 1.05s cubic-bezier(.16,1,.3,1) forwards; }
.hw-box .kw.out { animation: inkOut .32s ease-in forwards; }
@keyframes inkIn {
  0%   { opacity: 0; filter: blur(14px); transform: skewX(-9deg) scale(1.22); text-shadow: 0 0 24px rgba(255,255,255,.8), 0 0 48px rgba(255,255,255,.4); }
  35%  { opacity: 1; filter: blur(7px);  transform: skewX(-9deg) scale(1.11); text-shadow: 0 0 20px rgba(255,255,255,.6), 0 0 40px rgba(255,255,255,.3); }
  100% { opacity: 1; filter: blur(0);    transform: skewX(-9deg) scale(1);    text-shadow: 0 0 0 rgba(255,255,255,0); }
}
@keyframes inkOut { to { opacity: 0; filter: blur(8px); transform: skewX(-9deg) scale(1.05); } }
html.motion-off .hw-box .kw { animation: none; opacity: 1; }
.hero-title.is-hw .hw-pre, .hero-title.is-hw .hw-post { font-weight: 800; }
.hw-box.is-fading svg { opacity: 0; }
.hero-title .rot { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; }
.hero-title .rot .rot-inner { display: inline-block; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.hero-title .rot.is-out .rot-inner { transform: translateY(-70%); opacity: 0; transition-duration: .3s; }
.hero-title .rot.is-in .rot-inner { animation: rotin .5s var(--ease); }
@keyframes rotin { from { transform: translateY(70%); opacity: 0; } }
.hero-mission { margin-top: 22px; font-size: clamp(17px, 1.7vw, 22px); font-weight: 700; letter-spacing: .02em; opacity: 0; animation: fadeup 1s var(--ease) .4s forwards; }
.hero-mission[hidden] { display: none; }
html.motion-off .hero-mission { animation: none; opacity: 1; }
.hero-mission:not([hidden]) + .hero-lead { margin-top: 14px; }
.hero-lead { margin-top: 28px; max-width: 640px; color: var(--ink-2); font-size: clamp(15px, 1.4vw, 18px); opacity: 0; animation: fadeup 1s var(--ease) .5s forwards; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fadeup 1s var(--ease) .7s forwards; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 var(--pad) 28px; width: min(var(--container), 100%); margin-inline: auto; font: 500 11px/1 var(--font-en); letter-spacing: .18em; color: var(--muted); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { display: block; width: 1px; height: 40px; background: linear-gradient(var(--cyan), transparent); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 640px) { .hero-tag { display: none; } .wall { inset: -10% -60%; transform: perspective(1000px) rotateX(16deg) rotateZ(-8deg) scale(1.3); } .eyebrow { font-size: 10px; letter-spacing: .14em; padding: 8px 12px; } .hero-lead br:not(.sp) { display: none; } .hero-title { font-size: clamp(34px, 10vw, 48px); } }
/* スクショ用: ?shot=1 でヒーローの高さを固定し、横スクロール演出を通常配置に */
html.shot .hero { min-height: 900px; }
html.shot .reel-sticky { position: static; height: auto; overflow: visible; }
html.shot .reel-track { transform: none !important; overflow-x: hidden; width: auto; }
html.motion-off .hero-title .line > span, html.motion-off .hero-lead, html.motion-off .hero-actions { animation: none; opacity: 1; transform: none; }
html.motion-off .eyebrow .dot, html.motion-off .scroll-cue i { animation: none; }

/* ヒーロー動画（ショーリール） */
.hero-video { position: absolute; top: 0; left: 50%; height: 100%; width: auto; max-width: none; transform: translateX(-50%); z-index: -2; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; filter: saturate(.9);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
@media (max-aspect-ratio: 16/9) { .hero-video { -webkit-mask-image: none; mask-image: none; } }
.hero-video.is-ready { opacity: .78; }
.hero.has-video .wall { opacity: 0; transition: opacity 1.2s; }
html.motion-off .hero-video { display: none; }
html.motion-off .hero.has-video .wall { opacity: .55; }
.reel-btn { position: relative; width: 92px; height: 92px; display: grid; place-items: center; margin: 0 auto; color: var(--ink); transition: transform .4s var(--ease); }
.reel-btn:hover { transform: scale(1.06); }
.reel-ring { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.reel-ring svg { width: 100%; height: 100%; overflow: visible; }
.reel-ring text { font: 700 11.5px var(--font-en); letter-spacing: .22em; fill: var(--ink-2); }
@keyframes spin { to { transform: rotate(360deg); } }
.reel-btn:hover .reel-ring { animation-duration: 5s; }
.reel-play { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: background .3s; }
.reel-play::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--bg); margin-left: 3px; }
.reel-btn:hover .reel-play { background: var(--cyan); }
html.motion-off .reel-ring { animation: none; }
@media (max-width: 640px) { .reel-btn { width: 72px; height: 72px; } .reel-ring text { font-size: 13px; } .reel-play { width: 36px; height: 36px; } }

/* ホバーで動くプレビュー */
.preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; pointer-events: none; }
.preview.is-on { opacity: 1; }
.work-card .thumb, .reel-card { isolation: isolate; }
.reel-card .preview, .work-card .preview { z-index: 1; }
.reel-card::after, .reel-card .meta, .reel-card .num { z-index: 2; }
.work-card .thumb .play-badge { z-index: 2; }

/* ---------- TICKER ---------- */
.ticker { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--bg-2); display: flex; align-items: center; gap: 24px; }
.ticker-label { flex: none; padding: 0 var(--pad); font: 600 11px/1 var(--font-en); letter-spacing: .22em; color: var(--muted); border-right: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; gap: 56px; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { white-space: nowrap; font-weight: 700; font-size: 15px; color: var(--ink-2); display: flex; align-items: center; gap: 56px; }
.ticker-track span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
@keyframes ticker { to { transform: translateX(-50%); } }
html.motion-off .ticker-track { animation: none; }

/* ---------- NUMBERS ---------- */
.numbers { padding: clamp(56px, 8vw, 110px) 0 clamp(32px, 5vw, 60px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats li { background: var(--bg); padding: 30px 28px; }
.stats b { display: block; font: 700 clamp(40px, 5vw, 64px)/1 var(--font-en); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats b small { font-size: .5em; }
.stats span { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- REEL (horizontal) ---------- */
.reel-section { padding-top: clamp(40px, 6vw, 90px); }
.reel-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.reel-sticky .section-head { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.reel-hint { font: 500 11px/1 var(--font-en); letter-spacing: .2em; color: var(--muted); }
.reel-track { display: flex; gap: clamp(16px, 2vw, 28px); padding-left: max(var(--pad), (100vw - var(--container)) / 2); padding-right: var(--pad); width: max-content; will-change: transform; }
.reel-card { position: relative; flex: none; width: clamp(300px, 42vw, 640px); aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); text-align: left; padding: 0; }
.reel-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.reel-card:hover img { transform: scale(1.04); filter: brightness(1.05); }
.reel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,7,11,.9)); }
.reel-card .meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.reel-card .num { position: absolute; top: 18px; left: 22px; z-index: 1; font: 600 12px/1 var(--font-en); letter-spacing: .18em; color: rgba(255,255,255,.75); }
.reel-card .meta > span:first-child { display: block; }
.reel-card .client { display: block; font: 600 12px/1 var(--font-en); letter-spacing: .06em; color: var(--cyan); }
.reel-card h3 { margin-top: 8px; font-size: clamp(16px, 1.6vw, 22px); font-weight: 700; line-height: 1.4; }
.play-badge { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); transition: background .3s, transform .3s var(--ease); }
.play-badge::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.reel-card:hover .play-badge, .work-card:hover .play-badge { background: var(--ink); transform: scale(1.06); }
.reel-card:hover .play-badge::before, .work-card:hover .play-badge::before { border-left-color: var(--bg); }
/* モバイル・動きOFF: ネイティブ横スクロール */
@media (max-width: 900px) { .reel-section { padding-top: 60px; } .reel-sticky { position: static; height: auto; overflow: visible; } .reel-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; } .reel-track::-webkit-scrollbar { display: none; } .reel-card { scroll-snap-align: start; width: min(78vw, 520px); } }
html.motion-off .reel-sticky { position: static; height: auto; overflow: visible; }
html.motion-off .reel-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 8px; }
html.motion-off .reel-card { scroll-snap-align: start; }

/* ---------- WORKS GRID ---------- */
.works { padding: clamp(80px, 10vw, 140px) 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 13.5px; font-weight: 500; transition: all .3s; }
.filters button:hover { border-color: #fff; color: #fff; }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 20px; }
.work-card { position: relative; width: 100%; text-align: left; padding: 0; border-radius: 14px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .4s, opacity .5s; }
.work-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.work-card .thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .thumb img { transform: scale(1.05); }
.work-card .thumb .play-badge { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; }
.work-card .thumb, .work-card .body, .work-card .client { display: block; }
.work-card .body { padding: 16px 18px 18px; }
.work-card .client { font: 600 11px/1 var(--font-en); letter-spacing: .06em; color: var(--cyan); }
.work-card h3 { margin-top: 8px; font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.work-card .tags { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.work-card .tags span { font-size: 11px; color: var(--muted); padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; }
.work-card.is-hidden { display: none; }
.work-card.is-enter { animation: cardin .6s var(--ease) both; }
@keyframes cardin { from { opacity: 0; transform: translateY(16px); } }
.works-count { margin-top: 24px; font: 500 12px/1 var(--font-en); letter-spacing: .14em; color: var(--muted); }
@media (max-width: 900px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .works-grid { grid-template-columns: 1fr; } }

/* ---------- SHORTS ---------- */
.shorts { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.shorts-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.shorts-head .section-lead { margin-top: 0; max-width: 520px; }
.shorts-head h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; line-height: 1.3; }
.shorts-head .section-lead { font-size: 14.5px; }
.shorts-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.shorts-strip .work-card .thumb { aspect-ratio: 9/16; }
.shorts-strip .work-card .thumb img { object-position: center; }
.shorts-strip .work-card .body { padding: 12px 13px 14px; }
.shorts-strip .work-card .client { font-size: 10px; line-height: 1.4; }
.shorts-strip .work-card h3 { font-size: 13px; }
.shorts-strip .work-card .tags { display: none; }
@media (max-width: 900px) { .shorts-strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .shorts-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); } .shorts-strip::-webkit-scrollbar { display: none; } .shorts-strip li { flex: none; width: 62vw; scroll-snap-align: start; } }
/* 縦型再生 */
.player.is-vertical { width: min(440px, 94vw); }
.player.is-vertical .player-frame { aspect-ratio: 9/16; max-height: 70svh; margin-inline: auto; }
.player.is-vertical .player-frame iframe { height: 100%; }

/* ---------- SERVICE ---------- */
.service { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-grid li { position: relative; background: var(--bg-2); padding: 34px 30px 36px; overflow: hidden; transition: background .4s; }
.service-grid li::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(47,125,255,.18), transparent 60%); opacity: 0; transition: opacity .4s; }
.service-grid li:hover::before { opacity: 1; }
.service-grid .no { font: 600 12px/1 var(--font-en); letter-spacing: .18em; color: var(--cyan); }
.service-grid .en { font: 600 11px/1 var(--font-en); letter-spacing: .18em; color: var(--muted); margin-left: 12px; }
.service-grid h3 { position: relative; margin-top: 44px; font-size: 21px; font-weight: 700; line-height: 1.4; }
.service-grid p { position: relative; margin-top: 12px; color: var(--ink-2); font-size: 14px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }
.strengths { margin-top: clamp(56px, 7vw, 96px); }
.strengths-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.strengths-list li { border-top: 1px solid var(--line-2); padding-top: 18px; }
.strengths-list b { display: block; font-size: 17px; font-weight: 700; line-height: 1.5; }
.strengths-list b::before { content: counter(strength, decimal-leading-zero); counter-increment: strength; display: block; font: 600 12px/1 var(--font-en); letter-spacing: .18em; color: var(--cyan); margin-bottom: 10px; }
.strengths-list { counter-reset: strength; }
.strengths-list p { margin-top: 10px; color: var(--ink-2); font-size: 14px; }
@media (max-width: 900px) { .strengths-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- SNS ---------- */
.sns { padding: clamp(80px, 10vw, 140px) 0; }
.sns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sns-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); min-height: 300px; transition: transform .5s var(--ease), border-color .4s; }
.sns-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.sns-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; filter: saturate(.8); transition: opacity .5s, transform 1s var(--ease); }
.sns-card:hover .bg { opacity: .5; transform: scale(1.04); }
.sns-card .bg.grad-a { background: radial-gradient(80% 80% at 20% 10%, rgba(47,125,255,.55), transparent 60%), radial-gradient(60% 60% at 90% 90%, rgba(55,214,255,.4), transparent 60%); opacity: 1; }
.sns-card .bg.grad-b { background: radial-gradient(80% 80% at 80% 0%, rgba(255,80,160,.45), transparent 60%), radial-gradient(60% 60% at 10% 100%, rgba(255,160,60,.35), transparent 60%); opacity: 1; }
.sns-card .inner { position: relative; z-index: 1; padding: 26px 26px 28px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; background: linear-gradient(180deg, transparent, rgba(6,7,11,.7)); }
.sns-card .platform { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--font-en); letter-spacing: .16em; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(6,7,11,.5); width: max-content; }
.sns-card h3 { font-size: 20px; font-weight: 700; line-height: 1.4; }
.sns-card .handle { font: 500 13px/1 var(--font-en); color: var(--cyan); margin-top: 6px; }
.sns-card p { margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.sns-card .go { margin-top: 16px; font: 600 12px/1 var(--font-en); letter-spacing: .14em; color: #fff; }
@media (max-width: 900px) { .sns-grid { grid-template-columns: 1fr; } .sns-card { min-height: 240px; } }

/* ---------- FLOW ---------- */
.flow { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.flow-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.flow-list::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: linear-gradient(90deg, var(--blue-deep), var(--cyan)); opacity: .6; }
.flow-list li { position: relative; padding-top: 56px; }
.flow-list .step { position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--font-en); background: var(--bg); border: 1px solid var(--line-2); }
.flow-list li:first-child .step, .flow-list li:last-child .step { background: var(--grad); border-color: transparent; color: #fff; }
.flow-list b { display: block; font-size: 16px; font-weight: 700; }
.flow-list p { margin-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .flow-list { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; } .flow-list::before { display: none; } }

/* ---------- ABOUT ---------- */
.about { padding: clamp(80px, 10vw, 150px) 0; overflow: hidden; }
.about-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-copy p:not(.kicker) { margin-top: 20px; color: var(--ink-2); font-size: 15.5px; }
.about-copy .btn { margin-top: 30px; }
.about-visual { position: relative; perspective: 1400px; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 10px; transform: rotateY(-14deg) rotateX(5deg) rotateZ(1.5deg) translateX(4%); transform-style: preserve-3d; transform-origin: 60% 50%; }
.mosaic .tile { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); will-change: transform; transition: transform .6s var(--ease), box-shadow .6s; }
.mosaic .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic .tile:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic .tile:hover { box-shadow: 0 30px 60px -20px rgba(47,125,255,.35); z-index: 2; }
.mosaic .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.08) 50%, rgba(255,255,255,0) 60%); transform: translateX(-100%); }
.mosaic .tile:hover::after { animation: shine .9s var(--ease); }
@keyframes shine { to { transform: translateX(100%); } }
html.motion-off .mosaic { transform: none; }
@media (max-width: 900px) { .about-inner { grid-template-columns: 1fr; } .mosaic { transform: rotateY(-8deg) rotateX(3deg); } }

/* ---------- TEAM ---------- */
.team { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-grid li { position: relative; padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.team-grid li::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: .8; }
.team-grid .role { font: 600 11px/1 var(--font-en); letter-spacing: .16em; color: var(--cyan); }
.team-grid .name { margin-top: 18px; font-size: 24px; font-weight: 900; line-height: 1.3; }
.team-grid .en { font: 500 12px/1 var(--font-en); letter-spacing: .1em; color: var(--muted); margin-top: 6px; }
.team-grid p { margin-top: 16px; color: var(--ink-2); font-size: 13.5px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- COMPANY ---------- */
.company { padding: clamp(80px, 10vw, 140px) 0; }
.company-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.company-table { display: grid; grid-template-columns: max-content 1fr; border-top: 1px solid var(--line-2); }
.company-table dt, .company-table dd { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.company-table dt { color: var(--muted); padding-right: 40px; font-weight: 500; }
.company-table dd { color: var(--ink-2); }
.company-table a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) { .company-inner { grid-template-columns: 1fr; gap: 20px; } .company-table { grid-template-columns: 1fr; } .company-table dt { padding-bottom: 4px; border: 0; } .company-table dd { padding-top: 0; } }

/* ---------- CONTACT ---------- */
.contact { padding: clamp(100px, 14vw, 200px) 0; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 100%, rgba(47,125,255,.28), transparent 70%); pointer-events: none; }
.contact-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact-inner .kicker { justify-content: center; }
.contact-inner .kicker::before { display: none; }
.contact h2 { font-size: clamp(32px, 5.4vw, 64px); }
.contact .section-lead { text-align: center; }
.contact-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.contact-note { margin-top: 24px; color: var(--muted); font-size: 13px; }
.contact-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FOOTER ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg-2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.footer-inner img { height: 24px; width: auto; opacity: .9; }
.footer-inner small { font-size: 11px; opacity: .7; } .footer-inner small a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- PLAYER DIALOG ---------- */
.player { border: 0; padding: 0; background: var(--bg-2); color: var(--ink); border-radius: 18px; width: min(1100px, 94vw); max-height: 94svh; overflow: hidden; box-shadow: 0 60px 120px -30px rgba(0,0,0,.9); }
.player::backdrop { background: rgba(3,4,8,.86); backdrop-filter: blur(8px); }
.player[open] { animation: dlg .4s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.player-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(6,7,11,.7); color: #fff; font-size: 22px; line-height: 1; border: 1px solid var(--line-2); }
.player-frame { aspect-ratio: 16/9; background: #000; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-meta { padding: 20px 26px 24px; }
.player-client { font: 600 12px/1 var(--font-en); letter-spacing: .08em; color: var(--cyan); }
.player-meta h3 { margin-top: 8px; font-size: 20px; font-weight: 700; }
.player-desc { margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.player-nav { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .player { width: 100vw; max-height: 100svh; border-radius: 0; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
