/* ========================================
   Reset & Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --color-primary: #0a1628;
    --color-dark: #2040a2;
    --color-darker: #050a14;
    --color-accent: #f4d03f;
    --color-accent-new: #ffd700;
    --color-text-light: #e8eaed;
    --color-text-gray: #a0a4a8;
    
    /* Hover Surface 
       --hover-news-bg
       --hover-live-bg*/
    --hover-news-bg: rgba(255, 255, 255, 0.03);
    --hover-live-bg: rgba(255, 255, 255, 0.04);

    /* NEWS専用 */
    --color-badge-new: var(--color-accent-new);
   
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
    --transition-media: transform .3s ease, opacity .3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-darker);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ========================================
   Loading Screen
======================================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity var(--transition-base);
}

.loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    width: 180px;
    height: auto;
    opacity: 0;
    animation: logoFadeIn var(--transition-slow) ease forwards;
}

@keyframes logoFadeIn {
    to {
        opacity: 1;
    }
}

/* ========================================
   Header
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: padding var(--transition-base);
}

.header.scrolled {
    padding: 1rem 0;
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 32px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: var(--spacing-lg);
}

.header-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.header-nav a:hover {
    color: var(--color-accent);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-light);
    transition: var(--transition-fast);
}

/* ========================================
   <h1 class="visually-hidden">
======================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ========================================
   Main Visual
======================================== */
.main-visual {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
    opacity: 0;
    animation: fadeInSection 1s ease 0.3s forwards;
}

.main-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(5, 10, 20, 0.3) 100%);
}

.main-visual-text {
    position: relative;
    z-index: 1;
    text-align: center;
}

.visual-caption {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-gray);
}

@keyframes fadeInSection {
    to {
        opacity: 1;
    }
}

/* ========================================
   Container & Sections
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-light);
}

/* ========================================
   News Section
======================================== */

.news-section {
    background-color: var(--color-dark);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.news-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.02);
    border-left: 2px solid transparent;
    transition: all var(--transition-base);
}

.news-item:hover {
    background-color: var(--hover-news-bg);
    border-left-color: var(--color-accent);
    cursor: pointer
}

.badge-new {
    padding: 0.25rem 0.75rem;
    background-color: var(--color-badge-new);
    color: var(--color-darker);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 2px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-date {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 500;
    min-width: 100px;
}

.news-title {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-light);
}

/* ========================================
   Live Section
======================================== */
/* Upcoming Live 強調 */
.live-item-upcoming {
  background: rgba(255, 215, 0, 0.04); /* うっすら明るく */
}

.live-item-upcoming::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;               /* ← 3px → 4px */
  background: #ffd700;      /* ゴールド寄り */
}


.live-section {
    background-color: var(--color-darker);
}

.live-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.live-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.02);
    transition: background-color var(--transition-base);
}

.live-item:hover {
    background-color: var(--hover-live-bg)
}

.live-item-upcoming {
    border-left: 3px solid var(--color-accent);
}

.live-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: var(--spacing-sm);
    background-color: rgba(255, 255, 255, 0.05);
}

.live-item-upcoming .live-date {
    background-color: rgba(244, 208, 63, 0.1);
}

.live-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-text-light);
}

.live-item-upcoming .live-day {
    color: var(--color-accent);
}

.live-month {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-gray);
}

.live-item-upcoming .live-month {
    color: var(--color-accent);
}

.live-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.live-venue {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--color-text-light);
}

.live-time {
    font-size: 0.9rem;
    color: var(--color-text-gray);
}

/* ========================================
   Media Section
======================================== */
.media-section {
    background-color: var(--color-dark);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.media-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: rgba(255, 255, 255, 0.05);
    will-change: transform;
}

.media-thumbnail {
    width: 100%;
    height: 100%;
    transition: var(--transition-media);
    cursor: pointer;
}

.media-item:hover .media-thumbnail {
    transform: translateY(-4px);
    opacity: 0.92;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-gray);
    background: linear-gradient(135deg, rgba(26, 42, 74, 0.5) 0%, rgba(10, 22, 40, 0.5) 100%);
}

/* ========================================
   Footer
======================================== */
.footer {
    background-color: var(--color-darker);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-gray);
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--color-accent);
}

.footer-contact a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-gray);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--color-text-gray);
    margin-top: var(--spacing-sm);
}

/* ========================================
   Fade In Animation
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 768px) {
    .header-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-darker);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-md);
        transition: left var(--transition-base);
        z-index: 999;
    }
    
    .header-nav.active {
        left: 0;
    }
    
    .header-nav a {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .main-visual {
        height: 70vh;
        min-height: 500px;
    }
    
    .visual-caption {
        font-size: 1rem;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .live-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .live-date {
        flex-direction: row;
        justify-content: flex-start;
        gap: var(--spacing-sm);
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .header-logo img {
        height: 28px;
    }
}