/* トップページの演出：ロード画面・スクロール連動・インフォグラフィック。 */
:root {
  --fx-red: #e50012;
  --fx-gold: #d9b77a;
  --fx-ink: #05070d;
  --fx-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fx-display: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --fx-jp: "A-OTF 新ゴ Pro", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
}

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

/* ===== ロード画面 ===== */
html.fx-loader-on .fx-loader {
  display: block !important;
}

html.fx-loading,
html.fx-loading body {
  overflow: hidden;
}

.fx-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow: hidden;
  color: #f3efe6;
  font-family: var(--fx-display);
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  --fx-load: 0;
  --fx-core: min(54vmin, 320px);
}

.fx-loader__shutters {
  position: absolute;
  inset: 0;
  display: flex;
}

.fx-loader__shutters span {
  flex: 1 0 0;
  margin-right: -1px;
  background: linear-gradient(180deg, #0b1020 0%, var(--fx-ink) 52%, #020306 100%);
  box-shadow: inset 0 -3px 0 rgba(229, 0, 18, 0);
  transition: translate 0.92s cubic-bezier(0.76, 0, 0.24, 1), box-shadow 0.3s ease;
}

.fx-loader__shutters span:nth-child(1),
.fx-loader__shutters span:nth-child(6) { transition-delay: 0.3s; }
.fx-loader__shutters span:nth-child(2),
.fx-loader__shutters span:nth-child(5) { transition-delay: 0.21s; }
.fx-loader__shutters span:nth-child(3),
.fx-loader__shutters span:nth-child(4) { transition-delay: 0.12s; }

.fx-loader.is-leaving .fx-loader__shutters span {
  translate: 0 -101%;
  box-shadow: inset 0 -3px 0 var(--fx-red), 0 10px 30px rgba(229, 0, 18, 0.35);
}

.fx-loader__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: calc(var(--fx-core) * 2.6);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 183, 122, 0.16) 0%, rgba(57, 90, 180, 0.12) 34%, transparent 66%);
  animation: fx-glow 3.2s ease-in-out infinite alternate;
  pointer-events: none;
}

.fx-loader__grid {
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.13) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle at 50% 46%, #000 0%, transparent 62%);
  animation: fx-grid-drift 14s linear infinite;
  pointer-events: none;
}

.fx-loader__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fx-loader__frame {
  position: absolute;
  inset: clamp(14px, 3vw, 32px);
  border: 1px solid rgba(217, 183, 122, 0.14);
  pointer-events: none;
  animation: fx-fade-in 1s ease 0.2s both;
}

.fx-loader__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid var(--fx-gold);
}

.fx-loader__corner--tl { left: -1px; top: -1px; border-left-width: 2px; border-top-width: 2px; }
.fx-loader__corner--tr { right: -1px; top: -1px; border-right-width: 2px; border-top-width: 2px; }
.fx-loader__corner--bl { left: -1px; bottom: -1px; border-left-width: 2px; border-bottom-width: 2px; }
.fx-loader__corner--br { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }

.fx-loader__meta {
  position: absolute;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.32em;
  color: rgba(243, 239, 230, 0.6);
  white-space: nowrap;
}

.fx-loader__meta--tl { left: 22px; top: 20px; }
.fx-loader__meta--tr { right: 22px; top: 20px; color: var(--fx-gold); }
.fx-loader__meta--bl { left: 22px; bottom: 20px; }
.fx-loader__meta--br { right: 22px; bottom: 20px; }

.fx-loader__core {
  position: absolute;
  left: 50%;
  top: 46%;
  width: var(--fx-core);
  aspect-ratio: 1;
  translate: -50% -50%;
  transition: scale 0.8s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.6s ease, filter 0.6s ease;
}

/* 回転する目盛りは別の svg にして、要素ごと回す（SVG内部の回転は毎フレーム再描画になる）。 */
.fx-loader__spin,
.fx-loader__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fx-loader__spin circle,
.fx-loader__ring circle {
  fill: none;
}

.fx-loader__spin--ticks {
  animation: fx-spin 24s linear infinite;
}

.fx-loader__spin--ticks circle {
  stroke: rgba(217, 183, 122, 0.55);
  stroke-width: 3;
  stroke-dasharray: 0.35 2.65;
}

.fx-loader__spin--inner {
  animation: fx-spin 9s linear infinite reverse;
}

.fx-loader__spin--inner circle {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 0.5;
  stroke-dasharray: 16 6 2 6;
}

.fx-loader__ring {
  rotate: -90deg;
}

.fx-loader__ring-track {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 0.6;
}

.fx-loader__ring-bar,
.fx-loader__ring-glow {
  stroke: url(#fx-loader-gradient);
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: calc(100 - var(--fx-load));
}

.fx-loader__ring-bar {
  stroke-width: 1.6;
}

.fx-loader__ring-glow {
  stroke-width: 7;
  opacity: 0.2;
  transition: opacity 0.4s ease;
}

.fx-loader__orbit {
  position: absolute;
  inset: 0;
  rotate: calc(var(--fx-load) * 3.6deg);
}

.fx-loader__orbit i {
  position: absolute;
  left: 50%;
  top: 4%;
  width: 9px;
  height: 9px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--fx-red);
  box-shadow: 0 0 0 3px rgba(229, 0, 18, 0.25), 0 0 18px 4px rgba(229, 0, 18, 0.75);
}

.fx-loader__logo,
.fx-loader__shine {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54%;
  aspect-ratio: 228 / 216;
  translate: -50% -50%;
}

.fx-loader__logo {
  height: auto;
  filter: drop-shadow(0 0 22px rgba(120, 160, 255, 0.28));
  animation: fx-logo-in 1.3s var(--fx-ease) 0.1s both;
}

/* ロゴの形で切り抜いた金色の光。光の帯は translate で動かし、再描画を避ける。 */
.fx-loader__shine {
  overflow: hidden;
  -webkit-mask: url("../01/assets/0001-%E3%83%88%E3%83%83%E3%83%97%E3%83%AD%E3%82%B4.png") center / 100% 100% no-repeat;
  mask: url("../01/assets/0001-%E3%83%88%E3%83%83%E3%83%97%E3%83%AD%E3%82%B4.png") center / 100% 100% no-repeat;
}

.fx-loader__shine i {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 70%;
  background: linear-gradient(105deg, transparent 10%, rgba(255, 226, 160, 0.95) 42%, #fff7e2 50%, rgba(255, 226, 160, 0.95) 58%, transparent 90%);
  translate: -110% 0;
  animation: fx-shine 2.6s ease-in-out 0.6s infinite;
}

.fx-loader__count {
  position: absolute;
  left: 50%;
  top: calc(46% + var(--fx-core) / 2 + 22px);
  translate: -50% 0;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.4s ease, translate 0.6s var(--fx-ease);
  animation: fx-fade-in 0.8s ease 0.3s both;
}

.fx-loader__pct {
  margin-top: 0.2em;
  font-size: 0.3em;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fx-gold);
}

.fx-loader__bar {
  position: absolute;
  left: 50%;
  top: calc(46% + var(--fx-core) / 2 + 22px + clamp(40px, 7vw, 68px) + 18px);
  width: min(220px, 50vw);
  height: 1px;
  translate: -50% 0;
  background: rgba(255, 255, 255, 0.14);
  transition: opacity 0.4s ease;
}

.fx-loader__bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--fx-red), var(--fx-gold));
  transform-origin: 0 50%;
  scale: calc(var(--fx-load) / 100) 1;
}

.fx-loader__word {
  position: absolute;
  left: 50%;
  top: calc(46% + var(--fx-core) / 2 + 22px + clamp(40px, 7vw, 68px) + 34px);
  translate: -50% 0;
  font-family: var(--fx-jp);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  white-space: nowrap;
  color: rgba(243, 239, 230, 0.82);
  transition: opacity 0.4s ease;
}

.fx-loader__word.is-flip {
  animation: fx-word-flip 0.24s ease-out;
}

.fx-loader.is-complete .fx-loader__word {
  color: var(--fx-gold);
  animation: fx-word-final 0.7s var(--fx-ease) both;
}

.fx-loader.is-complete .fx-loader__shine i {
  animation: fx-shine 0.9s ease-out both;
}

.fx-loader.is-complete .fx-loader__ring-glow {
  opacity: 0.55;
}

.fx-loader.is-complete .fx-loader__count {
  color: #fff6de;
  text-shadow: 0 0 24px rgba(217, 183, 122, 0.8);
}

.fx-loader.is-leaving {
  cursor: default;
  pointer-events: none;
}

.fx-loader.is-leaving .fx-loader__core {
  scale: 1.9;
  opacity: 0;
}

.fx-loader.is-leaving .fx-loader__frame,
.fx-loader.is-leaving .fx-loader__grid,
.fx-loader.is-leaving .fx-loader__glow,
.fx-loader.is-leaving .fx-loader__bar,
.fx-loader.is-leaving .fx-loader__word,
.fx-loader.is-leaving .fx-loader__count {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.fx-loader.is-leaving .fx-loader__count {
  translate: -50% -20px;
}

.fx-loader.is-reduced .fx-loader__shutters span,
.fx-loader.is-reduced .fx-loader__core {
  transition: none;
}

.fx-loader.is-reduced.is-leaving {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.fx-loader.is-reduced.is-leaving .fx-loader__shutters span {
  translate: none;
}

.fx-loader.is-reduced *,
.fx-loader.is-reduced *::before,
.fx-loader.is-reduced *::after {
  animation: none !important;
}

@media (max-width: 599px) {
  .fx-loader__meta { font-size: 8px; letter-spacing: 0.24em; }
  .fx-loader__meta--tl,
  .fx-loader__meta--bl { left: 16px; }
  .fx-loader__meta--tr,
  .fx-loader__meta--br { right: 16px; }
  .fx-loader__word { font-size: 12px; letter-spacing: 0.24em; }
}

/* ===== スクロール進捗・現在地 ===== */
.fx-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10040;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--fx-red), #ff6a3d 60%, var(--fx-gold));
  box-shadow: 0 0 12px rgba(229, 0, 18, 0.55);
  transform-origin: 0 50%;
  scale: 0 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.fx-hud {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  top: 50%;
  z-index: 10040;
  display: none;
  translate: 0 -50%;
  color: #ffffff;
  font-family: var(--fx-display);
  mix-blend-mode: difference;
  transition: opacity 0.5s ease;
}

html.fx-loading .fx-progress,
html.fx-loading .fx-hud {
  opacity: 0;
}

.fx-hud__count {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
}

.fx-hud__count b {
  display: inline-block;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.fx-hud__count b.is-flip {
  animation: fx-num-flip 0.36s var(--fx-ease);
}

.fx-hud__list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-hud__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  cursor: pointer;
}

.fx-hud__item span {
  opacity: 0;
  translate: 8px 0;
  transition: opacity 0.3s ease, translate 0.4s var(--fx-ease);
}

.fx-hud__item i {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  transition: width 0.5s var(--fx-ease), opacity 0.3s ease, height 0.3s ease;
}

.fx-hud__item:hover span,
.fx-hud__item:focus-visible span,
.fx-hud__item.is-active span {
  opacity: 1;
  translate: 0 0;
}

.fx-hud__item.is-active i {
  width: 40px;
  height: 2px;
  opacity: 1;
}

.fx-hud__item:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.fx-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 10010;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  translate: -50% 0;
  color: #ffffff;
  font-family: var(--fx-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  opacity: calc(1 - var(--fx-hero, 0) * 4);
  pointer-events: none;
}

.fx-scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 58px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.fx-scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 45%;
  background: #ffffff;
  animation: fx-cue 1.9s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

@media (min-width: 900px) {
  .fx-hud,
  .fx-scroll-cue {
    display: flex;
  }

  .fx-hud {
    flex-direction: column;
    align-items: flex-end;
  }
}

/* ===== ヒーロー：ロード後の登場とスクロール連動 ===== */
/* filter は重い端末やWebKitで負荷が大きいため使わず、移動・拡大・不透明度だけで演出する。 */
html.fx-on.fx-motion .section-gaip-01 .s-gaip-01-layer-4 {
  translate: 0 calc(var(--fx-hero, 0) * 28%);
  scale: calc(1 + var(--fx-hero, 0) * 0.18);
}

.fx-hero-shade {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9996;
  width: 750px;
  height: 1334px;
  background: #000000;
  opacity: calc(var(--fx-hero, 0) * 0.6);
  pointer-events: none;
}

@media (min-width: 751px) {
  .section-gaip-01 .fx-hero-shade {
    left: calc((var(--page-width) - var(--viewport-width)) / 2);
    width: var(--viewport-width);
  }
}

@media (min-width: 900px) {
  .section-gaip-01 .fx-hero-shade {
    left: 0;
    width: 100%;
    height: 100%;
  }
}

html.fx-on.fx-motion .section-gaip-01 .s-gaip-01-layer-1 {
  translate: 0 calc(var(--fx-hero, 0) * -170px);
  opacity: calc(1 - var(--fx-hero, 0) * 1.6);
}

html.fx-on.fx-motion .section-gaip-01 .s-gaip-01-layer-2 {
  translate: 0 calc(var(--fx-hero, 0) * -80px);
  opacity: calc(1 - var(--fx-hero, 0) * 1.25);
}

.fx-hero-line {
  display: inline-block;
}

html.fx-on.fx-motion:not(.fx-hero-in) .section-gaip-01 .s-gaip-01-layer-1 {
  opacity: 0;
  scale: 1.45;
}

html.fx-on.fx-motion:not(.fx-hero-in) .section-gaip-01 .s-gaip-01-layer-4 {
  scale: 1.22;
}

html.fx-on.fx-motion:not(.fx-hero-in) .section-gaip-01 .fx-hero-line {
  opacity: 0;
  translate: 0 38px;
}

html.fx-hero-intro .section-gaip-01 .s-gaip-01-layer-1 {
  transition: opacity 1.1s ease 0.15s, scale 1.6s var(--fx-ease) 0.15s;
}

html.fx-hero-intro .section-gaip-01 .s-gaip-01-layer-4 {
  transition: scale 2.6s var(--fx-ease);
}

html.fx-hero-intro .section-gaip-01 .fx-hero-line {
  transition: opacity 0.9s ease, translate 1.2s var(--fx-ease);
  transition-delay: calc(0.5s + var(--i, 0) * 0.11s);
}

@media (min-width: 900px) {
  .section-gaip-01 .s-gaip-01-layer-1 {
    transform-origin: 0 50%;
  }
}

/* ===== セクションの出現（上下どちらのスクロールにも反応） ===== */
html.fx-on.fx-motion [data-fx] {
  transition-property: opacity, translate, scale, rotate, clip-path;
  transition-duration: 1s;
  transition-timing-function: var(--fx-ease);
}

html.fx-on.fx-motion [data-fx="rise"] {
  opacity: 0;
  translate: 0 56px;
}

html.fx-on.fx-motion [data-fx="rise"][data-fx-from="top"] {
  translate: 0 -56px;
}

html.fx-on.fx-motion [data-fx="rise"].is-in {
  opacity: 1;
  translate: none;
  transition-delay: calc(0.18s + var(--d, 0) * 0.12s);
}

html.fx-on.fx-motion [data-fx="line"] {
  scale: 0 1;
  transform-origin: 0 50%;
  transition-duration: 1.4s;
}

html.fx-on.fx-motion [data-fx="line"][data-fx-from="top"] {
  transform-origin: 100% 50%;
}

html.fx-on.fx-motion [data-fx="line"].is-in {
  scale: 1 1;
  transition-delay: 0.1s;
}

.fx-label-in {
  position: relative;
  display: inline-block;
}

.fx-label-tx {
  display: inline-block;
}

html.fx-on.fx-motion [data-fx="label"] .fx-label-tx {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.01s linear 0.42s;
}

html.fx-on.fx-motion [data-fx="label"].is-in .fx-label-tx {
  clip-path: inset(-20% -10% -30% 0);
}

html.fx-on.fx-motion [data-fx="label"] .fx-label-in::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 6%;
  bottom: 2%;
  background: var(--fx-red);
  scale: 0 1;
  transform-origin: 0 50%;
  pointer-events: none;
}

html.fx-on.fx-motion [data-fx="label"].is-in .fx-label-in::after {
  animation: fx-bar-wipe 0.9s cubic-bezier(0.7, 0, 0.2, 1) both;
}

html.fx-on.fx-motion [data-fx="chars"] .fx-line {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 0 0.05em 0.14em;
  margin: 0 -0.05em -0.14em;
}

html.fx-on.fx-motion [data-fx="chars"] .fx-char {
  display: inline-block;
  opacity: 0;
  translate: 0 115%;
  rotate: 14deg;
  transition: translate 1.1s var(--fx-ease), rotate 1.1s var(--fx-ease), opacity 0.5s ease;
  transition-delay: calc(var(--i, 0) * 34ms);
}

html.fx-on.fx-motion [data-fx="chars"][data-fx-from="top"] .fx-char {
  translate: 0 -115%;
  rotate: -14deg;
}

html.fx-on.fx-motion [data-fx="chars"].is-in .fx-char {
  opacity: 1;
  translate: none;
  rotate: none;
}

html.fx-on.fx-motion [data-fx="chars"] {
  transform: skewY(var(--fx-skew, 0deg));
}

html.fx-on.fx-motion .s-gaip-02-layer-1 {
  perspective: 1400px;
}

html.fx-on.fx-motion [data-fx="card"] {
  opacity: 0;
  translate: 0 90px;
  rotate: x 62deg;
  transform-origin: 50% 0;
  overflow: hidden;
  transition-duration: 1.2s;
  transition-delay: calc(var(--d, 0) * 140ms);
}

html.fx-on.fx-motion [data-fx="card"][data-fx-from="top"] {
  translate: 0 -90px;
  rotate: x -62deg;
  transform-origin: 50% 100%;
}

html.fx-on.fx-motion [data-fx="card"].is-in {
  opacity: 1;
  translate: none;
  rotate: none;
}

html.fx-on.fx-motion [data-fx="card"]::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  width: 3px;
  background: var(--fx-red);
  box-shadow: 0 0 16px 4px rgba(229, 0, 18, 0.45);
  opacity: 0;
  pointer-events: none;
}

html.fx-on.fx-motion [data-fx="card"].is-in::after {
  animation: fx-scan 1.1s cubic-bezier(0.6, 0, 0.3, 1) both;
  animation-delay: calc(0.5s + var(--d, 0) * 140ms);
}

html.fx-on.fx-motion [data-fx-bar] {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s cubic-bezier(0.7, 0, 0.2, 1);
  transition-delay: calc(0.45s + var(--d, 0) * 140ms);
}

html.fx-on.fx-motion [data-fx="card"].is-in [data-fx-bar] {
  clip-path: inset(0 0 0 0);
}

/* 要素自身を clip-path で隠すと IntersectionObserver が画面外と判定するため、子要素を切り抜く。 */
html.fx-on.fx-motion [data-fx="button"] {
  overflow: hidden;
}

html.fx-on.fx-motion [data-fx="button"] > * {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s var(--fx-ease) 0.25s;
}

html.fx-on.fx-motion [data-fx="button"] > .type-text {
  transition-delay: 0.45s;
}

html.fx-on.fx-motion [data-fx="button"][data-fx-from="top"] > * {
  clip-path: inset(0 0 0 100%);
}

html.fx-on.fx-motion [data-fx="button"].is-in > * {
  clip-path: inset(0 0 0 0);
}

html.fx-on.fx-motion [data-fx="button"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, rgba(255, 255, 255, 0.05) 60%, transparent 70%);
  translate: -110% 0;
  pointer-events: none;
}

html.fx-on.fx-motion [data-fx="button"].is-in::after {
  animation: fx-sheen 1.2s ease 0.9s both;
}

html.fx-on.fx-motion [data-fx="button"]:hover::after {
  animation: fx-sheen 0.9s ease both;
}

html.fx-on.fx-motion [data-fx-par] {
  translate: 0 calc(var(--fx-par, 0) * 150px);
}

/* ===== インフォグラフィック共通 ===== */
.fx-band__inner {
  position: relative;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.fx-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-family: var(--fx-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--fx-red);
}

.fx-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

.fx-band-title {
  margin: 0;
  font-family: var(--fx-jp);
  font-size: clamp(30px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.01em;
}

/* ----- 制作フロー ----- */
.fx-process {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 10vw, 150px) 0 clamp(88px, 10vw, 150px);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(229, 0, 18, 0.16), transparent 52%),
    radial-gradient(ellipse at 10% 100%, rgba(57, 90, 200, 0.22), transparent 55%),
    #070a14;
  color: #f4f6fb;
  --fx-p: 1;
}

.fx-process::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}

.fx-process__ghost {
  position: absolute;
  left: 0;
  bottom: clamp(10px, 2vw, 30px);
  z-index: -1;
  font-family: var(--fx-display);
  font-size: clamp(72px, 13vw, 200px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  translate: calc(8% - var(--fx-p) * 30%) 0;
  pointer-events: none;
}

.fx-process__head {
  max-width: 760px;
}

.fx-process__lead {
  margin: 22px 0 0;
  font-family: var(--fx-jp);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.9;
  color: rgba(244, 246, 251, 0.72);
}

.fx-process__flow {
  position: relative;
  margin-top: clamp(56px, 6vw, 88px);
}

.fx-process__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: var(--fx-jp);
}

.fx-process__node {
  position: relative;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 1px solid var(--fx-red);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff4a55, var(--fx-red) 60%, #8c000b);
  color: #ffffff;
  box-shadow: 0 0 0 8px rgba(229, 0, 18, 0.12), 0 0 40px rgba(229, 0, 18, 0.45);
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.6s ease, color 0.5s ease, scale 0.6s var(--fx-ease);
}

.fx-process__node svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fx-process__node::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--fx-red);
  border-radius: 50%;
  opacity: 0;
}

.fx-process__num {
  margin-top: 22px;
  font-family: var(--fx-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--fx-gold);
}

.fx-process__name {
  margin-top: 8px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.fx-process__text {
  max-width: 15em;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 246, 251, 0.7);
  transition: opacity 0.5s ease, translate 0.6s var(--fx-ease);
}

.fx-process__rail {
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 51px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.fx-process__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--fx-red), #ff6a3d 55%, var(--fx-gold));
  box-shadow: 0 0 14px rgba(229, 0, 18, 0.7);
  transform-origin: 0 50%;
  scale: var(--fx-p) 1;
}

.fx-process__spark {
  position: absolute;
  left: calc(var(--fx-p) * 100%);
  top: 50%;
  width: 12px;
  height: 12px;
  translate: -50% -50%;
  border-radius: 50%;
  background: #fff3d6;
  box-shadow: 0 0 0 4px rgba(217, 183, 122, 0.3), 0 0 22px 6px rgba(255, 190, 110, 0.85);
}

.fx-process__rail.is-vertical .fx-process__fill {
  transform-origin: 50% 0;
  scale: 1 var(--fx-p);
  background: linear-gradient(180deg, var(--fx-red), #ff6a3d 55%, var(--fx-gold));
}

.fx-process__rail.is-vertical .fx-process__spark {
  left: 50%;
  top: calc(var(--fx-p) * 100%);
}

html.fx-on.fx-motion .fx-process__step:not(.is-on) .fx-process__node {
  border-color: rgba(255, 255, 255, 0.24);
  background: #070a14;
  color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
  scale: 0.86;
}

html.fx-on.fx-motion .fx-process__step:not(.is-on) .fx-process__text {
  opacity: 0.25;
  translate: 0 12px;
}

html.fx-on.fx-motion .fx-process__step.is-on .fx-process__node::after {
  animation: fx-ripple 1.6s ease-out 1;
}

@media (max-width: 899px) {
  .fx-process__steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .fx-process__step {
    display: grid;
    grid-template-columns: 76px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 22px;
    align-items: start;
    text-align: left;
  }

  .fx-process__node {
    grid-row: 1 / span 3;
    width: 76px;
    height: 76px;
  }

  .fx-process__node svg {
    width: 34px;
    height: 34px;
  }

  .fx-process__num {
    margin-top: 6px;
  }

  .fx-process__name {
    margin-top: 4px;
  }

  .fx-process__text {
    max-width: none;
    margin-top: 6px;
  }

  .fx-process__rail {
    left: 37px;
    right: auto;
    top: 38px;
    bottom: 38px;
    width: 2px;
    height: auto;
  }
}

/* ----- 流れる帯（スクロール方向で向きが変わる） ----- */
.fx-marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5vw, 72px) 0;
  background: #ffffff;
}

.fx-marquee__row {
  position: relative;
  display: flex;
  width: 110%;
  margin-left: -5%;
  overflow: hidden;
  white-space: nowrap;
}

.fx-marquee__row--a {
  z-index: 1;
  padding: 0.18em 0;
  background: var(--fx-red);
  color: #ffffff;
  rotate: -2.4deg;
  box-shadow: 0 18px 40px rgba(229, 0, 18, 0.22);
}

.fx-marquee__row--b {
  margin-top: 0.08em;
  padding: 0.24em 0;
  background: #0b0d14;
  color: #ffffff;
  rotate: 1.6deg;
}

.fx-marquee__track {
  display: flex;
  flex: none;
  align-items: center;
  will-change: transform;
}

.fx-marquee__track > * {
  flex: none;
}

.fx-marquee__row--a .fx-marquee__track {
  font-family: var(--fx-jp);
  font-size: clamp(34px, 6vw, 88px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.fx-marquee__row--b .fx-marquee__track {
  font-family: var(--fx-display);
  font-size: clamp(28px, 4.6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.92);
}

.fx-marquee__track i {
  padding: 0 0.5em;
  font-style: normal;
  font-size: 0.6em;
  color: #ffffff;
  -webkit-text-stroke: 0;
}

.fx-marquee__row--b .fx-marquee__track i {
  color: var(--fx-red);
}

/* ----- 数字で見る ----- */
.fx-stats {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 9vw, 140px) 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%,
    #ffffff;
  color: #111111;
}

.fx-stats__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 40px;
  margin-bottom: clamp(48px, 5vw, 72px);
}

.fx-stats__note {
  margin: 0;
  font-family: var(--fx-jp);
  font-size: 14px;
  line-height: 1.8;
  color: #555555;
}

.fx-stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #111111;
}

.fx-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 18px 34px;
  border-right: 1px solid rgba(17, 17, 17, 0.14);
  font-family: var(--fx-jp);
  text-align: center;
}

.fx-stat:last-child {
  border-right: 0;
}

.fx-stat__figure {
  position: relative;
  display: grid;
  place-items: center;
  width: min(180px, 100%);
  aspect-ratio: 1;
}

.fx-stat__dial {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  rotate: -90deg;
}

.fx-stat__dial circle {
  fill: none;
  stroke: rgba(17, 17, 17, 0.12);
  stroke-width: 7;
  transition: stroke 0.35s ease, stroke-width 0.35s ease;
}

.fx-stat__dial circle.is-on {
  stroke: var(--fx-red);
  stroke-width: 9;
}

.fx-stat__dial .fx-stat__dial-inner {
  stroke: rgba(17, 17, 17, 0.2);
  stroke-width: 0.6;
  stroke-dasharray: 1 3;
}

.fx-stat__value {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.fx-stat__num {
  font-family: var(--fx-display);
  font-size: clamp(52px, 5.4vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.fx-stat__unit {
  font-size: 15px;
  font-weight: 700;
}

.fx-stat__label {
  margin-top: 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fx-stat__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.fx-stat__items li {
  padding: 5px 10px 6px;
  border: 1px solid #111111;
  font-size: 12px;
  line-height: 1.2;
  transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease, translate 0.4s var(--fx-ease);
}

.fx-stat__items li.is-on {
  background: #111111;
  color: #ffffff;
}

html.fx-on.fx-motion .fx-stat__items li:not(.is-on) {
  opacity: 0.3;
  translate: 0 6px;
}

@media (max-width: 899px) {
  .fx-stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fx-stat {
    padding: 30px 10px 28px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.14);
  }

  .fx-stat:nth-child(2n) {
    border-right: 0;
  }

  .fx-stat__figure {
    width: min(136px, 100%);
  }

  .fx-stat__num {
    font-size: 48px;
  }

  .fx-stat__label {
    margin-top: 16px;
    font-size: 13px;
  }

  .fx-stat__items li {
    padding: 4px 7px 5px;
    font-size: 10px;
  }
}

/* ----- 才能が交わる ----- */
.fx-team {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 9vw, 140px) 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(80, 90, 200, 0.2), transparent 50%),
    #05070d;
  color: #f4f6fb;
  --fx-p: 1;
}

.fx-team__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.fx-team .fx-band-title {
  font-size: clamp(28px, 3.7vw, 52px);
}

.fx-team__text {
  margin: 24px 0 0;
  font-family: var(--fx-jp);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.9;
  color: rgba(244, 246, 251, 0.72);
}

.fx-team__stage {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  container-type: inline-size;
}

.fx-team__orbit {
  position: absolute;
  inset: 4%;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  rotate: calc(var(--fx-p) * 140deg);
}

.fx-team__orbit--2 {
  inset: 22%;
  border-style: solid;
  border-color: rgba(217, 183, 122, 0.22);
  rotate: calc(var(--fx-p) * -90deg);
}

.fx-team__orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--fx-gold);
  box-shadow: 0 0 12px var(--fx-gold);
}

.fx-team__bloom,
.fx-team__tag {
  position: absolute;
  left: 50%;
  top: 50%;
  --h: calc(var(--i) * 360 / var(--n) + 352);
  --a: calc(var(--i) * 360deg / var(--n) - 90deg);
  --ang: calc(var(--a) - (1 - var(--fx-p)) * 150deg);
}

.fx-team__bloom {
  width: 46cqi;
  aspect-ratio: 1;
  border: 1.5px solid hsl(var(--h) 95% 68% / 0.9);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, hsl(var(--h) 95% 58% / 0.05) 20%, hsl(var(--h) 95% 58% / 0.42) 100%);
  mix-blend-mode: screen;
  --r: calc(19cqi + (1 - var(--fx-p)) * 36cqi);
  translate: calc(-50% + cos(var(--ang)) * var(--r)) calc(-50% + sin(var(--ang)) * var(--r));
  scale: calc(0.3 + var(--fx-p) * 0.7);
  opacity: calc(0.2 + var(--fx-p) * 0.8);
}

.fx-team__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fx-display);
  font-size: clamp(9px, 2.4cqi, 13px);
  font-weight: 700;
  letter-spacing: 0.2em;
  white-space: nowrap;
  --r: calc(45cqi + (1 - var(--fx-p)) * 30cqi);
  translate: calc(-50% + cos(var(--ang)) * var(--r)) calc(-50% + sin(var(--ang)) * var(--r));
  opacity: var(--fx-p);
}

.fx-team__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--h) 95% 62%);
  box-shadow: 0 0 10px hsl(var(--h) 95% 62%);
}

.fx-team__core {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  font-family: var(--fx-display);
  font-size: clamp(22px, 7cqi, 40px);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.9), 0 0 42px rgba(255, 220, 160, 0.6);
  opacity: clamp(0, (var(--fx-p) - 0.72) * 3.6, 1);
  scale: clamp(0.6, 0.4 + var(--fx-p) * 0.6, 1);
}

@media (max-width: 899px) {
  .fx-team__inner {
    grid-template-columns: 1fr;
  }

  .fx-team__stage {
    width: min(86vw, 460px);
  }
}

/* ===== キーフレーム ===== */
@keyframes fx-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fx-glow {
  from { opacity: 0.65; scale: 0.94; }
  to { opacity: 1; scale: 1.06; }
}

@keyframes fx-grid-drift {
  from { translate: 0 0; }
  to { translate: 26px 26px; }
}

@keyframes fx-spin {
  to { rotate: 360deg; }
}

@keyframes fx-logo-in {
  from { opacity: 0; scale: 0.82; }
  to { opacity: 1; scale: 1; }
}

@keyframes fx-shine {
  0% { translate: -110% 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { translate: 160% 0; opacity: 0; }
}

@keyframes fx-word-flip {
  from { opacity: 0; translate: -50% 40%; }
  to { opacity: 1; translate: -50% 0; }
}

@keyframes fx-num-flip {
  from { opacity: 0; translate: 0 50%; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes fx-word-final {
  from { opacity: 0; letter-spacing: 0.9em; filter: blur(6px); }
  to { opacity: 1; letter-spacing: 0.32em; filter: blur(0); }
}

@keyframes fx-cue {
  0% { translate: 0 -100%; }
  60% { translate: 0 230%; }
  100% { translate: 0 230%; }
}

@keyframes fx-bar-wipe {
  0% { scale: 0 1; transform-origin: 0 50%; }
  46% { scale: 1 1; transform-origin: 0 50%; }
  54% { scale: 1 1; transform-origin: 100% 50%; }
  100% { scale: 0 1; transform-origin: 100% 50%; }
}

@keyframes fx-scan {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes fx-sheen {
  from { translate: -110% 0; }
  to { translate: 110% 0; }
}

@keyframes fx-ripple {
  from { opacity: 0.9; scale: 1; }
  to { opacity: 0; scale: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-scroll-cue i::after,
  .fx-loader * {
    animation: none !important;
  }
}
