/* ==========================================================================
   NOVA - Cyber/Futuristic Singer Site
   Color: black background + electric blue + white accents
   ========================================================================== */

:root {
  --bg: #03060d;
  --bg-2: #060c18;
  --line: rgba(0, 200, 255, 0.18);
  --line-strong: rgba(0, 200, 255, 0.45);
  --blue: #00c8ff;
  --blue-2: #1f6dff;
  --blue-soft: #6ee0ff;
  --white: #f4f9ff;
  --muted: #8aa0bd;
  --danger: #ff3860;
  --shadow-blue: 0 0 24px rgba(0, 200, 255, 0.35);
  --glow-strong: 0 0 60px rgba(0, 200, 255, 0.55);
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-display: 'Orbitron', 'Noto Sans JP', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.7;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ==== Background layers ================================================== */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  /* promote to its own compositor layer so page scroll doesn't repaint it */
  transform: translateZ(0);
  will-change: transform;
}

.bg-scanlines {
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 2px,
    rgba(0, 200, 255, 0.045) 3px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 1;
  /* no mix-blend-mode: full-screen blending forces recompositing on scroll */
  transform: translateZ(0);
  will-change: transform;
}

.bg-particles {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
}

/* ==== Tokyo neon night background ========================================= */
.city-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  /* isolate the animated city into its own layer; page scroll won't repaint it */
  transform: translateZ(0);
  will-change: transform;
  contain: strict;
}

/* Sky gradient — deep indigo with pink horizon glow (光害) */
.sky-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(255, 58, 155, 0.28) 0%, transparent 45%),
    radial-gradient(ellipse at 30% 100%, rgba(0, 200, 255, 0.22) 0%, transparent 40%),
    radial-gradient(ellipse at 78% 105%, rgba(160, 96, 255, 0.20) 0%, transparent 45%),
    linear-gradient(180deg,
      #03051a 0%,
      #060a26 30%,
      #0a1233 55%,
      #1a1340 75%,
      #2a1145 90%,
      #1a0828 100%
    );
}

/* Bokeh orbs — soft glowing circles drifting in air */
.bokeh {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
  animation: bokeh-drift 14s ease-in-out infinite;
  mix-blend-mode: screen;
}
.bokeh-pink   { background: radial-gradient(circle, rgba(255, 58, 155, 0.7) 0%, transparent 70%); }
.bokeh-cyan   { background: radial-gradient(circle, rgba(0, 200, 255, 0.7) 0%, transparent 70%); }
.bokeh-violet { background: radial-gradient(circle, rgba(160, 96, 255, 0.6) 0%, transparent 70%); }
.bokeh-orange { background: radial-gradient(circle, rgba(255, 170, 68, 0.55) 0%, transparent 70%); }

@keyframes bokeh-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  33%      { transform: translate(15px, -10px) scale(1.08); opacity: 0.6; }
  66%      { transform: translate(-12px, 8px) scale(0.95); opacity: 0.5; }
}

/* Cityscape SVG */
.cityscape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(280px, 45vh, 460px);
  display: block;
  filter: drop-shadow(0 -10px 30px rgba(255, 58, 155, 0.15));
}
.cityscape .back-buildings { opacity: 0.85; }
.cityscape .front-buildings { opacity: 1; }
.cityscape .win {
  filter: drop-shadow(0 0 2px currentColor);
}
.cityscape .win[fill="#88e0ff"] { filter: drop-shadow(0 0 3px #00c8ff); }
.cityscape .win[fill="#ffaa44"] { filter: drop-shadow(0 0 3px #ff8800); }
.cityscape .win[fill="#ffd57b"] { filter: drop-shadow(0 0 2px #ffaa44); }
.cityscape .win[fill="#ff3a9b"] { filter: drop-shadow(0 0 3px #ff3a9b); }
.cityscape .win[fill="#a060ff"] { filter: drop-shadow(0 0 3px #a060ff); }

/* Neon signs (vertical & horizontal bands) */
.cityscape .neon-sign {
  filter: drop-shadow(0 0 4px currentColor);
}
.cityscape .neon-sign[fill="#ff3a9b"] { filter: drop-shadow(0 0 6px #ff3a9b) drop-shadow(0 0 12px rgba(255, 58, 155, 0.5)); }
.cityscape .neon-sign[fill="#00c8ff"] { filter: drop-shadow(0 0 6px #00c8ff) drop-shadow(0 0 12px rgba(0, 200, 255, 0.5)); }
.cityscape .neon-sign[fill="#ffffff"] { filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 14px rgba(255, 255, 255, 0.6)); }
.cityscape .neon-sign[fill="#ffaa44"] { filter: drop-shadow(0 0 5px #ff8800) drop-shadow(0 0 10px rgba(255, 136, 0, 0.5)); }
.cityscape .neon-sign[fill="#a060ff"] { filter: drop-shadow(0 0 6px #a060ff) drop-shadow(0 0 12px rgba(160, 96, 255, 0.5)); }

@keyframes neon-flicker-a {
  0%, 100% { opacity: 1; }
  3%       { opacity: 0.3; }
  4%, 8%   { opacity: 1; }
  9%       { opacity: 0.5; }
  10%      { opacity: 1; }
  78%, 80% { opacity: 0.4; }
  81%      { opacity: 1; }
}
@keyframes neon-flicker-b {
  0%, 100% { opacity: 0.95; }
  10%, 12% { opacity: 0.4; }
  13%      { opacity: 0.95; }
  50%      { opacity: 0.7; }
  52%      { opacity: 1; }
}
@keyframes neon-flicker-c {
  0%, 30%, 100% { opacity: 1; }
  31%, 33%      { opacity: 0.2; }
  34%, 60%      { opacity: 0.95; }
  61%           { opacity: 0.4; }
  62%           { opacity: 1; }
}
.cityscape .neon-sign.flicker-1 { animation: neon-flicker-a 7s linear infinite; }
.cityscape .neon-sign.flicker-2 { animation: neon-flicker-b 9s linear infinite; }
.cityscape .neon-sign.flicker-3 { animation: neon-flicker-c 11s linear infinite; }

/* Wet pavement reflection at very bottom */
.wet-pavement {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background:
    linear-gradient(180deg,
      transparent 0%,
      rgba(255, 58, 155, 0.06) 30%,
      rgba(0, 200, 255, 0.08) 60%,
      rgba(0, 0, 0, 0.5) 100%
    );
  pointer-events: none;
}
.wet-pavement::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 8px,
    rgba(255, 255, 255, 0.02) 9px,
    transparent 11px
  );
}

/* Window blink variants */
@keyframes win-blink-a {
  0%, 100% { opacity: 0.9; }
  40%      { opacity: 0.2; }
  60%      { opacity: 1;   }
}
@keyframes win-blink-b {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
@keyframes win-blink-c {
  0%, 35%, 100% { opacity: 0.7; }
  50%, 60%      { opacity: 0.15; }
  80%           { opacity: 1; }
}
@keyframes win-blink-d {
  0%, 100% { opacity: 0.85; }
  20%      { opacity: 0.3; }
  40%      { opacity: 0.95; }
  60%      { opacity: 0.4; }
  80%      { opacity: 1; }
}
.cityscape .win.blink-1 { animation: win-blink-a 4.5s ease-in-out infinite; }
.cityscape .win.blink-2 { animation: win-blink-b 6s ease-in-out infinite; }
.cityscape .win.blink-3 { animation: win-blink-c 7.2s linear infinite; }
.cityscape .win.blink-4 { animation: win-blink-d 5.4s ease-in-out infinite; }

/* Atmospheric haze — pink/cyan light pollution above the city */
.city-haze {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(280px, 45vh, 460px);
  background:
    linear-gradient(180deg,
      transparent 0%,
      transparent 35%,
      rgba(255, 58, 155, 0.05) 55%,
      rgba(160, 60, 200, 0.10) 75%,
      rgba(20, 10, 50, 0.35) 95%,
      rgba(10, 5, 30, 0.5) 100%
    ),
    radial-gradient(ellipse at 30% 95%, rgba(0, 200, 255, 0.16), transparent 55%),
    radial-gradient(ellipse at 70% 95%, rgba(255, 58, 155, 0.18), transparent 55%);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Moon (upper area, smaller and softer for Tokyo night sky) */
.moon {
  position: absolute;
  top: 6%;
  right: 9%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(255, 248, 230, 0.85) 0%,
    rgba(255, 220, 220, 0.55) 50%,
    rgba(255, 180, 200, 0.2) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 30px rgba(255, 220, 220, 0.4),
    0 0 70px rgba(255, 58, 155, 0.18),
    inset -6px -6px 18px rgba(80, 30, 80, 0.35);
  filter: blur(0.6px);
  opacity: 0.7;
  animation: moon-drift 22s ease-in-out infinite;
}
.moon-halo {
  position: absolute;
  top: 6%;
  right: 9%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-top: -32px;
  margin-right: -32px;
  transform: translate(50%, -50%);
  pointer-events: none;
  opacity: 0.5;
}
.moon-halo::before,
.moon-halo::after {
  content: '';
  position: absolute;
  inset: -40px;
  border: 1px solid rgba(180, 230, 255, 0.18);
  border-radius: 50%;
  animation: halo-pulse 6s ease-in-out infinite;
}
.moon-halo::after {
  inset: -90px;
  animation-delay: 1.2s;
  border-color: rgba(0, 200, 255, 0.12);
}
@keyframes moon-drift {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-6px) translateX(4px); }
}
@keyframes halo-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.05); }
}

/* Vertical neon beams (Tokyo skyline searchlights / billboard glows) */
.city-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.city-beams span {
  position: absolute;
  top: 0;
  bottom: 30%;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 58, 155, var(--o, 0.3)) 30%,
    rgba(255, 255, 255, calc(var(--o, 0.3) * 0.7)) 70%,
    transparent 100%
  );
  filter: blur(0.5px);
  animation: beam-flicker 3.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  mix-blend-mode: screen;
}
.city-beams span:nth-child(2),
.city-beams span:nth-child(4) {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 200, 255, var(--o, 0.3)) 30%,
    rgba(255, 255, 255, calc(var(--o, 0.3) * 0.7)) 70%,
    transparent 100%
  );
}
.city-beams span:nth-child(3) {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(160, 96, 255, var(--o, 0.3)) 30%,
    rgba(255, 255, 255, calc(var(--o, 0.3) * 0.7)) 70%,
    transparent 100%
  );
}
.city-beams span::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 58, 155, 0.85);
  box-shadow: 0 0 12px rgba(255, 58, 155, 0.9);
}
.city-beams span:nth-child(2)::before,
.city-beams span:nth-child(4)::before {
  background: rgba(0, 200, 255, 0.85);
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.9);
}
.city-beams span:nth-child(3)::before {
  background: rgba(160, 96, 255, 0.85);
  box-shadow: 0 0 12px rgba(160, 96, 255, 0.9);
}
@keyframes beam-flicker {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  20%      { opacity: 0.6; }
  60%      { opacity: 0.85; transform: scaleY(0.96); }
  80%      { opacity: 1; }
}

@media (max-width: 700px) {
  .moon { width: 64px; height: 64px; top: 6%; right: 8%; }
  .moon-halo { width: 64px; height: 64px; top: 6%; right: 8%; }
  .city-beams span::before { width: 5px; height: 5px; }
}

body::before {
  content: '';
  position: fixed;
  top: -20%; left: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(31, 109, 255, 0.16) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -20%; right: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.14) 0%, transparent 60%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* ==== Header =============================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  z-index: 100;
  background: linear-gradient(180deg, rgba(3, 6, 13, 0.85), transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  color: var(--blue);
  text-shadow: 0 0 12px var(--blue);
  animation: pulse 2.5s ease-in-out infinite;
}
.logo-text .accent { color: var(--blue); text-shadow: 0 0 8px var(--blue); }

.site-nav {
  display: flex;
  gap: 40px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.15em;
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--white);
  transition: color .2s;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  transition: width .3s ease;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a:hover::after { width: 100%; }

.site-nav .nav-work {
  border: 1px solid var(--blue);
  padding: 6px 14px !important;
  color: var(--blue);
  margin-left: 8px;
  transition: all .25s;
}
.site-nav .nav-work:hover {
  background: var(--blue);
  color: var(--bg);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.5);
}
.site-nav .nav-work::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1px;
  background: var(--blue);
  box-shadow: 0 0 4px var(--blue);
}

/* ==== HERO ================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 40px 80px;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hud {
  position: absolute;
  inset: 100px 40px 60px 40px;
  pointer-events: none;
  z-index: 1;
}
.corner {
  position: absolute;
  width: 30px; height: 30px;
  border: 1px solid var(--blue);
  box-shadow: 0 0 8px var(--blue);
}
.corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.hud-meta {
  position: absolute;
  top: 12px; right: 50px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--blue-soft);
  text-align: right;
  line-height: 1.8;
  opacity: 0.85;
}
.hud-meta .blink {
  color: var(--blue);
  animation: blink 1.2s steps(2, end) infinite;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--blue);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: rise .8s .2s forwards;
}

.glitch {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 0.9;
  position: relative;
  color: var(--white);
  text-shadow: 0 0 30px rgba(0, 200, 255, 0.4);
  margin-bottom: 24px;
  opacity: 0;
  animation: rise 1s .4s forwards;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.glitch::before {
  color: var(--blue);
  transform: translate(-2px, 0);
  mix-blend-mode: screen;
  animation: glitch-1 3.5s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}
.glitch::after {
  color: var(--blue-2);
  transform: translate(2px, 0);
  mix-blend-mode: screen;
  animation: glitch-2 3.5s infinite;
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
}

.tagline {
  font-family: var(--font-jp);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  color: var(--blue-soft);
  opacity: 0;
  animation: rise 1s .6s forwards;
}

.lead {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 40px;
  opacity: 0;
  animation: rise 1s .8s forwards;
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 1s 1s forwards;
}
.btn {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 16px 32px;
  border: 1px solid var(--blue);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all .25s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary {
  background: var(--blue);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.5);
}
.btn-primary:hover {
  background: var(--blue-soft);
  box-shadow: 0 0 36px rgba(0, 200, 255, 0.8);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--blue);
}
.btn-ghost:hover {
  background: rgba(0, 200, 255, 0.12);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.4);
  transform: translateY(-2px);
}

/* ---- character (Live2D風) ---- */
.hero-character {
  position: relative;
  height: 80vh;
  max-height: 760px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  perspective: 1000px;
}

.char-img {
  position: relative;
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 200, 255, 0.35));
  z-index: 3;
  will-change: transform;
  /* idle breathing */
  animation: breathe 4s ease-in-out infinite;
  transform-origin: 50% 100%;
}

.char-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at 50% 60%, rgba(0, 200, 255, 0.45) 0%, transparent 60%);
  filter: blur(30px);
  z-index: 1;
  animation: pulse-glow 3s ease-in-out infinite;
}

.char-ring {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  z-index: 2;
  animation: ring-spin 18s linear infinite;
}
.char-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px dashed rgba(0, 200, 255, 0.3);
  border-radius: 50%;
  animation: ring-spin 30s linear infinite reverse;
}
.char-ring::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 255, 0.15);
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
.scroll-hint span {
  display: block;
  width: 1px; height: 50px;
  background: linear-gradient(180deg, transparent, var(--blue));
  animation: scroll-line 2s ease-in-out infinite;
}

/* ==== Section heads ======================================================= */
.section-head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 60px;
  padding: 0 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.sec-num {
  font-family: var(--font-mono);
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 0.2em;
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
}
.sec-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
  box-shadow: 0 0 8px var(--blue);
}

/* ==== ABOUT =============================================================== */
.about {
  position: relative;
  padding: 120px 0;
  z-index: 2;
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
}

.avatar-wrap {
  position: relative;
  aspect-ratio: 1;
}
.avatar-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  border: 1px solid var(--blue);
  box-shadow: var(--shadow-blue);
}
.avatar-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(0, 200, 255, 0.15));
  z-index: 2;
  pointer-events: none;
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.avatar-frame:hover .avatar-img { transform: scale(1.05); }

.avatar-deco {
  position: absolute;
  top: -10px; right: -10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.avatar-deco span {
  display: block;
  width: 30px; height: 2px;
  background: var(--blue);
  box-shadow: 0 0 6px var(--blue);
}
.avatar-deco span:nth-child(2) { width: 20px; }
.avatar-deco span:nth-child(3) { width: 12px; }

.about-text { max-width: 580px; }
.about-lead {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.9;
}
.about-lead .hl {
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.6);
}

.profile {
  display: grid;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
}
.profile > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.profile > div:last-child { border-bottom: 1px solid var(--line); }
.profile dt {
  color: var(--blue);
  letter-spacing: 0.15em;
  font-size: 12px;
}
.profile dd { color: var(--white); }

.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  margin-right: 8px;
  animation: blink 1.5s ease-in-out infinite;
}

/* ==== LATEST (featured) =================================================== */
.latest {
  position: relative;
  padding: 60px 0 100px;
  z-index: 2;
}
.latest-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  /* PC: 横動画（横長）とショート（縦長）を横並び */
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.latest-card {
  cursor: pointer;
  display: block;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
/* ショートは縦長サムネイル（中央寄せ） */
.latest-card--short .latest-thumb {
  aspect-ratio: 9 / 16;
  max-width: 300px;
  margin: 0 auto;
}
.latest-card:hover { transform: translateY(-4px); }
.latest-card.placeholder { pointer-events: none; opacity: 0.55; }
.latest-card.placeholder .thumb-inner {
  background:
    linear-gradient(110deg, transparent 30%, rgba(0,200,255,0.08) 50%, transparent 70%) 0 0/200% 100%,
    var(--bg-2);
  animation: skeleton 1.6s linear infinite;
}

.latest-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--blue);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.25);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  transition: box-shadow .4s;
}
.latest-card:hover .latest-thumb {
  box-shadow: 0 0 50px rgba(0, 200, 255, 0.6);
}
.latest-thumb .thumb-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.85) saturate(1.1);
  transition: transform .6s, filter .6s;
}
.latest-card:hover .latest-thumb .thumb-inner {
  transform: scale(1.04);
  filter: brightness(1) saturate(1.2);
}
.latest-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(3, 6, 13, 0.85));
  z-index: 2;
}
.latest-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0, transparent 3px, rgba(0,200,255,.05) 4px);
  z-index: 3;
  pointer-events: none;
}
.latest-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  background: rgba(0, 200, 255, 0.18);
  color: var(--blue);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all .3s;
}
.latest-card:hover .latest-play {
  background: var(--blue);
  color: var(--bg);
  box-shadow: 0 0 40px var(--blue);
  transform: translate(-50%, -50%) scale(1.1);
}
.latest-badge {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  padding: 6px 14px;
  background: var(--blue);
  color: var(--bg);
  font-weight: 700;
  box-shadow: 0 0 18px rgba(0, 200, 255, 0.6);
}
.latest-info {
  padding: 22px 4px 0;
}
.latest-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}
.latest-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

@media (max-width: 900px) {
  .latest { padding: 40px 0 80px; }
  /* スマホ: 縦並び */
  .latest-inner { padding: 0 20px; grid-template-columns: 1fr; gap: 32px; }
  .latest-card--short .latest-thumb { max-width: 260px; }
  .latest-play { width: 60px; height: 60px; font-size: 20px; }
  .latest-title { font-size: 17px; }
  .latest-badge { font-size: 10px; padding: 5px 10px; top: 14px; left: 14px; }
}

/* ==== VIDEOS ============================================================== */
.videos {
  position: relative;
  padding: 120px 0;
  z-index: 2;
}
.video-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.video-card {
  position: relative;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.video-card:hover { transform: translateY(-6px); }

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  margin-bottom: 16px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: box-shadow .3s;
}
.video-card:hover .video-thumb {
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.5);
}
.thumb-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.8) saturate(1.1);
  transition: transform .5s, filter .5s;
}
.video-card:hover .thumb-inner {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.2);
}
.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(3, 6, 13, 0.9));
  z-index: 2;
}
.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0, transparent 3px, rgba(0,200,255,.04) 4px);
  z-index: 3;
  pointer-events: none;
}
.video-thumb .play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  background: rgba(0, 200, 255, 0.15);
  color: var(--blue);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: all .3s;
  backdrop-filter: blur(6px);
}
.video-card:hover .video-thumb .play {
  background: var(--blue);
  color: var(--bg);
  box-shadow: 0 0 30px var(--blue);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.video-card.placeholder {
  pointer-events: none;
  opacity: 0.55;
}
.video-card.placeholder .thumb-inner {
  background:
    linear-gradient(110deg, transparent 30%, rgba(0,200,255,0.08) 50%, transparent 70%) 0 0/200% 100%,
    var(--bg-2);
  animation: skeleton 1.6s linear infinite;
}
@keyframes skeleton {
  to { background-position: -200% 0, 0 0; }
}
.video-fallback {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 40px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.video-fallback a {
  color: var(--blue);
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.5);
}
.video-fallback a:hover { text-decoration: underline; }
.video-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* ==== CONTACT ============================================================= */
.contact {
  position: relative;
  padding: 120px 0 160px;
  z-index: 2;
}
.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}
.contact-lead {
  text-align: center;
  margin-bottom: 50px;
  color: var(--muted);
  font-size: 15px;
}
.sns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.sns-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 200, 255, 0.04);
  position: relative;
  transition: all .3s;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  font-size: 13px;
  overflow: hidden;
}
.sns-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.18), transparent);
  transform: translateX(-100%);
  transition: transform .6s;
}
.sns-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.4);
  transform: translateY(-3px);
}
.sns-card:hover::before { transform: translateX(100%); }
.sns-icon {
  font-size: 22px;
  color: var(--blue);
  width: 32px;
  text-align: center;
}
.sns-name { flex: 1; }
.sns-arrow { color: var(--blue); transition: transform .3s; }
.sns-card:hover .sns-arrow { transform: translateX(4px); }

/* ==== Modal =============================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.video-modal.open { display: flex; animation: modal-in .3s ease; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 5, 15, 0.85);
  backdrop-filter: blur(10px);
}
.modal-frame {
  position: relative;
  width: min(1000px, 90vw);
  aspect-ratio: 16/9;
  background: var(--bg-2);
  border: 1px solid var(--blue);
  box-shadow: var(--glow-strong);
}
.modal-corners .corner {
  width: 24px; height: 24px;
}
.modal-close {
  position: absolute;
  top: -50px; right: 0;
  width: 40px; height: 40px;
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue);
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
  transition: all .2s;
}
.modal-close:hover {
  background: var(--blue);
  color: var(--bg);
  box-shadow: 0 0 20px var(--blue);
}
.iframe-wrap {
  position: absolute;
  inset: 0;
}
.iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==== Footer ============================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.foot-line {
  width: 60%;
  max-width: 600px;
  margin: 0 auto 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  box-shadow: 0 0 8px var(--blue);
}
.foot-sub {
  margin-top: 8px;
  font-size: 10px;
  color: var(--blue);
  opacity: 0.6;
}

/* ==== Animations ========================================================== */
@keyframes breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-6px) scale(1.008); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.92); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
@keyframes ring-spin {
  to { transform: translateX(-50%) rotate(360deg); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes glitch-1 {
  0%, 92%, 100% { transform: translate(0, 0); }
  93% { transform: translate(-3px, 1px); }
  95% { transform: translate(2px, -1px); }
  97% { transform: translate(-2px, 0); }
}
@keyframes glitch-2 {
  0%, 92%, 100% { transform: translate(0, 0); }
  93% { transform: translate(3px, -1px); }
  95% { transform: translate(-2px, 1px); }
  97% { transform: translate(2px, 0); }
}
@keyframes modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==== Responsive ========================================================== */
@media (max-width: 900px) {
  .site-header { padding: 14px 20px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(3, 6, 13, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 30px;
    gap: 24px;
  }
  .hero { padding: 100px 20px 60px; }
  .hud { inset: 80px 20px 40px 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-character { height: 60vh; order: -1; }
  .hero-copy { text-align: center; }
  .cta { justify-content: center; }
  .glitch { font-size: clamp(60px, 18vw, 100px); }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .avatar-wrap { max-width: 320px; margin: 0 auto; }

  .section-head { padding: 0 20px; gap: 16px; margin-bottom: 40px; }
  .video-grid, .contact-inner, .sns-grid { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 500px) {
  .glitch { font-size: 60px; }
  .tagline { font-size: 16px; }
  .hud-meta { display: none; }
  .profile > div { grid-template-columns: 90px 1fr; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   REQUEST PAGE (request.html)
   ========================================================================== */

.page-request .hero-work {
  min-height: auto;
  padding: 140px 40px 80px;
}
.hero-inner-center {
  grid-template-columns: 1fr !important;
  text-align: center;
  max-width: 900px;
}
.hero-copy-center { margin: 0 auto; }
.hero-copy-center .cta { justify-content: center; }
.hero-copy-center .glitch { font-size: clamp(60px, 10vw, 140px); }

/* ==== CAMPAIGN BANNER ===================================================== */
.campaign {
  position: relative;
  z-index: 2;
  padding: 40px 40px 60px;
}
.campaign-frame {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 40px 44px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 56, 96, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 200, 255, 0.18) 0%, transparent 50%),
    rgba(0, 8, 20, 0.85);
  border: 1px solid var(--blue);
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.3), inset 0 0 30px rgba(0, 200, 255, 0.05);
  overflow: hidden;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.campaign-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0, transparent 3px, rgba(0,200,255,.04) 4px);
  pointer-events: none;
  z-index: 1;
}
.campaign-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #ff3a5c, var(--blue));
  background-size: 200% 100%;
  animation: stripe-flow 4s linear infinite;
  box-shadow: 0 0 12px var(--blue);
  z-index: 2;
}
@keyframes stripe-flow {
  to { background-position: -200% 0; }
}
.campaign-frame .corner {
  z-index: 3;
  border-color: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}
.campaign-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.campaign-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  padding: 6px 18px;
  background: linear-gradient(90deg, #ff3a5c, var(--blue));
  color: var(--white);
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: 0 0 16px rgba(255, 58, 92, 0.5);
  animation: pulse 2.5s ease-in-out infinite;
}
.campaign-title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.campaign-limit {
  font-size: clamp(16px, 2.4vw, 22px);
  color: var(--blue-soft);
  letter-spacing: 0.08em;
}
.campaign-limit strong {
  color: var(--blue);
  font-size: 1.4em;
  text-shadow: 0 0 12px rgba(0, 200, 255, 0.7);
}
.campaign-discount {
  font-size: clamp(36px, 6vw, 60px);
  color: var(--white);
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.discount-num {
  font-size: 1.7em;
  color: #ff3a5c;
  text-shadow:
    0 0 20px rgba(255, 58, 92, 0.7),
    0 0 40px rgba(255, 58, 92, 0.4);
  font-weight: 900;
  line-height: 1;
}
.discount-num sup {
  font-size: 0.4em;
  vertical-align: super;
}
.discount-off {
  font-size: 0.5em;
  color: #ff3a5c;
  letter-spacing: 0.15em;
  text-shadow: 0 0 12px rgba(255, 58, 92, 0.5);
  font-weight: 900;
}
.campaign-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
  margin: 0 auto 28px;
  max-width: 640px;
}
.campaign-desc strong {
  color: var(--blue);
  font-weight: 700;
  text-shadow: 0 0 6px rgba(0, 200, 255, 0.4);
}
.campaign-meta {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--blue-soft);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta-icon { font-size: 14px; }
.campaign-cta {
  font-size: 14px !important;
  padding: 18px 40px !important;
}

@media (max-width: 900px) {
  .campaign { padding: 30px 20px 40px; }
  .campaign-frame { padding: 36px 20px 30px; }
  .campaign-meta { gap: 14px; font-size: 11px; }
}

/* ==== Price (monitor) ==================================================== */
.price-original {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.price-monitor-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #ff3a5c;
  text-shadow: 0 0 6px rgba(255, 58, 92, 0.5);
  margin-top: 4px;
  margin-bottom: 24px;
  font-weight: 700;
}

/* ==== SERVICES ============================================================ */
.services {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 200, 255, 0.03);
  transition: all .3s;
  overflow: hidden;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(0,200,255,0.1));
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.35);
  transform: translateY(-3px);
}
.service-card:hover::before { opacity: 1; }
.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--blue);
  display: block;
  margin-bottom: 14px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ==== PRICING TABS ======================================================== */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto 50px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.tab-btn {
  flex: 1;
  background: transparent;
  border: 1px solid var(--line);
  border-bottom: none;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 16px 20px;
  cursor: pointer;
  transition: all .25s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.tab-btn:first-child { clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.tab-btn:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.tab-btn:hover { color: var(--white); border-color: var(--line-strong); }
.tab-btn.active {
  background: rgba(0, 200, 255, 0.08);
  color: var(--blue);
  border-color: var(--blue);
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.25);
}
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 10%; right: 10%;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}
.tab-icon {
  font-size: 16px;
  color: var(--blue);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: tab-fade .35s ease; }
@keyframes tab-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==== SIMPLE CARDS (initial-friendly) ==================================== */
.simple-grid {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.simple-card {
  position: relative;
  padding: 40px 28px 32px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 12, 24, 0.6);
  transition: all .3s;
  display: flex;
  flex-direction: column;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.simple-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 36px rgba(0, 200, 255, 0.4);
  transform: translateY(-4px);
}
.simple-card.recommend {
  border-color: var(--blue);
  background: rgba(0, 200, 255, 0.07);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.3);
}
.simple-card.recommend::before {
  content: 'RECOMMEND';
  position: absolute;
  top: 12px; right: -28px;
  background: var(--blue);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 4px 32px;
  transform: rotate(35deg);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.6);
}
.simple-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  padding: 5px 12px;
  background: var(--blue);
  color: var(--bg);
  font-weight: 700;
  margin-bottom: 18px;
  align-self: flex-start;
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.5);
}
.simple-card h3 {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  line-height: 1.4;
}
.simple-target {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 2px solid var(--line-strong);
}
.simple-target span {
  display: block;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}
.simple-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--blue);
  margin: 4px 0 24px;
  text-shadow: 0 0 12px rgba(0, 200, 255, 0.5);
  line-height: 1;
}
.yen-suffix {
  font-size: 16px;
  color: var(--muted);
  margin-left: 4px;
  text-shadow: none;
}
.simple-features {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}
.simple-features li {
  font-size: 13px;
  color: var(--white);
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px dashed rgba(0, 200, 255, 0.1);
}
.simple-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  text-shadow: 0 0 6px rgba(0, 200, 255, 0.6);
}
.simple-features li:last-child { border-bottom: none; }
.simple-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ==== FAQ ================================================================ */
.faq-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 60px 0 32px;
  color: var(--white);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}
.faq-item {
  border: 1px solid var(--line);
  background: rgba(0, 8, 20, 0.4);
  margin-bottom: 12px;
  transition: border-color .25s;
}
.faq-item[open] {
  border-color: var(--line-strong);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.15);
}
.faq-item summary {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 500;
  padding: 18px 24px 18px 56px;
  cursor: pointer;
  position: relative;
  list-style: none;
  user-select: none;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: 'Q';
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0;
  text-shadow: 0 0 6px rgba(0, 200, 255, 0.5);
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 20px;
  font-weight: 300;
  transition: transform .3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--blue); }
.faq-item p {
  padding: 0 24px 22px 56px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  position: relative;
}
.faq-item p::before {
  content: 'A';
  position: absolute;
  left: 22px;
  top: 0;
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .pricing-tabs { padding: 0 20px; }
  .tab-btn { font-size: 12px; padding: 14px 12px; }
  .tab-icon { font-size: 14px; }
  .simple-grid { padding: 0 20px; gap: 18px; }
  .simple-card { padding: 32px 22px 26px; }
  .simple-price { font-size: 26px; }
  .faq-list { padding: 0 20px; }
  .faq-item summary { font-size: 14px; padding-left: 48px; }
  .faq-item p { padding-left: 48px; }
}

/* ==== PRICING ============================================================= */
.pricing {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}
.pricing-note {
  max-width: 1100px;
  margin: 0 auto 50px;
  padding: 0 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-align: center;
}
.price-block {
  max-width: 1000px;
  margin: 0 auto 50px;
  padding: 0 40px;
}
.price-block-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.price-block-title span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 14px;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.6);
}
.price-list {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 14px;
}
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0, 200, 255, 0.1);
}
.price-list li:last-child { border-bottom: none; }
.price-list .item {
  color: var(--white);
  flex-shrink: 0;
  font-family: var(--font-jp);
}
.price-list .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(0, 200, 255, 0.25);
  height: 1px;
  margin-bottom: 4px;
}
.price-list .price {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(0, 200, 255, 0.4);
}

/* Packages */
.package-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 80px 0 32px;
  color: var(--white);
}
.package-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.package-card {
  position: relative;
  padding: 36px 28px 32px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 12, 24, 0.6);
  transition: all .3s;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.package-card.recommend {
  border-color: var(--blue);
  background: rgba(0, 200, 255, 0.06);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.3);
  transform: scale(1.02);
}
.package-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.45);
  transform: translateY(-4px);
}
.package-card.recommend:hover { transform: translateY(-4px) scale(1.02); }
.package-tag {
  position: absolute;
  top: -1px; right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  padding: 5px 12px;
  background: var(--blue);
  color: var(--bg);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.6);
}
.package-card.recommend .package-tag {
  background: var(--blue-soft);
}
.package-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.package-price {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 24px;
  text-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
}
.package-card ul {
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}
.package-card ul li {
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px dashed rgba(0, 200, 255, 0.08);
}
.package-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--blue);
}
.package-card ul li:last-child { border-bottom: none; }

/* Sample link button (on each plan card) */
.sample-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 20px;
  border: 1px solid var(--blue);
  background: rgba(0, 200, 255, 0.06);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s;
  text-align: center;
  align-self: stretch;
}
.sample-link::after {
  content: '↗';
  font-size: 14px;
  opacity: 0.7;
  transition: transform .25s;
}
.sample-link:hover {
  background: var(--blue);
  color: var(--bg);
  box-shadow: 0 0 18px rgba(0, 200, 255, 0.5);
}
.sample-link:hover::after { transform: translate(2px, -2px); opacity: 1; }
.simple-card .sample-link { margin-top: 14px; }
.package-card .sample-link { margin-top: 14px; }

/* Package breakdown (with category codes & per-item prices) */
.package-note {
  text-align: center;
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 auto 36px;
  padding: 0 40px;
  max-width: 720px;
}

.package-card .breakdown {
  list-style: none;
  font-size: 12px;
  margin-bottom: 18px;
  flex: 1;
}
.package-card .breakdown li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 200, 255, 0.08);
}
.package-card .breakdown li::before { display: none; }
.package-card .breakdown li:last-child { border-bottom: none; }

.bd-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--blue);
  border: 1px solid var(--blue);
  background: rgba(0, 200, 255, 0.08);
  text-shadow: 0 0 4px rgba(0, 200, 255, 0.5);
}

.bd-item {
  font-family: var(--font-jp);
  color: var(--white);
  font-size: 12px;
  line-height: 1.5;
}

.bd-amount {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.bd-summary {
  border-top: 1px solid var(--line-strong);
  padding-top: 14px;
  margin-top: 4px;
  display: grid;
  gap: 6px;
}
.bd-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12px;
}
.bd-row-label {
  color: var(--muted);
  letter-spacing: 0.1em;
}
.bd-row-value {
  letter-spacing: 0.05em;
}
.bd-row-value.strike {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  color: var(--muted);
}
.bd-row.final .bd-row-label {
  color: var(--blue);
  font-weight: 700;
}
.bd-row.final .bd-row-value {
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.5);
}

@media (max-width: 900px) {
  .package-note { padding: 0 20px; }
  .package-card .breakdown li { grid-template-columns: 22px 1fr auto; gap: 8px; }
  .bd-item { font-size: 11px; }
  .bd-amount { font-size: 10px; }
}

/* ==== PROCESS ============================================================= */
.process {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}
.process-steps {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  list-style: none;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 65px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: linear-gradient(180deg, var(--blue), transparent);
  box-shadow: 0 0 6px var(--blue);
}
.process-steps li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 22px 0;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  background: var(--bg);
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
  position: relative;
  z-index: 2;
  margin-left: 15px;
}
.process-steps h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.process-steps p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.process-steps .free {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 3px 10px;
  background: var(--blue);
  color: var(--bg);
  font-weight: 700;
  margin-top: 4px;
}

/* ==== INQUIRY ============================================================= */
.inquiry {
  position: relative;
  z-index: 2;
  padding: 80px 0 140px;
}
.inquiry-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}
.inquiry-lead {
  text-align: center;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.form-frame {
  position: relative;
  padding: 40px 32px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 8, 20, 0.5);
  margin-bottom: 24px;
  min-height: 280px;
}
.form-frame .corner { width: 24px; height: 24px; }
.form-frame iframe {
  width: 100%;
  border: 0;
  display: block;
}

.form-placeholder {
  text-align: center;
  padding: 40px 20px;
}
.form-placeholder-title {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 16px;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.4);
}
.form-placeholder-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 28px;
}
.form-placeholder-desc code {
  font-family: var(--font-mono);
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.2);
  padding: 2px 8px;
  color: var(--blue);
  font-size: 12px;
}

.inquiry-alt {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.inquiry-alt a {
  color: var(--blue);
  text-shadow: 0 0 6px rgba(0, 200, 255, 0.4);
}
.inquiry-alt a:hover { text-decoration: underline; }

/* request page responsive */
@media (max-width: 900px) {
  .page-request .hero-work { padding: 110px 20px 60px; }
  .services-grid, .package-grid { padding-left: 20px; padding-right: 20px; gap: 18px; }
  .pricing-note, .price-block, .process-steps, .inquiry-inner {
    padding-left: 20px; padding-right: 20px;
  }
  .price-list li { flex-wrap: wrap; }
  .price-list .dots { display: none; }
  .price-list .price { margin-left: auto; }
  .process-steps::before { left: 35px; }
  .process-steps li { grid-template-columns: 60px 1fr; gap: 16px; }
  .step-num { margin-left: 5px; width: 44px; height: 44px; font-size: 12px; }
  .package-card.recommend { transform: none; }
  .package-card.recommend:hover { transform: translateY(-4px); }
}

/* ==========================================================================
   INFORMATION / NEWS (index.html)
   - news feed + swipeable LINE stamp pack (3D coverflow / pack-opening vibe)
   ========================================================================== */
.news {
  position: relative;
  z-index: 2;
  padding: 100px 0 60px;
}
.news-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-post {
  position: relative;
  padding: 32px 34px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 12, 24, 0.55);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  transition: border-color .3s, box-shadow .3s;
}
.news-post:hover {
  border-color: var(--blue);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.18);
}
.news-post-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.news-date {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--blue-soft);
}
.news-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 700;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.news-cat.cat-new {
  border-color: #ff3a5c;
  color: #fff;
  background: linear-gradient(90deg, #ff3a5c, var(--blue));
  box-shadow: 0 0 12px rgba(255, 58, 92, 0.4);
  animation: pulse 2.5s ease-in-out infinite;
}
.news-post-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  line-height: 1.4;
}
.news-post-body {
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}
.news-post-body strong {
  color: var(--blue);
  font-weight: 700;
  text-shadow: 0 0 6px rgba(0, 200, 255, 0.4);
}
.news-note-soon {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--blue-soft);
}
.soon-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #ffaa44;
  box-shadow: 0 0 10px #ffaa44;
  flex-shrink: 0;
  animation: blink 1.5s ease-in-out infinite;
}

/* ---- swipeable stamp pack ---- */
.stamp-pack {
  --cw: clamp(180px, 40vw, 252px);
  --ch: calc(var(--cw) * 32 / 37);
  position: relative;
  margin: 36px auto 6px;
  height: clamp(300px, 50vw, 420px);
  perspective: 1400px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  outline: none;
}
.pack-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62%; height: 72%;
  background: radial-gradient(ellipse at center,
    rgba(0, 200, 255, 0.40) 0%,
    rgba(160, 96, 255, 0.20) 42%,
    transparent 72%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: pulse-glow 3.5s ease-in-out infinite;
}
.pack-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.pack-card {
  position: absolute;
  top: 50%; left: 50%;
  width: var(--cw);
  height: var(--ch);
  margin-left: calc(var(--cw) / -2);
  margin-top: calc(var(--ch) / -2);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .4s ease;
  cursor: pointer;
  will-change: transform, opacity;
}
.pack-card-inner {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(10, 20, 40, 0.92), rgba(5, 10, 25, 0.96));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: box-shadow .4s, border-color .4s;
}
.pack-card img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8%;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}
/* transparent guard layer to deter long-press / right-click save */
.card-guard {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
}
.card-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.18) 48%, transparent 62%);
  transform: translateX(-120%);
}
.pack-card.is-active .pack-card-inner {
  border-color: var(--blue);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.55), 0 14px 40px rgba(0, 0, 0, 0.6);
}
.pack-card.is-active .card-shine {
  animation: card-shine 2.8s ease-in-out infinite;
}
@keyframes card-shine {
  0% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}

.pack-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 44px; height: 44px;
  background: rgba(0, 12, 24, 0.7);
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.pack-nav:hover {
  background: var(--blue);
  color: var(--bg);
  box-shadow: 0 0 20px var(--blue);
}
.pack-nav.prev { left: 2%; }
.pack-nav.next { right: 2%; }

.pack-hint {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  pointer-events: none;
}
.swipe-ico {
  color: var(--blue);
  font-size: 14px;
  animation: swipe-move 2s ease-in-out infinite;
}
@keyframes swipe-move {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
}

.pack-dots {
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  max-width: 90%;
  flex-wrap: wrap;
  justify-content: center;
}
.pack-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: all .25s;
}
.pack-dot.active {
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  width: 18px;
  border-radius: 3px;
}
.stamp-guard-note {
  text-align: center;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  opacity: 0.7;
}

@media (max-width: 900px) {
  .news { padding: 70px 0 40px; }
  .news-inner { padding: 0 20px; }
  .news-post { padding: 24px 20px; }
  .pack-nav { width: 38px; height: 38px; font-size: 20px; }
}
@media (max-width: 600px) {
  .pack-dots { display: none; }
}

/* stamp placeholder (shown until the real PNG is added to assets/news/) */
.pack-card-inner.is-missing {
  background:
    repeating-linear-gradient(135deg, rgba(0,200,255,.05) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, rgba(10,20,40,.95), rgba(5,10,25,.98));
}
.card-ph {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--blue-soft);
  opacity: 0.6;
}

/* ==========================================================================
   NEWS — preview cards / list / detail / pagination (index.html + news.html)
   ========================================================================== */
.news-page { padding-top: 140px; }
.news-page .section-head .sec-num { font-size: 18px; }

.news-empty {
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-align: center;
}

/* clickable preview card */
.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-card {
  display: block;
  position: relative;
  padding: 28px 32px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 12, 24, 0.55);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: border-color .3s, box-shadow .3s, transform .3s;
  overflow: hidden;
}
.news-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), transparent);
  box-shadow: 0 0 10px var(--blue);
  opacity: 0;
  transition: opacity .3s;
}
.news-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.22);
  transform: translateY(-3px);
}
.news-card:hover::before { opacity: 1; }
.news-excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-readmore {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--blue);
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.4);
  transition: letter-spacing .3s;
}
.news-card:hover .news-readmore { letter-spacing: 0.3em; }

.news-more { margin-top: 36px; text-align: center; }

/* ---- detail ---- */
.news-detail { position: relative; }
.news-back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 28px;
  transition: transform .25s;
}
.news-back.bottom { margin-top: 40px; margin-bottom: 0; }
.news-back:hover { transform: translateX(-4px); text-shadow: 0 0 8px rgba(0, 200, 255, 0.5); }
.news-detail-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin: 14px 0 28px;
}
.news-detail-body { color: var(--white); font-size: 16px; line-height: 2; }
.news-detail-body p { margin-bottom: 20px; color: var(--muted); }
.news-detail-body strong {
  color: var(--blue);
  font-weight: 700;
  text-shadow: 0 0 6px rgba(0, 200, 255, 0.4);
}

/* video embed inside a detail article */
.news-video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 8px 0 24px;
  border: 1px solid var(--blue);
  box-shadow: 0 0 24px rgba(0, 200, 255, 0.25);
  overflow: hidden;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.news-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.news-video-link { margin: 8px 0 24px; }

/* ---- pagination ---- */
.news-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 44px;
  font-family: var(--font-mono);
}
.news-pager a, .news-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  transition: all .25s;
}
.news-pager a:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.3);
}
.news-pager .pager-num.active {
  background: var(--blue);
  color: var(--bg);
  border-color: var(--blue);
  box-shadow: 0 0 16px rgba(0, 200, 255, 0.5);
}
.news-pager .disabled { opacity: 0.35; }

@media (max-width: 900px) {
  .news-page { padding-top: 110px; }
  .news-card { padding: 22px 20px; }
  .news-pager a, .news-pager span { min-width: 34px; height: 34px; font-size: 12px; }
}

/* ==========================================================================
   MEMBERS / ファンクラブ ＋ メンバー限定記事
   ========================================================================== */
/* members-only category badge */
.news-cat.cat-members {
  border-color: #ffaa44;
  color: #1a1207;
  background: linear-gradient(90deg, #ffd57b, #ffaa44);
  box-shadow: 0 0 12px rgba(255, 170, 68, 0.4);
  font-weight: 700;
}

/* locked detail body */
.news-locked {
  position: relative;
  text-align: center;
  padding: 48px 28px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 170, 68, 0.10), transparent 60%),
    rgba(0, 12, 24, 0.6);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.news-locked .lock-ico { font-size: 40px; margin-bottom: 12px; }
.news-locked .lock-head {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 14px;
}
.news-locked .lock-teaser {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  max-width: 480px;
  margin: 0 auto 14px;
  text-align: center;
}
/* 末尾の点々をうっすら透明にフェード */
.news-locked .lock-fade {
  background: linear-gradient(90deg, rgba(138, 160, 189, 0.65), rgba(138, 160, 189, 0));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.news-locked .lock-note {
  color: var(--blue-soft);
  font-size: 13px;
  margin-bottom: 24px;
}
.lock-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* MEMBERS section */
.members {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}
.members-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}
.members-lead {
  font-size: 16px;
  color: var(--white);
  line-height: 1.9;
  margin-bottom: 30px;
}
.members-perks {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  margin: 0 auto 36px;
  padding: 28px 36px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 200, 255, 0.04);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  font-size: 15px;
  color: var(--white);
}
.members-perks .perk-ico { margin-right: 10px; }
.members-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.members-soon {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

@media (max-width: 900px) {
  .members { padding: 70px 0; }
  .members-inner { padding: 0 20px; }
  .members-perks { padding: 22px 24px; }
  .news-locked { padding: 36px 18px; }
}

/* ==========================================================================
   TECH GEOMETRIC BACKGROUND (cityscape.js が .city-bg 内に生成)
   近未来テクノロジー / IT企業っぽい幾何学背景
   ========================================================================== */
.tech-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(31, 109, 255, 0.14), transparent 58%),
    radial-gradient(ellipse at 82% 82%, rgba(0, 200, 255, 0.10), transparent 55%),
    radial-gradient(ellipse at 12% 90%, rgba(120, 90, 255, 0.10), transparent 55%),
    linear-gradient(180deg, #03060d 0%, #04081a 55%, #05030f 100%);
}

.tech-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}
.tech-glow-a {
  width: 48vw; height: 48vw;
  top: -12%; left: -8%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.5) 0%, transparent 65%);
  animation: tech-drift 26s ease-in-out infinite;
}
.tech-glow-b {
  width: 42vw; height: 42vw;
  bottom: -14%; right: -10%;
  background: radial-gradient(circle, rgba(120, 90, 255, 0.45) 0%, transparent 65%);
  animation: tech-drift 32s ease-in-out infinite reverse;
}
@keyframes tech-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(4%, -3%) scale(1.06); }
}

.tech-rings {
  position: absolute;
  width: min(72vmin, 720px);
  height: min(72vmin, 720px);
  opacity: 0.5;
  pointer-events: none;
}
.tr-1 { top: -10%; right: -8%; animation: spin-cw 70s linear infinite; }
.tr-2 { bottom: -14%; left: -10%; animation: spin-ccw 90s linear infinite; }
.ring-poly { fill: none; stroke: rgba(0, 200, 255, 0.5); stroke-width: 1; }
.ring-poly.dim { stroke: rgba(120, 90, 255, 0.4); }
.ring-circ { fill: none; stroke: rgba(0, 200, 255, 0.3); stroke-width: 1; stroke-dasharray: 5 11; }
@keyframes spin-cw  { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }

.tech-shapes { position: absolute; inset: 0; pointer-events: none; }
.tshape {
  position: absolute;
  opacity: var(--op, 0.12);
  will-change: transform;
  animation-name: tshape-float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.t-sq   { border: 1px solid rgba(0, 200, 255, 0.7); }
.t-ring { border: 1px solid rgba(120, 90, 255, 0.7); border-radius: 50%; }
.t-hex  { background: rgba(0, 200, 255, 0.55); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.t-tri  { background: rgba(120, 90, 255, 0.5); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
@keyframes tshape-float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-22px) rotate(calc(var(--rot, 0deg) + 16deg)); }
}

.tech-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 42%, transparent 38%, rgba(3, 6, 13, 0.55) 100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .tech-glow, .tech-rings, .tshape { animation: none !important; }
}

/* ==== NEWS share buttons (記事のシェア) ============================== */
.news-share {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.news-share .share-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-right: 4px;
}
.news-share .share-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 200, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  transition: all .25s;
}
.news-share .share-btn .share-ico { font-size: 15px; line-height: 1; }
.news-share .share-btn.x:hover {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}
.news-share .share-btn.copy:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.3);
}
.news-share .share-btn.copy.done {
  border-color: #00ff88;
  color: #00ff88;
}
