/* =========================================================
   TASUKI Co. — style.css
   色や余白を変えたいときは、まず :root の変数を調整してください
   ========================================================= */

:root {
  /* 背景 */
  --ink: #0D0D0D;
  --ink-2: #121212;
  --panel: #181818;
  --panel-2: #141414;
  --paper: #EDEBE6;
  /* 線 */
  --line: #2B2B2B;
  --line-2: #3A3A3A;
  --field-line: #6A6A6A;
  /* 文字 */
  --text: #F3F1EC;
  --text-2: #D6D3CD;
  --text-3: #BDBAB4;
  --muted: #A9A6A0;
  --dim: #8C8A85;
  --paper-text: #0D0D0D;
  --paper-body: #3A3835;
  --paper-muted: #5E5B56;
  /* ブランドカラー（ロゴの赤） */
  --accent: #D32D26;
  --accent-text: #DA4C47;   /* 暗い背景の上で文字として読みやすい赤 */
  --on-accent: #FFFFFF;     /* 赤の上に載せる文字色 */
  /* 書体 */
  --font-jp: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-en: 'Archivo', var(--font-jp);
  --font-mono: 'JetBrains Mono', var(--font-jp);
  /* レイアウト */
  --gutter: clamp(16px, 4vw, 64px);
  --section-y: clamp(88px, 9vw, 128px);
  --container: 1280px;
  --header-h: 76px;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: 'Archivo', var(--font-jp);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; word-break: auto-phrase; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.ic { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: var(--font-mono); }
.container { max-width: var(--container); margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 0;
  font-size: 15px; font-weight: 700; letter-spacing: .06em; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn .ic { transition: transform .25s; }
.btn:hover .ic { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--text); color: var(--ink); }
.btn-ghost { border-color: var(--field-line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent-text); color: var(--accent-text); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 32px; }
.btn-block { display: flex; width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 700; transition: color .2s;
}
.text-link:hover { color: var(--accent-text); }
.text-link .ic { transition: transform .25s; }
.text-link:hover .ic { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(13, 13, 13, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid #222;
}
.header-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 22px; width: auto; }
.global-nav ul { display: flex; align-items: center; gap: 36px; }
.global-nav a {
  font-family: var(--font-en); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-2); text-decoration: none; transition: color .2s;
  display: inline-flex; align-items: center; min-height: 44px;
}
.global-nav a:hover { color: var(--accent-text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none; width: 48px; height: 48px; padding: 0; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); color: var(--text); cursor: pointer;
}
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { display: flex; flex-direction: column; padding: 8px 16px 24px; background: var(--ink); border-top: 1px solid #222; }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a:not(.btn) {
  min-height: 56px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #222; text-decoration: none; font-size: 18px;
}
.mobile-menu .en { font-family: var(--font-en); font-stretch: 125%; font-weight: 800; }
.mobile-menu .jp { font-size: 13px; color: var(--muted); }
.mobile-menu .btn { margin-top: 24px; min-height: 56px; font-size: 16px; }

/* ---------- section common ---------- */
.section { padding: var(--section-y) var(--gutter); background: var(--ink); }
.section-dark-2 { background: var(--ink-2); }
.section-light { background: var(--paper); color: var(--paper-text); }
.section-after-band { padding-top: clamp(56px, 6vw, 96px); }

.label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; color: var(--muted);
}
.section-light .label { color: var(--paper-muted); }
.slash { display: inline-block; width: 36px; height: 6px; background: var(--accent); transform: skewX(-30deg); flex: none; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 64px;
}
.section-title {
  font-family: var(--font-en); font-stretch: 125%; font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(40px, 7vw, 104px); line-height: .95;
}
.section-lead { max-width: 440px; font-size: 15px; line-height: 2; color: var(--muted); }
.section-light .section-lead { color: #4A4744; }
.mini-label { margin-bottom: 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { padding: 6px 12px; border: 1px solid var(--line-2); font-size: 13px; color: #CFCCC6; }

.badge {
  display: inline-block; padding: 3px 8px; margin-left: 12px; vertical-align: middle;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em;
}
.badge-outline { background: transparent; border: 1px solid var(--accent); color: var(--text); font-family: var(--font-jp); letter-spacing: .1em; }

.vf-corner { position: absolute; width: 22px; height: 22px; border: 0 solid #5A5854; }
.vf-corner.tl { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; }
.vf-corner.tr { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; }
.vf-corner.bl { bottom: 12px; left: 12px; border-bottom-width: 2px; border-left-width: 2px; }
.vf-corner.br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 860px; overflow: hidden; background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-media {
  position: absolute; inset: clamp(12px, 2vw, 28px);
  border: 1px solid #1F1F1F; background: #111; overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-media::after { /* 動画の上に薄く暗幕を敷いて文字を読みやすく */
  content: ""; position: absolute; inset: 0; background: rgba(8, 8, 8, .5);
  opacity: 0; transition: opacity 1.2s ease; pointer-events: none;
}
.hero.has-video .hero-video, .hero.has-video .hero-media::after { opacity: 1; }
.hero.has-video .hero-scenes { opacity: 0; }

.hero-scenes { position: absolute; inset: 0; transition: opacity 1s ease; }
.hero-scene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; stroke: #2F2F2F; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero-scene * { vector-effect: non-scaling-stroke; }
.hero-scene .hl { stroke: #4A4843; }
.hero-scene .dash, .hero-scene .dash * { stroke-dasharray: 4 8; }
.hero-scene.is-active { opacity: 1; }

.viewfinder { position: absolute; inset: 0; z-index: 1; }
.vf-line { position: absolute; background: #1A1A1A; }
.hero.has-video .vf-line { background: rgba(255, 255, 255, .08); }
.vf-v1, .vf-v2 { top: 0; bottom: 0; width: 1px; }
.vf-v1 { left: 33.333%; } .vf-v2 { left: 66.666%; }
.vf-h1, .vf-h2 { left: 0; right: 0; height: 1px; }
.vf-h1 { top: 33.333%; } .vf-h2 { top: 66.666%; }
.viewfinder .vf-corner { width: 28px; height: 28px; border-color: #6B6965; }
.viewfinder .vf-corner.tl, .viewfinder .vf-corner.tr { top: 16px; }
.viewfinder .vf-corner.bl, .viewfinder .vf-corner.br { bottom: 16px; }
.viewfinder .vf-corner.tl, .viewfinder .vf-corner.bl { left: 16px; }
.viewfinder .vf-corner.tr, .viewfinder .vf-corner.br { right: 16px; }
.hud {
  position: absolute; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted);
}
.hud-left { top: 22px; left: 60px; }
.hud-right { top: 22px; right: 60px; gap: 20px; }
.hud-scene { top: 52px; left: 60px; font-size: 11px; color: var(--dim); letter-spacing: .12em; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: blink 1.2s steps(1) infinite; }

.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto;
  padding: 200px clamp(28px, 6vw, 112px) 270px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 56px 48px;
}
.hero-copy { flex: 999 1 560px; min-width: 0; }
.eyebrow { margin-bottom: 28px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .22em; color: var(--accent-text); }
.hero-title { font-family: var(--font-jp); font-weight: 900; font-size: clamp(42px, 7.4vw, 116px); line-height: 1.12; letter-spacing: -.01em; }
.hero-sub { margin-top: 32px; font-family: var(--font-en); font-weight: 500; font-size: clamp(12px, 1.1vw, 15px); line-height: 1.9; letter-spacing: .14em; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4), .reel { animation-delay: .32s; }

.reel { flex: 1 1 240px; max-width: 300px; min-width: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.reel-label { margin-bottom: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; color: var(--muted); }
.reel-now { display: none; color: var(--text); letter-spacing: .08em; }
.reel-item {
  width: 100%; min-height: 48px; padding: 10px 0 8px;
  display: flex; flex-direction: column; gap: 8px;
  background: transparent; border: 0; color: var(--dim); text-align: left; cursor: pointer; transition: color .25s;
}
.reel-item:hover, .reel-item.is-active { color: var(--text); }
.reel-name { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-en); font-weight: 500; font-size: 14px; letter-spacing: .08em; }
.reel-name .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0; }
.reel-bar { position: relative; display: block; width: 100%; height: 2px; background: #2E2E2E; overflow: hidden; }
.reel-bar span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left center; }
.reel.is-timer .reel-item.is-active .reel-bar span { animation: progress 4.5s linear both; }
.reel.is-static .reel-item.is-active .reel-bar span { transform: scaleX(1); }
.reel.is-video .reel-bar span { transition: transform .3s linear; }

/* 襷バンド */
.sash { position: absolute; left: -10%; width: 120%; pointer-events: none; }
.sash-grey { bottom: 128px; z-index: 2; height: 17px; transform: rotate(4.5deg); border-top: 10px solid #4D4D4D; border-bottom: 3px solid #4D4D4D; }
.sash-hero, .sash-mid {
  height: 64px; background: var(--accent); color: var(--on-accent);
  overflow: hidden; display: flex; align-items: center;
}
.sash-hero { bottom: 96px; z-index: 3; transform: rotate(-3.5deg); }
.sash-band { position: relative; height: 180px; overflow: hidden; background: var(--ink); }
.sash-mid { top: 50%; margin-top: -34px; height: 68px; transform: rotate(2.5deg); }
.sash-down { transform: rotate(-2.5deg); }
.marquee {
  display: flex; width: max-content; white-space: nowrap;
  font-family: var(--font-en); font-stretch: 125%; font-weight: 800; font-size: 26px; letter-spacing: .04em;
  animation: marquee 42s linear infinite;
}
.marquee span { padding-right: 52px; }
.marquee-rev { animation-name: marquee-rev; animation-duration: 52s; }

/* ---------- concept ---------- */
.concept { padding-top: clamp(96px, 11vw, 168px); padding-bottom: clamp(96px, 11vw, 168px); }
.concept-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 64px clamp(48px, 8vw, 128px); }
.concept-text { flex: 999 1 560px; min-width: 0; }
.concept-text .label { margin-bottom: 40px; }
.concept-title { font-family: var(--font-jp); font-weight: 900; font-size: clamp(34px, 5vw, 72px); line-height: 1.32; letter-spacing: -.01em; }
.concept-body { max-width: 640px; margin-top: 48px; font-size: clamp(15px, 1.2vw, 17px); line-height: 2.1; color: #2A2826; }
.concept-mark { flex: 1 1 280px; max-width: 400px; margin: 0; }
.concept-mark img { width: 100%; height: auto; }
.concept-mark figcaption { margin-top: 32px; padding-top: 18px; border-top: 2px solid var(--paper-text); }
.concept-mark .mono { font-size: 12px; letter-spacing: .14em; color: var(--paper-muted); }
.concept-mark figcaption p + p { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--paper-body); }

/* ---------- service ---------- */
.service-list { border-bottom: 1px solid var(--line); }
.service {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 56px;
  padding: 44px 8px; border-top: 1px solid var(--line);
  transition: background-color .35s, padding .35s;
}
.service:hover { background: #151515; padding-left: 24px; }
.service-name { flex: 1 1 380px; min-width: 0; }
.service-name .num { margin-bottom: 14px; font-family: var(--font-mono); font-size: 13px; color: var(--accent-text); }
.service-title {
  font-family: var(--font-en); font-stretch: 125%; font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; transition: color .3s;
}
.service:hover .service-title { color: var(--accent-text); }
.service-jp { margin-top: 12px; font-family: var(--font-jp); font-size: 15px; color: var(--muted); letter-spacing: .06em; }
.service-body { flex: 1 1 460px; min-width: 0; }
.service-body > p { font-family: var(--font-jp); font-size: 15px; line-height: 2; color: var(--text-2); }

/* ---------- experience ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 32px; }
.exp-card { display: flex; flex-direction: column; min-width: 0; background: var(--panel); border: 1px solid var(--line); }
.exp-media { position: relative; aspect-ratio: 16 / 10; background: #101010; overflow: hidden; border-bottom: 1px solid var(--line); }
.exp-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wireframe { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #4A4843; stroke-width: 1.2; }
.wireframe * { vector-effect: non-scaling-stroke; }
.media-label { position: absolute; top: 16px; left: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.media-compass { position: absolute; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.hotspot {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0;
  display: flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer;
}
.hotspot .pulse { position: absolute; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 1.8s ease-out infinite; }
.hotspot .dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(13, 13, 13, .6); transition: transform .2s; }
.hotspot:hover .dot, .hotspot[aria-pressed="true"] .dot { transform: scale(1.25); }
.vt-hint {
  position: absolute; left: 16px; bottom: 14px; padding: 8px 12px;
  background: rgba(13, 13, 13, .85); border: 1px solid #333; font-family: var(--font-jp); font-size: 12px; color: var(--text-2);
}
.vt-info {
  position: absolute; left: 16px; bottom: 16px; width: min(320px, calc(100% - 32px));
  padding: 14px 18px 18px; background: rgba(13, 13, 13, .94); border: 1px solid var(--line-2);
}
.vt-info[hidden], .vt-hint[hidden] { display: none; }
.vt-info-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vt-info-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--accent-text); }
.vt-close {
  width: 44px; height: 44px; margin: -10px -14px -10px 0; padding: 0;
  display: flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--muted); cursor: pointer;
}
.vt-info-text { margin-top: 4px; font-family: var(--font-jp); font-size: 13px; line-height: 1.8; color: var(--text-2); }

.iv-demo { display: flex; align-items: center; justify-content: center; }
.iv-label { left: 44px; top: 18px; }
.iv-progress { position: absolute; left: 44px; right: 44px; bottom: 26px; }
.iv-time { display: flex; justify-content: space-between; margin-bottom: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.iv-track { height: 3px; background: #2E2E2E; }
.iv-track span { display: block; width: 34%; height: 3px; background: var(--accent); }
.iv-ask, .iv-done {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 0 24px 40px; text-align: center; font-family: var(--font-jp);
}
.iv-ask[hidden], .iv-done[hidden] { display: none; }
.iv-kicker { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; color: var(--muted); }
.iv-route { color: var(--accent-text); }
.iv-question { font-size: clamp(18px, 2vw, 24px); font-weight: 700; }
.iv-result { font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; line-height: 1.6; }
.iv-note { font-size: 13px; color: var(--muted); }
.iv-choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.choice {
  min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; gap: 12px;
  background: rgba(13, 13, 13, .6); border: 1px solid var(--field-line); color: var(--text);
  font-size: 14px; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.choice:hover { border-color: var(--accent-text); background: rgba(211, 45, 38, .16); }
.choice-sm { min-height: 44px; padding: 0 18px; font-size: 13px; background: transparent; margin-top: 4px; }
.choice-key { font-family: var(--font-mono); color: var(--accent-text); }

.exp-body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 40px); font-family: var(--font-jp); }
.exp-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--accent-text); }
.exp-body h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.5; }
.exp-body > p:not(.exp-label) { font-size: 15px; line-height: 2; color: var(--text-3); }
.exp-body .tags { margin-top: 4px; }
.exp-body .text-link { margin-top: auto; padding-top: 12px; }

/* ---------- portfolio ---------- */
.portfolio-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 64px clamp(40px, 6vw, 112px); }
.portfolio-text { flex: 999 1 460px; min-width: 0; font-family: var(--font-jp); }
.portfolio-text h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; line-height: 1.6; }
.portfolio-text > p { max-width: 620px; margin-top: 24px; font-size: 15px; line-height: 2.1; color: var(--text-3); }
.mini-steps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mini-steps li { flex: 1 1 220px; display: flex; align-items: baseline; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); font-size: 14px; line-height: 1.7; }
.mini-steps .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent-text); }
.portfolio-text .btn { margin-top: 32px; }
.portfolio-visual { position: relative; flex: 1 1 380px; max-width: 520px; min-width: 0; aspect-ratio: 4 / 3; }
.doc { position: absolute; aspect-ratio: 297 / 210; }
.doc-3 { left: 14%; top: 2%; width: 78%; background: #171717; border: 1px solid var(--line); transform: rotate(6deg); }
.doc-2 { left: 8%; top: 8%; width: 80%; background: #1C1C1C; border: 1px solid #2F2F2F; transform: rotate(-3deg); }
.doc-1 {
  left: 0; top: 18%; width: 84%; padding: 6% 7%;
  background: #222; border: 1px solid var(--line-2);
  display: flex; flex-direction: column; justify-content: space-between;
}
.doc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.doc-head img { height: 14px; width: auto; }
.doc-head span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--muted); }
.doc-thumbs { display: flex; gap: 8px; }
.doc-thumbs span { flex: 1; aspect-ratio: 4 / 3; background: #2E2E2E; }
.doc-thumbs span:nth-child(2) { background: #2A2A2A; }
.doc-title { font-family: var(--font-en); font-stretch: 125%; font-weight: 800; font-size: clamp(20px, 2.4vw, 32px); line-height: 1; }
.doc-lock {
  position: absolute; right: 4%; bottom: 6%; width: 76px; height: 76px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center;
}

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 48px 40px; font-family: var(--font-jp); }
.why { border-top: 2px solid var(--paper-text); padding-top: 28px; }
.why-top { display: flex; align-items: center; justify-content: space-between; }
.why .num { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--paper-muted); }
.why .sq { width: 8px; height: 8px; background: var(--accent); }
.why h3 { margin: 28px 0 14px; font-size: 21px; font-weight: 700; line-height: 1.6; }
.why p { font-size: 14px; line-height: 2; color: var(--paper-body); }

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 48px 24px; font-family: var(--font-jp); }
.flow li { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }
.flow li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--accent); }
.flow-num { display: block; font-family: var(--font-en); font-stretch: 125%; font-weight: 800; font-size: 40px; line-height: 1; }
.flow h3 { margin: 18px 0 10px; font-size: 17px; font-weight: 700; }
.flow p { font-size: 13px; line-height: 1.9; color: var(--muted); }

/* ---------- about ---------- */
.about-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px clamp(40px, 6vw, 96px); font-family: var(--font-jp); }
.about-body { flex: 999 1 480px; min-width: 0; }
.about-role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--accent-text); }
.about-name { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.about-name .jp { font-size: clamp(28px, 3vw, 40px); font-weight: 700; }
.about-name .en { font-family: var(--font-en); font-stretch: 125%; font-weight: 800; font-size: 16px; color: var(--muted); letter-spacing: .14em; }
.about-intro { max-width: 760px; margin-top: 28px; font-size: 15px; line-height: 2.1; color: var(--text-2); }
.about-cols { display: flex; flex-wrap: wrap; gap: 40px 64px; margin-top: 44px; }
.about-cols > div:first-child { flex: 1 1 280px; min-width: 0; }
.about-cols > div:last-child { flex: 1 1 240px; min-width: 0; }
.timeline { border-left: 1px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 24px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px;
  background: var(--ink-2); border: 1px solid var(--muted);
}
.timeline li.is-now::before { background: var(--accent); border-color: var(--accent); }
.tl-org { font-size: 15px; font-weight: 700; }
.tl-org.en { font-family: var(--font-en); font-stretch: 125%; font-weight: 800; letter-spacing: .06em; }
.tl-role { margin-top: 4px; font-size: 13px; color: var(--muted); }
.licenses { display: flex; flex-direction: column; gap: 10px; }
.licenses li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); font-size: 14px; }
.licenses .ic { color: var(--accent-text); }

/* ---------- faq ---------- */
.faq-grid { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 96px); }
.faq-grid > :first-child { flex: 1 1 280px; }
.faq-list { flex: 999 1 560px; min-width: 0; border-bottom: 1px solid var(--line); font-family: var(--font-jp); }
.faq { border-top: 1px solid var(--line); }
.faq summary {
  min-height: 72px; padding: 20px 0; display: flex; align-items: center; gap: 16px;
  font-size: clamp(15px, 1.3vw, 17px); font-weight: 700; line-height: 1.7; cursor: pointer; list-style: none; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq .q { font-family: var(--font-mono); font-size: 13px; color: var(--accent-text); align-self: baseline; }
.faq-q { flex: 1; }
.faq-icon { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--line-2); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq p { padding: 0 56px 28px 34px; font-size: 14px; line-height: 2; color: var(--text-3); }

/* ---------- contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px clamp(40px, 6vw, 112px); font-family: var(--font-jp); }
.contact-intro { flex: 1 1 340px; min-width: 0; }
.contact-catch { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.6; }
.contact-lead { margin-top: 20px; font-size: 15px; line-height: 2; color: var(--muted); }
.contact-mail { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-mail .mini-label { margin-bottom: 10px; }
.mail-link {
  display: inline-block; padding-bottom: 4px; border-bottom: 1px solid var(--field-line);
  text-decoration: none; font-size: clamp(17px, 1.6vw, 22px); overflow-wrap: anywhere; transition: color .2s;
}
.mail-link:hover { color: var(--accent-text); }

.contact-form {
  flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px;
  padding: clamp(24px, 4vw, 48px); background: var(--panel-2); border: 1px solid var(--line);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label, .checks legend { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.req { padding: 2px 6px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  background: var(--ink); border: 1px solid var(--field-line); border-radius: 0; color: var(--text); font-size: 16px;
  transition: border-color .2s;
}
.field textarea { line-height: 1.8; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #85827D; }
.field input:focus, .field textarea:focus { border-color: var(--accent-text); outline: 2px solid var(--accent-text); outline-offset: 0; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--accent-text); }
.field-error { font-size: 13px; color: #F07A75; }
.field-error[hidden] { display: none; }
.portfolio-check {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 18px;
  background: var(--ink); border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; cursor: pointer; transition: border-color .2s;
}
.portfolio-check:has(input:checked) { border-color: var(--accent); }
.checks { margin: 0; padding: 0; border: 0; min-width: 0; }
.checks legend { padding: 0; margin-bottom: 12px; }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0 16px; }
.checks-grid label { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; cursor: pointer; }
.contact-form input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.submit-row .btn[disabled] { opacity: .6; cursor: wait; }
.privacy-note { font-size: 12px; line-height: 1.8; color: var(--dim); }
.form-status { padding: 16px 20px; border: 1px solid var(--accent); font-size: 14px; line-height: 1.8; }
.form-status[hidden] { display: none; }
.form-status a { color: var(--text); }

/* ---------- footer ---------- */
.site-footer { padding: 72px var(--gutter) 24px; background: #0A0A0A; border-top: 1px solid #1F1F1F; font-family: var(--font-jp); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.footer-brand { flex: 1 1 300px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 36px; }
.footer-brand img { width: 112px; height: auto; }
.footer-tagline { font-size: 14px; line-height: 2; color: var(--muted); }
.footer-area { margin-top: 10px; font-size: 13px; color: var(--dim); }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; align-content: start; }
.footer-nav a {
  display: flex; align-items: center; min-height: 44px;
  font-family: var(--font-en); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-2); text-decoration: none; transition: color .2s;
}
.footer-nav a:hover { color: var(--accent-text); }
.social { display: flex; gap: 12px; align-items: flex-start; }
.social a {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); color: var(--text); transition: border-color .2s, color .2s;
}
.social a:hover { border-color: var(--accent-text); color: var(--accent-text); }
.footer-bottom {
  margin-top: 56px; padding-top: 12px; border-top: 1px solid #1F1F1F;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; color: var(--dim);
}
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--dim); text-decoration: none; letter-spacing: .12em; transition: color .2s; }
.to-top:hover { color: var(--accent-text); }

/* ---------- scroll reveal（最初の画面より下にある要素だけ、スクロールで表示） ---------- */
.reveal { transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-pending { opacity: 0; transform: translateY(32px); }

/* ---------- animations ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .15; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .global-nav, .hide-sm { display: none !important; }
  .menu-btn { display: inline-flex; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 140px; padding-bottom: 240px; }
  .hud-left { left: 52px; }
  .hud-right { right: 52px; }
  /* スマホではショーリール一覧を横一列のバーにまとめる */
  .reel { flex-basis: 100%; max-width: none; }
  .reel-now { display: inline; }
  .reel-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .reel-name { font-size: 0; gap: 0; }
  .reel-name .num { font-size: 11px; }
  .faq p { padding: 0 8px 24px 34px; }
  /* スマホではコンセプト欄の襷マークを小さめに */
  .concept-mark { flex-basis: 100%; max-width: none; }
  .concept-mark img { width: min(200px, 56%); margin-inline: auto; }
  .concept-mark figcaption { margin-top: 24px; }
}
@media (min-width: 861px) {
  .mobile-menu { display: none !important; }
}

/* 動きを減らす設定の方には、アニメーションを止めて表示 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee, .rec-dot, .hotspot .pulse { animation: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
