/* ===== Webフォント ===== */
@font-face {
    font-family: "JF-Dot-K14";
    src: url("../fonts/JF-Dot-K14.ttf") format("truetype");
    font-display: swap;
}

/* ===== CSS変数（使用されているもののみ） ===== */
:root {
    --bg-dark: #0d1117;
    --bg-medium: #161b22;
    --bg-light: #21262d;
    --accent-blue: #58a6ff;
    --accent-purple: #bc8cff;
    --accent-green: #7ee787;
    --accent-orange: #ffa657;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --border-color: #30363d;
}

/* ===== 基本設定 ===== */
* {
    font-family: "JF-Dot-K14", serif;
    box-sizing: border-box;
    user-select: none;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
}

/* ===== ヘッダー ===== */
.main-header {
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    padding: 60px 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
}

.event-title {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    font-weight: bold;
}

.header-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.event-details {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-secondary);
    font-weight: bold;
}

.detail-value {
    color: var(--text-primary);
}

.free-notice {
    text-align: center;
    margin-top: 15px;
    color: var(--accent-green);
    font-weight: bold;
}

.venue-link {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.venue-link:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

.venue-link:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* ===== メインコンテンツグリッド ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ===== ヘッドライナー ===== */
.headliner-sidebar {
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.headliner-title {
    color: var(--accent-orange);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(255, 166, 87, 0.3);
}

.headliner-band {
    background: linear-gradient(135deg, rgba(255, 166, 87, 0.1) 0%, rgba(188, 140, 255, 0.1) 100%);
    border: 1px solid var(--accent-orange);
    border-radius: 16px;
    padding: 25px;
}

.headliner-band-name {
    color: var(--accent-orange);
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.headliner-songs {
    display: grid;
    gap: 8px;
}

.headliner-song {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 166, 87, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== プログラム ===== */
.main-program {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.day-container {
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.day-header {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.programs-list {
    display: grid;
    gap: 20px;
}

.program-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.band-name {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

.time-slot {
    background: var(--accent-blue);
    color: var(--bg-dark);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: bold;
}

.songs-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.song-compact {
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 8px;
    padding: 6px 10px;
    text-align: center;
    font-size: 0.8rem;
}

/* ===== サイドバー ===== */
.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    height: fit-content;
}

.info-card.sticky {
    position: sticky;
    top: 20px;
}

.info-card-title {
    color: var(--accent-green);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.stats-grid {
    display: grid;
    gap: 12px;
}

.stat-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

.stat-number {
    color: var(--accent-green);
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== フッター ===== */
.footer-grid {
    background: var(--bg-medium);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.credits {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.credits strong {
    color: var(--accent-blue);
}

.powered-by {
    color: var(--accent-orange);
    font-size: 1.2rem;
    font-weight: bold;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .headliner-sidebar,
    .info-card.sticky {
        position: static;
    }

    .headliner-sidebar {
        order: 2;
    }

    .main-program {
        order: 3;
    }

    .info-sidebar {
        order: 4;
    }
}

@media (max-width: 768px) {
    .songs-compact {
        grid-template-columns: 1fr;
    }

    .program-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .day-header {
        font-size: 1.5rem;
    }

    .main-header {
        padding: 40px 20px;
    }

    .content-grid {
        padding: 0 15px;
        gap: 20px;
    }

    .headliner-sidebar,
    .day-container,
    .info-card {
        padding: 20px;
    }

    .event-details {
        max-width: none;
        margin: 0;
    }

    .event-title {
        font-size: 1.8rem;
    }

    .header-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .day-header {
        font-size: 1.3rem;
    }

    .band-name {
        font-size: 1rem;
    }

    .time-slot {
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .song-compact {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .headliner-song {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== その他の設定 ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

::selection {
    background: var(--accent-blue);
    color: var(--bg-dark);
}