/* ============================================================
   mo7.jp — Kawaii Cosmic Motion (2026-09)
   アニメーションの振り付けは js/site.js、WebGL は js/hero-gl.js
   ============================================================ */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --pink:    #f472b6;
  --magenta: #d946ef;
  --purple:  #a855f7;
  --blue:    #818cf8;
  --cyan:    #22d3ee;
  --gold:    #fbbf24;
  --dark:    #0c0a1a;
  --dark-2:  #141029;
  --card:    rgba(22, 17, 48, .62);
  --glass:   rgba(255,255,255,.06);
  --line:    rgba(255,255,255,.09);
  --text:    #f3eeff;
  --muted:   #aaa4c6;
  --radius:  1.2rem;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --spring:   cubic-bezier(.34,1.56,.64,1);
  --display: 'Dela Gothic One', 'M PLUS Rounded 1c', sans-serif;
  --glow-sm: 0 0 20px rgba(217,70,239,.25);
  --glow-md: 0 0 40px rgba(217,70,239,.3), 0 0 80px rgba(168,85,247,.15);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* スマホで横スクロールさせない。body に overflow を付けると sticky が効かなくなるので html（=viewport）で止める */
html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.75;
}
a { color: var(--pink); text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
::selection { background: var(--magenta); color: #fff; }

/* 言語ごとの出し分け（衣装名など PHP で両方出しているもの） */
html[lang="ja"] .l-en, html[lang="en"] .l-ja { display: none; }

/* ---------- Layers ---------- */
/* ショーリールをページ全体の背景に薄く。スクロールで JS がゆっくりズーム・移動させる */
.bg-reel { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--dark); }
.bg-reel video { width: 100%; height: 100%; object-fit: cover; opacity: .8; transform: scale(1.06); will-change: transform, opacity; }
/* ファーストビューでは動画をはっきり見せ、文字の下（左側と下端）だけ暗くして読みやすくする */
.bg-reel::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,10,26,.72) 0%, rgba(12,10,26,.35) 45%, rgba(12,10,26,.05) 100%),
    linear-gradient(180deg, rgba(12,10,26,.25) 0%, transparent 25%, transparent 60%, rgba(12,10,26,.75) 100%);
}
@media (max-width: 860px) {
  .bg-reel::after { background: linear-gradient(180deg, rgba(12,10,26,.2) 0%, transparent 30%, rgba(12,10,26,.85) 75%); }
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{background-position:0 0} 25%{background-position:-40px 30px} 50%{background-position:30px -45px} 75%{background-position:-30px -15px} 100%{background-position:15px 45px} }
/* 画面外にはみ出す装飾（巨大なアウトライン文字・フィルムの横移動・光のにじみ）はここで切る */
main, footer { position: relative; z-index: 2; overflow-x: clip; }
@supports not (overflow-x: clip) {
  main, footer { overflow-x: hidden; }
}

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 20000; display: flex; align-items: center; justify-content: center;
  pointer-events: all;
}
#loader .loader-shutter {
  position: absolute; left: 0; right: 0; height: 50.5%; background: var(--dark); z-index: -1;
}
#loader .loader-shutter.top { top: 0; }
#loader .loader-shutter.bottom { bottom: 0; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader-chibi { width: 110px; animation: hop .6s var(--ease-out) infinite alternate; filter: drop-shadow(0 10px 20px rgba(244,114,182,.35)); }
@keyframes hop { from { transform: translateY(0) scale(1, 1); } to { transform: translateY(-16px) scale(.96, 1.04); } }
.slot { display: flex; align-items: flex-end; gap: 2px; }
.slot-col { width: 58px; height: 84px; overflow: hidden; }
.slot-strip { display: flex; flex-direction: column; transition: transform .45s var(--spring); }
.slot-strip img { height: 84px; width: 58px; object-fit: contain; flex: none; }
.slot-pct { font-family: var(--display); font-size: 28px; color: var(--gold); margin-left: 6px; text-shadow: 0 0 18px rgba(251,191,36,.6); }
.loader-caption { font-size: 11px; letter-spacing: .45em; color: var(--muted); font-weight: 700; }
.loader-caption .dots i { font-style: normal; animation: blink 1s infinite; }
.loader-caption .dots i:nth-child(2) { animation-delay: .2s; }
.loader-caption .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .15; } }
html:not(.js) #loader { display: none; }

/* ---------- Sparkles ---------- */
#sparkle { position: fixed; inset: 0; z-index: 9998; pointer-events: none; }

/* ---------- Navbar (Liquid Glass) ---------- */
nav.topnav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100; pointer-events: none;
  transition: transform .5s var(--ease-out);
}
nav.topnav.hidden { transform: translateY(-140%); }
.nav-inner {
  max-width: 1280px; margin: auto; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; gap: 1rem;
}
.nav-inner > * { pointer-events: auto; }
.nav-logo {
  font-weight: 900; font-size: 1.02rem; color: var(--text); display: flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem; border-radius: 99px; background: rgba(12,10,26,.45);
  backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid var(--line); white-space: nowrap;
}
.nav-logo .heart { color: var(--pink); animation: beat 1.4s infinite; display: inline-flex; }
@keyframes beat { 0%,100%{transform:scale(1)} 15%{transform:scale(1.25)} 30%{transform:scale(1)} 45%{transform:scale(1.15)} }
.nav-glass {
  position: relative; display: flex; gap: .15rem; padding: .35rem; border-radius: 99px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  backdrop-filter: blur(10px) saturate(1.8) brightness(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.8) brightness(1.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(255,255,255,.08), inset 0 0 18px rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
}
.nav-glass.liquid { backdrop-filter: url(#liquid-glass) blur(3px) saturate(1.8) brightness(1.1); }
.nav-glass a {
  position: relative; z-index: 1; color: var(--muted); font-size: .8rem; font-weight: 700;
  padding: .45rem .9rem; border-radius: 99px; white-space: nowrap; transition: color .25s;
}
.nav-glass a i { font-size: .72rem; margin-right: .15rem; opacity: .8; }
.nav-glass a:hover, .nav-glass a.active { color: #fff; }
.nav-indicator {
  position: absolute; top: .35rem; bottom: .35rem; left: 0; width: 0; border-radius: 99px; z-index: 0;
  background: linear-gradient(135deg, rgba(244,114,182,.85), rgba(168,85,247,.85));
  box-shadow: 0 0 20px rgba(217,70,239,.5), inset 0 1px 0 rgba(255,255,255,.4);
  opacity: 0; transition: opacity .3s;
}
.nav-right { display: flex; align-items: center; gap: .6rem; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(12,10,26,.45); border: 1px solid rgba(255,255,255,.14); border-radius: 50px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: .5rem .85rem; cursor: pointer; font-size: .75rem; color: var(--muted); font-weight: 700; transition: border-color .2s;
}
.lang-toggle:hover { border-color: var(--pink); }
.lang-div { opacity: .3; }
.lang-option.active { color: var(--pink); }
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: rgba(12,10,26,.45); border: 1px solid rgba(255,255,255,.14); border-radius: 50%;
  backdrop-filter: blur(14px); cursor: pointer; width: 42px; height: 42px;
}
.nav-hamburger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); background: var(--pink); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); background: var(--pink); }

.mob-overlay { position: fixed; inset: 0; z-index: 98; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.mob-overlay.open { opacity: 1; pointer-events: auto; }
.mob-menu {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99; background: rgba(12,10,26,.94);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 5.5rem 2rem 2.5rem; border-bottom: 1px solid var(--line);
  clip-path: circle(0% at calc(100% - 44px) 36px); transition: clip-path .6s var(--ease-out); pointer-events: none;
}
.mob-menu.open { clip-path: circle(150% at calc(100% - 44px) 36px); pointer-events: auto; }
.mob-menu a {
  display: flex; align-items: center; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.05);
  color: var(--text); font-size: 1.05rem; font-weight: 700; transition: color .2s, padding-left .2s;
}
.mob-menu a:last-child { border-bottom: none; }
.mob-menu a:hover { color: var(--pink); padding-left: .4rem; }
.mob-menu a i { color: var(--magenta); width: 1.2rem; text-align: center; }

@media (max-width: 1100px) { .nav-glass a i { display: none; } .nav-glass a { padding: .45rem .7rem; } }
@media (max-width: 900px) {
  .nav-glass { display: none; }
  .nav-hamburger { display: flex; }
}

/* ---------- Shared ---------- */
.sec { padding: 8rem 1.5rem; position: relative; }
.container { max-width: 1140px; margin: auto; position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .25em; color: var(--pink); margin-bottom: .9rem;
  font-variant-numeric: tabular-nums;
}
.section-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.2; letter-spacing: .01em;
  color: #fff; margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(217,70,239,.35);
}
.section-sub { color: var(--muted); max-width: 620px; font-size: .98rem; }
.sub-heading { font-size: 1.15rem; font-weight: 900; margin: 3.5rem 0 1.3rem; display: flex; align-items: center; gap: .6rem; }
.sub-heading::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--pink), var(--cyan)); }
.sub-heading.center { justify-content: center; }
.ghost-word {
  position: absolute; top: 2.5rem; right: -2vw; font-family: var(--display);
  font-size: clamp(5rem, 17vw, 16rem); line-height: 1; color: transparent; pointer-events: none; user-select: none;
  -webkit-text-stroke: 1px rgba(244,114,182,.18); white-space: nowrap; z-index: 0;
}
/* SplitText の文字マスク */
.split-title .char-mask, .hero-title .char-mask { display: inline-block; overflow: clip; overflow-clip-margin: .15em; vertical-align: bottom; }
.split-title .char, .hero-title .char { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.9rem; border-radius: 50px; font-weight: 900; font-size: .92rem;
  cursor: pointer; border: none; transition: box-shadow .3s, background .3s, border-color .3s; isolation: isolate;
}
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.02rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--magenta) 60%, var(--purple)); color: #fff;
  box-shadow: 0 6px 24px rgba(217,70,239,.4), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(217,70,239,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-ghost { background: rgba(12,10,26,.35); color: var(--pink); border: 2px solid rgba(244,114,182,.45); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(244,114,182,.12); border-color: var(--pink); }

/* ---------- HERO（シンプル：背景のショーリール＋タイポ） ---------- */
.hero { position: relative; z-index: 2; min-height: 100svh; display: flex; align-items: center; padding: 7rem 1.5rem 6rem; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 1240px; width: 100%; margin: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; font-size: .74rem; font-weight: 900; letter-spacing: .3em;
  color: var(--cyan); padding: .4rem 1rem; border-radius: 99px; border: 1px solid rgba(34,211,238,.35);
  background: rgba(12,10,26,.4); margin-bottom: 1.6rem; backdrop-filter: blur(6px);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: blink 1.6s infinite; }
.hero-title { font-family: var(--display); font-weight: 400; line-height: 1.08; margin-bottom: 1.6rem; }
.hero-title .line1 {
  display: block; font-size: clamp(2.3rem, 6.2vw, 6rem);
  background: linear-gradient(120deg, #fff 10%, var(--pink) 45%, var(--magenta) 70%, var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(217,70,239,.35));
}
html[lang="ja"] .hero-title .line1 { white-space: nowrap; }
/* 分割後は1文字ずつにグラデを持たせる（位置は JS で連続するように割り振る） */
.hero-title .line1.is-split { background: none; }
.hero-title .line1 .char {
  background-image: linear-gradient(120deg, #fff 10%, var(--pink) 45%, var(--magenta) 70%, var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* 日本語の塊は途中で折り返せるよう inline に。英単語は inline-block のまま（単語の途中で切れない） */
.w-cjk { display: inline !important; }
.hero-title .line2 { text-shadow: 0 2px 18px rgba(12,10,26,.8); display: block; font-size: clamp(1.4rem, 3vw, 2.8rem); color: var(--blue); margin-top: .4rem; }
.hero-title .line2 .x { color: var(--pink); display: inline-block; }
.hero-sub { color: var(--text); opacity: .92; text-shadow: 0 1px 3px rgba(12,10,26,.9), 0 2px 16px rgba(12,10,26,.7); font-size: clamp(.95rem, 1.4vw, 1.1rem); margin-bottom: 2.2rem; max-width: 560px; }
.hero-sub-line { display: block; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
/* 画面下にはみ出す巨大なアウトライン文字 */
.hero-mega {
  position: absolute; right: -1vw; bottom: -5.5vw; z-index: 1; pointer-events: none; user-select: none;
  font-family: var(--display); font-size: 27vw; line-height: 1; letter-spacing: -.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244,114,182,.32);
}
.scroll-hint {
  position: absolute; right: 2rem; bottom: 2rem; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--muted); font-size: .7rem; letter-spacing: .2em; z-index: 3; writing-mode: vertical-rl;
}
.scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--pink), transparent); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 1.8s var(--ease-out) infinite; }
@keyframes drip { to { top: 110%; } }
/* ブート前は文字を隠しておく（イントロで出す） */
html.js:not(.reduced):not(.booted) .hero-inner,
html.js:not(.reduced):not(.booted) .hero-mega,
html.js:not(.reduced):not(.booted) .scroll-hint { opacity: 0; }
@media (max-width: 860px) {
  .hero { align-items: flex-end; padding-bottom: 5rem; }
  .hero-inner { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-mega { right: auto; left: 50%; translate: -50% 0; bottom: auto; top: 16vh; font-size: 30vw; }
  .scroll-hint { display: none; }
}

/* ---------- Marquee band ---------- */
.marquee-band { position: relative; z-index: 2; padding: 2.5rem 0; overflow: hidden; }
.marquee {
  display: flex; overflow: hidden; white-space: nowrap; padding: .9rem 0; transform: rotate(-2.5deg) scale(1.05);
  background: linear-gradient(90deg, var(--pink), var(--magenta), var(--purple)); box-shadow: 0 10px 40px rgba(217,70,239,.35);
}
.marquee.alt { transform: rotate(2deg) scale(1.05); margin-top: -.6rem; background: rgba(12,10,26,.85); border-block: 1px solid rgba(244,114,182,.35); box-shadow: none; }
.marquee-track { display: flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; flex: none; will-change: transform; }
.marquee-track span { font-family: var(--display); font-size: clamp(1.4rem, 3.4vw, 2.6rem); color: #fff; line-height: 1; }
.marquee.alt .marquee-track span { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.75); }
.marquee-track i { font-style: normal; color: var(--dark); font-size: 1.6rem; }
.marquee.alt .marquee-track i { color: var(--pink); }

/* ---------- Holo card（トレカ風の傾き＋ホログラム） ---------- */
.holo-card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --o: 0; perspective: 900px; display: block; border: none; background: none; padding: 0; color: inherit; text-align: left; }
.holo-inner {
  position: relative; display: block; overflow: hidden; border-radius: 20px;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.14) inset;
  transition: box-shadow .3s;
}
.holo-card:hover .holo-inner { box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 40px rgba(217,70,239,.35), 0 0 0 1px rgba(255,255,255,.3) inset; }
.holo-foil {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: calc(var(--o) * .75);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.25), transparent 40%),
    repeating-linear-gradient(115deg,
      hsl(330 90% 65% / .55) 0%, hsl(50 95% 65% / .55) 5%, hsl(170 90% 60% / .55) 10%,
      hsl(230 90% 70% / .55) 15%, hsl(290 90% 70% / .55) 20%, hsl(330 90% 65% / .55) 25%);
  background-size: 100% 100%, 400% 400%;
  background-position: center, var(--mx) var(--my);
  filter: brightness(.75) contrast(1.5) saturate(1.2);
  transition: opacity .3s;
}
.holo-glare {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: var(--o);
  background: radial-gradient(farthest-corner circle at var(--mx) var(--my), rgba(255,255,255,.8) 0%, rgba(255,255,255,.2) 25%, rgba(0,0,0,.35) 90%);
  transition: opacity .3s;
}

/* ---------- PROFILE ---------- */
.profile-grid > * { min-width: 0; }
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 4rem; align-items: start; position: relative; z-index: 1; }
.profile-side { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.profile-card { width: 100%; max-width: 320px; }
.profile-card .holo-inner { aspect-ratio: 5 / 7; background: linear-gradient(160deg, #3b1d5e, #1a1236); padding: 12px; }
.profile-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 2px solid rgba(251,191,36,.6); }
.profile-card-meta { padding: 1rem .4rem .2rem; display: flex; flex-direction: column; gap: .2rem; }
.pc-no { font-size: .66rem; letter-spacing: .3em; color: var(--gold); font-weight: 900; }
.profile-name { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.2; }
.pc-role { font-size: .7rem; letter-spacing: .28em; color: var(--pink); font-weight: 900; }
.profile-card .holo-inner::after {
  content: ''; position: absolute; inset: 5px; border-radius: 16px; border: 1.5px solid rgba(251,191,36,.45); pointer-events: none;
}
.profile-social { display: flex; gap: .8rem; }
.profile-social a, .footer-links a {
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  border: 2px solid rgba(244,114,182,.35); color: var(--text); background: rgba(12,10,26,.4); font-size: 1rem;
  transition: color .25s, border-color .25s, background .25s;
}
.profile-social a:hover, .footer-links a:hover { color: #fff; border-color: var(--pink); background: rgba(244,114,182,.2); }
.profile-desc { font-size: clamp(1.02rem, 1.8vw, 1.32rem); font-weight: 700; line-height: 1.95; margin-bottom: 3rem; color: var(--text); }
.lit-text .char { transition: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.stat {
  display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1.3rem .6rem 1rem;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.stat-label { font-size: .74rem; color: var(--muted); font-weight: 700; text-align: center; line-height: 1.4; }
.pachi { display: flex; height: 58px; filter: drop-shadow(0 4px 14px rgba(251,191,36,.3)); }
.pachi-col { width: 38px; height: 58px; overflow: hidden; }
.pachi-strip { display: flex; flex-direction: column; will-change: transform; }
.pachi-strip img { width: 38px; height: 58px; object-fit: contain; flex: none; }
.pachi-plus { font-family: var(--display); color: var(--gold); font-size: 1.3rem; align-self: flex-start; margin-left: 2px; }

.cpp-card {
  position: relative; background: linear-gradient(135deg, rgba(217,70,239,.14), rgba(34,211,238,.06));
  border: 1px solid rgba(217,70,239,.28); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 1.2rem; overflow: hidden;
}
.cpp-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%);
  background-size: 250% 100%; animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
.cpp-card-header { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.cpp-card-header .crown { font-size: 1.5rem; display: inline-block; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) translateY(-3px); } }
.cpp-card-header strong { font-size: 1rem; display: block; }
.cpp-card-header small { display: block; color: var(--muted); font-size: .75rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem .35rem .45rem; border-radius: 50px;
  font-size: .76rem; font-weight: 700; background: rgba(12,10,26,.55); color: var(--text); border: 1px solid rgba(217,70,239,.3);
  transition: translate .3s var(--spring), scale .3s var(--spring), border-color .3s;
}
.badge:hover { translate: 0 -3px; scale: 1.05; border-color: var(--pink); }
.badge img { height: 24px; width: auto; max-width: 60px; border-radius: 4px; object-fit: contain; }

.achieve-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 0 1.1rem; margin-bottom: 1.2rem; overflow: hidden; }
.achieve-label { font-size: .85rem; font-weight: 900; color: var(--pink); margin: 0 1.4rem .8rem; display: flex; align-items: center; gap: .45rem; }
.logo-marquee { display: flex; flex-direction: column; gap: .55rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.achieve-items { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 1.4rem; }
.logo-row { display: flex; gap: .5rem; width: max-content; will-change: transform; }
.achieve-item {
  display: inline-flex; align-items: center; gap: .4rem; flex: none; padding: .3rem .8rem .3rem .45rem; font-size: .76rem; font-weight: 700;
  border-radius: 50px; background: rgba(217,70,239,.1); border: 1px solid rgba(217,70,239,.2); color: var(--text); white-space: nowrap;
}
.achieve-item img { height: 22px; width: auto; max-width: 52px; border-radius: 3px; object-fit: contain; }

.awards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.awards { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.awards-title { font-size: .88rem; font-weight: 900; color: var(--pink); margin-bottom: .8rem; display: flex; align-items: center; gap: .45rem; }
.awards ul { list-style: none; position: relative; padding-left: 1.4rem; }
.awards ul::before { content: ''; position: absolute; left: .38rem; top: .4rem; bottom: .4rem; width: 2px; border-radius: 2px; background: linear-gradient(var(--pink), var(--purple), transparent); transform-origin: top; transform: scaleY(var(--line-p, 1)); }
.awards li { position: relative; color: var(--muted); font-size: .84rem; margin-bottom: .6rem; line-height: 1.6; }
.awards li .award-icon { position: absolute; left: -1.4rem; top: .1rem; width: .95rem; height: .95rem; border-radius: 50%; background: var(--dark-2); display: flex; align-items: center; justify-content: center; color: var(--magenta); font-size: .55rem; box-shadow: 0 0 0 2px rgba(217,70,239,.4); }

@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .profile-side { position: relative; top: 0; }
  .profile-card { max-width: 260px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .awards-grid { grid-template-columns: 1fr; }
}

/* ---------- VIDEOS（全作品をフィルムストリップで一望） ---------- */
.works .container { max-width: 1320px; }
.film-reel { display: flex; flex-direction: column; gap: 1.6rem; }
.film-strip {
  --cols: 7;
  position: relative; background: #0b0917; padding: 24px 12px; border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.06);
}
.film-strip:nth-child(odd) { rotate: -.8deg; }
.film-strip:nth-child(even) { rotate: .6deg; }
.film-holes {
  position: absolute; left: 0; right: 0; height: 24px; pointer-events: none;
  background-image: linear-gradient(90deg, transparent 0 7px, rgba(255,255,255,.85) 7px 17px, transparent 17px 25px);
  background-size: 25px 9px; background-repeat: repeat-x; background-position: 3px center; opacity: .7;
}
.film-holes.top { top: 0; }
.film-holes.bottom { bottom: 0; }
/* フィルムの縁に焼き込まれた文字（コダック風） */
.film-edge {
  position: absolute; top: 5px; left: 18px; font-size: .56rem; font-weight: 900; letter-spacing: .25em;
  color: #f5b94a; opacity: .8; pointer-events: none; background: #0b0917; padding: 0 .5em;
}
.film-frames { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 8px; }
.film-frame {
  --mx: 50%; --my: 50%; --o: 0;
  position: relative; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 3px; overflow: hidden;
  background: #000; cursor: pointer; z-index: 0;
  transition: scale .45s var(--spring), translate .45s var(--spring), box-shadow .3s;
}
.film-frame img { width: 100%; height: 100%; object-fit: cover; }
.film-frame.blank { cursor: default; background: repeating-linear-gradient(135deg, #120f22 0 8px, #0e0b1c 8px 16px); }
.film-frame:not(.blank):hover, .film-frame:not(.blank):focus-visible {
  scale: 1.42; translate: 0 -6%; z-index: 5;
  box-shadow: 0 18px 44px rgba(0,0,0,.65), 0 0 0 2px var(--pink), 0 0 34px rgba(244,114,182,.5);
}
.film-frame .holo-glare { opacity: calc(var(--o) * .8); border-radius: inherit; }
.ff-no {
  position: absolute; left: 4px; bottom: 3px; font-family: var(--display); font-size: .56rem; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.9); pointer-events: none;
}
.ff-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(244,114,182,.92); display: flex; align-items: center; justify-content: center;
  opacity: 0; scale: .6; transition: opacity .25s, scale .35s var(--spring); pointer-events: none;
}
.ff-play::after { content: ''; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; margin-left: 2px; }
.film-frame:hover .ff-play { opacity: 1; scale: 1; }
#anime-videos .film-strip { --cols: 4; }
#anime-videos .ff-play { width: 42px; height: 42px; opacity: .85; scale: 1; }
#anime-videos .ff-play::after { border-width: 7px 0 7px 11px; }
#anime-videos .film-frame:not(.blank):hover { scale: 1.12; }
@media (max-width: 760px) {
  .film-strip { padding: 18px 8px; }
  .film-strip:nth-child(n) { rotate: none; }
  .film-holes { background-position: center; }
  .film-holes { height: 18px; background-size: 18px 7px; }
  .film-frames { gap: 5px; }
  .film-frame:not(.blank):hover { scale: 1.2; }
  #anime-videos .film-strip { --cols: 2; }
}
/* タッチ端末はタップ後も :hover が残り、コマが拡大したまま横にはみ出すので拡大しない */
@media (hover: none) {
  .film-frame:not(.blank):hover, #anime-videos .film-frame:not(.blank):hover { scale: none; translate: none; }
}

/* ---------- Spotlight（カーソル位置が光るカード） ---------- */
.spot { position: relative; --sx: 50%; --sy: 50%; --so: 0; }
.spot::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(244,114,182,.14), transparent 45%);
  opacity: var(--so); transition: opacity .3s;
}
.spot > * { position: relative; z-index: 1; }

/* ---------- X EXCLUSIVE ---------- */
.xv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.3rem; margin-top: 2.5rem; }
.xv-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); color: inherit; backdrop-filter: blur(6px);
  transition: border-color .3s, box-shadow .3s, translate .45s var(--ease-out);
}
.xv-card:hover { border-color: var(--cyan); box-shadow: 0 0 26px rgba(34,211,238,.25); translate: 0 -6px; }
.xv-card.spot::after { background: radial-gradient(360px circle at var(--sx) var(--sy), rgba(34,211,238,.14), transparent 45%); }
.xv-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.xv-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out), opacity .3s; }
.xv-card:hover .xv-thumb img { transform: scale(1.06); opacity: .85; }
.xv-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 58px; height: 58px; border-radius: 50%;
  background: rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--spring), background .3s;
}
.xv-play::after { content: ''; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.xv-card:hover .xv-play { transform: translate(-50%,-50%) scale(1.12); background: rgba(34,211,238,.85); }
.xv-badge { position: absolute; top: .6rem; right: .6rem; width: 30px; height: 30px; background: rgba(0,0,0,.75); border: 1px solid rgba(255,255,255,.25); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .8rem; }
.xv-duration { position: absolute; bottom: .5rem; right: .6rem; padding: .1rem .45rem; background: rgba(0,0,0,.75); border-radius: 5px; color: #fff; font-size: .72rem; font-weight: 700; }
.xv-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.xv-text { font-size: .84rem; color: var(--text); line-height: 1.65; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xv-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--muted); }
.xv-link { color: var(--cyan); font-weight: 700; }
.xv-link i { font-size: .65rem; margin-left: .2rem; }

/* ---------- PRICING ---------- */
.pricing-wrap { max-width: 980px; margin: 3rem auto 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.6rem; align-items: stretch; }
.pr-hero { position: relative; border-radius: 1.5rem; background: rgba(14,11,32,.88); padding: 2.4rem; isolation: isolate; }
.pr-hero::before {
  content: ''; position: absolute; inset: 0; padding: 2px; border-radius: inherit; z-index: 2; pointer-events: none;
  background: conic-gradient(from var(--ang), var(--pink), var(--purple), var(--cyan), var(--gold), var(--pink));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ang 5s linear infinite;
}
.pr-hero .pr-aura {
  position: absolute; inset: -16px; border-radius: 2rem; z-index: -1; filter: blur(28px); opacity: .35;
  background: conic-gradient(from var(--ang), var(--pink), var(--purple), var(--cyan), var(--gold), var(--pink)); animation: ang 5s linear infinite;
}
@keyframes ang { to { --ang: 360deg; } }
.pr-hero-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.pr-hero-title { display: flex; align-items: center; gap: .75rem; }
.pr-icon { font-size: 2rem; line-height: 1; }
.pr-hero-title h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: #fff; }
.pr-badge {
  display: inline-flex; align-items: center; white-space: nowrap; flex-shrink: 0; font-size: .68rem; font-weight: 900; letter-spacing: .06em; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--magenta)); padding: .3rem .95rem; border-radius: 50px; box-shadow: 0 0 14px rgba(217,70,239,.5);
}
.pr-price-row { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.pr-price {
  font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1;
  background: linear-gradient(120deg, #fff, var(--pink) 40%, var(--purple) 70%, var(--cyan)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 6s linear infinite;
}
@keyframes flow { to { background-position: -200% 0; } }
.pr-price-note { font-size: .84rem; color: var(--muted); }
.pr-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.pr-chip {
  display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; padding: .8rem .75rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 1rem; font-size: .8rem; color: var(--muted); line-height: 1.4;
  transition: background .25s, border-color .25s, color .25s, translate .35s var(--spring);
}
.pr-chip:hover { background: rgba(217,70,239,.12); border-color: rgba(217,70,239,.35); color: var(--text); translate: 0 -4px; }
.pr-chip i { font-size: 1.3rem; color: var(--magenta); }
.pr-mini { background: var(--card); border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: .9rem; backdrop-filter: blur(6px); transition: border-color .3s, translate .45s var(--ease-out); }
.pr-mini:hover { border-color: rgba(217,70,239,.4); translate: 0 -5px; }
.pr-mini-head { display: flex; align-items: center; gap: .85rem; }
.pr-mini-icon { font-size: 1.8rem; flex-shrink: 0; }
.pr-mini-name { font-size: 1.05rem; font-weight: 900; margin-bottom: .25rem; }
.pr-mini-price { font-family: var(--display); font-size: 1.6rem; background: linear-gradient(135deg, var(--pink), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pr-mini-note { font-size: .72rem; color: var(--muted); display: block; margin-top: .1rem; }
.pr-mini-list { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.pr-mini-list li { font-size: .84rem; color: var(--muted); padding: .22rem 0 .22rem 1.4rem; position: relative; }
.pr-mini-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .3rem; font-size: .62rem; color: var(--pink); }
.target-wrap { margin-top: 5rem; }
.target-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.target-item {
  display: flex; align-items: center; gap: .9rem; padding: 1.3rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, translate .4s var(--spring), rotate .4s var(--spring);
}
.target-item:hover { border-color: rgba(217,70,239,.35); translate: 0 -4px; rotate: -.6deg; }
.target-icon { font-size: 1.7rem; flex-shrink: 0; display: inline-block; }
.target-item:hover .target-icon { animation: jelly .6s; }
@keyframes jelly { 25% { transform: scale(1.25, .8); } 50% { transform: scale(.85, 1.2); } 75% { transform: scale(1.1, .92); } }
.target-item span:last-child { font-size: .9rem; color: var(--text); }
.other-box { margin-top: 3rem; text-align: center; padding: 2.2rem; background: var(--card); border: 1px dashed rgba(244,114,182,.35); border-radius: var(--radius); }
.other-box h4 { font-weight: 900; margin-bottom: .5rem; font-size: 1.1rem; }
.other-box p { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .pricing-wrap { grid-template-columns: 1fr; } .pr-hero { padding: 1.8rem; } }

/* ネイティブ CSS スクロール駆動アニメーション（対応ブラウザのみ） */
@supports (animation-timeline: view()) {
  html:not(.reduced) .target-item, html:not(.reduced) .pr-chip {
    animation: pop-in linear both; animation-timeline: view(); animation-range: entry 5% cover 28%;
  }
}
@keyframes pop-in { from { opacity: 0; transform: translateY(40px) scale(.92); } to { opacity: 1; transform: none; } }

/* ---------- CONTACT ---------- */
#contact { text-align: center; overflow: hidden; padding-bottom: 10rem; }
#contact .section-sub { margin: 0 auto; }
.contact-big { display: flex; flex-direction: column; align-items: center; font-family: var(--display); line-height: .95; margin-bottom: 3rem; }
.contact-big span { font-size: clamp(3rem, 11vw, 9rem); color: #fff; display: block; will-change: transform; }
.contact-big span:nth-child(2) { background: linear-gradient(120deg, var(--pink), var(--magenta), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-big .outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); font-size: clamp(2rem, 7vw, 5.5rem); }
.contact-btns { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.contact-chibi { width: 150px; position: absolute; right: 6%; bottom: -9rem; filter: drop-shadow(0 10px 30px rgba(244,114,182,.4)); pointer-events: none; }
@media (max-width: 760px) { .contact-chibi { width: 100px; right: 2%; bottom: -7.5rem; } }

/* ---------- FOOTER ---------- */
footer { text-align: center; padding: 4rem 1.5rem 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; overflow: hidden; }
.footer-mega { display: flex; justify-content: center; font-family: var(--display); line-height: .85; margin-bottom: 2rem; user-select: none; }
.footer-mega span {
  font-size: clamp(5rem, 24vw, 22rem); display: inline-block;
  background: linear-gradient(180deg, #fff 0%, var(--pink) 45%, var(--purple) 80%, rgba(168,85,247,0) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; transition: translate .5s var(--spring), rotate .5s var(--spring), scale .5s var(--spring);
}
.footer-mega span:hover { translate: 0 -6%; rotate: -4deg; scale: 1.04; }
.footer-links { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1.2rem; }

/* ---------- VIDEO MODAL ---------- */
.vmodal {
  position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
  background: rgba(6,4,16,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.vmodal.open { display: flex; }
.vmodal-frame {
  position: relative; width: min(92vw, 1280px, calc(84vh * 16 / 9)); aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--glow-md);
}
.vmodal-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vmodal-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal-close { position: absolute; top: 1.2rem; right: 1.5rem; z-index: 2; font-size: 2.4rem; line-height: 1; color: #fff; background: none; border: none; cursor: pointer; opacity: .75; }
.vmodal-close:hover { opacity: 1; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.16,1,.3,1); }

/* ---------- Back to top ---------- */
.btt {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 90; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(12,10,26,.6); color: #fff; border: none; cursor: pointer;
  backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transform: translateY(12px) scale(.8); transition: opacity .35s, transform .45s var(--spring);
}
.btt.show { opacity: 1; pointer-events: auto; transform: none; }
.btt svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.btt circle { fill: none; stroke-width: 3; }
.btt-track { stroke: rgba(255,255,255,.12); }
.btt-bar { stroke: var(--pink); stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 132; filter: drop-shadow(0 0 4px var(--pink)); }
.btt:hover { transform: translateY(-3px); }

/* ---------- 汎用リビール（JS が付ける） ---------- */
html.js:not(.reduced) [data-reveal] { opacity: 0; }

/* ---------- Reduced motion ---------- */
html.reduced *, html.reduced *::before, html.reduced *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
html.reduced #loader { display: none; }
