/* ═══════════════════════════════════════
   FIRST INTELLIGENCE — style.css
   VER.023
   ═══════════════════════════════════════ */

:root {
  --blue: #0090e6;
  --blue-l: #0097fb;
  --blue-d: #0061bd;
  --navy: #071828;
  --white: #fff;
}

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

/* ── ローディングスクリーン（Aurora） ── */
#loader {
  position: fixed; inset: 0; z-index: 100000;
  background: #0a0a12;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s;
  pointer-events: auto;
}
#loader.done {
  opacity: 0; visibility: hidden; pointer-events: none;
}
#loader-aurora {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.loader-grain {
  position: absolute; inset: 0;
  pointer-events: none; opacity: .04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.loader-vignette {
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    transparent 30%,
    rgba(10,10,18,.45) 70%,
    rgba(10,10,18,.8) 100%
  );
}
.loader-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  opacity: 0; transform: translateY(16px);
  animation: loaderFadeIn 1s .2s forwards;
  animation-fill-mode: forwards;
}
@keyframes loaderFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
.loader-logo-wrap {
  display: flex; align-items: center; gap: 14px;
}
.loader-svg { flex-shrink: 0; }
.loader-text {
  display: flex; flex-direction: column;
}
.loader-first {
  font-family: 'Sora', sans-serif;
  font-size: 9px; font-weight: 200; letter-spacing: .5em;
  color: var(--blue-l); text-transform: uppercase;
}
.loader-intel {
  font-family: 'Sora', sans-serif;
  font-size: 19px; font-weight: 100; letter-spacing: .12em;
  color: #fff; text-transform: uppercase; line-height: 1;
}
.loader-bar {
  width: 140px; height: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 2px; overflow: hidden;
}
.loader-bar-fill {
  width: 0; height: 100%;
  background: linear-gradient(90deg, rgba(0,151,251,.5), var(--blue-l));
  border-radius: 2px;
}
.loader-pct {
  font-family: 'Sora', sans-serif;
  font-size: 10px; font-weight: 300;
  letter-spacing: .15em;
  color: rgba(255,255,255,.3);
}
@media (max-width: 768px) {
  .loader-svg { width: 36px; height: 23px; }
  .loader-intel { font-size: 18px; }
  .loader-first { font-size: 8px; }
  .loader-bar { width: 100px; }
}

/* Lenis — PC のみ有効（モバイルではネイティブスクロール） */
@media (min-width: 769px) {
  html.lenis, html.lenis body {
    height: auto;
  }
  .lenis.lenis-smooth {
    scroll-behavior: auto !important;
  }
  .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
  }
  .lenis.lenis-stopped {
    overflow: hidden;
  }
}
/* モバイルでは Lenis のクラスを強制無効化 */
@media (max-width: 768px) {
  html.lenis,
  html.lenis body,
  html.lenis.lenis-stopped,
  html.lenis.lenis-smooth {
    overflow: visible !important;
    height: auto !important;
    scroll-behavior: smooth !important;
  }
}

body {
  font-family: 'Sora', -apple-system, sans-serif;
  background: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 769px) {
  body { cursor: none; }
}

.ver {
  position: fixed; top: 16px; right: 20px;
  font-size: 11px; font-weight: 300; color: rgba(255,255,255,.22);
  letter-spacing: .1em; z-index: 9999; pointer-events: none;
}

/* ── カスタムカーソル ── */
#cursor {
  position: fixed; width: 12px; height: 12px;
  background: var(--blue-l); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s, background .15s, opacity .2s;
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(0,151,251,.5); border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width .35s cubic-bezier(.25,.1,0,1), height .35s cubic-bezier(.25,.1,0,1), border-color .3s, opacity .2s;
}
#cursor-trail {
  position: fixed; pointer-events: none; z-index: 99997;
  transform: translate(-50%, -50%);
}
body:hover #cursor { opacity: 1; }
a:hover ~ #cursor, button:hover ~ #cursor { width: 20px; height: 20px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; background: transparent;
  transition: background .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
  border-color: rgba(255,255,255,.07);
}
.nb { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nb-t { display: flex; flex-direction: column; }
.nb-first { font-size: 9px; font-weight: 200; letter-spacing: .5em; color: var(--blue-l); text-transform: uppercase; }
.nb-intel { font-size: 19px; font-weight: 100; letter-spacing: .12em; color: #fff; text-transform: uppercase; line-height: 1; }
.nl { display: flex; align-items: center; gap: 36px; list-style: none; }
.nl a { font-size: 13px; font-weight: 300; letter-spacing: .05em; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.nl a:hover { color: #fff; }
.ncta {
  font-size: 13px; font-weight: 300; letter-spacing: .08em; color: #fff !important;
  border: 1px solid rgba(255,255,255,.3); padding: 10px 24px; border-radius: 100px;
  text-decoration: none; transition: all .25s;
}
.ncta:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-fade-top {
  position: absolute; top: 0; left: 0; right: 0; height: 220px; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, transparent 100%);
  pointer-events: none;
}
.hero-fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 70%; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 40%, transparent 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 0 80px 100px; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 300; letter-spacing: .42em;
  color: rgba(255,255,255,.5); text-transform: uppercase; margin-bottom: 28px;
}
.hero-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue-l);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,151,251,.5); }
  50% { box-shadow: 0 0 0 8px rgba(0,151,251,0); }
}
.hero-h1 {
  font-weight: 100; font-size: clamp(52px, 7vw, 108px);
  letter-spacing: -.01em; line-height: 1.02; color: #fff;
  margin-bottom: 28px; max-width: 900px;
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue-l), #fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 200; font-size: 22px;
  letter-spacing: .12em; color: #fff; line-height: 1.9;
  margin-bottom: 52px; max-width: 520px;
}
.hero-acts { display: flex; align-items: center; gap: 28px; }
.hero-cta-primary {
  font-size: 21px; font-weight: 300; letter-spacing: .1em; color: #fff;
  background: var(--blue); padding: 18px 48px; border-radius: 100px;
  text-decoration: none; box-shadow: 0 0 40px rgba(0,144,230,.4); transition: all .3s;
}
.hero-cta-primary:hover {
  background: var(--blue-l); box-shadow: 0 0 60px rgba(0,151,251,.6); transform: translateY(-2px);
}
.hero-cta-ghost {
  font-family: 'Noto Sans JP', sans-serif; font-size: 19px; font-weight: 300;
  letter-spacing: .1em; color: #fff; text-decoration: none;
  display: flex; align-items: center; gap: 8px; transition: color .2s, gap .2s;
}
.hero-cta-ghost:hover { color: #fff; gap: 13px; }
.hero-scroll {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding-bottom: 32px; cursor: none;
}
.scroll-mouse {
  width: 47px; height: 76px; border: 2px solid rgba(255,255,255,.35);
  border-radius: 24px; position: relative;
}
.scroll-wheel {
  width: 5px; height: 12px; background: #fff; border-radius: 3px;
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  animation: wheel 2.2s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  75% { opacity: 0; transform: translateX(-50%) translateY(16px); }
  76% { opacity: 0; transform: translateX(-50%) translateY(0); }
  100% { opacity: 1; }
}
.scroll-lbl {
  font-size: 11px; font-weight: 300; letter-spacing: .36em;
  color: rgba(255,255,255,.35); text-transform: uppercase;
}

/* ── MARQUEE ── */
.mw {
  overflow: hidden; padding: 14px 0;
  position: relative;
  background: #050d18;
  border-top: 1px solid rgba(0,144,230,.12);
  border-bottom: 1px solid rgba(0,144,230,.12);
}
.mw::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 40% 120% at 15% 50%, rgba(0,69,190,.35) 0%, transparent 70%),
    radial-gradient(ellipse 35% 140% at 50% 50%, rgba(0,97,189,.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 120% at 85% 50%, rgba(0,151,251,.30) 0%, transparent 70%);
  animation: mwMesh 12s ease-in-out infinite;
}
@keyframes mwMesh {
  0%, 100% { opacity: 1; filter: hue-rotate(0deg); }
  50% { opacity: .8; filter: hue-rotate(8deg); }
}
.mt { display: flex; white-space: nowrap; animation: mq 32s linear infinite; position: relative; z-index: 1; }
.mi {
  font-size: 10px; font-weight: 400; letter-spacing: .32em;
  color: rgba(255,255,255,.75); text-transform: uppercase; padding: 0 32px; flex-shrink: 0;
}
.md { color: var(--blue-l); opacity: 1; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── STATEMENT ── */
.statement {
  background: #000; padding: 160px 80px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; min-height: 55vh;
}
.stmt-inner { max-width: 820px; }
.stmt-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 300; letter-spacing: .42em;
  color: var(--blue-l); text-transform: uppercase; margin-bottom: 48px;
}
.stmt-label::before, .stmt-label::after { content: ''; width: 28px; height: 1px; background: var(--blue-l); }
.stmt-h {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 100;
  font-size: clamp(26px, 3.6vw, 52px); letter-spacing: .1em;
  line-height: 1.7; color: #fff; margin-bottom: 32px;
}
.stmt-h em { font-style: normal; color: var(--blue-l); text-decoration: none; border: none; }
.stmt-hl { color: var(--blue-l); }
.stmt-p {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 200;
  font-size: 22px; letter-spacing: .12em; color: #fff; line-height: 1.9;
}

/* ── SHOWCASE ── */
.showcase { background: #000; padding: 0 3px 3px; }
.sc-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 3px; }
.sc-cell { position: relative; overflow: hidden; background: #111; }
.sc-cell video, .sc-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.25,.1,0,1); }
.sc-cell:hover video, .sc-cell:hover img { transform: scale(1.05); }
.sc-wide { grid-column: span 2; aspect-ratio: 16/9; }
.sc-tall { grid-row: span 2; }
.sc-tall-inner { height: 100%; min-height: 520px; position: relative; overflow: hidden; }
.sc-tall-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.25,.1,0,1); }
.sc-cell:hover .sc-tall-inner img { transform: scale(1.05); }
.sc-med { aspect-ratio: 4/3; }
.sc-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.08) 55%, transparent 100%); }
.sc-lbl { position: absolute; bottom: 28px; left: 28px; right: 28px; z-index: 2; }
.sc-dept { font-size: 9px; font-weight: 300; letter-spacing: .38em; color: var(--blue-l); text-transform: uppercase; margin-bottom: 7px; }
.sc-nm { font-family: 'Noto Sans JP', sans-serif; font-size: 16px; font-weight: 300; letter-spacing: .08em; color: #fff; }

/* ── FEATURE ── */
.feature {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.feature-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.feature-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.feature--left .feature-overlay {
  background: linear-gradient(to right, rgba(0,0,0,.88) 0%, rgba(0,0,0,.65) 35%, rgba(0,0,0,.15) 65%, transparent 100%);
}
.feature--right .feature-overlay {
  background: linear-gradient(to left, rgba(0,0,0,.88) 0%, rgba(0,0,0,.65) 35%, rgba(0,0,0,.15) 65%, transparent 100%);
}
.feature--center .feature-overlay {
  background: radial-gradient(ellipse at center, rgba(0,0,0,.2) 0%, rgba(0,0,0,.75) 100%);
}
.feature-body {
  position: relative; z-index: 2; padding: 120px 100px; max-width: 680px;
}
.feature--right .feature-body { margin-left: auto; }
.feature-eyebrow {
  font-size: 10px; font-weight: 300; letter-spacing: .44em; text-transform: uppercase;
  color: var(--blue-l); margin-bottom: 32px;
  display: flex; align-items: center; gap: 10px;
}
.feature-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--blue-l); }
.feature-h {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 100;
  font-size: clamp(28px, 3.2vw, 48px); letter-spacing: .06em; line-height: 1.55;
  color: #fff; margin-bottom: 32px;
}
.feature-p {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 200;
  font-size: 22px; letter-spacing: .12em; color: #fff; line-height: 1.9; margin-bottom: 48px;
}
.feature-lk {
  font-family: 'Noto Sans JP', sans-serif; font-size: 13px; font-weight: 300;
  letter-spacing: .12em; color: #fff; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 32px; border: 1px solid rgba(255,255,255,.25); border-radius: 100px;
  transition: all .3s;
}
.feature-lk:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); gap: 14px; }

/* ── IMMERSIVE ── */
.immersive { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; }
.immersive-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.immersive-fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(255,255,255,1) 0%, rgba(255,255,255,0) 12%,
    rgba(0,0,0,0) 40%, rgba(0,0,0,.38) 80%, rgba(13,27,42,.85) 100%
  );
}
.immersive-fade--dark {
  background: linear-gradient(to bottom,
    rgba(13,27,42,.7) 0%, rgba(0,0,0,.25) 40%,
    rgba(0,0,0,.5) 80%, rgba(13,27,42,.9) 100%
  );
}
.immersive-content {
  position: relative; z-index: 2; padding: 80px; max-width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.immersive-tag {
  display: inline-block; font-size: 10px; font-weight: 300; letter-spacing: .36em;
  color: rgba(255,255,255,.65); text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.25); border-radius: 100px;
  padding: 6px 16px; margin-bottom: 28px;
}
.immersive-h {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 100;
  font-size: clamp(24px, 2.2vw, 34px); max-width: 680px;
  letter-spacing: .08em; line-height: 1.5; color: #fff;
}
.immersive-h em { font-style: normal; color: var(--blue-l); }

/* ── HOW ── */
.how {
  background: linear-gradient(160deg, #000 0%, #071828 40%, #0a1e34 70%, #000 100%);
  padding: 160px 80px; border-top: 1px solid rgba(0,144,230,.15);
}
.how-label {
  font-size: 10px; font-weight: 300; letter-spacing: .42em; color: var(--blue-l);
  text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.how-label::before { content: ''; width: 24px; height: 1px; background: var(--blue-l); }
.how-h {
  font-weight: 100; font-size: clamp(32px, 4vw, 64px); letter-spacing: .02em;
  color: #fff; line-height: 1.1; margin-bottom: 80px;
}
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(0,144,230,.2); }
.hs {
  padding: 56px 40px 52px; border-right: 1px solid rgba(0,144,230,.15);
  position: relative; transition: background .35s;
}
.hs:last-child { border-right: none; }
.hs:nth-child(2), .hs:nth-child(4) { background: rgba(0,100,200,.1); }
.hs:nth-child(2):hover, .hs:nth-child(4):hover { background: rgba(0,120,220,.16); }
.hs:hover { background: rgba(0,144,230,.08); }
.hs-num {
  font-family: 'Sora', sans-serif; font-weight: 100; font-size: 96px;
  letter-spacing: -.04em; line-height: 1; color: rgba(0,151,251,.35);
  margin-bottom: 28px; text-shadow: 0 0 40px rgba(0,151,251,.2);
}
.hs-title {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: 20px; letter-spacing: .1em; color: #fff; margin-bottom: 16px;
}
.hs-desc {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: 15px; color: rgba(255,255,255,.75); line-height: 2; letter-spacing: .06em;
}

/* ── STATS ── */
.stats {
  background: #000; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-cta {
  text-align: center; padding: 56px 0 64px; background: #000;
}
.stat {
  padding: 64px 44px 56px; border-right: 1px solid rgba(255,255,255,.06);
  transition: background .3s; position: relative;
}
.stat:hover { background: rgba(0,144,230,.05); }
.stat:last-child { border-right: none; }
.stat-top { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.stat-icon svg { opacity: .75; display: block; }
.stat-numwrap { display: flex; align-items: flex-end; gap: 4px; line-height: 1; }
.stat-num {
  font-family: 'Sora', sans-serif; font-weight: 100; font-size: 72px;
  letter-spacing: -.04em; color: #fff; line-height: 1;
}
.stat-unit {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 200;
  font-size: 28px; color: var(--blue-l); line-height: 1; padding-bottom: 4px;
}
.stat-bar { height: 6px; background: rgba(255,255,255,.06); margin-bottom: 16px; overflow: hidden; border-radius: 3px; }
.stat-bar-fill {
  height: 100%; background: linear-gradient(to right, var(--blue-d), var(--blue-l));
  width: 0; border-radius: 3px; transition: width 1.8s cubic-bezier(.25,.1,0,1);
}
.stat-bar-fill.run { width: 100% !important; }
.stat-lbl {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: 13px; color: rgba(255,255,255,.5); letter-spacing: .1em;
}

/* ── PLANS ── */
.plans-wrap { background: #000; padding: 120px 72px 160px; }
.plans-header { text-align: center; margin-bottom: 72px; }
.plans-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 300; letter-spacing: .42em;
  color: var(--blue-l); text-transform: uppercase; margin-bottom: 20px;
}
.plans-label::before, .plans-label::after { content: ''; width: 24px; height: 1px; background: var(--blue-l); }
.plans-h {
  font-weight: 100; font-size: clamp(28px, 3.5vw, 52px);
  letter-spacing: .03em; color: #fff; line-height: 1.3;
}
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,.06); }
.plan {
  padding: 40px 36px 36px; background: #050e18;
  position: relative; overflow: visible; transition: background .35s;
}
.plan:hover { background: #071828; }
.plan--b { background: #071e30; }
.plan--b:hover { background: #0a2540; }

/* fmrobo */
.fmrobo { position: absolute; pointer-events: none; user-select: none; z-index: 10; }
.fmrobo img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 8px 24px rgba(0,144,230,.4)); }

.plan--a .fmrobo {
  width: 120px; height: 120px; top: -40px; right: -10px;
  animation: jumpA 1.8s cubic-bezier(.36,.07,.19,.97) infinite;
}
@keyframes jumpA {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  20% { transform: translateY(-20px) rotate(4deg); }
  40% { transform: translateY(-8px) rotate(-2deg); }
  60% { transform: translateY(-15px) rotate(3deg); }
  80% { transform: translateY(-3px) rotate(-1deg); }
}

.plan--b .fmrobo {
  width: 133px; height: 133px; bottom: 100px; right: -16px;
  animation: jumpB 2.1s cubic-bezier(.36,.07,.19,.97) infinite;
  animation-delay: .5s;
}
@keyframes jumpB {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  25% { transform: translateY(-24px) scale(1.04) rotate(-3deg); }
  50% { transform: translateY(-6px) scale(.98) rotate(2deg); }
  75% { transform: translateY(-16px) scale(1.02) rotate(-1deg); }
}

.plan--c .fmrobo {
  width: 113px; height: 113px; top: -36px; right: -6px;
  animation: jumpC 1.6s cubic-bezier(.36,.07,.19,.97) infinite;
  animation-delay: .9s;
}
@keyframes jumpC {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  30% { transform: translateY(-22px) rotate(-5deg); }
  60% { transform: translateY(-8px) rotate(3deg); }
}

.plan-popular {
  position: absolute; top: 24px; right: 24px;
  font-size: 9px; font-weight: 300; letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue-l); border: 1px solid rgba(0,151,251,.28);
  padding: 4px 12px; border-radius: 100px;
}
.plan--b .plan-popular { right: 188px; }
.ptier-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.ptier { font-size: 10px; font-weight: 300; letter-spacing: .4em; text-transform: uppercase; color: rgba(255,255,255,.3); }
.pname { font-family: 'Noto Sans JP', sans-serif; font-weight: 300; font-size: 20px; letter-spacing: .08em; color: #fff; }
.pprice-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 32px; }
.pprice { font-family: 'Sora', sans-serif; font-weight: 100; font-size: 52px; letter-spacing: -.03em; line-height: 1; color: #fff; }
.plan--b .pprice { color: var(--blue-l); }
.pperiod { font-family: 'Noto Sans JP', sans-serif; font-size: 12px; font-weight: 300; color: rgba(255,255,255,.28); letter-spacing: .06em; }
.plist { list-style: none; margin-bottom: 20px; border-top: 1px solid rgba(255,255,255,.07); }
.plist li {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300; font-size: 13px;
  letter-spacing: .05em; color: rgba(255,255,255,.5); line-height: 1.5;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; gap: 12px;
}
.plist li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--blue-l); flex-shrink: 0; }
.pbtn {
  display: block; width: 100%; padding: 15px; border-radius: 6px;
  font-family: 'Noto Sans JP', sans-serif; font-size: 13px; font-weight: 300;
  letter-spacing: .1em; text-align: center; text-decoration: none;
  transition: all .25s; border: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.6);
}
.plan--b .pbtn {
  background: var(--blue); border-color: var(--blue); color: #fff;
  box-shadow: 0 4px 24px rgba(0,144,230,.28);
}
.pbtn:hover { border-color: rgba(255,255,255,.35); color: #fff; }
.plan--b .pbtn:hover { background: var(--blue-l); box-shadow: 0 8px 36px rgba(0,151,251,.45); }

/* ── CTA ── */
.cta {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.cta-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-fade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 20%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.65) 100%);
}
.cta-c { position: relative; z-index: 2; padding: 80px 40px; max-width: 720px; }
.cta-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 300; letter-spacing: .38em;
  color: rgba(255,255,255,.38); text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.12); border-radius: 100px;
  padding: 7px 18px; margin-bottom: 44px;
}
.cta-h {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 100;
  font-size: clamp(36px, 5vw, 72px); letter-spacing: .08em;
  color: #fff; margin-bottom: 18px; line-height: 1.3;
}
.cta-sub {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: 16px; letter-spacing: .12em; color: #fff;
  margin-bottom: 64px; line-height: 2;
}
.cta-btn {
  display: inline-block; padding: 20px 72px; border-radius: 100px;
  background: #fff; color: var(--blue);
  font-family: 'Noto Sans JP', sans-serif; font-size: 18px; font-weight: 600;
  letter-spacing: .14em; text-decoration: none;
  box-shadow: 0 8px 52px rgba(255,255,255,.14); transition: all .3s;
}
.cta-btn:hover { transform: translateY(-4px); box-shadow: 0 20px 68px rgba(255,255,255,.22); }
.cta-note {
  display: block; margin-top: 20px;
  font-family: 'Noto Sans JP', sans-serif; font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,.26); letter-spacing: .12em;
}

/* ── FOOTER ── */
footer {
  background: #000; padding: 100px 200px 60px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.ft-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 40px;
}
.ft-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ft-name { font-weight: 100; font-size: 18px; letter-spacing: .24em; color: #fff; text-transform: uppercase; }
.ft-catch {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 200;
  font-size: 16px; letter-spacing: .18em; color: #fff;
  margin-bottom: 14px; line-height: 1;
}
.ft-desc {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: 12px; color: rgba(255,255,255,.35); line-height: 2; letter-spacing: .06em;
}
.ft-desc-nowrap { display: none; }
.ft-desc-br { display: inline; }
.ft-cols { display: flex; gap: 72px; }
.ft-col h4 { font-size: 10px; font-weight: 300; letter-spacing: .3em; color: rgba(255,255,255,.6); text-transform: uppercase; margin-bottom: 22px; }
.ft-col ul { list-style: none; }
.ft-col ul li { margin-bottom: 13px; }
.ft-col ul li a {
  font-family: 'Noto Sans JP', sans-serif; font-size: 13px; font-weight: 300;
  color: #fff; text-decoration: none; transition: color .2s;
}
.ft-col ul li a:hover { color: rgba(255,255,255,.8); }
.ft-tel {
  text-align: center; padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 40px;
}
.ft-tel-label {
  display: block; font-family: 'Noto Sans JP', sans-serif; font-weight: 700;
  font-size: 22px; color: #fff; letter-spacing: .1em; margin-bottom: 12px;
}
.ft-tel-num {
  font-family: 'Sora', sans-serif; font-weight: 300; font-size: 33px;
  letter-spacing: .1em; text-decoration: none;
  background: linear-gradient(90deg, var(--blue-l, #0097fb), #fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  transition: opacity .2s;
}
.ft-tel-num:hover { opacity: .7; }
.ft-tel-hours {
  display: block; font-family: 'Noto Sans JP', sans-serif; font-weight: 300;
  font-size: 11px; color: #fff; letter-spacing: .06em; margin-top: 8px;
}
.ft-company {
  text-align: center; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 24px;
}
.ft-company h4 {
  font-size: 10px; font-weight: 300; letter-spacing: .3em;
  color: rgba(255,255,255,.6); text-transform: uppercase; margin-bottom: 12px;
}
.ft-company-name a, .ft-company-url a {
  font-family: 'Noto Sans JP', sans-serif; font-size: 13px; font-weight: 300;
  color: #fff; text-decoration: none; transition: color .2s;
}
.ft-company-name a:hover, .ft-company-url a:hover { color: rgba(255,255,255,.7); }
.ft-company-name { margin-right: 16px; }
.ft-company-url a { font-family: 'Sora', sans-serif; font-size: 12px; letter-spacing: .1em; }
.ft-bot { display: flex; justify-content: center; }
.ft-copy { font-size: 11px; font-weight: 300; color: #fff; letter-spacing: .08em; }
.ft-url { font-size: 10px; font-weight: 300; color: #fff; letter-spacing: .14em; }

/* ── REVEAL (GSAP ScrollTrigger で制御) ── */
.rv {
  opacity: 0;
  transform: translateY(40px);
}
.rv.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── ハンバーガーメニュー ── */
.hmb {
  display: none; position: relative; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; z-index: 601;
  -webkit-tap-highlight-color: transparent;
}
.hmb-line {
  display: block; position: absolute; left: 10px; width: 24px; height: 1.5px;
  background: #fff; border-radius: 2px;
  transition: transform .4s cubic-bezier(.23,1,.32,1), opacity .3s;
}
.hmb-line:first-child { top: 17px; }
.hmb-line:last-child { top: 25px; }
.hmb.active .hmb-line:first-child {
  top: 21px; transform: rotate(45deg);
}
.hmb.active .hmb-line:last-child {
  top: 21px; transform: rotate(-45deg);
}

/* ── モバイルメニューオーバーレイ ── */
.mob-menu {
  display: none; position: fixed; inset: 0; z-index: 550;
  background: rgba(0,0,0,.96);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  opacity: 0; visibility: hidden;
  transition: opacity .5s cubic-bezier(.23,1,.32,1), visibility .5s;
}
.mob-menu.open {
  opacity: 1; visibility: visible;
}
.mob-menu-inner {
  display: flex; flex-direction: column; justify-content: center;
  height: 100%; padding: 100px 36px 60px;
}
.mob-menu-label {
  font-size: 9px; font-weight: 300; letter-spacing: .5em;
  color: rgba(255,255,255,.3); text-transform: uppercase;
  margin-bottom: 40px;
}
.mob-nav {
  list-style: none; display: flex; flex-direction: column; gap: 0;
}
.mob-nav li {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mob-nav li:first-child {
  border-top: 1px solid rgba(255,255,255,.06);
}
.mob-nav a {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: 'Noto Sans JP', sans-serif; font-size: 16px; font-weight: 300;
  letter-spacing: .08em; color: #fff; text-decoration: none;
  transition: color .3s;
  opacity: 0; transform: translateY(20px);
}
.mob-menu.open .mob-nav a {
  opacity: 1; transform: translateY(0);
  transition: opacity .5s cubic-bezier(.23,1,.32,1), transform .5s cubic-bezier(.23,1,.32,1), color .3s;
}
.mob-nav li:nth-child(1) a { transition-delay: .08s; }
.mob-nav li:nth-child(2) a { transition-delay: .14s; }
.mob-nav li:nth-child(3) a { transition-delay: .20s; }
.mob-nav li:nth-child(4) a { transition-delay: .26s; }
.mob-menu.open .mob-nav li:nth-child(1) a { transition-delay: .08s; }
.mob-menu.open .mob-nav li:nth-child(2) a { transition-delay: .14s; }
.mob-menu.open .mob-nav li:nth-child(3) a { transition-delay: .20s; }
.mob-menu.open .mob-nav li:nth-child(4) a { transition-delay: .26s; }
.mob-nav a:active { color: var(--blue-l); }
.mob-nav-num {
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 300;
  letter-spacing: .14em; color: var(--blue-l); opacity: .5; min-width: 28px;
}
/* 閉じるボタン */
.mob-close {
  display: none; position: absolute; top: 18px; right: 20px; z-index: 610;
  background: none; border: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  align-items: center; gap: 8px;
}
.mob-close-x {
  font-size: 39px; font-weight: 200; color: #fff; line-height: 1;
}
.mob-close-txt {
  font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 300;
  letter-spacing: .16em; color: rgba(255,255,255,.5); text-transform: uppercase;
}
.mob-menu-footer {
  margin-top: auto; display: flex; flex-direction: column; gap: 6px;
}
.mob-menu-brand {
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 200;
  letter-spacing: .2em; color: rgba(255,255,255,.2); text-transform: uppercase;
}
.mob-menu-copy {
  font-size: 10px; font-weight: 300; color: rgba(255,255,255,.15); letter-spacing: .08em;
}

/* ═══════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  #cursor, #cursor-ring { display: none; }
  body { cursor: auto; }

  nav { padding: 0 20px; height: 60px; }
  .nl { display: none; }
  .hmb { display: block; }
  .mob-menu { display: block; }
  .mob-close { display: flex; }
  .nb-intel { font-size: 15px; }

  .hero { min-height: 100svh; }
  .hero-content { padding: 0 24px 60px; }
  .hero-fade-bottom { height: 55%; }
  .hero-h1 { font-size: clamp(36px, 10vw, 56px); }
  .hero-sub { font-size: 13px; letter-spacing: .08em; margin-bottom: 32px; max-width: 100%; }
  .hero-acts { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-cta-primary { padding: 14px 32px; font-size: 13px; }
  .hero-scroll { display: none; }
  .hero-vid { object-position: 25% center; }

  .mw { padding: 10px 0; }
  .mi { padding: 0 16px; font-size: 9px; }

  .statement { padding: 80px 24px; min-height: auto; }
  .stmt-h { font-size: clamp(22px, 7vw, 36px); }
  .stmt-p { font-size: 13px; }

  .sc-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .sc-wide { grid-column: span 1; aspect-ratio: 16/9; }
  .sc-tall { grid-row: span 1; }
  .sc-tall-inner { min-height: 260px; }
  .sc-med { aspect-ratio: 16/9; }
  .sc-nm { font-size: 14px; }

  .feature { min-height: 80vh; }
  .feature-body { padding: 60px 24px; max-width: 100%; }
  .feature--right .feature-body { margin-left: 0; }
  .feature--left .feature-overlay,
  .feature--right .feature-overlay {
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.2) 100%);
  }
  .feature { align-items: flex-end; }
  .feature-h { font-size: clamp(22px, 6vw, 36px); }
  .feature-p { font-family: 'Noto Sans JP', sans-serif; font-weight: 200; font-size: 13px; letter-spacing: .08em; color: #fff; line-height: 1.9; margin-bottom: 48px; }
  .feature-lk { padding: 11px 24px; font-size: 12px; }

  .immersive { min-height: 50vh; }
  .immersive-content { padding: 48px 24px; }
  .immersive-h { font-size: clamp(18px, 5.5vw, 28px) !important; }
  .immersive-sub { font-size: 13px !important; letter-spacing: .08em !important; }

  .how { padding: 80px 24px; }
  .how-h { font-size: clamp(28px, 7vw, 48px); margin-bottom: 48px; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .hs { padding: 36px 24px 32px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hs:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .hs:last-child, .hs:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .hs-num { font-size: 56px; margin-bottom: 20px; }
  .hs-desc { font-size: 13px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); overflow: hidden; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.06); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat-top { flex-direction: row; align-items: flex-end; gap: 10px; }
  .stat-top svg { width: 56px; height: 56px; flex-shrink: 0; }
  .stat-num { font-size: clamp(44px, 14vw, 66px); }
  .stat-unit { font-size: 20px; }

  .plans-wrap { padding: 72px 20px 100px; }
  .plans-grid { grid-template-columns: 1fr; gap: 3px; }
  .plan { padding: 44px 28px 40px; overflow: hidden; }
  .fmrobo { width: 64px !important; height: 64px !important; top: auto !important; bottom: 38px !important; right: 28px !important; left: auto !important; }
  .plan--b .plan-popular { right: 88px; }
  .pprice { font-size: 40px; }
  .pname { font-size: 17px; }
  .ptier-row { margin-bottom: 16px; }
  .pprice-row { margin-bottom: 24px; }
  .pbtn { padding-right: 80px; }

  .cta { min-height: 80vh; }
  .cta-c { padding: 48px 24px; }
  .cta-h { font-size: clamp(28px, 8vw, 52px); }
  .cta-sub { font-size: 14px; margin-bottom: 44px; }
  .cta-btn { padding: 16px 40px; font-size: 14px; }

  /* CTA動画：スマホ時左200pxシフト（右端固定） */
  .cta-vid {
    width: calc(100% + 200px); left: -200px; right: 0;
  }

  footer { padding: 48px 24px 32px; }
  .ft-top { flex-direction: column; gap: 32px; }
  .ft-desc-nowrap { display: inline; }
  .ft-desc-br { display: none; }
  .ft-cols {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px;
  }
  .ft-top { padding-bottom: 24px; margin-bottom: 12px; }
  .ft-company { padding: 16px 0; margin-bottom: 16px; }
  .ft-tel-label { font-size: 18px; }
  .ft-tel-num { font-size: 28px; }
  .ft-tel { padding: 12px 0; margin-bottom: 16px; }
  .ft-tel-num { font-size: 20px; }
  .ft-bot { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(36px, 10vw, 52px); }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .hs-desc { font-size: 13px; }
  .hs:nth-child(2), .hs:nth-child(4) { background: transparent; }
  .hs:nth-child(2):hover, .hs:nth-child(4):hover { background: transparent; }
  .cta-btn { font-size: 16.8px; font-weight: 500; }
  .stats { grid-template-columns: 1fr 1fr; }
}