:root {
    --primary-color: #c41e3a; /* Christmas Red */
    --secondary-color: #0f172a; /* Dark Navy */
    --accent-gold: #fbbf24; /* Gold */
    --text-color: #f8fafc;
}

html {
    scroll-behavior: smooth; /* 基本的なスムーズスクロール */
}

body {
    font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, .english-font {
    font-family: 'Cinzel', serif;
}

/* Loading Screen (Updated) */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #020617; /* より深い黒 */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

.loading-hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: #334155;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 2rem;
    position: relative;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    animation: loading-scan 1.5s ease-in-out infinite;
}

@keyframes loading-scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* 雪のエフェクト用キャンバス */
#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* クリックを阻害しない */
    z-index: 9998; /* Loading(9999)の下、他全ての要素の上 */
}

/* ヒーローセクションの背景 */
.hero-section {
    position: relative;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
    z-index: 1;
}

.hero-overlay {
    background: url('https://images.unsplash.com/photo-1514525253440-b393452e8d26?q=80&w=2574&auto=format&fit=crop') no-repeat center center/cover;
    opacity: 0.3;
    mix-blend-mode: overlay;
}

/* テキストの光彩エフェクト */
.glow-text {
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5), 0 0 20px rgba(251, 191, 36, 0.3);
}

/* Setlist カードのアニメーション */
.song-card {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.song-card:hover {
    transform: translateX(10px);
    border-left: 3px solid var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05);
}

/* カウントダウンタイマー */
.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* スクロールアニメーション用クラス */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* レコード盤のアニメーション（装飾） */
.vinyl-spin {
    animation: spin 10s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* アニメーション定義 */

/* 1. タイトル登場アニメーション (強化版) */
.title-enter-start {
    opacity: 0;
    transform: scale(3) rotate(-15deg);
    filter: blur(20px);
}
.title-enter-active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0);
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* 2. カウントダウン登場アニメーション (ポップイン) */
.countdown-enter-start {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
}
.countdown-enter-active {
    opacity: 1;
    transform: scale(1) rotate(12deg); /* 最終的に12度傾ける */
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* 3. イラストアニメーション (ゆらゆら) */
.float-animation {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* 4. イラストアニメーション (リズム) - Guitarist 2用 */
.rhythm-animation {
    animation: rhythm 2s ease-in-out infinite;
    transform-origin: center bottom;
}
@keyframes rhythm {
    0% { transform: rotate(10deg) scale(1); }
    50% { transform: rotate(14deg) scale(1.02); }
    100% { transform: rotate(10deg) scale(1); }
}

/* 5. イラストアニメーション (ヘッドバンギング風) - Guitarist 3用 */
.headbang-animation {
    animation: headbang 4s ease-in-out infinite;
    transform-origin: bottom center;
}
@keyframes headbang {
    0% { transform: scaleX(-1) rotate(0deg); }
    25% { transform: scaleX(-1) rotate(-5deg); }
    75% { transform: scaleX(-1) rotate(5deg); }
    100% { transform: scaleX(-1) rotate(0deg); }
}

/* 6. ツリーのキラキラ */
.twinkle-animation {
    animation: twinkle 3s ease-in-out infinite alternate;
}
@keyframes twinkle {
    0% { filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.3)) brightness(1); }
    100% { filter: drop-shadow(0 0 25px rgba(251, 191, 36, 0.8)) brightness(1.2); }
}

/* 7. ヘッダーロゴの移動アニメーション（中央から左上へ） */
@keyframes moveFromCenter {
    0% {
        transform: translate(30vw, 40vh) scale(2);
        opacity: 0;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

.animate-logo-move {
    animation: moveFromCenter 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


/* 既存のコードは維持 */
:root {
    --primary-color: #c41e3a;
    --secondary-color: #0f172a;
    --accent-gold: #fbbf24;
    --text-color: #f8fafc;
}

/* --- SEO追加分: スクリーンリーダー専用（視覚的には消すが検索エンジンには読ませる） --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* 既存のデザイン（以下略） */
html { scroll-behavior: smooth; }
body {
    font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    overflow-x: hidden;
}
h1, h2, .english-font { font-family: 'Cinzel', serif; }
#loading-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #020617; z-index: 9999;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}
.loading-hidden { opacity: 0; visibility: hidden; }
.loading-bar { width: 200px; height: 2px; background: #334155; border-radius: 2px; overflow: hidden; margin-top: 2rem; position: relative; }
.loading-progress { position: absolute; top: 0; left: 0; height: 100%; width: 50%; background: linear-gradient(90deg, transparent, var(--accent-gold), transparent); animation: loading-scan 1.5s ease-in-out infinite; }
@keyframes loading-scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }
#snow-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9998; }
.hero-section { position: relative; background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%); overflow: hidden; z-index: 1; }
.hero-overlay { background: url('https://images.unsplash.com/photo-1514525253440-b393452e8d26?q=80&w=2574&auto=format&fit=crop') no-repeat center center/cover; opacity: 0.3; mix-blend-mode: overlay; }
.glow-text { text-shadow: 0 0 10px rgba(251, 191, 36, 0.5), 0 0 20px rgba(251, 191, 36, 0.3); }
.song-card { transition: all 0.3s ease; border-left: 3px solid transparent; }
.song-card:hover { transform: translateX(10px); border-left: 3px solid var(--primary-color); background-color: rgba(255, 255, 255, 0.05); }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.float-animation { animation: float 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } 100% { transform: translateY(0px) rotate(0deg); } }
.rhythm-animation { animation: rhythm 2s ease-in-out infinite; transform-origin: center bottom; }
@keyframes rhythm { 0% { transform: rotate(10deg) scale(1); } 50% { transform: rotate(14deg) scale(1.02); } 100% { transform: rotate(10deg) scale(1); } }
.headbang-animation { animation: headbang 4s ease-in-out infinite; transform-origin: bottom center; }
@keyframes headbang { 0% { transform: scaleX(-1) rotate(0deg); } 25% { transform: scaleX(-1) rotate(-5deg); } 75% { transform: scaleX(-1) rotate(5deg); } 100% { transform: scaleX(-1) rotate(0deg); } }
.twinkle-animation { animation: twinkle 3s ease-in-out infinite alternate; }
@keyframes twinkle { 0% { filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.3)) brightness(1); } 100% { filter: drop-shadow(0 0 25px rgba(251, 191, 36, 0.8)) brightness(1.2); } }
@keyframes moveFromCenter { 0% { transform: translate(30vw, 40vh) scale(2); opacity: 0; } 100% { transform: translate(0, 0) scale(1); opacity: 1; } }
.animate-logo-move { animation: moveFromCenter 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.title-enter-start { opacity: 0; transform: scale(3) rotate(-15deg); filter: blur(20px); }
.title-enter-active { opacity: 1; transform: scale(1) rotate(0deg); filter: blur(0); transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1); }
.countdown-enter-start { opacity: 0; transform: scale(0) rotate(-180deg); }
.countdown-enter-active { opacity: 1; transform: scale(1) rotate(12deg); transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }