/* =========================================================
   AI MIRAI — main.css
   ========================================================= */
:root {
  --bg: #05060b;
  --bg-2: #0a0c16;
  --panel: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #eef1ff;
  --muted: #9aa0c3;
  --dim: #5d6388;
  --cyan: #3cf0ff;
  --violet: #7b5cff;
  --magenta: #ff4fb8;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 55%, var(--magenta) 100%);
  --en: "Space Grotesk", "Zen Kaku Gothic New", sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 56px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ja);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: calc(880px + var(--gut) * 2); }
.center { text-align: center; }
.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 767px) { .pc-only { display: none; } .sp-only { display: inline; } }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

/* ---------- noise & cursor ---------- */
.noise {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noise 1s steps(4) infinite;
}
@keyframes noise { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

.cursor { display: none; }
@media (pointer: fine) {
  .has-cursor .cursor { display: block; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; border-radius: 50%; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
  .cursor__ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(60, 240, 255, .5);
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  }
  .cursor.is-hover .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(123, 92, 255, .12); border-color: rgba(255, 255, 255, .35); }
}

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--bg);
  display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease) .1s, visibility 0s 1.3s;
  clip-path: inset(0 0 0 0);
}
.is-loaded .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader__inner { width: min(360px, 76vw); text-align: center; }
.loader__mark { width: 64px; height: 64px; margin: 0 auto 28px; animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader__bar { height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
.loader__num { margin-top: 14px; font-family: var(--en); font-size: 44px; font-weight: 300; letter-spacing: .06em; line-height: 1; }
.loader__num small { font-size: 16px; color: var(--muted); margin-left: 4px; }
.loader__txt { margin-top: 10px; font-family: var(--en); font-size: 11px; letter-spacing: .4em; color: var(--dim); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  transition: background .4s, backdrop-filter .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(5, 6, 11, .66); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; max-width: calc(var(--wrap) + var(--gut) * 2 + 160px); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { width: 38px; height: 38px; transition: transform .8s var(--ease); }
.logo:hover .logo__mark { transform: rotate(180deg); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text b { font-family: var(--en); font-weight: 700; font-size: 19px; letter-spacing: .14em; }
.logo__text small { font-size: 10px; color: var(--muted); letter-spacing: .12em; margin-top: 3px; }
.logo--lg .logo__mark { width: 52px; height: 52px; }
.logo--lg .logo__text b { font-size: 24px; }
.custom-logo { max-height: 44px; width: auto; }

.gnav { margin-left: auto; }
.gnav__list { display: flex; gap: 6px; }
.gnav__list a { position: relative; display: flex; flex-direction: column; align-items: center; padding: 8px 16px; line-height: 1.2; }
.gnav__list .en { font-family: var(--en); font-size: 13px; font-weight: 500; letter-spacing: .16em; transition: color .3s; }
.gnav__list .ja { font-size: 10px; color: var(--dim); margin-top: 4px; transition: color .3s; }
.gnav__list a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease); }
.gnav__list a:hover .en { color: var(--cyan); }
.gnav__list a:hover::after { transform: translateX(-50%) scale(1); }
.gnav__list li:not(:has(.en)) a { font-size: 14px; }

.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; position: relative; margin-left: auto; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
.is-menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.is-menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 95; visibility: hidden; pointer-events: none; }
.drawer__bg { position: absolute; inset: 0; background: rgba(5, 6, 11, .96); backdrop-filter: blur(20px); clip-path: circle(0% at calc(100% - 44px) 38px); transition: clip-path .8s var(--ease); }
.drawer__nav { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 90px var(--gut) 40px; gap: 36px; }
.drawer__list li { overflow: hidden; }
.drawer__list a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); transform: translateY(110%); transition: transform .7s var(--ease); }
.drawer__list .en { font-family: var(--en); font-size: 30px; font-weight: 500; letter-spacing: .06em; }
.drawer__list .ja { font-size: 12px; color: var(--muted); }
.is-menu-open .drawer { visibility: visible; pointer-events: auto; }
.is-menu-open .drawer__bg { clip-path: circle(150% at calc(100% - 44px) 38px); }
.is-menu-open .drawer__list a { transform: none; }
.is-menu-open .drawer__list li:nth-child(2) a { transition-delay: .06s; }
.is-menu-open .drawer__list li:nth-child(3) a { transition-delay: .12s; }
.is-menu-open .drawer__list li:nth-child(4) a { transition-delay: .18s; }
.is-menu-open .drawer__list li:nth-child(5) a { transition-delay: .24s; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .gnav, .site-header .header-cta { display: none; }
  .menu-btn { display: block; }
  .logo__mark { width: 32px; height: 32px; }
  .logo__text b { font-size: 16px; }
}

/* ---------- buttons ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--h); padding: 0 34px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .08em;
  isolation: isolate; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  white-space: nowrap;
}
.btn span, .btn i { position: relative; z-index: 2; }
.btn--sm { --h: 44px; padding: 0 22px; font-family: var(--en); font-size: 12px; letter-spacing: .2em; }
.btn--lg { --h: 70px; padding: 0 48px; font-size: 16px; }
.btn--glow { color: #05060b; background: var(--grad); background-size: 200% 100%; box-shadow: 0 10px 40px -10px rgba(123, 92, 255, .7), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn--glow::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--glow:hover { box-shadow: 0 16px 60px -10px rgba(60, 240, 255, .7), inset 0 0 0 1px rgba(255, 255, 255, .4); }
.btn--glow:hover::before { transform: translateX(120%); }
.btn--ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--grad); opacity: 0; transition: opacity .5s; }
.btn--ghost:hover { border-color: transparent; color: #05060b; }
.btn--ghost:hover::before { opacity: 1; }
.arrow { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: transform .5s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
a:hover .arrow, button:hover .arrow { transform: translateX(5px); }
.arrow--up { transform: rotate(-90deg); }
a:hover .arrow--up { transform: rotate(-90deg) translateX(4px); }

.link-more { display: inline-flex; align-items: center; gap: 14px; font-family: var(--en); font-size: 13px; letter-spacing: .24em; padding: 10px 0; border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.link-more:hover { color: var(--cyan); border-color: var(--cyan); }

/* ---------- common section ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.news + .company-sum, .strength + .flow { padding-top: 0; }
.section--line { border-top: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--en); font-size: 12px; font-weight: 500; letter-spacing: .32em; color: var(--cyan); margin-bottom: 22px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(60, 240, 255, .14), 0 0 14px var(--cyan); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(60, 240, 255, 0), 0 0 20px var(--cyan); } }
.h2 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 900; line-height: 1.34; letter-spacing: .02em; }
.lead { color: var(--muted); font-size: clamp(15px, 1.25vw, 17px); line-height: 2.1; }
.lead + .lead { margin-top: 1.2em; }
.lead strong { color: var(--text); font-weight: 700; }
.sec-head { margin-bottom: clamp(48px, 7vw, 88px); }
.sec-head__lead { max-width: 640px; margin-top: 24px; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
.no-js [data-reveal], .no-js [data-reveal-stagger] > * { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 140px; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 70% 45%, rgba(123, 92, 255, .22), transparent 70%),
    radial-gradient(40% 40% at 85% 70%, rgba(255, 79, 184, .12), transparent 70%),
    radial-gradient(40% 50% at 20% 30%, rgba(60, 240, 255, .08), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(60, 240, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(60, 240, 255, .14) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(62deg); transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  animation: gridMove 3s linear infinite;
}
@keyframes gridMove { to { background-position: 0 64px; } }
.hero__vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, var(--bg) 100%), linear-gradient(to bottom, transparent 75%, var(--bg)); }
.hero__hud { position: absolute; z-index: 1; right: 8%; top: 50%; width: min(58vw, 720px); aspect-ratio: 1; transform: translate(12%, -50%); pointer-events: none; }
.hud-ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.hud-ring circle { stroke-width: .35; vector-effect: non-scaling-stroke; }
.hud-ring--a { animation: spin 60s linear infinite; }
.hud-ring--a circle { stroke: rgba(60, 240, 255, .35); stroke-dasharray: 2 6; }
.hud-ring--b { inset: 9%; width: 82%; height: 82%; animation: spin 40s linear infinite reverse; }
.hud-ring--b circle { stroke: rgba(123, 92, 255, .5); stroke-dasharray: 90 40 10 40; }
.hud-ring--c { inset: -8%; width: 116%; height: 116%; animation: spin 90s linear infinite; }
.hud-ring--c circle { stroke: rgba(255, 255, 255, .1); stroke-dasharray: 1 3; }
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: 30px; }
.hero__title { font-size: clamp(52px, 10.5vw, 150px); font-weight: 900; line-height: 1.08; letter-spacing: -.01em; }
.hero__title .line { display: block; overflow: hidden; padding: .04em 0 .08em; }
.hero__title .line__in { display: inline-block; transform: translateY(110%) skewY(6deg); transition: transform 1.4s var(--ease); }
.is-loaded .hero__title .line__in { transform: none; }
.is-loaded .hero__title .line:nth-child(2) .line__in { transition-delay: .12s; }
.hero__en { margin-top: 18px; font-family: var(--en); font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .5em; color: var(--muted); min-height: 1.6em; }
.hero__lead { max-width: 560px; margin-top: 28px; color: #c5cae8; font-size: clamp(14px, 1.2vw, 16px); line-height: 2.1; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.hero__lead, .hero__btns, .hero__eyebrow, .hero__meta, .hero__scroll { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-loaded .hero__eyebrow { opacity: 1; transform: none; transition-delay: .1s; }
.is-loaded .hero__lead { opacity: 1; transform: none; transition-delay: .5s; }
.is-loaded .hero__btns { opacity: 1; transform: none; transition-delay: .65s; }
.is-loaded .hero__meta, .is-loaded .hero__scroll { opacity: 1; transform: none; transition-delay: .9s; }
.hero__meta { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: 40px; display: flex; gap: 48px; max-width: var(--wrap); margin: 0 auto; font-family: var(--en); }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta .k { font-size: 10px; letter-spacing: .3em; color: var(--dim); }
.hero__meta .v { font-size: 13px; letter-spacing: .14em; display: inline-flex; align-items: center; gap: 8px; }
.live { width: 6px; height: 6px; border-radius: 50%; background: #3dff9c; box-shadow: 0 0 10px #3dff9c; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero__scroll { position: absolute; z-index: 2; right: var(--gut); bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--en); font-size: 10px; letter-spacing: .3em; writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 70px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--cyan); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }
@media (max-width: 767px) {
  .hero { align-items: flex-end; padding-bottom: 112px; }
  .hero__vignette { background: radial-gradient(120% 90% at 50% 40%, transparent 55%, var(--bg) 100%), linear-gradient(to bottom, transparent 30%, rgba(5, 6, 11, .55) 55%, var(--bg) 100%); }
  .hero__hud { width: 100vw; right: 50%; top: 22%; transform: translate(50%, -50%); }
  .hero__meta { gap: 20px; bottom: 28px; }
  .hero__meta div:first-child { display: none; }
  .hero__scroll { display: none; }
  .hero__en { letter-spacing: .3em; }
  .hero__btns .btn { flex: 1 1 100%; }
}

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 3; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .015); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--en); font-weight: 700; font-size: clamp(24px, 3.4vw, 44px); letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); white-space: nowrap; transition: color .4s; }
.marquee span:nth-child(4n+1) { color: var(--text); -webkit-text-stroke: 0; }
.marquee b { color: var(--violet); font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about__text .h2 { margin-bottom: 34px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
.pillars li { padding: 20px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); display: flex; flex-direction: column; gap: 2px; }
.pillars li:nth-child(2) { transition-delay: .1s; }
.pillars li:nth-child(3) { transition-delay: .2s; }
.pillars__n { font-family: var(--en); font-size: 11px; color: var(--cyan); letter-spacing: .2em; }
.pillars b { font-family: var(--en); font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .08em; }
.pillars small { font-size: 12px; color: var(--muted); }
.about__visual { position: relative; }
.about__visual img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 40px 80px rgba(123, 92, 255, .35)); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -18px; rotate: 2deg; } }
.about__halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 255, .35), transparent 65%); filter: blur(30px); }
.tag { position: absolute; z-index: 2; font-family: var(--en); font-size: 11px; letter-spacing: .2em; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(5, 6, 11, .6); backdrop-filter: blur(8px); }
.tag--a { top: 12%; left: 0; }
.tag--b { bottom: 14%; right: 4%; color: var(--cyan); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 520px; margin: 0 auto; order: -1; }
}

/* ---------- service cards ---------- */
.service::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 15% 20%, rgba(60, 240, 255, .06), transparent 70%), radial-gradient(50% 40% at 85% 80%, rgba(123, 92, 255, .08), transparent 70%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }
.cards > *:nth-child(3n+2) { transition-delay: .08s; }
.cards > *:nth-child(3n+3) { transition-delay: .16s; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 36px 32px 34px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  transform-style: preserve-3d; will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(60, 240, 255, .9), rgba(123, 92, 255, .5) 30%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s;
}
.card__glow { position: absolute; inset: 0; z-index: -2; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(123, 92, 255, .16), transparent 60%); opacity: 0; transition: opacity .5s; }
.card:hover::before, .card:hover .card__glow { opacity: 1; }
.card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; font-family: var(--en); }
.card__n { font-size: 44px; font-weight: 300; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card__en { font-size: 10px; letter-spacing: .24em; color: var(--dim); text-align: right; }
.card__title { font-size: 22px; font-weight: 900; margin-bottom: 14px; letter-spacing: .04em; }
.card__text { color: var(--muted); font-size: 14px; line-height: 2; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.card__tags li { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: #c5cae8; }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .card { padding: 30px 24px; } .card__head { margin-bottom: 28px; } }

/* ---------- product ---------- */
.product { overflow: hidden; }
.product__bg { position: absolute; inset: 0; background: radial-gradient(50% 60% at 30% 50%, rgba(123, 92, 255, .2), transparent 70%), linear-gradient(to bottom, var(--bg), var(--bg-2) 50%, var(--bg)); }
.product__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(60% 60% at 30% 50%, #000, transparent); -webkit-mask-image: radial-gradient(60% 60% at 30% 50%, #000, transparent); opacity: .25; }
.product__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.product__visual { position: relative; aspect-ratio: 1; }
.product__img { position: relative; z-index: 2; width: 100%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 70px rgba(60, 240, 255, .25)); }
.product__rings { position: absolute; inset: -6%; z-index: 1; }
.product__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(60, 240, 255, .18); }
.product__rings i:nth-child(1) { animation: ringPulse 4s var(--ease) infinite; }
.product__rings i:nth-child(2) { animation: ringPulse 4s var(--ease) 1.3s infinite; border-color: rgba(123, 92, 255, .25); }
.product__rings i:nth-child(3) { animation: ringPulse 4s var(--ease) 2.6s infinite; border-color: rgba(255, 79, 184, .2); }
@keyframes ringPulse { 0% { transform: scale(.55); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
.product__scan { position: absolute; z-index: 3; left: 18%; right: 18%; top: 10%; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 20px var(--cyan); opacity: .7; animation: scan 4.5s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes scan { 0%, 100% { top: 14%; opacity: 0; } 10%, 90% { opacity: .7; } 50% { top: 70%; } }
.badge { font-style: normal; font-size: 10px; letter-spacing: .2em; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 79, 184, .5); color: var(--magenta); margin-left: 6px; }
.product__name { display: block; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.35; }
.product__en { display: block; margin-top: 8px; font-family: var(--en); font-size: clamp(12px, 1.2vw, 15px); font-weight: 500; letter-spacing: .4em; color: var(--muted); }
.product__text .h2 { margin-bottom: 30px; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.spec li { background: var(--bg); padding: 22px 18px; }
.spec li:nth-child(2) { transition-delay: .1s; }
.spec li:nth-child(3) { transition-delay: .2s; }
.spec b { display: block; font-family: var(--en); font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spec b small { font-size: .4em; font-family: var(--ja); }
.spec span { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.spec--text b { font-size: clamp(18px, 1.8vw, 22px); letter-spacing: .12em; }
.spec--text span { font-size: 14px; color: var(--text); }
.note { margin-top: 20px; font-size: 11px; color: var(--dim); line-height: 1.8; }
@media (max-width: 900px) {
  .product__grid { grid-template-columns: 1fr; }
  .product__visual { max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; } .spec li { display: flex; align-items: center; gap: 18px; } .spec span { margin: 0; } .spec b { min-width: 4.2em; } }

/* ---------- strength ---------- */
.strength__list { border-top: 1px solid var(--line); }
.why { position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 44px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.why__n { font-family: var(--en); font-size: clamp(44px, 6vw, 84px); font-weight: 300; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .25); transition: color .6s, -webkit-text-stroke-color .6s; }
.why:hover .why__n { color: var(--cyan); -webkit-text-stroke-color: transparent; text-shadow: 0 0 40px rgba(60, 240, 255, .5); }
.why__body { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px 40px; align-items: start; }
.why__en { grid-column: 1; font-family: var(--en); font-size: 12px; letter-spacing: .28em; color: var(--cyan); }
.why__title { grid-column: 1; font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; }
.why__text { grid-column: 2; grid-row: 1 / 3; color: var(--muted); font-size: 15px; }
.why__line { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.why:hover .why__line { transform: scaleX(1); }
.why:nth-child(2) { transition-delay: .08s; }
.why:nth-child(3) { transition-delay: .16s; }
.why:nth-child(4) { transition-delay: .24s; }
@media (max-width: 767px) {
  .why { grid-template-columns: 1fr; gap: 10px; padding: 34px 0; }
  .why__body { grid-template-columns: 1fr; }
  .why__text { grid-column: 1; grid-row: auto; }
}

/* ---------- flow ---------- */
.flow__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: f; }
.flow__list::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--line); }
.flow__list::after { content: ""; position: absolute; top: 9px; left: 0; width: 100%; height: 1px; background: var(--grad); transform: scaleX(var(--flow, 0)); transform-origin: left; box-shadow: 0 0 12px var(--cyan); }
.flow__list li { position: relative; padding-top: 44px; }
.flow__list li::before { content: ""; position: absolute; top: 3px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--cyan); box-shadow: 0 0 14px rgba(60, 240, 255, .6); }
.flow__list li:nth-child(2) { transition-delay: .1s; }
.flow__list li:nth-child(3) { transition-delay: .2s; }
.flow__list li:nth-child(4) { transition-delay: .3s; }
.flow__n { font-family: var(--en); font-size: 12px; letter-spacing: .24em; color: var(--cyan); }
.flow__list h3 { font-size: 21px; font-weight: 900; margin: 8px 0 12px; }
.flow__list p { color: var(--muted); font-size: 14px; line-height: 2; }
@media (max-width: 900px) {
  .flow__list { grid-template-columns: 1fr; gap: 0; padding-left: 34px; }
  .flow__list::before, .flow__list::after { top: 0; bottom: 0; left: 6px; width: 1px; height: auto; right: auto; }
  .flow__list::after { transform: scaleY(var(--flow, 0)); transform-origin: top; }
  .flow__list li { padding: 0 0 44px; }
  .flow__list li::before { left: -34px; top: 6px; }
}

/* ---------- news ---------- */
.news__grid, .company-sum__grid { display: grid; grid-template-columns: 320px 1fr; gap: 60px; }
.news__grid .sec-head, .company-sum__grid .sec-head { margin: 0; }
.news__grid .h2, .company-sum__grid .h2 { margin-bottom: 26px; }
.news__list { border-top: 1px solid var(--line); }
.news__list li { border-bottom: 1px solid var(--line); }
.news__list li:nth-child(2) { transition-delay: .06s; }
.news__list li:nth-child(3) { transition-delay: .12s; }
.news__list li:nth-child(4) { transition-delay: .18s; }
.news__list a, .news__empty { position: relative; display: grid; grid-template-columns: 110px 90px 1fr 24px; gap: 16px; align-items: center; padding: 28px 8px; transition: padding .5s var(--ease), background .5s; }
.news__list a:hover { padding-left: 20px; background: linear-gradient(90deg, rgba(60, 240, 255, .06), transparent); }
.news__list time { font-family: var(--en); font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.news__cat { justify-self: start; font-family: var(--en); font-size: 10px; letter-spacing: .16em; padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--cyan); }
.news__title { font-size: 15px; line-height: 1.7; }
.empty { color: var(--muted); }
@media (max-width: 900px) {
  .news__grid, .company-sum__grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .news__list a, .news__empty { grid-template-columns: auto 1fr 20px; gap: 6px 14px; padding: 22px 4px; }
  .news__title { grid-column: 1 / 3; }
  .news__list .arrow { grid-row: 1 / 3; grid-column: 3; }
}
.pager { margin-top: 48px; }
.pager .nav-links { display: flex; gap: 8px; justify-content: center; font-family: var(--en); }
.pager .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.pager .current { background: var(--grad); color: #05060b; border: 0; }

/* ---------- dl ---------- */
.dl { border-top: 1px solid var(--line); }
.dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 26px 8px; border-bottom: 1px solid var(--line); }
.dl dt { font-size: 13px; color: var(--muted); letter-spacing: .12em; }
.dl dd { font-size: 15px; }
.dl dd small { display: block; color: var(--dim); font-family: var(--en); font-size: 12px; letter-spacing: .1em; margin-top: 2px; }
.dl a { color: var(--cyan); border-bottom: 1px solid currentColor; }
.biz-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px; }
.biz-list li { position: relative; padding-left: 16px; }
.biz-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--cyan); }
@media (max-width: 600px) { .dl > div { grid-template-columns: 1fr; gap: 4px; } .biz-list { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 200px) 0; text-align: center; border-top: 1px solid var(--line); }
.cta__orb { position: absolute; left: 50%; top: 50%; width: min(900px, 140vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--magenta), var(--cyan)); filter: blur(120px); opacity: .28; animation: spin 18s linear infinite; }
.cta__inner { position: relative; }
.cta__title { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 30px; }
.cta__en { font-family: var(--en); font-weight: 700; font-size: clamp(34px, 7vw, 96px); line-height: 1.05; letter-spacing: -.01em; min-height: 1.05em; }
.cta__ja { font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; }
.cta__lead { color: #c5cae8; max-width: 640px; margin: 0 auto 44px; }

/* ---------- footer ---------- */
.site-footer { position: relative; padding: 90px 0 36px; border-top: 1px solid var(--line); background: #030409; overflow: hidden; }
.site-footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer__addr { margin-top: 20px; font-size: 13px; color: var(--muted); line-height: 1.9; }
.site-footer__nav { display: flex; gap: 60px; flex-wrap: wrap; }
.fnav { display: flex; flex-direction: column; gap: 10px; }
.fnav a { font-size: 14px; transition: color .3s; }
.fnav .en { font-family: var(--en); letter-spacing: .14em; }
.fnav .ja { display: none; }
.fnav a:hover { color: var(--cyan); }
.fnav--sub a { color: var(--muted); font-size: 13px; }
.site-footer__big { margin: 70px 0 20px; font-family: var(--en); font-weight: 700; font-size: clamp(64px, 17vw, 260px); line-height: .9; letter-spacing: -.03em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); background: linear-gradient(90deg, rgba(60, 240, 255, .18), rgba(123, 92, 255, .18), rgba(255, 79, 184, .18)); -webkit-background-clip: text; background-clip: text; user-select: none; white-space: nowrap; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); font-family: var(--en); font-size: 12px; color: var(--dim); letter-spacing: .1em; }
.to-top { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .24em; color: var(--muted); }
.to-top:hover { color: var(--cyan); }

/* ---------- page hero (下層) ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(80px, 12vw, 150px)) 0 clamp(60px, 8vw, 100px); border-bottom: 1px solid var(--line); }
.page-hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(80% 90% at 70% 0%, #000, transparent 75%); -webkit-mask-image: radial-gradient(80% 90% at 70% 0%, #000, transparent 75%); }
.page-hero__glow { position: absolute; right: -10%; top: -40%; width: 70vw; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 90deg, var(--cyan), var(--violet), var(--magenta), var(--cyan)); filter: blur(140px); opacity: .22; animation: spin 24s linear infinite; }
.page-hero .wrap { position: relative; }
.page-hero__title { font-family: var(--en); font-weight: 700; font-size: clamp(52px, 11vw, 150px); line-height: 1; letter-spacing: -.02em; min-height: 1em; }
.page-hero__lead { margin-top: 24px; color: var(--muted); max-width: 640px; }
.post-title { font-size: clamp(26px, 3.6vw, 42px); font-weight: 900; line-height: 1.5; }

/* ---------- service page ---------- */
.svc-index { position: sticky; top: var(--header-h); z-index: 20; background: rgba(5, 6, 11, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.svc-index ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; }
.svc-index ul::-webkit-scrollbar { display: none; }
.svc-index a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-size: 13px; color: var(--muted); transition: color .3s, background .3s; }
.svc-index a span { font-family: var(--en); font-size: 11px; color: var(--cyan); }
.svc-index a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.svc { display: grid; grid-template-columns: minmax(160px, 1fr) 2.2fr; gap: 40px; padding: clamp(60px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 70px); }
.svc:first-child { padding-top: 0; }
.svc__num { font-family: var(--en); font-weight: 300; font-size: clamp(90px, 14vw, 200px); line-height: .85; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.svc .h2 { margin-bottom: 24px; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 10px; }
.svc__tags li { padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; background: var(--panel); }
.svc__tags li:nth-child(2) { transition-delay: .08s; }
.svc__tags li:nth-child(3) { transition-delay: .16s; }
@media (max-width: 767px) { .svc { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- company page ---------- */
.message { position: relative; padding: clamp(36px, 6vw, 72px); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(123, 92, 255, .1), rgba(255, 255, 255, .02) 50%); overflow: hidden; }
.message .h2 { margin-bottom: 30px; }
.message__body p { color: #c5cae8; line-height: 2.2; }
.message__body p + p { margin-top: 1.2em; }
.message__sign { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-end; }
.message__sign small { color: var(--muted); font-size: 12px; }
.message__sign b { font-size: 24px; letter-spacing: .2em; }
.ceo-name { display: inline-block; vertical-align: middle; }
.message__sign .ceo-name { margin-top: 6px; }
.section .h2 + .dl { margin-top: 44px; }
.map { margin-top: 36px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 8; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(190deg) saturate(.6) brightness(.95); }
.map__addr { margin-top: 16px; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- form ---------- */
.form { display: flex; flex-direction: column; gap: 26px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 26px; background: var(--panel); }
.form__row { display: flex; flex-direction: column; gap: 10px; border: 0; margin: 0; padding: 0; }
.form__row legend, .form__label { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.form__label { margin: 0; }
.form__label em { font-style: normal; font-size: 10px; padding: 2px 8px; margin-left: 8px; border-radius: 4px; background: var(--grad); color: #05060b; vertical-align: 2px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 6, 11, .6); color: var(--text); font: inherit; font-size: 16px; transition: border-color .3s, box-shadow .3s;
}
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(60, 240, 255, .12); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; cursor: pointer; transition: all .3s; }
.chip input:checked + span { background: var(--grad); color: #05060b; border-color: transparent; font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.agree { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; }
.agree input { width: 18px; height: 18px; accent-color: var(--violet); }
.agree a { color: var(--cyan); border-bottom: 1px solid currentColor; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 36px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--panel); margin-bottom: 30px; }
.notice h2 { font-size: 24px; margin-bottom: 14px; }
.notice p { color: var(--muted); margin-bottom: 26px; }
.notice--ok { text-align: center; border-color: rgba(60, 240, 255, .4); }
.notice--err { border-color: rgba(255, 79, 184, .5); color: #ffc2e4; padding: 20px 24px; }

/* ---------- entry (本文) ---------- */
.entry { color: #d4d8f0; line-height: 2.1; }
.entry > * + * { margin-top: 1.4em; }
.entry h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; padding-left: 18px; border-left: 3px solid; border-image: var(--grad) 1; margin-top: 2.4em; line-height: 1.6; }
.entry h3 { font-size: 19px; margin-top: 2em; }
.entry a { color: var(--cyan); border-bottom: 1px solid currentColor; }
.entry ul { list-style: disc; padding-left: 1.4em; }
.entry ol { list-style: decimal; padding-left: 1.4em; }
.entry img { border-radius: 14px; }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { border: 1px solid var(--line-2); padding: 12px 14px; text-align: left; }
.post-thumb { margin-bottom: 40px; border-radius: 20px; overflow: hidden; }
.back { margin-top: 70px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
