/* =========================================================
   BRAND corporate site
   デジタル（ベクターグリッド）→ 宇宙 へ広がる1ページ構成
   ダーク前提。色・余白はすべてCSS変数で管理する。
   ========================================================= */

:root {
  /* 地表フェーズ（デジタル / RPG） */
  --ground:      #08090d;
  --grid:        #c9cdd2;
  --grid-soft:   rgba(201, 205, 210, .3);
  --yellow:     #d4bb49;
  --red:        #cf5545;
  --amber:       #eaebed;

  /* 宇宙フェーズ */
  --space:       #03040a;
  --star:        #eaf1ff;
  --nebula-a:    #4a505d;
  --nebula-b:    #353941;

  /* テキスト */
  --fg:          #eaf2ff;
  --fg-dim:      rgba(234, 242, 255, .62);
  --fg-faint:    rgba(234, 242, 255, .34);
  --line:        rgba(234, 242, 255, .14);

  /* タイポ */
  --f-jp:     "Zen Kaku Gothic New", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --f-en:     "Space Grotesk", var(--f-jp);
  --f-pixel:  "DotGothic16", var(--f-jp);
  --f-impact: "Cairo", var(--f-en);
  --f-serif:  "Zen Old Mincho", "Hiragino Mincho ProN", serif;

  /* レイアウト */
  --wrap:  1120px;
  --pad:   clamp(20px, 5vw, 56px);
  --hud-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.is-booting { overflow: hidden; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--fg);
  font-family: var(--f-jp);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap {
  width: min(var(--wrap), 100% - var(--pad) * 2);
  margin-inline: auto;
}

/* ---------------------------------------------------------
   背景レイヤー
   --------------------------------------------------------- */
#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .16;
  filter: grayscale(1) contrast(.82);
}

/* 宇宙をデータ軌道として再解釈した、都市記録のための背景。 */
.galaxy-photo {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 48%, rgba(212, 187, 73, .55) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 24%, rgba(207, 85, 69, .56) 0 2px, transparent 3px),
    repeating-radial-gradient(ellipse 82% 48% at 74% 48%, transparent 0 46px, rgba(202, 207, 214, .13) 47px 48px, transparent 49px 94px),
    linear-gradient(90deg, #08090d 0%, rgba(8, 9, 13, .74) 38%, rgba(17, 19, 25, .1) 100%),
    linear-gradient(rgba(199, 204, 210, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 204, 210, .045) 1px, transparent 1px);
  background-size: auto, auto, auto, auto, 28px 28px, 28px 28px;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}
.galaxy-photo::before {
  display: none;
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* 都市の情報空間を周回する、小さな金属の惑星。 */
.galaxy-photo::before {
  background:
    radial-gradient(circle 38px at 79% 61%, rgba(255,255,255,.9) 0 4%, #b5bbc1 18%, #4d535a 55%, rgba(12,14,18,.08) 72%, transparent 74%),
    radial-gradient(circle 22px at 89% 31%, rgba(255,255,255,.82) 0 5%, #c6a941 22%, #6b5520 58%, rgba(11,12,14,.05) 74%, transparent 76%);
  filter: drop-shadow(0 0 14px rgba(219,224,229,.32));
}
/* 丸い星ではなく、火花のような白いアスタリスク。 */
.spark-field {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.spark-field i {
  position: absolute;
  display: block;
  font-family: Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  color: rgba(255,255,255,.92);
  text-shadow: 0 0 8px rgba(255,255,255,.95), 0 0 18px rgba(204,214,224,.48);
  animation: spark-blink 4.8s ease-in-out infinite;
}
.spark-field i:nth-child(1) { left: 56%; top: 15%; font-size: 13px; animation-delay: -.2s; }
.spark-field i:nth-child(2) { left: 66%; top: 27%; font-size: 10px; animation-delay: -1.1s; }
.spark-field i:nth-child(3) { left: 72%; top: 12%; font-size: 18px; animation-delay: -.6s; }
.spark-field i:nth-child(4) { left: 83%; top: 17%; font-size: 11px; animation-delay: -1.4s; }
.spark-field i:nth-child(5) { left: 92%; top: 43%; font-size: 16px; animation-delay: -.8s; }
.spark-field i:nth-child(6) { left: 76%; top: 77%; font-size: 11px; animation-delay: -1.6s; }
.spark-field i:nth-child(7) { left: 63%; top: 71%; font-size: 9px; animation-delay: -.3s; }
.spark-field i:nth-child(8) { left: 88%; top: 83%; font-size: 15px; animation-delay: -1s; }
@keyframes spark-blink {
  0%, 100% { opacity: .2; transform: scale(.55) rotate(0deg); }
  42% { opacity: .36; transform: scale(.76) rotate(8deg); }
  54% { opacity: 1; transform: scale(1.16) rotate(14deg); }
  63% { opacity: .46; transform: scale(.72) rotate(14deg); }
}

/* ローディング映像の街を、トップにも都市の記録として常駐させる。 */
.city-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  opacity: 0;
  filter: saturate(.98) contrast(1.12) brightness(.98);
  mix-blend-mode: normal;
  mask-image: linear-gradient(90deg, transparent 0%, transparent 12%, rgba(0,0,0,.6) 34%, #000 58%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 12%, rgba(0,0,0,.6) 34%, #000 58%);
  pointer-events: none;
}
.city-video--a { animation: city-video-a 8s steps(1, end) infinite; }
.city-video--b {
  filter: grayscale(1) contrast(1.22) brightness(.64);
  animation: city-video-b 8s steps(1, end) infinite;
}
@keyframes city-video-a {
  0%, 47% { opacity: .9; }
  48%, 99% { opacity: 0; }
  100% { opacity: .9; }
}
@keyframes city-video-b {
  0%, 47% { opacity: 0; }
  48%, 99% { opacity: .88; }
  100% { opacity: 0; }
}

.scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, .028) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
  opacity: .36;
}

.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.94%, rgba(211, 214, 218, .16) 50%, transparent 50.06%),
    linear-gradient(transparent 49.94%, rgba(211, 214, 218, .1) 50%, transparent 50.06%),
    radial-gradient(ellipse at 50% 45%, transparent 34%, rgba(0, 0, 0, .9) 100%);
}

.grain {
  position: fixed; inset: -80px; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: .09;
  mix-blend-mode: overlay;
  animation: grain-shift 1.1s steps(4) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(1%, -2%); }
  75%  { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

main, .hud, .mnav, .depth, .foot { position: relative; z-index: 2; }

/* ---------------------------------------------------------
   起動演出
   --------------------------------------------------------- */
.boot {
  position: fixed; inset: 0; z-index: 100;
  background: #090a0d;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}
.boot.is-done { opacity: 0; visibility: hidden; }

.boot__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.5);
  transform: scale(1.04);
}
.boot__video--mono { animation: boot-mono-cycle 1.3s steps(1, end) infinite; }
.boot__video--color {
  filter: saturate(.86) contrast(1.08) brightness(.66);
  animation: boot-color-cycle 1.3s steps(1, end) infinite;
}
@keyframes boot-mono-cycle {
  0%, 39% { opacity: 1; }
  40%, 89% { opacity: 0; }
  90%, 100% { opacity: 1; }
}
@keyframes boot-color-cycle {
  0%, 39% { opacity: 0; }
  40%, 89% { opacity: 1; }
  90%, 100% { opacity: 0; }
}
.boot__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(207, 85, 69, .18), transparent 32%),
    radial-gradient(circle at 20% 76%, rgba(212, 187, 73, .14), transparent 34%),
    linear-gradient(90deg, rgba(12, 13, 17, .62), rgba(31, 33, 39, .16) 48%, rgba(12, 13, 17, .58)),
    radial-gradient(circle at center, transparent 0 30%, rgba(5, 6, 9, .48) 100%);
}

.boot__inner {
  width: min(660px, 100% - 48px);
  font-family: var(--f-pixel);
}

.boot__loading {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--f-en);
  font-size: clamp(14px, 1.8vw, 19px);
  font-weight: 400;
  letter-spacing: .34em;
  color: #f0f1f2;
  text-shadow: 0 0 18px rgba(255, 255, 255, .42), 18px 0 26px rgba(212, 187, 73, .14), -18px 0 26px rgba(207, 85, 69, .12);
  animation: loading-pulse 1s ease-in-out infinite;
}
@keyframes loading-pulse { 0%, 100% { opacity: .42; } 50% { opacity: 1; } }

.boot__log {
  margin: 0;
  font: inherit;
  font-size: clamp(12px, 2.6vw, 15px);
  line-height: 2.1;
  color: var(--grid);
  text-shadow: 0 0 12px rgba(220, 222, 225, .42);
  white-space: pre-wrap;
  min-height: 11em;
}
.boot__log::after {
  content: "█";
  animation: blink 1s steps(1) infinite;
}

.boot__start {
  margin: 22px 0 0;
  font-size: clamp(13px, 3vw, 17px);
  letter-spacing: .18em;
  color: var(--amber);
  text-shadow: 0 0 16px rgba(227, 236, 245, .55);
  animation: blink 1.15s steps(1) infinite;
}

.boot__skip {
  position: absolute; right: 22px; bottom: 22px;
  background: none;
  border: 1px solid var(--line);
  color: var(--fg-dim);
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .16em;
  padding: 9px 16px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.boot__skip:hover { color: var(--fg); border-color: var(--grid); }

@keyframes blink { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }

/* ---------------------------------------------------------
   HUD
   --------------------------------------------------------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--hud-h);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-inline: var(--pad);
  backdrop-filter: blur(9px);
  background: linear-gradient(to bottom, rgba(1, 2, 8, .92), rgba(1, 2, 8, 0));
}

.hud__brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.hud__logo {
  display: block;
  width: clamp(106px, 10vw, 148px);
  height: auto;
  filter: drop-shadow(0 5px 14px rgba(0, 0, 0, .42));
}
.hud__mark {
  width: 14px; height: 14px;
  background: var(--grid);
  filter: drop-shadow(0 0 6px var(--grid));
  clip-path: polygon(50% 0%, 63% 35%, 100% 38%, 72% 60%, 82% 96%, 50% 76%, 18% 96%, 28% 60%, 0% 38%, 37% 35%);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1 } 50% { transform: scale(.7); opacity: .55 } }

.hud__brandtext {
  font-family: var(--f-en);
  font-weight: 700;
  letter-spacing: .2em;
  font-size: 15px;
}

/* VISION / MISSION用の独立ページ */
.page-hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--hud-h) + 80px) var(--pad) clamp(72px, 12vh, 142px);
}
.page-hero__inner { width: min(var(--wrap), 100%); margin-inline: auto; }
.page-hero__eyebrow {
  margin: 0 0 clamp(28px, 5vh, 54px);
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--fg-dim);
}
.page-hero__title {
  max-width: 1180px;
  margin: 0 0 clamp(28px, 5vh, 58px);
  font-size: clamp(44px, 6.8vw, 104px);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.page-hero__title em {
  font-style: normal;
  color: var(--grid);
  text-shadow: 0 1px 0 rgba(255,255,255,.35), 0 10px 26px rgba(57, 105, 188, .3);
}
.page-hero__body {
  max-width: 54ch;
  margin: 0;
  font-family: var(--f-serif);
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.9;
  color: var(--fg);
  text-shadow: 0 2px 18px rgba(2, 4, 12, .95);
}
.page-next {
  position: absolute;
  right: var(--pad);
  bottom: 36px;
  font-family: var(--f-pixel);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--fg-dim);
  text-decoration: none;
}
.page-next:hover { color: var(--fg); }

/* ---------------------------------------------------------
   PROJECT / OPPA
   --------------------------------------------------------- */
.project-hero {
  width: min(var(--wrap), 100% - var(--pad) * 2);
  min-height: 100svh;
  margin-inline: auto;
  padding: calc(var(--hud-h) + clamp(72px, 12vh, 150px)) 0 clamp(64px, 10vh, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .76fr);
  align-items: center;
  gap: clamp(44px, 8vw, 128px);
}
.project-hero__kicker { margin: 0 0 14px; font-family: var(--f-en); font-size: 11px; letter-spacing: .28em; color: var(--yellow); }
.project-hero__title { margin: 0; font-family: var(--f-en); font-size: clamp(72px, 13vw, 174px); font-weight: 500; line-height: .82; letter-spacing: -.08em; }
.project-hero__wordmark { width: min(100%, 430px); height: clamp(112px, 15vw, 170px); margin: 0; overflow: hidden; }
.project-hero__wordmark img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.project-hero__wordmark--to { width: min(100%, 270px); }
.project-hero__wordmark--to img { object-position: 50% 42%; }
.project-hero__subtitle { margin: 22px 0 36px; font-family: var(--f-en); font-size: clamp(15px, 2vw, 22px); letter-spacing: .36em; color: var(--fg-dim); }
.project-hero__body { max-width: 48ch; margin: 0; color: var(--fg-dim); font-size: clamp(14px, 1.45vw, 16px); }
.project-info { width: min(100%, 520px); margin: 34px 0 0; border-top: 1px solid var(--line); }
.project-info > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(234,242,255,.12); }
.project-info dt { font-family: var(--f-en); font-size: 10px; letter-spacing: .2em; color: var(--yellow); }
.project-info dd { margin: 0; font-size: 13px; line-height: 1.65; color: var(--fg-dim); }
.project-info a { color: var(--fg); text-decoration: none; transition: color .25s, text-shadow .25s; }
.project-info a:hover { color: var(--yellow); text-shadow: 0 0 14px rgba(212,187,73,.65); }
.project-hero__back { display: inline-block; margin-top: 44px; color: var(--fg); font-family: var(--f-en); font-size: 12px; letter-spacing: .18em; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.42); padding-bottom: 8px; transition: color .25s, border-color .25s; }
.project-hero__back:hover { color: var(--yellow); border-color: var(--yellow); }
.project-hero__visual { position: relative; min-height: min(52vw, 590px); isolation: isolate; }
.project-hero__visual::before { content: ""; position: absolute; inset: 6% 0 0 8%; border: 1px solid rgba(255,255,255,.2); background: radial-gradient(circle at 68% 30%, rgba(207,85,69,.24), transparent 24%), radial-gradient(circle at 24% 76%, rgba(212,187,73,.23), transparent 32%), rgba(6,7,10,.64); z-index: -1; }
.project-hero__logo { position: absolute; left: 0; top: 10%; width: 82%; height: 56%; object-fit: cover; object-position: 50% 59%; border: 1px solid rgba(255,255,255,.18); filter: contrast(1.08); }
.project-hero__mark { position: absolute; right: 0; bottom: 0; width: 48%; height: 52%; object-fit: cover; object-position: 50% 42%; mix-blend-mode: screen; filter: grayscale(1) contrast(1.22); }
.project-hero__visual--oppa .project-hero__logo { width: 92%; height: 70%; top: 14%; object-position: 50% 58%; }
.project-hero__visual--to .project-hero__mark { width: 72%; height: 82%; right: 7%; bottom: 5%; object-position: 50% 42%; mix-blend-mode: normal; filter: grayscale(1) contrast(1.25); border: 1px solid rgba(255,255,255,.18); }
.project-hero__title--to { font-family: var(--f-serif); font-weight: 500; letter-spacing: .06em; }

.hud__nav {
  display: flex; align-items: center; gap: clamp(11px, 1.65vw, 24px);
  margin-left: clamp(20px, 3.2vw, 56px);
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .22em;
}
.hud__nav a { text-decoration: none; color: var(--fg-dim); transition: color .25s, text-shadow .25s; }
.hud__nav a:hover { color: var(--yellow); text-shadow: 0 0 14px rgba(212,187,73,.72); }

.hud__cta {
  border: 1px solid var(--grid-soft);
  color: var(--grid) !important;
  padding: 7px 15px;
}
.hud__cta:hover { background: rgba(212, 187, 73, .1); border-color: var(--yellow); color: var(--yellow) !important; box-shadow: 0 0 18px rgba(212,187,73,.3); }

.hud__toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  background: none; border: 1px solid var(--line);
  cursor: pointer;
  padding: 11px 10px;
  flex-direction: column; justify-content: space-between;
}
.hud__toggle span { display: block; height: 1px; background: var(--fg); transition: transform .25s, opacity .25s; }
.hud__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hud__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hud__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 39;
  background: rgba(1, 2, 8, .985);
  backdrop-filter: blur(14px);
  display: flex; flex-direction: column; justify-content: center;
  gap: 0;
  padding: calc(var(--hud-h) + clamp(24px, 5vh, 56px)) var(--pad) clamp(32px, 6vh, 72px);
}
.mnav[hidden] { display: none; }
.mnav a {
  font-family: var(--f-en);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: .18em;
  text-decoration: none;
  padding: clamp(13px, 2vh, 23px) 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 16px;
}
.mnav a:hover { color: var(--yellow); text-shadow: 0 0 16px rgba(212,187,73,.65); }
.mnav a b { font-size: 12px; color: var(--grid); }

/* ---------------------------------------------------------
   深度メーター
   --------------------------------------------------------- */
.depth {
  position: fixed;
  left: max(14px, calc(var(--pad) - 26px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  font-family: var(--f-pixel);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--fg-faint);
}
.depth__label { writing-mode: vertical-rl; }
.depth__track {
  width: 1px; height: 132px;
  background: var(--line);
  position: relative;
}
.depth__fill {
  position: absolute; inset: 0 0 auto 0;
  width: 100%; height: 0;
  background: linear-gradient(to bottom, var(--grid), var(--yellow));
  box-shadow: 0 0 10px currentColor;
}

/* ---------------------------------------------------------
   共通パーツ
   --------------------------------------------------------- */
.tag {
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--grid);
  margin: 0 0 22px;
}

.sect { padding-block: clamp(96px, 15vh, 176px); }
.sect--statement {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(140px, 18vh, 200px);
  position: relative;
  overflow: hidden;
}
.sect--statement::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: min(1100px, 150vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--emblem, rgba(85,255,160,.16)) 0%, transparent 68%);
  pointer-events: none;
  z-index: -1;
}
#vision.sect--statement { --emblem: rgba(205, 210, 218, .14); }
#mission.sect--statement { --emblem: rgba(160, 165, 174, .13); }

.sect__label {
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--fg-faint);
  margin: 0 0 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.sect__label b { color: var(--grid); font-weight: 400; }

.statement {
  font-size: clamp(34px, 8.4vw, 104px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.015em;
  margin: 0 0 34px;
}
.statement em {
  font-style: normal;
  color: var(--amber);
  text-shadow: 0 0 26px rgba(227, 236, 245, .38);
}
.statement__note {
  max-width: 62ch;
  color: var(--fg-dim);
  font-size: clamp(14px, 1.5vw, 16px);
  margin: 0;
}

.head {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.5;
  font-weight: 800;
  margin: 0 0 18px;
}
.head--xl { font-size: clamp(34px, 7.6vw, 84px); line-height: 1.28; font-weight: 900; }
.head__note { color: var(--fg-dim); max-width: 60ch; margin: 0 0 clamp(40px, 6vw, 72px); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid var(--grid-soft);
  transition: background .25s, box-shadow .25s, transform .25s;
}
.btn i { font-style: normal; font-size: 10px; transition: transform .25s; }
.btn:hover i { transform: translateX(5px); }
.btn--ghost { color: var(--grid); }
.btn--ghost:hover { background: rgba(220, 222, 225, .08); box-shadow: 0 0 34px rgba(220, 222, 225, .16); }
.btn--solid {
  background: var(--grid); color: #02121a; border-color: var(--grid);
  box-shadow: 0 0 40px rgba(220, 222, 225, .24);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 0 56px rgba(220, 222, 225, .36); }
.btn--lg { padding: 22px 48px; font-size: 15px; }

.br-sp { display: none; }

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: start;
  padding: calc(var(--hud-h) + clamp(72px, 12vh, 140px)) var(--pad) 120px;
  text-align: left;
}
.hero__inner { width: min(var(--wrap), 100%); margin-inline: auto; }

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-en);
  font-weight: 400;
  font-size: clamp(10px, 1.3vw, 13px);
  letter-spacing: .34em;
  color: var(--fg-dim);
  margin: 0 0 clamp(24px, 4vh, 44px);
  text-shadow: 0 2px 14px rgba(2, 4, 12, .9);
}
.hero__kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(212, 187, 73, .7);
}

.hero__copy {
  margin: 0 0 clamp(32px, 4.6vh, 52px);
  font-size: clamp(46px, 8.6vw, 122px);
  font-family: var(--f-jp);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.065em;
  text-shadow: 0 0 90px rgba(211, 214, 220, .2);
}
.hero__copy em {
  font-style: normal;
  font-family: var(--f-en);
  font-size: 1.16em;
  font-weight: 400;
  letter-spacing: .005em;
  background: linear-gradient(100deg, #f0f1f2 0%, #a8abb2 60%, #e4e4e2 84%, #d4bb49 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .42),
    0 -2px 0 rgba(47, 21, 72, .18),
    0 14px 28px rgba(6, 8, 18, .65);
}
.hero__copy-sub {
  font-size: .57em;
  letter-spacing: -.025em;
}

.hero__lead {
  font-family: var(--f-jp);
  font-weight: 400;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.9;
  letter-spacing: .015em;
  margin: 0;
  max-width: 100%;
  color: var(--fg);
  text-shadow: 0 2px 18px rgba(2, 4, 12, .95), 0 0 6px rgba(2, 4, 12, .8);
}
@media (min-width: 981px) {
  .hero__lead { white-space: nowrap; }
}

/* 金属／ガラスのエッジを連想させる、ごく薄いベベル。 */
.hud__cta,
.btn,
.orbit__item,
.now__card,
.info {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(1, 4, 14, .58),
    0 13px 32px rgba(0, 0, 0, .18);
}

.hud__cta,
.btn {
  border-color: rgba(214, 231, 255, .36);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 46%);
}

.orbit__item::after,
.now__card::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .045);
}

.hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--f-pixel);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--fg-faint);
}
.hero__scroll span { display: block; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: .5 } 50% { transform: translateY(7px); opacity: 1 } }

/* ---------------------------------------------------------
   WARP
   --------------------------------------------------------- */
.warp {
  height: 74svh;
  display: grid;
  place-items: center;
}
.warp__text {
  font-family: var(--f-pixel);
  font-size: clamp(11px, 2.2vw, 16px);
  letter-spacing: .42em;
  color: var(--fg-faint);
  margin: 0;
  text-align: center;
}

/* ---------------------------------------------------------
   BUSINESS
   --------------------------------------------------------- */
.orbit {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
}

.orbit__item {
  position: relative;
  border-radius: 3px;
  border: 1px solid var(--line);
  padding: clamp(32px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .4s;
}
.orbit__item:hover { transform: translateY(-4px); border-color: var(--grid-soft); }
.orbit__item[data-planet="a"] { background: linear-gradient(135deg, rgba(19, 22, 28, .96), rgba(2, 4, 9, .99)); }
.orbit__item[data-planet="b"] { background: linear-gradient(135deg, rgba(27, 28, 30, .96), rgba(2, 4, 9, .99)); }
.orbit__item[data-planet="c"] { background: linear-gradient(135deg, rgba(22, 24, 29, .96), rgba(2, 4, 9, .99)); }
.orbit__item[data-planet="d"] { background: linear-gradient(135deg, rgba(29, 30, 33, .96), rgba(2, 4, 9, .99)); }

.orbit__no {
  font-family: var(--f-pixel);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--grid);
  display: block;
  margin-bottom: 18px;
}

.orbit__planet {
  position: absolute;
  top: auto; right: -38px; bottom: -46px;
  width: clamp(112px, 13vw, 178px);
  aspect-ratio: 1;
  transform: none;
  border-radius: 50%;
  opacity: .58;
  filter: saturate(1.1);
  z-index: -1;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .6s;
}
.orbit__item:hover .orbit__planet { transform: scale(1.07); opacity: .78; }
.orbit__planet[data-planet="a"] {
  background: radial-gradient(circle at 34% 29%, #e9f5ff 0 3%, #8cb8d8 5% 7%, #456b88 22%, #1d3247 52%, #09111b 70%);
  box-shadow: inset -20px -16px 32px rgba(0,0,0,.55), 0 0 36px rgba(80,156,205,.26), 0 0 0 1px rgba(210,231,246,.16);
}
.orbit__planet[data-planet="b"] {
  background: radial-gradient(circle at 34% 29%, #fff4f7 0 3%, #d37c96 5% 7%, #7c465d 22%, #3e2030 52%, #150a10 70%);
  box-shadow: inset -20px -16px 32px rgba(0,0,0,.55), 0 0 36px rgba(205,74,117,.24), 0 0 0 1px rgba(255,215,227,.15);
}
.orbit__planet[data-planet="c"] {
  background: radial-gradient(circle at 34% 29%, #fff9d8 0 3%, #d9b94f 5% 7%, #806728 22%, #403314 52%, #171207 70%);
  box-shadow: inset -20px -16px 32px rgba(0,0,0,.55), 0 0 36px rgba(213,171,58,.24), 0 0 0 1px rgba(255,235,156,.14);
}
.orbit__planet[data-planet="d"] {
  background: radial-gradient(circle at 34% 29%, #fff0e6 0 3%, #d77862 5% 7%, #7f443b 22%, #43211d 52%, #190b0b 70%);
  box-shadow: inset -20px -16px 32px rgba(0,0,0,.55), 0 0 36px rgba(203,82,65,.24), 0 0 0 1px rgba(255,215,204,.15);
}

.orbit__title {
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.orbit__title small {
  order: -1;
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--fg-faint);
}
.orbit__body { margin: 0; max-width: 52ch; font-size: clamp(14.5px, 1.4vw, 16px); color: var(--fg-dim); }
.orbit__projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 600px;
}
.orbit__project {
  min-height: 88px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(4, 5, 8, .45);
  color: var(--fg);
  text-decoration: none;
  transition: border-color .25s, transform .25s, background .25s;
}
.orbit__project:hover { border-color: var(--yellow); background: rgba(212, 187, 73, .07); transform: translateY(-2px); }
.orbit__project img { width: 78px; height: 68px; object-fit: cover; background: #050505; }
.orbit__project:first-child img { object-position: 50% 58%; }
.orbit__project:last-child img { object-position: 50% 42%; }
.orbit__project span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.orbit__project b { font-family: var(--f-en); font-size: 17px; font-weight: 500; letter-spacing: .1em; }
.orbit__project:last-child b { font-family: var(--f-serif); font-size: 26px; letter-spacing: .08em; line-height: 1; }
.orbit__project small { font-family: var(--f-en); font-size: 8px; letter-spacing: .16em; color: var(--fg-faint); white-space: nowrap; }
.orbit__project i { font-style: normal; font-family: var(--f-en); color: var(--yellow); font-size: 18px; }
.orbit__num {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 1;
  color: var(--fg);
  opacity: .14;
}

/* ---------------------------------------------------------
   NOW
   --------------------------------------------------------- */
.now {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.now__card {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(8, 10, 14, .9);
  padding: clamp(30px, 3.4vw, 48px);
  position: relative;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s;
}
.now__card:hover { transform: translateY(-4px); border-color: rgba(208, 211, 216, .36); }
.now__kicker {
  display: inline-block;
  font-family: var(--f-en);
  font-size: 10px; letter-spacing: .26em;
  color: var(--yellow);
  background: rgba(208, 211, 216, .1);
  border: 1px solid rgba(208, 211, 216, .28);
  border-radius: 2px;
  padding: 6px 14px;
  margin: 0 0 20px;
}
.now__title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; margin: 0 0 16px; }
.now__body { margin: 0 0 24px; color: var(--fg-dim); font-size: 14.5px; }
.now__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.now__tags li {
  font-family: var(--f-en);
  font-size: 11px; letter-spacing: .1em;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px 14px;
  color: var(--fg-faint);
}

/* ---------------------------------------------------------
   COMPANY
   --------------------------------------------------------- */
.info {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(8px, 1.6vw, 16px) clamp(24px, 3vw, 40px);
  background: rgba(4, 6, 15, .78);
}
.info > div {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info > div:last-child { border-bottom: none; }
.info dt {
  font-family: var(--f-pixel);
  font-size: 12px; letter-spacing: .14em;
  color: var(--fg-faint);
}
.info dd { margin: 0; font-size: 15px; }
.info dd a { color: var(--grid); }

/* ---------------------------------------------------------
   CONTACT / FOOTER
   --------------------------------------------------------- */
.sect--contact { padding-block: clamp(120px, 20vh, 210px); text-align: center; }
.sect--contact .sect__label { justify-content: center; border-bottom: none; }
.sect--contact .head__note { margin-inline: auto; }

.foot {
  border-top: 1px solid var(--line);
  padding: 44px var(--pad);
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
}
.foot__brand {
  display: block;
  width: 104px;
}
.foot__brand img {
  width: 100%;
  height: auto;
}
.foot__copy { margin: 0; font-size: 12px; color: var(--fg-faint); }

/* ---------------------------------------------------------
   スクロール表示アニメーション
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.reveal[data-delay="1"] { transition-delay: .10s; }
.reveal[data-delay="2"] { transition-delay: .20s; }
.reveal[data-delay="3"] { transition-delay: .30s; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------
   レスポンシブ
   --------------------------------------------------------- */
@media (max-width: 980px) {
  .hud__nav { display: none; }
  .hud__toggle { display: flex; }
  .depth { display: none; }
  .br-sp { display: inline; }
  .info { padding-inline: 20px; }
  .project-hero { grid-template-columns: 1fr; padding-top: calc(var(--hud-h) + 72px); gap: 48px; }
  .project-hero__visual { min-height: 72vw; max-height: 490px; }
  .orbit__projects { grid-template-columns: 1fr; max-width: 360px; }
  .info > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 4px; }
  .orbit__item { grid-template-columns: 1fr; }
  .orbit__num { display: none; }
  .orbit__planet { width: 126px; right: -30px; bottom: -38px; opacity: .52; }
}


/* ---------------------------------------------------------
   モーション低減
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .scanlines { display: none; }
}
