:root {
  --bg: #f4fbfe;
  --bg-soft: #e6f4fb;
  --line: rgba(10, 80, 72, 0.14);
  --text: #0a1f1c;
  --muted: #4a6a66;
  --accent: #0d9b8a;
  --accent-2: #1a8cb5;
  --max: 1120px;
  --site-header-h: 68px;
  /* 立体図形の重なり位置微調整 */
  --oc-sweep-left-bias: -2vw;
  --oc-sweep-top-bias: 0vh;
  --oc-sweep-center-y: 0.5;
}

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

html {
  overflow-x: clip;
  max-width: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
  max-width: 100%;
}

body.js-animate.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.inner {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 40%, rgba(180, 222, 240, 0.42), transparent 68%),
    var(--bg);
}

.bg-stage-perspective {
  position: absolute;
  inset: -18%;
  perspective: 1400px;
  perspective-origin: 68% 38%;
}

.bg-stage-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--stage-rx, 8deg)) rotateY(var(--stage-ry, -4deg)) rotateZ(var(--stage-rz, 0deg))
    translate3d(var(--stage-pan-x, 0px), var(--stage-pan-y, 0px), var(--stage-tz, 0px))
    scale(var(--stage-scale, 1));
  will-change: transform;
  transition: none;
}

.grid-reveal {
  position: fixed;
  inset: 0;
  z-index: 22;
  background: rgba(28, 62, 92, 0.72);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}

.grid-reveal-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360vmax;
  height: 360vmax;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--bg) 0%,
    var(--bg) 34%,
    color-mix(in srgb, var(--bg) 62%, transparent) 50%,
    color-mix(in srgb, var(--bg) 22%, transparent) 68%,
    transparent 90%
  );
  filter: blur(96px);
  transform: translate(-50%, -50%) scale(0);
}

.bg-grid-3d {
  position: absolute;
  left: -35%;
  right: -35%;
  top: 20%;
  height: 150%;
  transform: rotateX(68deg) translateZ(-200px);
  transform-style: preserve-3d;
  background-image:
    linear-gradient(rgba(0, 173, 239, 0.46) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 173, 239, 0.46) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 75% at 65% 45%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 65% 45%, black 30%, transparent 85%);
  opacity: 1;
  animation: none;
}

@media (min-width: 981px) {
  .bg-grid-3d {
    left: -45%;
    right: -45%;
    top: 12%;
    height: 170%;
    background-image:
      linear-gradient(rgba(0, 173, 239, 0.58) 2px, transparent 2px),
      linear-gradient(90deg, rgba(0, 173, 239, 0.58) 2px, transparent 2px);
    background-size: 92px 92px;
    mask-image: radial-gradient(ellipse 88% 80% at 62% 42%, black 34%, transparent 88%);
    -webkit-mask-image: radial-gradient(ellipse 88% 80% at 62% 42%, black 34%, transparent 88%);
    opacity: 1;
  }
}

.depth-layer {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
  transition: none;
}

.depth-shape {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.depth-triangle {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  filter: drop-shadow(0 24px 48px rgba(10, 80, 180, 0.28));
}

.depth-triangle-a {
  width: min(95vw, 1200px);
  aspect-ratio: 1;
  left: auto;
  right: -38vw;
  top: -28vh;
  background: linear-gradient(165deg, rgba(90, 190, 255, 0.82), rgba(15, 90, 210, 0.18));
  animation: none;
}

.depth-triangle-b {
  width: min(88vw, 1080px);
  aspect-ratio: 1;
  right: -42vw;
  top: 22vh;
  background: linear-gradient(195deg, rgba(130, 170, 255, 0.75), rgba(30, 65, 190, 0.14));
  animation: none;
}

.depth-triangle-c {
  width: min(72vw, 900px);
  aspect-ratio: 1;
  left: auto;
  right: -18vw;
  top: 48vh;
  background: linear-gradient(180deg, rgba(70, 165, 255, 0.7), rgba(20, 100, 220, 0.2));
  animation: none;
  opacity: 0.58;
}

.depth-triangle-d {
  width: min(64vw, 780px);
  aspect-ratio: 1;
  right: -22vw;
  top: -8vh;
  background: linear-gradient(210deg, rgba(100, 180, 255, 0.65), rgba(25, 80, 200, 0.16));
  animation: none;
  opacity: 0.52;
}

.depth-pyramid-a {
  width: min(70vw, 880px);
  height: min(70vw, 880px);
  left: auto;
  right: 6vw;
  top: -18vh;
  background: conic-gradient(
    from 200deg at 50% 62%,
    rgba(60, 150, 255, 0.55),
    rgba(20, 90, 210, 0.22),
    rgba(140, 200, 255, 0.48)
  );
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  filter: blur(0.5px) drop-shadow(0 30px 60px rgba(10, 90, 200, 0.35));
  animation: none;
}

.depth-orb {
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.9),
    rgba(80, 175, 255, 0.55) 38%,
    rgba(20, 90, 220, 0.08) 72%
  );
  box-shadow:
    0 0 60px rgba(40, 140, 255, 0.45),
    0 0 120px rgba(20, 100, 220, 0.2);
}

.depth-orb-a {
  width: min(28vw, 340px);
  height: min(28vw, 340px);
  left: auto;
  right: 14vw;
  top: 58vh;
  animation: none;
}

.depth-orb-b {
  width: min(22vw, 260px);
  height: min(22vw, 260px);
  right: 8vw;
  top: 12vh;
  animation: none;
}

.depth-ring {
  border-radius: 50%;
  border: 2px solid rgba(80, 170, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 0 40px rgba(40, 140, 255, 0.35);
  background: transparent;
}

.depth-ring-a {
  width: min(55vw, 680px);
  height: min(55vw, 680px);
  left: auto;
  right: 8vw;
  top: 18vh;
  margin-left: 0;
  animation: none;
}

.depth-ring-b {
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  right: -12vw;
  top: 62vh;
  border-width: 3px;
  animation: none;
}

.bg-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.bg-light-rays {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 210deg at 68% 32%,
    transparent 0deg,
    rgba(120, 195, 255, 0.14) 18deg,
    transparent 36deg,
    rgba(90, 175, 255, 0.1) 52deg,
    transparent 72deg,
    rgba(100, 185, 255, 0.12) 95deg,
    transparent 120deg
  );
  mix-blend-mode: screen;
  animation: none;
  opacity: 0.75;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 72% 42%, transparent 28%, rgba(248, 251, 255, 0.55) 100%);
}

/* MV foreground — fixed layer kept subtle; occlusion uses global .mv-occlude-global */
.mv-occlude-global-stage {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  overflow: clip;
  perspective: 1600px;
  perspective-origin: 50% 50%;
}

.mv-occlude-global-stage.is-text-occluding {
  z-index: 20;
}

.mv-occlude-global {
  position: fixed;
  left: 110vw;
  top: 12vh;
  right: auto;
  bottom: auto;
  opacity: 0;
  will-change: transform, opacity, left, top;
}

.mv-occlude-global.mv-occlude-sweep-right {
  position: fixed;
  left: 110vw;
  top: 12vh;
  right: auto;
  bottom: auto;
  width: min(68vw, 640px);
  height: min(58vh, 520px);
  margin: 0;
  mix-blend-mode: normal;
  z-index: 1;
  clip-path: polygon(100% 0%, 88% 78%, 22% 100%, 0% 22%);
  background: linear-gradient(148deg, #28cce8 0%, #0ab8d8 42%, #0788b0 100%);
  box-shadow: -20px 36px 72px rgba(8, 100, 160, 0.42);
  transform-origin: 24% 46%;
}

.mv-foreground-stage {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  opacity: var(--mv-fg-opacity, 0.35);
}

.mv-scroll-stage {
  position: relative;
  z-index: 2;
}

.mv-scroll-skip {
  position: fixed;
  right: clamp(18px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 10px 16px;
  border: 1px solid rgba(10, 22, 40, 0.42);
  background: rgba(248, 251, 255, 0.86);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.32s ease,
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.32s ease,
    border-color 0.24s ease,
    color 0.24s ease,
    background 0.24s ease;
}

.mv-scroll-skip.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mv-scroll-skip:hover {
  border-color: rgba(10, 184, 216, 0.85);
  color: #0788b0;
  background: rgba(255, 255, 255, 0.94);
}

.mv-scroll-skip:focus-visible {
  outline: 2px solid #0ab8d8;
  outline-offset: 3px;
}

body.mv-scroll-skipped .mv-scroll-chapter .mv-reveal-line,
body.mv-scroll-skipped .mv-scroll-chapter .mv-reveal-inner {
  transform: translate3d(0, 0, 0) !important;
}

body.mv-scroll-skipped .mv-scroll-chapter .mv-reveal-line {
  opacity: 1 !important;
}

main {
  position: relative;
  z-index: 2;
  overflow-x: clip;
  max-width: 100%;
}

.mv-chapter-pin {
  isolation: auto;
  perspective: none;
  transform-style: flat;
}

.mv-occlude-shape {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  right: -18vw;
  bottom: -38vh;
  width: min(100vw, 900px);
  height: min(88vh, 760px);
  clip-path: polygon(54% 0%, 100% 100%, 6% 86%);
  background: linear-gradient(148deg, #3dd4f0 0%, #0ab8d8 45%, #0899c4 100%);
  box-shadow: -16px 28px 56px rgba(8, 100, 160, 0.28);
  transform: translate3d(0, 95vh, 0);
  opacity: 0;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  transform-origin: 78% 42%;
  backface-visibility: hidden;
}

.mv-occlude-shape.mv-occlude-sweep-right {
  left: auto;
  right: -28vw;
  bottom: -48vh;
  width: min(118vw, 1080px);
  height: min(96vh, 860px);
  clip-path: polygon(100% 0%, 92% 86%, 32% 100%, 0% 18%);
  box-shadow: -18px 32px 64px rgba(8, 100, 160, 0.32);
}

.mv-occlude-global-stage.is-text-occluding .mv-occlude-global {
  box-shadow: -28px 44px 80px rgba(8, 80, 140, 0.48);
}

.mv-occlude-shape.mv-occlude-global.is-covering-text {
  filter: none;
}

.mv-occlude-shape.mv-occlude-global.is-covering-text::before {
  background: linear-gradient(138deg, #5adcf5 0%, #22b8dc 55%, #0a9ec4 100%);
  opacity: 1;
}

.mv-occlude-shape.mv-occlude-global.is-covering-text::after {
  /* テキスト重なり時も三角形状を維持（四角化しない） */
  clip-path: polygon(82% 4%, 100% 100%, 42% 100%);
  background: linear-gradient(168deg, #0e2844 0%, #061525 100%);
  opacity: 0.92;
}

.mv-occlude-shape.mv-occlude-sweep-right::before {
  content: "";
  position: absolute;
  inset: 6% 10% 2% 16%;
  background: linear-gradient(138deg, rgba(130, 228, 255, 0.92) 0%, rgba(40, 175, 235, 0.55) 100%);
  clip-path: polygon(100% 0%, 76% 68%, 22% 100%, 0% 24%);
  transform: translate3d(var(--oc-facet-x, 0%), var(--oc-facet-y, 0%), 48px)
    rotateX(var(--oc-facet-rx, 0deg)) rotateY(var(--oc-facet-ry, 0deg));
  transform-origin: 88% 36%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.mv-occlude-shape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #1e2e42 0%, #0a1628 100%);
  clip-path: polygon(70% 6%, 100% 100%, 46% 100%);
  transform: translate3d(0, 0, var(--oc-dark-z, 24px))
    rotateX(var(--oc-dark-rx, 0deg)) rotateY(var(--oc-dark-ry, 0deg));
  transform-origin: 92% 58%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.mv-occlude-shape.mv-occlude-sweep-right::after {
  clip-path: polygon(82% 4%, 100% 100%, 42% 100%);
}

.mv-occlude-shape.mv-occlude-global {
  position: fixed;
  opacity: 0;
  transform: rotateX(-8deg) rotateY(32deg) rotateZ(-6deg) scale(0.94);
}

.mv-scroll-copy {
  position: relative;
  z-index: 1;
}

.mv-scroll-stage .mv-scroll-copy,
.mv-scroll-stage .shape-intro-copy,
.mv-scroll-stage .panel-copy {
  z-index: 1;
  transform: none;
}

.mv-scroll-stage .conclusion-inner,
.conclusion-inner.conclusion-portal {
  /* rise は JS の --conclusion-rise（px）で制御 */
  transform: translate3d(0, var(--conclusion-rise, 0px), 0);
}

.mv-chapter-pin .panel-copy,
.mv-chapter-pin .shape-intro-copy {
  position: relative;
  z-index: 1;
}

.mv-foreground-perspective {
  position: absolute;
  inset: -10%;
  perspective: 1200px;
  perspective-origin: 68% 40%;
}

.mv-foreground-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--fg-rx, 6deg)) rotateY(var(--fg-ry, 4deg))
    translateZ(var(--fg-tz, 80px)) scale(var(--fg-scale, 1));
  will-change: transform;
}

.mv-fg-shape {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
  opacity: 0.55;
}

.mv-fg-ring-a,
.mv-fg-triangle-a,
.mv-fg-triangle-b,
.mv-fg-orb-a {
  display: none;
}

.mv-fg-wedge {
  display: none;
}

.mv-fg-triangle {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  filter: drop-shadow(0 20px 40px rgba(10, 80, 180, 0.35));
}

.mv-fg-triangle-a {
  width: min(52vw, 620px);
  aspect-ratio: 1;
  left: 62%;
  top: 8vh;
  background: linear-gradient(165deg, rgba(90, 190, 255, 0.88), rgba(15, 90, 210, 0.25));
}

.mv-fg-triangle-b {
  width: min(38vw, 460px);
  aspect-ratio: 1;
  left: 4vw;
  top: 52vh;
  background: linear-gradient(200deg, rgba(110, 185, 255, 0.78), rgba(25, 85, 200, 0.2));
  opacity: 0.68;
}

.mv-fg-ring {
  border-radius: 50%;
  border: 2px solid rgba(80, 170, 255, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.3) inset,
    0 0 48px rgba(40, 140, 255, 0.4);
  background: transparent;
}

.mv-fg-ring-a {
  width: min(44vw, 520px);
  height: min(44vw, 520px);
  left: 18vw;
  top: 22vh;
}

.mv-fg-orb {
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.95),
    rgba(80, 175, 255, 0.6) 38%,
    rgba(20, 90, 220, 0.1) 72%
  );
  box-shadow:
    0 0 50px rgba(40, 140, 255, 0.5),
    0 0 100px rgba(20, 100, 220, 0.25);
}

.mv-fg-orb-a {
  width: min(20vw, 240px);
  height: min(20vw, 240px);
  right: 10vw;
  top: 58vh;
}

body > *:not(.bg-stage):not(.mv-foreground-stage):not(.mv-occlude-global-stage):not(.loading-screen):not(.site-header):not(.back-to-top):not(.mv-scroll-skip):not(.conclusion-portal):not(.grid-reveal):not(main) {
  position: relative;
  z-index: 1;
}

body.pattern-06 .shape-intro::before {
  background: linear-gradient(105deg, rgba(244, 251, 254, 0.42) 0%, rgba(244, 251, 254, 0.08) 42%, rgba(244, 251, 254, 0.02) 100%);
}

body.pattern-06 .opening-panel,
body.pattern-06 .section-dark {
  background: rgba(244, 251, 254, 0.12);
  backdrop-filter: none;
}

.loading-screen {
  position: fixed;
  inset: 0;
  min-height: 100dvh;
  z-index: 60;
  background: #f4fbfe;
  transition: opacity 0.75s ease, visibility 0.75s ease;
}

.loading-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(82vw, 540px);
  height: auto;
  animation: loadingGlow 1.6s ease-in-out infinite;
}

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: var(--site-header-h);
  z-index: 9999;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity 0.45s ease;
}

body.js-animate.is-loading header.site-header {
  opacity: 0;
  pointer-events: none;
}

body.js-animate.is-loaded header.site-header {
  opacity: 1;
}

body.js-animate.is-loading main,
body.js-animate.is-loading .site-footer {
  opacity: 0;
}

main,
.site-footer {
  transition: opacity 0.7s ease;
}

main {
  padding-top: var(--site-header-h);
}

body.js-animate.is-loaded .loading-screen {
  opacity: 0;
  visibility: hidden;
}

.site-header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--site-header-h);
}

.sub-header-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.logo-ja {
  display: block;
  width: min(44vw, 340px);
  height: auto;
}

.global-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.92rem;
}

.global-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 2px;
  color: #0a1628;
  font-weight: 600;
  text-decoration: none;
  transition:
    color 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.global-nav a:not(.nav-entry):hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.global-nav a:not(.nav-entry):hover::after {
  transform: scaleX(1);
}

.global-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav-entry {
  overflow: hidden;
  isolation: isolate;
  justify-content: center;
  min-width: 118px;
  border: 1px solid var(--accent);
  padding: 9px 26px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.65);
  transition:
    color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.nav-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.nav-entry::after {
  display: none;
}

.nav-entry:hover {
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(13, 155, 138, 0.28);
}

.nav-entry:hover::before {
  transform: scaleX(1);
}

.nav-entry:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-link:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.opening-sequence {
  position: relative;
}

/* GA-style long-scroll MV narrative */
.mv-scroll-chapter {
  position: relative;
  height: 240vh;
}

.mv-scroll-chapter.shape-intro {
  height: 240vh;
}

.mv-scroll-chapter.opening-01 {
  height: 280vh;
}

.mv-scroll-chapter.opening-panel:not(.opening-01):not(.conclusion-panel) {
  height: 280vh;
}

.mv-scroll-chapter.conclusion-panel {
  /* 格子のあと見出しまで空ける分 + 下から中央へ入る分 + 拡大完了後に下へ進む分 */
  position: relative;
  height: 320vh;
}

.conclusion-spacer {
  height: 100%;
  pointer-events: none;
}

/*
 * fixed で1回だけ表示。JS で body 直下へ portal し祖先の影響を避ける。
 * --conclusion-rise で下から中央へスクロール連動。
 */
.conclusion-panel .conclusion-inner,
.conclusion-inner.conclusion-portal {
  position: fixed;
  top: var(--site-header-h);
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  height: calc(100vh - var(--site-header-h));
  min-height: 0;
  margin: 0;
  z-index: 25;
  padding-inline: clamp(20px, 5vw, 72px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  --conclusion-rise: 100vh;
  transform: translate3d(0, var(--conclusion-rise), 0);
  will-change: transform, opacity;
}

.conclusion-panel .conclusion-inner.is-conclusion-active,
.conclusion-inner.conclusion-portal.is-conclusion-active {
  /* opacity は JS が制御 */
  visibility: visible;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .conclusion-panel .conclusion-inner,
  .conclusion-inner.conclusion-portal {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    height: auto;
    min-height: calc(100vh - var(--site-header-h));
    transform: none;
  }
}

/* SKIP 後の結論表示は JS（applyConclusionFrame）が制御。
   ここで opacity を固定すると下スクロールしても退場できず画面が変わらない。 */

.mv-chapter-pin {
  position: sticky;
  top: var(--site-header-h);
  height: calc(100vh - var(--site-header-h));
  min-height: 520px;
  overflow: visible;
}

.shape-intro-inner.mv-chapter-pin {
  display: flex;
  flex-direction: column;
}

.mv-text-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(40px, 9vh, 96px) clamp(20px, 5vw, 72px) clamp(32px, 6vh, 64px);
}

.mv-text-layout .panel-copy,
.mv-text-layout.mv-scroll-copy,
.mv-text-layout .mv-scroll-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-width: 46vw;
  text-align: left;
  margin: 0;
}

.mv-text-layout .opening-text {
  font-size: clamp(1.15rem, 2.4vw, 1.85rem);
  line-height: 1.85;
  font-weight: 700;
  color: #123a5c;
}

.mv-text-layout .opening-01-catch,
.mv-text-layout .opening-conclusion {
  font-size: clamp(2.4rem, 5.8vw, 4.6rem);
  line-height: 1.22;
  font-weight: 900;
  color: #091a35;
}

.opening-lead {
  margin: clamp(20px, 3vh, 32px) 0 0;
  max-width: 36ch;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(15, 35, 66, 0.72);
  font-weight: 500;
}

.panel-inner.mv-chapter-pin.panel-with-photo {
  display: grid;
  align-items: center;
  position: relative;
}

.mv-reveal-line {
  display: block;
  overflow: hidden;
}

.mv-reveal-inner {
  display: block;
  transform: translate3d(0, 110%, 0);
  opacity: 1;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.mv-scroll-chapter .mv-reveal-inner {
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.mv-reveal-line.is-mv-visible .mv-reveal-inner,
.mv-reveal-line.is-mv-visible[data-mv-reveal-wrapped="self"] {
  transform: translate3d(0, 0, 0);
}

.mv-reveal-line[data-mv-reveal-wrapped="self"] {
  transform: translate3d(0, 110%, 0);
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.mv-reveal-line.is-mv-visible[data-mv-reveal-wrapped="self"] {
  transform: translate3d(0, 0, 0);
}

.mv-scroll-chapter .mv-reveal-line {
  filter: none !important;
  animation: none !important;
}

body.js-animate.anim-ready .mv-scroll-chapter .mv-reveal-line,
body.js-animate.anim-ready .mv-scroll-chapter .mv-reveal-inner {
  opacity: 1 !important;
}

.shape-intro-head-line.mv-reveal-line {
  display: block;
}

.opening-01 h1,
.opening-01-catch {
  overflow: hidden;
  margin: 0;
}

.opening-01-catch span {
  display: block;
  line-height: 1.28;
}

.opening-01 h1 .mv-reveal-line {
  display: block;
  margin: 0;
  overflow: hidden;
}

.mv-photo-reveal {
  --mv-photo-reveal: 0;
  opacity: calc(0.35 + var(--mv-photo-reveal) * 0.65);
  transform: translate3d(0, calc((1 - var(--mv-photo-reveal)) * 48px), 0)
    scale(calc(0.92 + var(--mv-photo-reveal) * 0.08));
  will-change: transform, opacity;
}

.opening-panel.mv-scroll-chapter {
  min-height: 0;
  display: block;
  border-bottom: none;
  background: transparent;
}

.opening-panel.mv-scroll-chapter .panel-inner.mv-chapter-pin:not(.panel-with-photo) {
  display: flex;
  align-items: flex-start;
}

.shape-intro.mv-scroll-chapter {
  min-height: 0;
}

.shape-intro-inner.mv-chapter-pin {
  justify-content: flex-start;
  align-items: flex-start;
  padding: clamp(40px, 9vh, 96px) clamp(20px, 5vw, 72px) clamp(32px, 6vh, 64px);
}

.shape-intro-scroll {
  margin-top: auto;
  padding-top: clamp(24px, 5vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.shape-intro {
  position: relative;
}

.shape-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.12), rgba(248, 251, 255, 0.36));
  pointer-events: none;
}

.shape-intro-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.shape-intro-side {
  position: absolute;
  left: 8px;
  top: 120px;
  writing-mode: vertical-rl;
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(15, 31, 60, 0.72);
}

.shape-intro-copy {
  position: relative;
  left: auto;
  top: auto;
  z-index: 1;
  width: min(100%, 640px);
  max-width: 52vw;
}

.shape-intro-kicker {
  margin: 0 0 16px;
  color: #184170;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.shape-intro-head {
  margin: 0;
  font-size: clamp(3rem, 11vw, 8.8rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: #091a35;
}

.shape-intro-head-line {
  display: block;
  overflow: visible;
  padding-bottom: 0.05em;
  line-height: 1;
}

.shape-intro-head-line.mv-reveal-line {
  overflow: hidden;
}

.shape-intro-head .char {
  display: inline-block;
  opacity: 1;
  transform: none;
}

@keyframes introHeadCharIn {
  from {
    opacity: 0;
    transform: translate3d(-0.04em, 112%, 0) rotate(4deg);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

.shape-intro-lead {
  margin: 22px 0 0;
  max-width: 520px;
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-weight: 500;
  color: #173960;
  line-height: 1.65;
}

.shape-intro-meta {
  list-style: none;
  margin: clamp(28px, 4vh, 40px) 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.shape-intro-meta li {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #173b67;
  border: 1px solid rgba(15, 35, 66, 0.16);
  background: rgba(255, 255, 255, 0.76);
  padding: 7px 12px;
  border-radius: 999px;
}

.shape-intro-line {
  width: 1px;
  height: 74px;
  background: rgba(15, 35, 66, 0.38);
  margin-bottom: 8px;
  animation: pulse 1.8s ease-in-out infinite;
}

.shape-intro-note {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.opening-panel {
  position: relative;
  min-height: 75vh;
  display: grid;
  align-items: center;
  border-bottom: none;
  overflow: visible;
}

.opening-01 {
  min-height: calc(80vh - 34px);
}

.panel-inner {
  position: relative;
  z-index: 2;
}

.opening-panel .panel-copy,
.opening-panel .opening-text,
.opening-panel .opening-conclusion,
.opening-panel .section-en {
  position: relative;
  z-index: 1;
}

.panel-with-photo {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
}

.panel-with-photo.photo-left {
  grid-template-columns: 1.2fr 1fr;
}

.panel-copy {
  width: 100%;
}

.panel-left {
  text-align: left;
}

.panel-center {
  text-align: center;
}

.panel-right {
  text-align: right;
}

.opening-photo {
  margin: 0;
  position: relative;
  z-index: 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10, 80, 72, 0.12);
  box-shadow: 0 16px 38px rgba(10, 40, 38, 0.14);
  aspect-ratio: 16 / 9;
  min-height: clamp(260px, 38vh, 480px);
}

.opening-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(125deg, #f4fbfe 0%, #d5eef8 55%, #f4fbfe 100%);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  pointer-events: none;
  transition: clip-path 1.15s cubic-bezier(0.77, 0, 0.175, 1);
}

.opening-photo::after {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 3;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.92) 50%,
    transparent 62%
  );
  transform: translateX(-125%) skewX(-14deg);
  pointer-events: none;
  opacity: 0;
}

.panel-with-photo.photo-right .opening-photo::before {
  transform-origin: right center;
}

.opening-photo svg,
.opening-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.opening-photo img {
  filter: grayscale(1) brightness(0.9) contrast(1.05);
  transform: none;
  transition: filter 1.65s cubic-bezier(0.22, 1, 0.36, 1);
}

body.js-animate.anim-ready .opening-panel:not(.is-visible) .opening-photo::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

body.js-animate.anim-ready .opening-panel.is-visible .panel-with-photo.photo-right .opening-photo::before {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

body.js-animate.anim-ready .opening-panel.is-visible .panel-with-photo.photo-left .opening-photo::before {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

body.js-animate.anim-ready .opening-panel.is-visible .opening-photo::after {
  opacity: 1;
  animation: photoLightSweep 1.35s cubic-bezier(0.4, 0, 0.2, 1) 0.45s forwards;
}

body.js-animate.anim-ready .opening-panel.is-visible .opening-photo img {
  filter: grayscale(1) brightness(0.9) contrast(1.05);
}

body.js-animate.anim-ready .opening-panel.image-active .opening-photo {
  border-color: rgba(13, 155, 138, 0.35);
  box-shadow:
    0 26px 58px rgba(13, 155, 138, 0.2),
    0 0 0 1px rgba(13, 155, 138, 0.18);
}

body.js-animate.anim-ready .opening-panel.image-active .opening-photo img,
body.js-animate.anim-ready .opening-panel.is-visible.image-active .opening-photo img {
  filter: grayscale(0) brightness(1) contrast(1);
}

@keyframes photoLightSweep {
  0% {
    transform: translateX(-125%) skewX(-14deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translateX(125%) skewX(-14deg);
    opacity: 0;
  }
}

@keyframes photoKenBurns {
  from {
    transform: translate3d(0, var(--photo-shift), 0) scale(1) rotate(var(--photo-rotate));
  }
  to {
    transform: translate3d(0, calc(var(--photo-shift) - 6px), 0) scale(1.07)
      rotate(var(--photo-rotate));
  }
}

.hero-bg-text {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  opacity: 0.045;
}

.hero-bg-text span {
  position: absolute;
  left: 50%;
  top: 50%;
  white-space: nowrap;
  font-size: clamp(3rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: translate(-50%, -50%);
  animation: none;
}

.hero-bg-text span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 18vh));
}

.hero-bg-text span:nth-child(2) {
  transform: translate(-50%, calc(-50% + 18vh));
}

.hero-content {
  position: relative;
  padding-top: clamp(72px, 14vh, 140px);
}

.opening-text {
  margin: 0;
  font-size: clamp(1.08rem, 2.25vw, 1.75rem);
  line-height: 1.8;
  font-weight: 500;
  color: #1a4a46;
  text-align: left;
}

.opening-conclusion {
  margin-top: 0;
  font-size: clamp(1.9rem, 5vw, 3.45rem);
  line-height: 1.35;
}

.conclusion-panel {
  overflow: visible;
}

.conclusion-inner {
  padding-block: clamp(16px, 3vh, 32px);
  /* 中央到達時点の小さい円 */
  --conclusion-glow-scale: 0.42;
  --conclusion-glow-opacity: 0.4;
  --conclusion-ring-scale: 0.48;
  --conclusion-ring-opacity: 0.22;
}

.conclusion-panel .section-en,
.conclusion-inner.conclusion-portal .section-en {
  width: 100%;
  margin: 0 auto 10px;
  text-align: center;
  align-self: center;
}

.conclusion-panel .opening-conclusion,
.conclusion-inner.conclusion-portal .opening-conclusion {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.28;
  text-align: center;
}

.conclusion-panel .opening-conclusion span,
.conclusion-inner.conclusion-portal .opening-conclusion span {
  display: block;
  white-space: nowrap;
  line-height: 1.28;
  text-align: center;
}

.conclusion-inner::before,
.conclusion-inner::after {
  content: none;
}

.conclusion-inner::before {
  width: min(92vw, 920px);
  height: min(92vw, 920px);
  background: radial-gradient(
    circle,
    rgba(116, 195, 232, 0.42) 0%,
    rgba(116, 195, 232, 0.28) 28%,
    rgba(116, 195, 232, 0.12) 52%,
    rgba(116, 195, 232, 0) 74%
  );
  opacity: var(--conclusion-glow-opacity);
  transform: translate(-50%, -50%) scale(var(--conclusion-glow-scale));
}

.conclusion-inner::after {
  width: min(78vw, 760px);
  height: min(78vw, 760px);
  border: 1.5px solid rgba(116, 195, 232, 0.32);
  box-shadow: 0 0 0 1px rgba(116, 195, 232, 0.08);
  opacity: var(--conclusion-ring-opacity);
  transform: translate(-50%, -50%) scale(var(--conclusion-ring-scale));
}

.opening-conclusion,
.conclusion-inner .cta {
  position: relative;
  z-index: 1;
}

.opening-conclusion {
  transition:
    letter-spacing 1.15s ease,
    text-shadow 1.15s ease;
}

.conclusion-panel .opening-conclusion,
.conclusion-inner.conclusion-portal .opening-conclusion {
  opacity: 1;
  transform: none;
  filter: none;
  letter-spacing: inherit;
  animation: none;
  text-shadow: none;
}

body.js-animate.anim-ready .conclusion-panel:not(.is-visible) .opening-conclusion,
body.js-animate.anim-ready .conclusion-panel.is-visible .opening-conclusion,
body.js-animate.anim-ready .conclusion-panel:not(.is-visible) .opening-conclusion:not(.mv-reveal-line),
body.js-animate.anim-ready .conclusion-panel.is-visible .opening-conclusion:not(.mv-reveal-line),
body.js-animate.anim-ready .conclusion-inner.conclusion-portal .opening-conclusion {
  opacity: 1;
  transform: none;
  filter: none;
  letter-spacing: inherit;
  animation: none;
  text-shadow: none;
}

.conclusion-inner .cta {
  transition:
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 1.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(28px, 4vh, 40px);
  margin-inline: auto;
  white-space: nowrap;
}

body.js-animate.anim-ready .conclusion-panel .conclusion-inner .cta,
body.js-animate.anim-ready .conclusion-inner.conclusion-portal .cta {
  opacity: 1;
  transform: none;
  animation: none;
}

body.js-animate.anim-ready .conclusion-panel.is-visible .conclusion-inner .cta,
body.js-animate.anim-ready .conclusion-inner.conclusion-portal.is-conclusion-active .cta {
  box-shadow: 0 18px 38px rgba(13, 155, 138, 0.2);
}

body.js-animate.anim-ready .conclusion-panel.is-visible .conclusion-inner::before,
body.js-animate.anim-ready .conclusion-panel.is-glow-active .conclusion-inner::before,
body.js-animate.anim-ready .conclusion-panel.is-visible .conclusion-inner::after,
body.js-animate.anim-ready .conclusion-panel.is-glow-active .conclusion-inner::after,
body.js-animate.anim-ready .conclusion-inner.conclusion-portal.is-conclusion-active::before,
body.js-animate.anim-ready .conclusion-inner.conclusion-portal.is-conclusion-active::after {
  animation: none;
}

.label {
  color: var(--accent);
  letter-spacing: 0.12em;
  font-weight: 700;
  margin: 0 0 20px;
}

h1 {
  margin: 0;
  line-height: 1.25;
  font-size: clamp(2rem, 6.5vw, 4.8rem);
}

.opening-01 .panel-copy {
  width: min(100%, 980px);
  max-width: 86vw;
}

.opening-01 .panel-copy h1,
.mv-text-layout .opening-01-catch {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  letter-spacing: 0.01em;
}

.opening-01-catch span {
  white-space: nowrap;
}

.opening-01 .opening-lead {
  max-width: 52ch;
}

.opening-story .panel-copy {
  width: min(100%, 980px);
  max-width: 86vw;
}

.opening-story .opening-text {
  font-size: clamp(0.98rem, 1.8vw, 1.38rem);
  line-height: 1.95;
  font-weight: 600;
}

body.js-animate .opening-01 h1 {
  opacity: 1;
  transform: none;
}

body.js-animate.is-loaded .opening-01 h1 {
  animation: none;
}

.lead {
  color: var(--muted);
  line-height: 1.9;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  margin-top: 28px;
}

.cta {
  margin-top: 36px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(13, 155, 138, 0.18);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    background 0.38s ease;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(255, 255, 255, 0.34) 50%,
    transparent 64%
  );
  transform: translateX(-135%);
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.cta:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  box-shadow: 0 18px 36px rgba(13, 155, 138, 0.3);
}

.cta:hover::after {
  transform: translateX(135%);
}

.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.scroll-indicator {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  writing-mode: vertical-rl;
  color: var(--muted);
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.scroll-indicator span::after {
  content: "";
  display: block;
  width: 1px;
  height: 72px;
  background: var(--muted);
  margin: 10px auto 0;
  animation: pulse 1.8s ease-in-out infinite;
}

.section {
  padding: clamp(74px, 10vw, 130px) 0;
}

.section-dark {
  background: linear-gradient(180deg, transparent, rgba(230, 244, 251, 0.95), transparent);
}

.section-en {
  margin: 0 0 10px;
  color: var(--accent);
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.84rem;
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4.2vw, 2.9rem);
  line-height: 1.4;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.two-col p {
  margin: 0;
  color: var(--muted);
  line-height: 2;
}

#about .two-col {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4.5vw, 52px);
  align-items: center;
}

#about h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.65rem);
  line-height: 1.5;
}

.about-headline-line {
  white-space: nowrap;
}

.numbers-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.num-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transform: translateY(16px);
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.num-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.num-chart {
  position: relative;
  width: min(100%, 168px);
  margin: 0 auto 8px;
  aspect-ratio: 1;
  transform-style: preserve-3d;
}

.num-card.is-visible .num-chart {
  animation: numSpin 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.num-chart svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.chart-track,
.chart-fill {
  fill: none;
  stroke-width: 8;
}

.chart-track {
  stroke: rgba(13, 155, 138, 0.16);
}

.chart-fill {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.num-card.is-visible .chart-fill {
  stroke-dashoffset: var(--chart-offset, 289);
}

.num {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--accent);
}

.cap {
  margin: 10px 0 0;
  color: var(--muted);
}

.story-section {
  --story-header-offset: var(--site-header-h);
  --story-slide-h: min(72vh, 640px);
  position: relative;
  margin-top: clamp(20px, 4vw, 40px);
  padding-bottom: clamp(40px, 8vw, 80px);
  overflow: visible;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.story-intro {
  position: sticky;
  top: var(--story-header-offset);
  padding: clamp(32px, 5vw, 56px) 0;
}

.story-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}

.story-kicker-mark {
  width: 14px;
  height: 14px;
  background: var(--accent);
  flex-shrink: 0;
}

.story-title-en {
  margin: 0;
  font-size: clamp(2.8rem, 7.5vw, 5.6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #0a1628;
}

.story-lead {
  margin: 22px 0 0;
  max-width: 360px;
  color: var(--muted);
  line-height: 1.95;
  font-size: 0.95rem;
}

.story-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 22px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.story-more:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.story-slides-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.story-slide {
  position: sticky;
  top: calc(var(--story-header-offset) + 4vh);
  height: var(--story-slide-h);
  margin-bottom: 85vh;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  contain: layout style;
}

.story-slide-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: #0a1628;
  box-shadow: 0 24px 56px rgba(10, 22, 40, 0.18);
  transform: translate3d(0, 0, 0);
  opacity: 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: layout style paint;
}

.story-slide:nth-child(1) {
  z-index: 1;
}

.story-slide:nth-child(2) {
  z-index: 2;
}

.story-slide:nth-child(3) {
  z-index: 3;
}

.story-slide:nth-child(4) {
  z-index: 4;
}

.story-slide:nth-child(5) {
  z-index: 5;
}

.story-slide:nth-child(6) {
  z-index: 6;
}

.story-slide:last-child {
  margin-bottom: 28vh;
}

.story-slide-photo {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.story-slide-photo-link {
  display: block;
  height: 100%;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.story-slide-photo-link::after {
  content: "VIEW STORY →";
  position: absolute;
  left: clamp(16px, 2.5vw, 24px);
  bottom: clamp(16px, 2.5vw, 24px);
  padding: 8px 12px;
  border-radius: 2px;
  background: rgba(13, 155, 138, 0.92);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.story-slide-photo-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: -4px;
}

.story-slide-photo-link:hover::after,
.story-slide-photo-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.story-slide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-slide.is-active .story-slide-photo img {
  filter: grayscale(0);
}

.story-slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(
    180deg,
    rgba(8, 16, 30, 0.15) 0%,
    rgba(8, 16, 30, 0.05) 38%,
    rgba(8, 16, 30, 0.55) 100%
  );
  pointer-events: none;
}

.story-slide-head {
  color: #ffffff;
}

.story-slide-index {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}

.story-slide-current {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.story-slide-total {
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.82;
}

.story-slide-name {
  margin: 10px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.story-slide-catch {
  margin: auto 0;
  max-width: 92%;
}

.story-slide-catch p {
  margin: 0 0 8px;
}

.catch-accent,
.catch-main {
  display: inline-grid;
  grid-template: 1fr / 1fr;
  max-width: 100%;
  vertical-align: top;
}

.catch-accent > .catch-text,
.catch-main > .catch-text {
  grid-area: 1 / 1;
}

.catch-text-invert {
  z-index: 1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.58s cubic-bezier(0.77, 0, 0.175, 1);
}

.catch-text {
  display: block;
  padding: 0.12em 0.28em;
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0;
}

.catch-accent .catch-text {
  color: var(--accent);
  background: #0a1628;
}

.catch-accent .catch-text-invert {
  color: #0a1628;
  background: var(--accent);
}

.catch-main .catch-text {
  color: #ffffff;
  background: #0a1628;
}

.catch-main .catch-text-invert {
  color: #0a1628;
  background: #ffffff;
  transition-delay: 0.1s;
}

.story-slide-inner:hover .catch-text-invert {
  clip-path: inset(0 0 0 0);
}

.story-slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100% - 64px);
}

.story-slide-tags span {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.94);
  color: #0a1628;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 2px;
}

.story-slide-next {
  position: absolute;
  right: clamp(18px, 3vw, 28px);
  bottom: clamp(18px, 3vw, 28px);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 2px;
  background: var(--accent);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.25s ease, transform 0.25s ease;
}

.story-slide-next:hover {
  background: var(--accent-2);
  transform: translateX(2px);
}

.story-slider-dots {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.story-dot {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: rgba(13, 155, 138, 0.2);
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  padding: 0;
  cursor: pointer;
}

.story-dot.is-active {
  background: var(--accent);
  transform: scaleX(1.15);
}

.event-section {
  padding-bottom: clamp(40px, 6vw, 72px);
}

.event-scroll-stage {
  --event-step-h: 78vh;
  --event-card-count: 3;
  position: relative;
  height: calc(var(--event-step-h) * var(--event-card-count));
  margin-top: 32px;
}

.event-slider {
  position: sticky;
  top: calc(68px + 3vh);
  margin-top: 0;
}

.event-slider-viewport {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 48px rgba(15, 35, 66, 0.1);
}

.event-slider-track {
  display: flex;
  will-change: transform;
}

.event-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  min-height: clamp(280px, 38vw, 420px);
  opacity: 1;
  transform: none;
  transition: none;
}

a.event-card {
  color: inherit;
  text-decoration: none;
}

.event-card-photo {
  margin: 0;
  overflow: hidden;
  min-height: 100%;
}

.event-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card.is-active .event-card-photo img {
  transform: scale(1);
}

.event-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 40px);
}

.event-card-body p:not(.badge) {
  white-space: pre-line;
}

.event-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.55;
  margin: 0 0 14px;
}

.event-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
  font-size: clamp(0.92rem, 1.5vw, 1rem);
}

.event-slider-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.event-scroll-hint {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.event-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(13, 155, 138, 0.22);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.event-slider-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.entry-section {
  min-height: calc(100vh - var(--site-header-h));
  min-height: calc(100svh - var(--site-header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
  text-align: center;
}

.entry-section p {
  color: var(--muted);
  line-height: 1.9;
}

.entry-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  border: 1px solid var(--line);
  text-decoration: none;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    background 0.38s ease,
    border-color 0.38s ease,
    color 0.38s ease;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 24px rgba(13, 155, 138, 0.22);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 64%
  );
  transform: translateX(-135%);
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  box-shadow: 0 18px 38px rgba(13, 155, 138, 0.34);
}

.btn-primary:hover::after {
  transform: translateX(135%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #0a1628;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 155, 138, 0.14), rgba(26, 140, 181, 0.1));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 155, 138, 0.42);
  color: var(--accent);
  box-shadow: 0 14px 30px rgba(13, 155, 138, 0.16);
}

.btn-secondary:hover::before {
  transform: scaleX(1);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary:active,
.btn-secondary:active {
  transform: translateY(-1px);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 32px);
  bottom: calc(clamp(18px, 3vw, 32px) + 56px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.9);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 30px rgba(10, 22, 40, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    box-shadow 0.3s ease,
    visibility 0.3s ease;
  z-index: 9998;
}

.back-to-top span:first-child {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 20px 40px rgba(13, 155, 138, 0.28);
}

.back-to-top:hover span:first-child {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-split] .char {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

body.js-animate.anim-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}

body.js-animate.anim-ready .opening-panel.reveal:not(.is-visible),
body.js-animate.anim-ready .section.reveal:not(.is-visible),
body.js-animate.anim-ready .story-intro.reveal:not(.is-visible),
body.js-animate.anim-ready .entry-section.reveal:not(.is-visible) {
  opacity: 1;
  transform: none;
}

body.js-animate.anim-ready .from-left:not(.is-visible) {
  opacity: 0;
  transform: translateX(-56px);
}

body.js-animate.anim-ready .from-right:not(.is-visible) {
  opacity: 0;
  transform: translateX(56px);
}

body.js-animate.anim-ready .from-up:not(.is-visible) {
  opacity: 0;
  transform: translateY(-44px);
}

body.js-animate.anim-ready .from-down:not(.is-visible) {
  opacity: 0;
  transform: translateY(44px);
}

body.js-animate.anim-ready .from-left.is-visible,
body.js-animate.anim-ready .from-right.is-visible,
body.js-animate.anim-ready .from-up.is-visible,
body.js-animate.anim-ready .from-down.is-visible,
body.js-animate.anim-ready .reveal.is-visible .from-left,
body.js-animate.anim-ready .reveal.is-visible .from-right,
body.js-animate.anim-ready .reveal.is-visible .from-up,
body.js-animate.anim-ready .reveal.is-visible .from-down {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--guide-delay, 0) * 0.2s);
}

.from-left,
.from-right,
.from-up,
.from-down {
  --guide-delay: 0;
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0s;
}

[data-guide-delay="0"] { --guide-delay: 0; }
[data-guide-delay="1"] { --guide-delay: 1; }
[data-guide-delay="2"] { --guide-delay: 2; }
[data-guide-delay="3"] { --guide-delay: 3; }

body.js-animate.anim-ready [data-split]:not(.is-visible) .char {
  opacity: 0;
  transform: translateY(0.85em);
  filter: blur(3px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    filter 0.55s ease;
  transition-delay: calc(var(--i) * 22ms);
}

body.js-animate.anim-ready [data-split].is-visible .char {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

[data-split] .char.space {
  width: 0.3em;
}

/* pattern02-style line reveal (numbers section headings) */
.reveal-line {
  overflow: hidden;
}

.reveal-block {
  opacity: 1;
}

body.js-animate.anim-ready .reveal-line:not(.is-visible) {
  opacity: 0;
}

body.js-animate.anim-ready .reveal-line.is-visible {
  animation: lineReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.js-animate.anim-ready .reveal-block:not(.is-visible) .reveal-line {
  opacity: 0;
  transform: translateY(24px);
}

body.js-animate.anim-ready .reveal-block.is-visible .reveal-line {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.js-animate.anim-ready .reveal-block.is-visible .reveal-line:nth-child(2) {
  transition-delay: 0.08s;
}

body.js-animate.anim-ready .reveal-block.is-visible .reveal-line:nth-child(3) {
  transition-delay: 0.16s;
}

@keyframes lineReveal {
  from {
    opacity: 0;
    transform: translateY(110%);
    clip-path: inset(100% 0 0 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, var(--base-y), 0);
  }
  50% {
    transform: translate3d(0, calc(var(--base-y) - 16px), 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.35);
    opacity: 0.4;
  }
}

@keyframes loadingGlow {
  0%,
  100% {
    opacity: 0.82;
    text-shadow: 0 0 0 rgba(32, 114, 220, 0);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 20px rgba(32, 114, 220, 0.35);
  }
}

@keyframes menuFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes firstCatchFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes numSpin {
  from {
    transform: rotateY(-110deg);
    opacity: 0.35;
  }
  to {
    transform: rotateY(0deg);
    opacity: 1;
  }
}

@keyframes conclusionHeadlineIn {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.96);
    letter-spacing: 0.08em;
    filter: blur(5px);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px) scale(1.01);
    letter-spacing: 0.02em;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: 0;
    filter: blur(0);
  }
}

@keyframes conclusionCtaRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes conclusionGlowIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes conclusionRingPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
  }
  100% {
    opacity: 0.42;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes conclusionGlowBreathe {
  0%,
  100% {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes conclusionRingFloat {
  0%,
  100% {
    opacity: 0.32;
    transform: translate(-50%, -50%) scale(0.94);
  }
  50% {
    opacity: 0.52;
    transform: translate(-50%, -50%) scale(1.03);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 112px, 112px 0;
  }
}

@keyframes triFloatA {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(18deg) rotateY(-8deg) rotateZ(-12deg);
  }
  50% {
    transform: translate3d(24px, -32px, 40px) rotateX(28deg) rotateY(6deg) rotateZ(-6deg);
  }
}

@keyframes triFloatB {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(-14deg) rotateY(12deg) rotateZ(16deg);
  }
  50% {
    transform: translate3d(-28px, 36px, 55px) rotateX(-24deg) rotateY(-4deg) rotateZ(22deg);
  }
}

@keyframes triFloatC {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(22deg) rotateY(-16deg) rotateZ(8deg);
  }
  50% {
    transform: translate3d(18px, -22px, 70px) rotateX(32deg) rotateY(-8deg) rotateZ(14deg);
  }
}

@keyframes triFloatD {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(-20deg) rotateY(18deg) rotateZ(-10deg);
  }
  50% {
    transform: translate3d(-20px, 28px, 85px) rotateX(-30deg) rotateY(10deg) rotateZ(-4deg);
  }
}

@keyframes pyramidSpin {
  from {
    transform: translate3d(0, 0, -120px) rotateX(55deg) rotateZ(0deg);
  }
  to {
    transform: translate3d(0, 0, -120px) rotateX(55deg) rotateZ(360deg);
  }
}

@keyframes orbPulseA {
  0%,
  100% {
    transform: translate3d(0, 0, 80px) scale(1);
    opacity: 0.65;
  }
  50% {
    transform: translate3d(0, -28px, 140px) scale(1.12);
    opacity: 0.9;
  }
}

@keyframes orbPulseB {
  0%,
  100% {
    transform: translate3d(0, 0, 100px) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(12px, 20px, 180px) scale(1.08);
    opacity: 0.82;
  }
}

@keyframes ringTiltA {
  0%,
  100% {
    transform: translate3d(0, 0, -200px) rotateX(68deg) rotateZ(0deg);
  }
  50% {
    transform: translate3d(0, -18px, -140px) rotateX(74deg) rotateZ(180deg);
  }
}

@keyframes ringTiltB {
  0%,
  100% {
    transform: translate3d(0, 0, 60px) rotateX(52deg) rotateY(20deg) rotateZ(0deg);
  }
  50% {
    transform: translate3d(-16px, 12px, 120px) rotateX(58deg) rotateY(-12deg) rotateZ(-160deg);
  }
}

@keyframes raysRotate {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-stage-inner,
  .mv-foreground-inner,
  .depth-shape,
  .mv-fg-shape,
  .bg-grid-3d,
  .bg-light-rays,
  .opening-photo img,
  .opening-photo::after,
  .conclusion-inner::before,
  .conclusion-inner::after {
    animation: none !important;
  }

  .conclusion-panel.is-glow-active .conclusion-inner::before,
  .conclusion-panel.is-visible .conclusion-inner::before {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(1.35);
  }

  .conclusion-panel.is-glow-active .conclusion-inner::after,
  .conclusion-panel.is-visible .conclusion-inner::after {
    opacity: 0.28;
    transform: translate(-50%, -50%) scale(1.2);
  }

  .opening-photo {
    transform: none !important;
  }

  .story-slide-inner {
    transform: none !important;
    opacity: 1 !important;
  }

  .opening-conclusion,
  .conclusion-inner .cta {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .event-slider-track {
    transition: none !important;
  }

  .shape-intro-head .char {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .mv-foreground-stage {
    display: none;
  }

  .mv-reveal-inner,
  .mv-reveal-line[data-mv-reveal-wrapped="self"] {
    transform: none !important;
    transition: none !important;
  }

  .mv-photo-reveal {
    --mv-photo-reveal: 1;
    opacity: 1;
    transform: none;
  }

  .num-card.is-visible .num-chart,
  .chart-fill {
    animation: none !important;
    transition: none !important;
  }

  .story-slide-inner:hover .story-slide-photo img,
  .story-slide-photo-link:hover img,
  .story-slide-photo-link:focus-visible img {
    transform: none;
  }

  .catch-text-invert {
    transition: none !important;
  }

  .story-slide-inner:hover .catch-text-invert {
    clip-path: inset(0 0 0 0);
  }

  .btn-primary,
  .btn-secondary {
    transition: none !important;
  }

  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-primary:active,
  .btn-secondary:active {
    transform: none;
    box-shadow: none;
  }

  .btn-primary::after,
  .btn-secondary::before {
    display: none;
  }

  .global-nav a,
  .nav-entry,
  .logo-link {
    transition: none !important;
  }

  .global-nav a:hover,
  .nav-entry:hover,
  .logo-link:hover {
    transform: none;
    box-shadow: none;
  }

  .global-nav a::after,
  .nav-entry::before {
    display: none;
  }

  .back-to-top {
    transition: none !important;
  }

  .back-to-top:hover {
    transform: translateY(0);
    box-shadow: 0 14px 30px rgba(10, 22, 40, 0.2);
  }

  .back-to-top:hover span:first-child {
    transform: none;
  }
}

@media (max-width: 980px) {
  .two-col,
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }

  #about .two-col {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  #about .about-headline-line {
    white-space: normal;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story-intro {
    position: relative;
    top: auto;
    padding: clamp(48px, 8vw, 72px) 0 0;
  }

  .story-slide {
    top: calc(var(--story-header-offset) + 2vh);
    margin-bottom: 58vh;
    height: min(68vh, 520px);
  }

  .story-slider-dots {
    justify-content: flex-start;
  }

  .event-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .event-card-photo {
    aspect-ratio: 16 / 9;
    min-height: auto;
  }

  .event-scroll-stage {
    --event-step-h: 62vh;
  }

  .event-slider {
    top: calc(60px + 2vh);
  }
}

@media (max-width: 760px) {
  :root {
    --site-header-h: 60px;
    --fixed-ui-right: max(12px, env(safe-area-inset-right, 0px));
    --fixed-ui-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    --fixed-ui-max-width: calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  }

  .mv-scroll-skip,
  .back-to-top {
    right: var(--fixed-ui-right);
    max-width: var(--fixed-ui-max-width);
  }

  .mv-scroll-skip {
    bottom: var(--fixed-ui-bottom);
    min-width: 0;
    padding: 8px 12px;
    letter-spacing: 0.12em;
  }

  .mv-scroll-skip:focus-visible {
    outline-offset: 2px;
  }

  .back-to-top {
    bottom: calc(var(--fixed-ui-bottom) + 52px);
    padding: 10px 12px;
    gap: 8px;
    font-size: 0.82rem;
  }

  .site-header .inner {
    min-height: var(--site-header-h);
    gap: 14px;
  }

  .sub-header-wrap {
    min-width: 0;
  }

  .sub-header-brand {
    display: none;
  }

  .site-header .logo-ja {
    width: min(58vw, 240px);
  }

  main {
    padding-top: var(--site-header-h);
  }

  .global-nav {
    display: none;
  }

  .logo-ja {
    width: min(68vw, 300px);
  }

  .inner {
    width: min(100% - 28px, var(--max));
  }

  .two-col,
  .numbers-grid {
    grid-template-columns: 1fr;
  }

  #about .two-col {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  #about .about-headline-line {
    white-space: normal;
  }

  .about-headline-line {
    white-space: normal;
  }

  .story-section {
    --story-header-offset: var(--site-header-h);
  }

  .story-title-en {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .opening-panel {
    min-height: 72vh;
  }

  .shape-intro,
  .shape-intro-inner {
    min-height: 95vh;
  }

  .shape-intro-copy {
    left: auto;
    top: auto;
    max-width: 100%;
    width: 100%;
  }

  .mv-text-layout .panel-copy,
  .mv-text-layout.mv-scroll-copy,
  .mv-text-layout .mv-scroll-copy {
    max-width: 100%;
    width: 100%;
  }

  .conclusion-panel .opening-conclusion {
    font-size: clamp(1.65rem, 6.5vw, 2.4rem);
    width: 100%;
    max-width: 100%;
  }

  .conclusion-panel .opening-conclusion span {
    white-space: normal;
  }

  .shape-intro-side {
    display: none;
  }

  .shape-intro-meta {
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 20px;
  }

  .opening-01 {
    min-height: calc(76vh - 30px);
  }

  .opening-01 .panel-copy h1,
  .mv-text-layout .opening-01-catch {
    font-size: clamp(1.45rem, 6.2vw, 2.2rem);
  }

  .opening-01-catch span {
    white-space: normal;
  }

  .panel-right,
  .panel-center {
    text-align: left;
  }

  .panel-with-photo,
  .panel-with-photo.photo-left {
    grid-template-columns: 1fr;
  }

  .opening-photo {
    order: -1;
    aspect-ratio: 16 / 9;
  }

  .depth-triangle-a {
    width: 150vw;
    left: auto;
    right: -78vw;
  }

  .depth-triangle-c {
    right: -55vw;
  }

  .depth-triangle-b {
    width: 140vw;
    right: -80vw;
  }

  .depth-orb-a,
  .depth-orb-b {
    opacity: 0.45;
  }

  .bg-stage-perspective {
    perspective: 800px;
  }
}

/* TOP redesign (pattern-top-redesign) */
body.pattern-top-redesign {
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --line: rgba(0, 0, 0, 0.12);
  --text: #111111;
  --muted: #555555;
  --accent: #111111;
}

body.pattern-top-redesign .bg-stage {
  opacity: 0.35;
}

.top-draft-note {
  margin: 0;
  padding: 10px 0 0;
  font-size: 0.82rem;
  color: #c62828;
  text-decoration: underline;
  font-weight: 600;
}

.top-join-hero {
  position: relative;
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 7vw, 80px);
}

.top-join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.top-join-en {
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}

.top-join-ja {
  margin: 20px 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
}

.top-join-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.top-scroll {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
}

.top-pro-catch {
  padding: clamp(48px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.top-pro-line {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.top-section-en {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.top-section-title {
  margin: 0 0 20px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.top-section-body {
  margin: 0 0 16px;
  line-height: 2;
  color: var(--muted);
  font-size: 0.92rem;
}

.top-philosophy {
  padding: clamp(48px, 7vw, 80px) 0;
  background: var(--bg-soft);
}

.top-philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.top-philosophy-photo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 4px;
}

.top-link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.top-link-btn {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid #111;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease;
}

.top-link-btn:hover {
  background: #111;
  color: #fff;
}

.top-requirements {
  padding: clamp(48px, 7vw, 80px) 0;
}

.top-member {
  padding: clamp(48px, 7vw, 80px) 0;
  background: #fafafa;
  border-top: 1px solid var(--line);
}

.top-member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.top-member-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.top-member-card:hover {
  transform: translateY(-4px);
}

.top-member-photo {
  aspect-ratio: 3 / 4;
  margin-bottom: 12px;
  border-radius: 4px;
}

.top-member-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #111;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.top-member-quote {
  margin: 12px 0 8px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
}

.top-member-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.top-more-link {
  margin: 28px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.top-about {
  padding: clamp(48px, 7vw, 80px) 0;
}

.top-about-numbers-h {
  margin: 32px 0 16px;
  font-size: 1rem;
  font-weight: 700;
}

.top-num-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.top-num-item {
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.top-num-val {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
}

.top-num-cap {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.top-about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.top-about-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.top-about-card-num {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}

.top-about-card h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.top-about-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}

.top-social {
  padding: clamp(40px, 6vw, 64px) 0;
  background: var(--bg-soft);
}

.top-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.top-social-en {
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 1.1rem;
}

.top-social-photo {
  aspect-ratio: 1;
  border-radius: 4px;
}

.top-character {
  padding: clamp(40px, 6vw, 64px) 0;
}

.top-character-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.top-character-visual {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
}

.top-location {
  padding: clamp(40px, 6vw, 64px) 0;
  border-top: 1px solid var(--line);
}

.top-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
}

.top-map {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
}

.top-cta-band {
  padding: clamp(32px, 5vw, 48px) 0;
  background: #2a2a2a;
}

.top-cta-band .inner {
  display: grid;
  gap: 12px;
}

.top-cta-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #111;
  color: #fff;
  transition: transform 0.25s ease;
}

.top-cta-row:hover {
  transform: translateX(4px);
}

.top-cta-en {
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
}

.top-cta-ja {
  font-size: 0.88rem;
}

.top-cta-arrow {
  font-size: 1.2rem;
}

.top-footer {
  padding-top: 40px;
}

.top-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.top-footer-brand p {
  margin: 0;
  font-size: 0.88rem;
}

.top-to-top {
  font-size: 0.82rem;
  font-weight: 700;
}

.placeholder-photo {
  background: #e8e8e8;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .top-join-grid,
  .top-philosophy-grid,
  .top-character-grid,
  .top-location-grid {
    grid-template-columns: 1fr;
  }

  .top-member-grid,
  .top-about-cards,
  .top-social-grid,
  .top-num-row {
    grid-template-columns: 1fr;
  }
}

.pattern-top-redesign .about-photo-target,
.pattern-top-redesign .about-photo-wrap .placeholder-photo {
  filter: grayscale(1);
  transition: filter 0.6s ease;
}

.pattern-top-redesign .about-photo-wrap.image-active .about-photo-target,
.pattern-top-redesign .about-photo-wrap.image-active .placeholder-photo {
  filter: grayscale(0);
}

.nav-toggle {
  display: none;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-right: -8px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #0a1628;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-header.is-nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-header .global-nav {
    display: flex;
    position: fixed;
    top: var(--site-header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--site-header-h));
    overflow-y: auto;
    padding: 8px 24px 28px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(10, 22, 40, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .site-header.is-nav-open .global-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-header .global-nav a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-header .global-nav a::after {
    display: none;
  }

  .site-header .global-nav a.nav-entry {
    margin-top: 20px;
    padding: 12px 24px;
    border: 1px solid var(--accent);
  }
}
