:root {
    --bg-color: #141414;
    --bg-gradient: linear-gradient(180deg, #222 0%, #141414 100%);
    --text-color: #e8e6e3;
    --accent-color-1: #d94a4a; /* フライヤーの赤 */
    --accent-color-2: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(217, 74, 74, 0.3);
    --header-height-mobile: 68px; /* モバイルヘッダーの高さを定義 */
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-color);
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
}

/* Prevent scrolling when mobile nav is open */
body.nav-open {
    overflow: hidden;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* --- Layout & Navigation (PC) --- */
.side-nav {
    background-color: rgba(0,0,0,0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-right: 1px solid var(--border-color);
}

.nav-link {
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    padding: 8px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color-1);
    transition: width 0.4s ease;
}
.nav-link:hover {
    color: white;
    transform: translateX(5px);
}
.nav-link:hover::after {
    width: 100%;
}

/* --- Mobile Specific Styles --- */
@media (max-width: 767px) {
    .main-content {
        /* ヘッダーの高さ分だけパディングを追加 */
        padding-top: var(--header-height-mobile); 
    }
    .main-visual {
        /* スマホでは高さを調整 */
        height: 60vh; 
    }
}


/* --- Mobile Navigation --- */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger:focus {
    outline: none;
}

.hamburger-line {
    width: 2rem;
    height: 2px;
    background: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    position: relative;
    transform-origin: 1px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 45; /* Below hamburger button, above content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.mobile-nav-link:hover {
    color: var(--accent-color-1);
}

/* Hamburger animation when open */
.hamburger.is-open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* --- Main Visual --- */
.main-visual {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.main-visual-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 1;
}
.main-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}
.main-visual-title {
    position: relative;
    z-index: 3;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 10vw, 7rem);
    color: #fff;
    text-align: center;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(0,0,0,0.5), 0 0 40px rgba(217, 74, 74, 0.4);
}

/* --- Content Sections --- */
.content-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.content-card:hover {
    border-color: rgba(217, 74, 74, 0.6);
    transform: translateY(-5px);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: white;
    position: relative;
    padding-bottom: 1rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color-1);
    border-radius: 2px;
}

/* --- Ticket Button --- */
.ticket-button {
    transition: all 0.4s ease;
    box-shadow: 0 0 25px rgba(217, 74, 74, 0.3);
    background: var(--accent-color-1);
    color: white;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    border-radius: 50px;
}
.ticket-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 0 40px rgba(217, 74, 74, 0.6);
    background: #e53935;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
