/*
Theme Name: スポってJunction
Theme URI: https://junction-utaspo.com
Author: スポってJunction
Description: 名古屋・栄のスポーツ観戦バー「スポってJunction」公式サイト用テーマ。ネオンシネマ × アリーナ世界観。
Version: 0.10.41
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: spotte-junction
*/

:root {
    --sj-pink: #ff2d7a;
    --sj-pink-deep: #c3155a;
    --sj-purple: #8a2be2;
    --sj-purple-soft: #a855f7;
    --sj-cyan: #06b6d4;
    --sj-gold: #ffd341;
    --sj-gold-deep: #f4a01a;
    --sj-red: #ef4444;
    --sj-white: #fff;
    --sj-gray: #9aa0aa;
    --sj-gray-ink: #cdd2db;
    --sj-night: #0a0514;
    --sj-night-2: #1a0a2e;
    --sj-card: rgba(20, 11, 40, 0.82);
    --sj-card-border: rgba(255, 45, 122, 0.28);
    --sj-divider: rgba(255, 255, 255, 0.12);
    --sj-max: 1080px;
    --sj-header-h: 64px;

    --sj-glow-pink: 0 0 24px rgba(255, 45, 122, 0.55);
    --sj-glow-gold: 0 0 22px rgba(255, 211, 65, 0.55);

    --sj-neon-pink-text:
        0 0 8px rgba(255, 45, 122, 0.9),
        0 0 18px rgba(255, 45, 122, 0.6),
        0 0 32px rgba(255, 45, 122, 0.35);
    --sj-neon-gold-text:
        0 0 8px rgba(255, 211, 65, 0.9),
        0 0 18px rgba(255, 211, 65, 0.6),
        0 0 32px rgba(255, 211, 65, 0.35);

    --sj-outline:
        -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000,
        -3px 0 0 #000, 3px 0 0 #000, 0 -3px 0 #000, 0 3px 0 #000;
}

* { box-sizing: border-box; }
html { overflow-anchor: none; }   /* prevent scroll anchoring jumps when sticky positions flip */
html, body { min-height: 100%; }

body {
    margin: 0;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", sans-serif;
    color: var(--sj-gray-ink);
    line-height: 1.75;
    background-color: var(--sj-night);
    background-image:
        radial-gradient(ellipse 60% 40% at 20% 20%, rgba(255, 45, 122, 0.10), transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(138, 43, 226, 0.10), transparent 60%),
        linear-gradient(180deg, #0a0514 0%, #1a0a2e 50%, #0a0514 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: clip;            /* clip keeps sticky working (hidden would break it) */
    overflow-anchor: none;
}

a { color: var(--sj-pink); text-decoration: none; transition: color .2s, text-shadow .2s; }
a:hover { color: var(--sj-gold); text-shadow: var(--sj-neon-gold-text); }

img { max-width: 100%; height: auto; display: block; }

/* ====== Global motion keyframes ====== */
@keyframes sj-sweep {
    0%, 100% { transform: rotate(-18deg); opacity: .4; }
    50%      { transform: rotate(18deg);  opacity: .7; }
}
@keyframes sj-spot-pulse {
    0%, 100% { opacity: .5; transform: scale(1); }
    50%      { opacity: 1;  transform: scale(1.2); }
}
@keyframes sj-fall {
    0%   { transform: translateY(-40px) rotate(0);    opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(640px) rotate(720deg); opacity: 0; }
}
@keyframes sj-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: .3; }
}
@keyframes sj-radial-shift {
    0%   { background-position: 20% 50%, 80% 50%, 50% 80%; }
    33%  { background-position: 80% 50%, 50% 80%, 20% 50%; }
    66%  { background-position: 50% 80%, 20% 50%, 80% 50%; }
    100% { background-position: 20% 50%, 80% 50%, 50% 80%; }
}
@keyframes sj-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes sj-float-up {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: .6; }
    100% { transform: translateY(-300px) translateX(var(--drift, 0)); opacity: 0; }
}
@keyframes sj-rotate-slow { to { transform: rotate(360deg); } }
@keyframes sj-rotate-slow-r { to { transform: rotate(-360deg); } }
@keyframes sj-reveal-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sj-flame {
    0%, 100% { opacity: 1;   transform: translateY(0)    scale(1); }
    50%      { opacity: .75; transform: translateY(-3px) scale(1.1); }
}
@keyframes sj-glow-pulse {
    0%, 100% {
        box-shadow: 0 0 18px rgba(255, 45, 122, 0.5), 0 6px 18px rgba(0, 0, 0, 0.45);
    }
    50% {
        box-shadow: 0 0 34px rgba(255, 45, 122, 0.85), 0 10px 26px rgba(0, 0, 0, 0.55);
    }
}
@keyframes sj-live-pulse {
    0%, 100% { box-shadow: 0 0 0 0   rgba(239, 68, 68, 0.5); }
    50%      { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0);   }
}

/* ====== Header (glassy neon) ====== */
.sj-header {
    background: rgba(10, 5, 20, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--sj-white);
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 45, 122, 0.3);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.sj-header::after {
    content: "";
    display: block;
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sj-pink) 20%, var(--sj-gold) 50%, var(--sj-pink) 80%, transparent);
    opacity: .8;
}
.sj-header__inner {
    max-width: var(--sj-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.sj-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--sj-white);
    text-decoration: none;
    letter-spacing: .02em;
    font-weight: 900;
    font-size: 1.15rem;
    text-shadow: var(--sj-neon-pink-text);
}
.sj-header__logo {
    /* Wordmark logo (650x180 ~ 3.61:1). Lock height; width auto. */
    height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 45, 122, 0.55));
}
@media (max-width: 640px) {
    .sj-header__logo { height: 38px; }
}
.sj-header__nav ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 18px;
    font-size: .92rem;
    font-weight: 700;
}
.sj-header__nav a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    letter-spacing: .04em;
}
.sj-header__nav a:hover { color: var(--sj-gold); text-shadow: var(--sj-neon-gold-text); }
@media (max-width: 640px) {
    .sj-header__nav { display: none; }
}

/* ====== Main container ====== */
.sj-main {
    /* Sticky stack needs each section to span the full viewport, so the main
       container no longer constrains width. Children center their own content. */
    max-width: none;
    margin: 0;
    padding: 0 0 64px;
    position: relative;
    z-index: 1;
}

/* ====== Hero: Neon cinema arena (fills viewport below sticky header) ====== */
.sj-hero-full {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--sj-header-h));   /* fallback */
    height: calc(100dvh - var(--sj-header-h));  /* dynamic viewport (modern) */
    min-height: 560px;
    overflow: hidden;
    margin: 0;
    background: var(--sj-night);
    color: var(--sj-white);
    isolation: isolate;
}
@media (max-width: 640px) {
    .sj-hero-full { min-height: 520px; padding-bottom: 48px; }
}

/* Video + poster base layer */
.sj-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: saturate(1.15) contrast(1.05);
}

/* Deep background radial (v2: rotating 3 colors) */
.sj-hero-radial {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 45, 122, 0.22), transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 211, 65, 0.18), transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(138, 43, 226, 0.22), transparent 50%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    background-repeat: no-repeat;
    animation: sj-radial-shift 16s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Overlay gradient (v2) */
.sj-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(10,5,20,0.35) 0%, rgba(10,5,20,0.60) 60%, rgba(10,5,20,0.95) 100%);
    pointer-events: none;
}

/* Arena floor ring (v1) */
.sj-arena-ring {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 140%;
    height: 280px;
    z-index: 2;
    background: radial-gradient(ellipse at 50% 100%, rgba(236, 72, 153, 0.35) 0%, rgba(168, 85, 247, 0.15) 30%, transparent 60%);
    pointer-events: none;
}

/* Light beams (v1 style: 4 beams, swing -18° → 18°) */
.sj-beam {
    position: absolute;
    top: -20px;
    width: 280px;
    height: 340px;
    z-index: 3;
    opacity: .55;
    mix-blend-mode: screen;
    filter: blur(8px);
    transform-origin: top center;
    animation: sj-sweep 6s ease-in-out infinite;
    pointer-events: none;
}
.sj-beam::before {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(45% 0%, 55% 0%, 100% 100%, 0% 100%);
}
.sj-beam-1 { left:  8%; animation-delay: 0s; }
.sj-beam-1::before { background: linear-gradient(to bottom, rgba(255, 45, 122, 0.9) 0%, rgba(255, 45, 122, 0.4) 40%, transparent 80%); }
.sj-beam-2 { left: 30%; animation-delay: 1.2s; }
.sj-beam-2::before { background: linear-gradient(to bottom, rgba(168, 85, 247, 0.9) 0%, rgba(168, 85, 247, 0.4) 40%, transparent 80%); }
.sj-beam-3 { left: 55%; animation-delay: 2.4s; }
.sj-beam-3::before { background: linear-gradient(to bottom, rgba(6, 182, 212, 0.85) 0%, rgba(6, 182, 212, 0.35) 40%, transparent 80%); }
.sj-beam-4 { left: 78%; animation-delay: 3.6s; }
.sj-beam-4::before { background: linear-gradient(to bottom, rgba(255, 211, 65, 0.85) 0%, rgba(255, 211, 65, 0.35) 40%, transparent 80%); }

/* Spotlights (v1 style: blurred circles that pulse) */
.sj-spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: sj-spot-pulse 3s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}
.sj-spot-1 { top: 10%; left: 15%; width: 200px; height: 200px; background: rgba(255, 45, 122, 0.55); animation-delay: 0s; }
.sj-spot-2 { top: 20%; right: 10%; width: 240px; height: 240px; background: rgba(168, 85, 247, 0.5);  animation-delay: 1s; }
.sj-spot-3 { top:  5%; left: 45%; width: 180px; height: 180px; background: rgba(255, 211, 65, 0.4);   animation-delay: 2s; }

/* Falling confetti (v1 style: 60 pieces, JS-spawned) */
.sj-confetti-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}
.sj-confetti {
    position: absolute;
    width: 10px;
    height: 14px;
    top: -30px;
    opacity: 0;
    animation: sj-fall linear infinite;
}

/* Floating upward particles (v2 style) */
.sj-hero-particle {
    position: absolute;
    bottom: 0;
    width: 4px;
    height: 4px;
    background: var(--sj-gold);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 8px rgba(255, 211, 65, 0.9);
    animation: sj-float-up 4s ease-out infinite;
    z-index: 5;
    pointer-events: none;
}

/* Rotating ★/✦ decorations (v2 style) */
.sj-hero-deco {
    position: absolute;
    z-index: 5;
    font-size: 64px;
    opacity: .2;
    pointer-events: none;
}
.sj-hero-deco--tr { top: 60px; right: 5%;   color: var(--sj-gold); animation: sj-rotate-slow 20s linear infinite; }
.sj-hero-deco--bl { bottom: 120px; left: 5%; color: var(--sj-pink); animation: sj-rotate-slow-r 25s linear infinite; font-size: 52px; }

/* Crowd silhouette (SVG-like) */
.sj-hero-crowd {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    z-index: 6;
    pointer-events: none;
    background:
        radial-gradient(ellipse 44px 18px at  3% 100%, #000 60%, transparent 65%),
        radial-gradient(ellipse 60px 24px at 10% 100%, #000 60%, transparent 65%),
        radial-gradient(ellipse 48px 18px at 18% 100%, #000 60%, transparent 65%),
        radial-gradient(ellipse 64px 26px at 26% 100%, #000 60%, transparent 65%),
        radial-gradient(ellipse 50px 20px at 34% 100%, #000 60%, transparent 65%),
        radial-gradient(ellipse 68px 28px at 42% 100%, #000 60%, transparent 65%),
        radial-gradient(ellipse 52px 22px at 50% 100%, #000 60%, transparent 65%),
        radial-gradient(ellipse 60px 24px at 58% 100%, #000 60%, transparent 65%),
        radial-gradient(ellipse 48px 18px at 66% 100%, #000 60%, transparent 65%),
        radial-gradient(ellipse 64px 26px at 74% 100%, #000 60%, transparent 65%),
        radial-gradient(ellipse 50px 20px at 82% 100%, #000 60%, transparent 65%),
        radial-gradient(ellipse 60px 24px at 90% 100%, #000 60%, transparent 65%),
        radial-gradient(ellipse 44px 18px at 97% 100%, #000 60%, transparent 65%),
        linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 80%);
    opacity: .85;
}

/* Hero content */
.sj-hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--sj-max);
    margin: 0 auto;
    padding: 110px 24px 0;
    text-align: center;
}
.sj-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 45, 122, 0.16);
    border: 1px solid rgba(255, 45, 122, 0.55);
    color: var(--sj-gold);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em;
    margin-bottom: 22px;
    text-transform: uppercase;
}
.sj-hero-badge__dot {
    width: 8px;
    height: 8px;
    background: var(--sj-red);
    border-radius: 50%;
    animation: sj-blink 1.5s ease-in-out infinite;
}
.sj-hero-title {
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1.02;
    margin: 0 0 18px;
    color: var(--sj-white);
    text-shadow: var(--sj-neon-pink-text);
}
.sj-hero-title__accent {
    display: block;
    color: var(--sj-gold);
    text-shadow: var(--sj-neon-gold-text);
    margin-top: 4px;
}
.sj-hero-jp {
    font-size: clamp(.9rem, 1.6vw, 1.1rem);
    color: var(--sj-gray-ink);
    letter-spacing: .2em;
    margin: 0 0 24px;
    opacity: .9;
}
.sj-hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: rgba(255,255,255,.9);
    margin: 0 auto 12px;
    max-width: 640px;
}
.sj-hero-meta {
    font-size: .85rem;
    color: var(--sj-gold);
    letter-spacing: .2em;
    margin: 0 0 28px;
}
.sj-hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Diagonal marquee (v1 style) */
.sj-marquee {
    position: absolute;
    left: -4%;
    right: -4%;
    bottom: 190px;
    z-index: 7;
    overflow: hidden;
    padding: 8px 0;
    background: rgba(236, 72, 153, 0.92);
    transform: rotate(-1.8deg);
    border-top: 1px solid rgba(255, 211, 65, 0.8);
    border-bottom: 1px solid rgba(255, 211, 65, 0.8);
    box-shadow: 0 0 32px rgba(236, 72, 153, 0.55);
}
.sj-marquee__track {
    display: inline-flex;
    gap: 44px;
    white-space: nowrap;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .16em;
    color: #fff;
    animation: sj-marquee 24s linear infinite;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.sj-marquee__track span { display: inline-flex; align-items: center; gap: 10px; }
.sj-marquee__track b { color: var(--sj-gold); font-weight: 900; }
@media (hover: hover) {
    .sj-marquee:hover .sj-marquee__track { animation-play-state: paused; }
}
@media (max-width: 640px) {
    .sj-marquee { bottom: 160px; }
    .sj-marquee__track { animation-duration: 18s; font-size: .85rem; gap: 32px; }
}

/* ====== Section framing ====== */
.sj-section {
    /* Extra top padding so the section head clears the sticky header logo
       when the section snaps into place. */
    padding: 104px 16px 72px;
    position: relative;
    /* Sticky stack spans full viewport; children center themselves below. */
    max-width: none;
    margin: 0;
}
.sj-section > * {
    max-width: var(--sj-max);
    margin-left: auto;
    margin-right: auto;
}
.sj-section-head {
    text-align: center;
    /* Tighter than before to compensate for the extra top padding above. */
    margin-bottom: 20px;
}
.sj-section-label {
    font-size: .8rem;
    letter-spacing: .3em;
    color: var(--sj-gold);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 211, 65, 0.35);
}
.sj-section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    margin: 0;
    letter-spacing: .03em;
    color: var(--sj-white);
    text-shadow: var(--sj-neon-pink-text);
}
.sj-section-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--sj-pink), var(--sj-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.sj-section .sj-desc {
    text-align: center;
    color: rgba(255,255,255,.65);
    /* Tighten gap to the content below now that the section has more
       top breathing room. */
    margin: -8px 0 8px;
    font-size: .95rem;
}

/* ====== Section divider (v2: SVG wave) ====== */
.sj-divider {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    height: 80px;
    overflow: hidden;
}
.sj-divider svg { display: block; width: 100%; height: 100%; }

/* ====== Buttons ====== */
.sj-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--sj-pink), var(--sj-pink-deep));
    color: var(--sj-white);
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .05em;
    margin: 4px;
    min-height: 44px;
    line-height: 1;
    border: 2px solid var(--sj-pink);
    box-shadow: 0 0 18px rgba(255, 45, 122, 0.55), 0 6px 18px rgba(0, 0, 0, 0.45);
    transition: transform .2s, box-shadow .2s, filter .2s;
    cursor: pointer;
}
.sj-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 30px rgba(255, 45, 122, 0.85), 0 10px 26px rgba(0, 0, 0, 0.55);
    color: var(--sj-white);
    filter: brightness(1.1);
}
.sj-btn-gold {
    background: linear-gradient(135deg, var(--sj-gold), var(--sj-gold-deep));
    border-color: var(--sj-gold);
    color: #1a0a2e;
    box-shadow: 0 0 18px rgba(255, 211, 65, 0.55);
}
.sj-btn-gold:hover {
    box-shadow: 0 0 30px rgba(255, 211, 65, 0.85);
    color: #1a0a2e;
}
.sj-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--sj-white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
    backdrop-filter: blur(8px);
}
.sj-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}
.sj-btn-outline {
    background: transparent;
    color: var(--sj-pink);
    border: 2px solid var(--sj-pink);
    box-shadow: none;
}
.sj-btn-outline:hover {
    background: rgba(255, 45, 122, 0.12);
    color: var(--sj-white);
}

/* ====== Hype band (existing 推しは最強 section) ====== */
.sj-hype-band {
    margin: 8px -16px 40px;
    padding: 22px 16px;
    text-align: center;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 60, 0, 0.5), transparent 40%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 45, 122, 0.45), transparent 45%),
        linear-gradient(90deg, #2a0618, #4a0a2c, #2a0618);
    border-top: 2px solid var(--sj-gold-deep);
    border-bottom: 2px solid var(--sj-gold-deep);
    position: relative;
    overflow: hidden;
}
.sj-hype-headline {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    letter-spacing: .12em;
    margin: 0;
    background: linear-gradient(180deg, #fff7b0 0%, #ffd341 45%, #f4a01a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 6px rgba(255, 100, 0, 0.6));
}
.sj-hype-headline .sj-flame { display: inline-block; filter: drop-shadow(0 0 6px #ff6a1f); animation: sj-flame 2.1s infinite ease-in-out; }
.sj-hype-tags {
    margin-top: 6px;
    color: #fff;
    font-weight: 700;
    letter-spacing: .06em;
    font-size: .95rem;
}

/* ====== Schedule (v1 tab + row list, v2 LIVE status) ====== */
.sj-sched-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.sj-tab {
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.75);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: all .2s;
}
.sj-tab:hover { color: var(--sj-white); border-color: rgba(255, 45, 122, 0.4); }
.sj-tab.is-on {
    background: linear-gradient(135deg, var(--sj-pink), var(--sj-pink-deep));
    border-color: transparent;
    color: var(--sj-white);
    box-shadow: 0 0 18px rgba(255, 45, 122, 0.5);
}

.sj-sched-grid {
    /* Use flex-column rather than display:grid so the internal scroll
       inside #schedule doesn't compress the per-card row height (which
       was clipping the second line + time range). */
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}
.sj-sched-grid > .sj-match { flex: 0 0 auto; }
.sj-match {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 16px;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 45, 122, 0.10), rgba(168, 85, 247, 0.08));
    border: 1px solid rgba(255, 45, 122, 0.28);
    border-radius: 14px;
    padding: 14px 18px;
    transition: all .25s;
    cursor: default;
    position: relative;
    overflow: hidden;
}
.sj-match::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--sj-pink), var(--sj-gold));
}
.sj-match:hover {
    transform: translateX(6px);
    border-color: rgba(255, 211, 65, 0.55);
    background: linear-gradient(135deg, rgba(255, 45, 122, 0.18), rgba(255, 211, 65, 0.10));
}
.sj-match.is-live {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(255, 45, 122, 0.15));
    border-color: rgba(239, 68, 68, 0.6);
    animation: sj-live-pulse 2s ease-in-out infinite;
}
.sj-match__date {
    text-align: center;
    min-width: 52px;
}
.sj-match__day {
    font-size: .7rem;
    letter-spacing: .12em;
    color: rgba(255,255,255,0.6);
    font-weight: 700;
}
.sj-match__num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--sj-gold);
    line-height: 1;
    margin-top: 2px;
}
.sj-match__main { min-width: 0; }
.sj-match__teams {
    font-size: .98rem;
    font-weight: 700;
    color: var(--sj-white);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.sj-match__vs {
    color: var(--sj-pink);
    font-size: .72rem;
    font-weight: 800;
    padding: 2px 7px;
    background: rgba(255, 45, 122, 0.2);
    border-radius: 4px;
    letter-spacing: .1em;
}
.sj-match__info {
    font-size: .8rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.sj-match__sport {
    display: inline-flex;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    font-size: .72rem;
    color: var(--sj-white);
    font-weight: 700;
}
.sj-match__time {
    text-align: right;
    min-width: 56px;
}
.sj-match__time b {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--sj-white);
    letter-spacing: .04em;
}
.sj-match__time span { color: rgba(255,255,255,0.5); font-size: .72rem; }
.sj-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--sj-red);
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 4px;
}
.sj-live-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: sj-blink 1s infinite;
}

.sj-empty {
    padding: 24px;
    text-align: center;
    color: var(--sj-gray);
    background: var(--sj-card);
    border: 1px dashed var(--sj-divider);
    border-radius: 10px;
}

/* ====== Teams (v1 card grid) ====== */
.sj-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    max-width: 720px;
    margin: 0 auto;
}
.sj-team {
    /* Solid card surface so the locker-room photo behind #teams doesn't
       wash out the card. Keep the magenta/purple tint as a subtle wash
       on top of the dark base. */
    background:
        linear-gradient(135deg, rgba(255, 45, 122, 0.18), rgba(168, 85, 247, 0.14)),
        rgba(10, 5, 20, 0.88);
    border: 1px solid rgba(255, 45, 122, 0.55);
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    color: var(--sj-white);
    position: relative;
    overflow: hidden;
    display: block;
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
}
.sj-team:hover {
    transform: translateY(-6px);
    border-color: var(--sj-gold);
    box-shadow: 0 10px 30px rgba(255, 45, 122, 0.3);
    color: var(--sj-white);
}
.sj-team:hover .sj-team__icon { transform: scale(1.15) rotate(-8deg); }
.sj-team__icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
    display: inline-block;
    transition: transform .3s;
}
.sj-team__logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    margin: 0 auto 8px;
    display: block;
}
.sj-team__name {
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--sj-white);
}
.sj-team__sport {
    font-size: .68rem;
    color: rgba(255, 211, 65, 0.85);
    margin-top: 6px;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 800;
}

.sj-teams-note {
    text-align: center;
    margin-top: 16px;
    font-size: .88rem;
    color: rgba(255,255,255,0.55);
}

/* ====== Features (v2 2-col slide-in + v1 numbers) ====== */
.sj-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    max-width: 840px;
    margin: 0 auto;
}
.sj-feature {
    position: relative;
    padding: 26px 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
/* Inside #features the section has a photo background, so the cards
   need a solid dark surface to stay readable. */
#features .sj-feature {
    background:
        linear-gradient(135deg, rgba(255, 45, 122, 0.12), rgba(168, 85, 247, 0.08)),
        rgba(10, 5, 20, 0.86);
    border-color: rgba(255, 45, 122, 0.45);
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
}
.sj-feature::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 45, 122, 0.3), transparent 70%);
    pointer-events: none;
}
.sj-feature:hover {
    transform: translateX(8px);
    border-color: var(--sj-pink);
    box-shadow: 0 10px 32px rgba(255, 45, 122, 0.25);
}
.sj-feature__num {
    font-size: .72rem;
    letter-spacing: .3em;
    color: var(--sj-gold);
    font-weight: 900;
    margin-bottom: 6px;
}
.sj-feature__icon { font-size: 2.4rem; margin-bottom: 10px; display: block; }
.sj-feature__title {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0 0 8px;
    color: var(--sj-white);
}
.sj-feature__desc {
    font-size: .9rem;
    color: rgba(255,255,255, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* ====== House rules ====== */
.sj-rules {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    max-width: var(--sj-max);
}
.sj-rule {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px 22px;
    background: var(--sj-card);
    border: 1px solid var(--sj-card-border);
    border-radius: 18px;
    box-shadow: 0 0 28px rgba(255, 45, 122, 0.12);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sj-rule:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 211, 65, 0.45);
    box-shadow: 0 0 36px rgba(255, 211, 65, 0.18);
}
.sj-rule__emoji {
    font-size: 2.4rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(255, 45, 122, 0.45));
}
.sj-rule__body { min-width: 0; }
.sj-rule__title {
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--sj-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: .02em;
}
.sj-rule__body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: .9rem;
    line-height: 1.7;
}
.sj-rules-tagline {
    max-width: var(--sj-max);
    margin: 36px auto 0;
    text-align: center;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 900;
    color: var(--sj-gold);
    text-shadow: var(--sj-neon-gold-text);
    letter-spacing: .04em;
    line-height: 1.6;
}

/* ====== Menu excerpt (v1 2-col) ====== */
.sj-menu-excerpt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 720px;
    margin: 0 auto;
}
@media (max-width: 540px) {
    .sj-menu-excerpt { grid-template-columns: 1fr; gap: 20px; }
}
.sj-menu-col h3 {
    font-size: .95rem;
    color: var(--sj-gold);
    margin: 0 0 14px;
    letter-spacing: .1em;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 211, 65, 0.3);
    font-weight: 900;
}
.sj-menu-list { list-style: none; padding: 0; margin: 0; }
.sj-menu-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.08);
    gap: 12px;
    align-items: baseline;
    font-size: .95rem;
}
.sj-menu-name { color: var(--sj-white); font-weight: 600; }
.sj-menu-price { color: var(--sj-pink); font-weight: 800; }

.sj-menu-note {
    text-align: center;
    margin-top: 20px;
    font-size: .85rem;
    color: rgba(255,255,255,0.6);
}

/* ====== CAMPFIRE banner (pinned to bottom of viewport) ====== */
body { padding-bottom: 64px; }
@media (max-width: 640px) {
    body { padding-bottom: 56px; }
}
.sj-campfire {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    margin: 0;
    padding: 0;
    transition: transform .3s ease;
}
.sj-campfire.is-hidden { transform: translateY(100%); }
.sj-campfire__link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 24px;
    background: linear-gradient(90deg, #ff5d4d 0%, #ff8a2a 50%, #ffb547 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .04em;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(255, 93, 77, 0.45);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.sj-campfire__link:hover {
    color: #fff;
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 8px 32px rgba(255, 93, 77, 0.6);
    text-shadow: none;
}
.sj-campfire__badge {
    background: #fff;
    color: #ff5d4d;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .12em;
}
.sj-campfire__text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.sj-campfire__arrow {
    font-weight: 900;
    transition: transform .2s ease;
}
.sj-campfire__link:hover .sj-campfire__arrow { transform: translateX(4px); }
/* Static (non-link) variant: announcement-only, no hover effects */
.sj-campfire__link--static,
.sj-campfire__link--static:hover {
    cursor: default;
    transform: none;
    filter: none;
    box-shadow: 0 4px 24px rgba(255, 93, 77, 0.45);
}
@media (max-width: 640px) {
    .sj-campfire__link { font-size: .95rem; padding: 14px 16px; gap: 10px; }
    .sj-campfire__badge { font-size: .75rem; padding: 3px 8px; }
}

/* ====== CTA section ====== */
.sj-cta-section {
    /* Main container is now full-width; no calc breakout needed.
       Extra 20px of headroom above the CTA copy. */
    position: relative;
    margin: 68px 0 0;
    max-width: none;
    padding: 84px 24px 64px;
    background: linear-gradient(135deg, var(--sj-pink-deep) 0%, #7c1d4e 50%, var(--sj-night-2) 100%);
    text-align: center;
}
.sj-cta-section h3 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    margin: 0 0 10px;
    color: var(--sj-white);
    text-shadow: var(--sj-neon-pink-text);
    letter-spacing: .04em;
}
.sj-cta-section p {
    color: rgba(255,255,255,0.85);
    margin: 0 0 24px;
    font-size: .95rem;
}

/* ====== Store info table ====== */
.sj-info-table {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--sj-card);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--sj-card-border);
    color: var(--sj-gray-ink);
}
.sj-info-table th,
.sj-info-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid var(--sj-divider);
}
.sj-info-table th {
    background: rgba(255, 45, 122, 0.08);
    width: 30%;
    font-weight: 800;
    color: var(--sj-gold);
    letter-spacing: .04em;
}
.sj-info-table td { color: var(--sj-gray-ink); }

/* Subhead inside #info (e.g. for merged 予約・外部サイト links) */
.sj-info-subhead {
    max-width: 720px;
    margin: 40px auto 14px;
    text-align: center;
    color: var(--sj-gold);
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .12em;
}

/* ====== Sister block ====== */
.sj-sister {
    max-width: 720px;
    margin: 0 auto;
    background: var(--sj-card);
    border: 1px solid var(--sj-card-border);
    padding: 20px;
    border-radius: 14px;
    display: flex;
    gap: 16px;
    align-items: center;
}
.sj-sister h3 { color: var(--sj-white); margin: 0 0 4px; }
.sj-sister__emoji { font-size: 2.4rem; filter: drop-shadow(0 0 10px rgba(255, 45, 122, 0.6)); }

/* ====== News ====== */
.sj-news-list { list-style: none; padding: 0; margin: 0; max-width: 720px; margin: 0 auto; }
.sj-news-list li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--sj-divider);
    display: flex;
    gap: 12px;
}
.sj-news-list a { color: var(--sj-white); font-weight: 600; }
.sj-news-list a:hover { color: var(--sj-gold); text-shadow: var(--sj-glow-gold); }
.sj-news-date { min-width: 96px; color: var(--sj-gray); font-size: .88rem; }

/* ====== Footer ====== */
.sj-footer {
    background: linear-gradient(180deg, #000 0%, #1a0a2e 100%);
    color: rgba(255,255,255,0.5);
    padding: 32px 16px;
    text-align: center;
    font-size: .82rem;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 45, 122, 0.2);
}
.sj-footer a { color: rgba(255,255,255,0.7); }

/* ====== Map ====== */
.sj-map {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--sj-card-border);
    border-radius: 14px;
    box-shadow: 0 0 18px rgba(255, 45, 122, 0.18);
    max-width: 720px;
    margin: 0 auto;
    display: block;
}

/* ====== External links ====== */
.sj-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.sj-links a {
    display: inline-block;
    padding: 10px 18px;
    background: var(--sj-card);
    border: 1px solid var(--sj-card-border);
    border-radius: 999px;
    text-decoration: none;
    color: var(--sj-white);
    font-weight: 600;
}
.sj-links a:hover { border-color: var(--sj-pink); box-shadow: var(--sj-glow-pink); }

/* ====== Scroll reveal ====== */
.sj-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.2, .65, .2, 1), transform .6s cubic-bezier(.2, .65, .2, 1);
    will-change: opacity, transform;
}
.sj-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== Sticky stack (each section slides up over the previous one) ====== */
/* No rounded corners on this site — keep flat edges, just keep the
   upward shadow for a subtle stacking cue.
   Hero (#top) is the base layer so it does NOT get the negative top margin. */
#schedule, #teams, #features, #rules, #cta, #info, #access, #news {
    border-radius: 0;
    box-shadow: 0 -16px 38px rgba(0, 0, 0, 0.45);
    position: relative;
    z-index: 1;
    margin-top: -30px;
}
/* Pin each cover section to the top of the viewport. Windowing JS in
   arena.js keeps only 2 pinned at any moment to avoid heavy compositing. */
#top, #schedule, #teams, #features, #rules, #cta, #info, #access, #news {
    position: sticky;
    top: 0;
    min-height: 100svh;
}
/* Opaque background so each panel fully covers the one beneath it. */
#schedule, #rules, #info, #access, #news {
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255, 45, 122, 0.10), transparent 70%),
        var(--sj-night);
}
/* #teams uses a locker-room photo background with a light overlay so
   the photo stays bright while team cards still have enough contrast. */
#teams {
    background:
        linear-gradient(180deg, rgba(10, 5, 20, 0.35) 0%, rgba(10, 5, 20, 0.15) 50%, rgba(10, 5, 20, 0.45) 100%),
        url('assets/teams-bg.png') center / cover no-repeat,
        var(--sj-night);
}
/* #features uses a photo background converted to WebP for size.
   Gradient overlay keeps the feature cards readable. */
#features {
    background:
        linear-gradient(180deg, rgba(10, 5, 20, 0.40) 0%, rgba(10, 5, 20, 0.20) 50%, rgba(10, 5, 20, 0.55) 100%),
        url('assets/features-bg.webp') center / cover no-repeat,
        var(--sj-night);
}

/* #schedule: keep section locked to 100svh so the sticky stack can still
   pin it. The match grid scrolls internally instead of pushing the panel
   past the viewport.
   - Use `overflow: clip` (not `hidden`) — `hidden` makes the element a
     scroll container and can break ancestor/self sticky.
   - Use `height` (not just `max-height`) so the flex children get a
     concrete height to share. */
#schedule {
    display: flex;
    flex-direction: column;
    height: 100svh;
    max-height: 100svh;
    overflow: clip;
}
#schedule > .sj-section-head,
#schedule > .sj-sched-tabs,
#schedule > .sj-menu-note { flex: 0 0 auto; }
#schedule > .sj-sched-grid {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    /* Reserve a stable gutter so the scrollbar never overlaps card content
       (the right-side time column was getting eaten by the scrollbar). */
    scrollbar-gutter: stable;
    /* Belt-and-suspenders padding for browsers without scrollbar-gutter
       (older iOS Safari) and to give cards a touch of breathing room. */
    padding-right: 16px;
    /* Soft fade at top/bottom of the scroll area. */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
}
@media (max-width: 640px) {
    #schedule > .sj-sched-grid { padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    #top, #schedule, #teams, #features, #rules, #cta, #info, #access, #news {
        position: relative;
        min-height: 0;
    }
}

/* ====== Language switch keep (plugin inline styles win anyway) ====== */
.sj-lang-switch { position: fixed; top: 12px; right: 12px; z-index: 150; }

/* ====== Accent utility ====== */
.sj-gold { color: var(--sj-gold); text-shadow: var(--sj-neon-gold-text); }
.sj-pink-accent { color: var(--sj-pink); text-shadow: var(--sj-neon-pink-text); }

/* ====== Reduced motion ====== */
@media (prefers-reduced-motion: reduce) {
    .sj-beam, .sj-spot, .sj-confetti, .sj-hero-radial,
    .sj-marquee__track, .sj-hero-particle,
    .sj-hero-deco--tr, .sj-hero-deco--bl,
    .sj-hype-headline .sj-flame,
    .sj-match.is-live {
        animation: none !important;
    }
    .sj-reveal { opacity: 1; transform: none; transition: none; }
    .sj-hero-video { display: none; }
}

/* ====== Responsive tune-ups ====== */
@media (max-width: 640px) {
    .sj-hero-content { padding-top: 80px; }
    /* Keep hero at 100svh on mobile too so sticky stack always fully covers
       the previous panel. Don't fall back to height:auto here. */
    .sj-beam { width: 180px; height: 240px; }
    .sj-spot { filter: blur(30px); }
    .sj-section { padding: 80px 16px 48px; }
    .sj-match { grid-template-columns: 52px 1fr auto; padding: 12px 14px; }
    .sj-match__num { font-size: 1.3rem; }
    .sj-info-table th { width: 40%; }
}

/* ====== #schedule sport balls (background canvas) ====== */
#schedule .sj-sched-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}
/* Keep schedule content (head, tabs, grid, note) above the canvas. */
#schedule > *:not(.sj-sched-canvas) {
    position: relative;
    z-index: 2;
}

/* ====== #rules volleyball dive (background canvas) ====== */
#rules .sj-rules-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;   /* override .sj-section > * width clamp */
    margin: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}
/* Keep the rules content above the canvas. */
#rules > *:not(.sj-rules-canvas) {
    position: relative;
    z-index: 2;
}
