/* --- Reset & Base --- */
:root {
    --primary-color: #0d47a1;
    --accent-color: #ff3d00;
    --text-main: #1d1d1f;
    --text-light: #86868b;
    --bg-main: #ffffff;
    --bg-light: #f5f5f7;
    --bg-dark: #121212;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-heading: 'Outfit', 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* --- Layout & Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.align-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-2 {
    margin-top: 1rem;
}

.text-white {
    color: #fff;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-sm {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- Headers & Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

.section-header {
    margin-bottom: 3rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* --- Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* Buttons */
.btn-primary-sm {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #2196f3);
    color: #fff !important;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 2rem;
}

.btn-cta.large {
    font-size: 1.3rem;
    padding: 1.5rem 4rem;
}

.glow-effect {
    position: relative;
    z-index: 1;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    background: inherit;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.glow-effect:hover::before {
    opacity: 0.9;
}

.glow-effect:hover {
    transform: translateY(-3px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    /* Offset for header */
}

.bg-illust-hero {
    position: relative;
    background-image: url('bg_illust_1.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.bg-illust-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
    z-index: 0;
}

.hero>div {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--text-main);
    max-width: 900px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.hero-title .highlight {
    color: var(--accent-color);
    -webkit-text-stroke: 0;
}

.hero-catchphrase {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-info-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    min-width: 220px;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.info-card .icon {
    font-size: 2rem;
}

.info-text strong {
    display: block;
    font-size: 1.1rem;
}

.info-text span {
    font-size: 0.85rem;
    opacity: 0.8;
}


/* --- About Section --- */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-main), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* --- Highlights Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-img-wrapper {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
}

.feature-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-img {
    transform: scale(1.05);
}

.feature-img-link {
    display: block;
    text-decoration: none;
}

.feature-img-badge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 71, 161, 0.85);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    padding: 0.5rem 0.4rem;
    z-index: 2;
}

.feature-text {
    padding: 2rem;
}

.feature-text h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* --- Family Section --- */
.bg-illust-family {
    position: relative;
    background-image: url('bg_illust_2.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #fff;
    overflow: hidden;
}

.bg-illust-family::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.6));
    z-index: 0;
}

.bg-illust-family>div {
    position: relative;
    z-index: 1;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.tag {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid rgba(13, 71, 161, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.bg-illust-venue {
    position: relative;
    background-image: url('bg_illust_1.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #fff;
}

.bg-illust-venue::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.bg-illust-venue>div {
    position: relative;
    z-index: 1;
}

/* --- Venue & Overview --- */
.venue-overview-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 900px) {
    .venue-overview-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.venue-card {
    background: #fff;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.venue-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.venue-card h4 span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

.overview-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.overview-table th,
.overview-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: left;
}

.overview-table th {
    width: 30%;
    font-weight: 700;
    color: var(--primary-color);
}

/* --- FAQ --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    padding-right: 3rem;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 200px;
    opacity: 1;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}


/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    color: #fff;
    padding: 120px 0;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-section .btn-cta {
    background: #fff;
    color: var(--primary-color) !important;
}

.cta-section .btn-cta::before {
    background: rgba(255, 255, 255, 0.5);
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.copyright {
    color: var(--text-light);
    font-size: 0.9rem;
}


/* --- Sponsors Section --- */
.sponsors-section {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.sponsor-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.sponsor-card {
    flex: 0 0 calc((100% - 60px) / 4);
    background: #fff;
    border-radius: 16px;
    height: 140px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.sponsor-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 900px) {
    .sponsor-card {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 480px) {
    .sponsors-section {
        padding: 72px 0;
    }

    .sponsor-grid {
        gap: 12px;
    }

    .sponsor-card {
        flex-basis: calc((100% - 12px) / 2);
        height: 96px;
        padding: 12px 14px;
        border-radius: 12px;
    }
}



/* --- Flyer content additions --- */
.feature-text h3 {
    font-size: 1.2rem;
}

.feature-text {
    padding: 1.5rem;
}

.feature-point {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
}

.venue-photo {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.venue-photo img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.map-link,
.overview-table a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.map-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.cta-note {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.venue-map {
    margin-top: 4rem;
    text-align: center;
}

.venue-map-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.venue-map img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: block;
}

.timetable-figure img {
    max-width: 620px;
}

.kv-band img {
    width: 100%;
    display: block;
}

.access-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 760px) {
    .access-steps {
        grid-template-columns: 1fr;
    }
}

.access-steps li {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.access-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.access-steps strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.access-steps span:not(.access-step) {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

.access-note {
    background: #fff;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 12px 12px 0;
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.9;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.schedule-col {
    background: #fff;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.schedule-col-title {
    font-size: 1.1rem;
    color: #fff;
    background: var(--primary-color);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.schedule-col-title--outdoor {
    background: #b5762f;
}

.schedule-list {
    list-style: none;
}

.schedule-item {
    display: flex;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
}

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

.schedule-time {
    flex: 0 0 7.5em;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    padding-top: 0.1rem;
}

.schedule-body strong {
    display: block;
    font-size: 1rem;
}

.schedule-body span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

@media (max-width: 480px) {
    .schedule-col {
        padding: 1.2rem;
    }

    .schedule-item {
        flex-direction: column;
        gap: 0.2rem;
    }

    .schedule-time {
        flex: none;
    }
}

.sns-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.sns-card {
    width: 260px;
    background: #fff;
    color: var(--text-main);
    border-radius: 20px;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease;
}

.sns-card:hover {
    transform: translateY(-6px);
}

.sns-logo {
    height: 72px;
    width: auto;
}

.sns-qr {
    width: 160px;
    height: 160px;
}

.sns-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-radius: 50px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
}

@media (max-width: 600px) {
    .sns-grid {
        gap: 12px;
    }

    .sns-card {
        width: calc(50% - 6px);
        padding: 20px 12px 16px;
        gap: 12px;
    }

    .sns-logo {
        height: 52px;
    }

    .sns-qr {
        width: 110px;
        height: 110px;
    }

    .sns-btn {
        font-size: 0.8rem;
        padding: 10px 0;
    }
}

.doc-links {
    margin-top: 2.5rem;
}

.doc-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid #fff;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.doc-btn:hover {
    background: #fff;
    color: var(--primary-color);
}

/* --- Animations (Reveal on Scroll) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    /* Simplified for mobile, ideally replace with hamburger menu */

    .hero-title {
        font-size: 3rem;
    }

    .hero-catchphrase {
        font-size: 1.5rem;
    }

    .info-card {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .lead-text {
        font-size: 1.2rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-desc {
        font-size: 1.2rem;
    }
}