:root {
    --primary-color: #0d8eff; /* Refreshing clear blue */
    --primary-hover: #0070d6;
    --secondary-color: #fca311; /* Warm accent */
    --text-color: #2c3e50;
    --text-light: #596a7a;
    --bg-color: #F8FBFC; /* Very light cool blue/white */
    --bg-light: #E8F0F5; /* Cool grayish blue */
    --white: #FFFFFF;
    --border-radius: 8px; /* Sharper edges */
    --box-shadow: 0 10px 30px rgba(0, 50, 100, 0.06);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

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

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

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

.sp-only {
    display: none;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
    background: transparent;
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* increased text shadow for visibility */
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.3); /* slightly dark background to stand out against title */
    padding: 5px 15px;
    border-radius: 8px;
}

.header.scrolled .logo {
    color: var(--primary-color);
    text-shadow: none;
    background: transparent;
    padding: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
    background: rgba(0, 0, 0, 0.3); /* slightly dark background for nav items */
    padding: 5px 20px;
    border-radius: 30px;
}

.header.scrolled .nav-list {
    background: transparent;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* increased text shadow */
    transition: var(--transition);
}

.header.scrolled .nav-list a {
    color: var(--text-color);
    text-shadow: none;
}

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

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 30px;
    text-shadow: none !important;
}

.btn-nav:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

/* FV */
.fv {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 80px; 
}

.fv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/main-visual.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.fv-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.2) 50%,
        rgba(255,255,255,0.1) 100%
    );
}

.fv-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    width: 100%;
    max-width: 800px;
}

.fv-text-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: fadeUp 1s ease-out;
    margin-top: 80px; /* added margin to avoid header overlap */
}

.main-copy {
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', sans-serif;
}

.main-copy .large {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-left: 0.2em;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
    margin-bottom: 5px;
}

.main-copy .huge {
    display: block;
    font-size: 5.5rem;
    font-weight: 900;
    color: #0d8eff;
    letter-spacing: 0.05em;
    -webkit-text-stroke: 4px #ffffff;
    text-shadow: 
        0px 6px 0px #0056b3, 
        0px 12px 25px rgba(0,0,0,0.5);
    transform: rotate(-2deg) skewX(-5deg);
    margin: 0px 0 10px;
    position: relative;
    animation: floatTitle 4s ease-in-out infinite;
}

.main-copy .huge.huge-mid {
    font-size: 4.2rem;
    letter-spacing: 0;
    margin: 10px 0 5px;
}

.main-copy .huge.huge-mid .amp {
    font-size: 0.8em;
    margin: 0 10px;
}

.main-copy .huge::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: -1;
    -webkit-text-stroke: 10px #ffffff;
    color: transparent;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

.main-copy .year {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-left: 0.2em;
    color: #ffffff;
    text-shadow: 
        0px 5px 0px rgba(0,0,0,0.3),
        0px 12px 20px rgba(0,0,0,0.6);
    transform: skewX(-5deg);
}

@keyframes floatTitle {
    0%, 100% { transform: rotate(-2deg) skewX(-5deg) translateY(0); }
    50% { transform: rotate(-2deg) skewX(-5deg) translateY(-8px); }
}

.sub-copy {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    max-width: 400px;
    margin: 0 auto;
    background: rgba(0,0,0,0.4);
    padding: 20px 30px;
    border-radius: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 700;
}

.info-item .icon {
    font-size: 1.4rem;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: bounce 2s infinite;
}

.scroll-down::after {
    content: '';
    display: block;
    width: 2px;
    height: 30px;
    background: var(--white);
    margin: 10px auto 0;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -15px); }
    60% { transform: translate(-50%, -7px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* About */
.about-content {
    text-align: center;
    margin-bottom: 50px;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.highlight-card {
    border-left: 5px solid var(--secondary-color);
    background: linear-gradient(to right, rgba(46, 196, 182, 0.05), transparent);
}

.highlight-card .card-title {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.special-feature {
    background: #FFF9F0;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

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

/* Contents */
.section-desc {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.content-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.content-card:hover {
    transform: translateY(-10px);
}

.content-card:hover::before {
    transform: scaleX(1);
}

.content-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.content-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contents-note {
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--white);
    padding: 15px;
    border-radius: 30px;
    display: inline-block;
    box-shadow: var(--box-shadow);
}
.contents-note-wrap {
    text-align: center;
}

/* Food */
.food-shop-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.food-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.food-icon {
    font-size: 2.5rem;
    background: var(--bg-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.food-text h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Access */
.sub-heading {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.map-wrap {
    margin-top: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.warning-card {
    margin-top: 40px;
    border-left: 5px solid #E74C3C;
    background: #FDEDEC;
}

.rules-lead {
    font-weight: 700;
    margin-bottom: 15px;
}

.rules-list {
    padding-left: 20px;
}

.rules-list li {
    margin-bottom: 10px;
}

/* Volunteer */
.volunteer-content {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left;
}

.volunteer-list {
    list-style: none;
    margin: 20px 0;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.volunteer-list li {
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 159, 28, 0.5);
    color: white;
}

.btn-large {
    font-size: 1.2rem;
    width: 100%;
    max-width: 300px;
}

/* SNS Links */
.sns-wrap {
    margin-top: 60px;
}

.sns-lead {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--text-color);
}

.sns-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white) !important;
    width: 220px;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.5);
    color: var(--white);
}

.btn-x {
    background-color: #000000;
    color: var(--white) !important;
    width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-x:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    background-color: #333333;
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.copyright {
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Responsive */
@media (max-width: 768px) {
    .sp-only {
        display: block;
    }
    
    .hamburger-menu {
        display: block;
    }

    .hamburger-line {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--white);
        margin: 5px 0;
        transition: var(--transition);
    }
    
    .header.scrolled .hamburger-line {
        background: var(--text-color);
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        padding: 80px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-list a {
        color: var(--text-color);
        font-size: 1.2rem;
        text-shadow: none;
    }

    .btn-nav {
        margin-top: 20px;
    }

    .main-copy .large { 
        font-size: 1.6rem; 
    }

    .main-copy .huge {
        font-size: 3.2rem;
        -webkit-text-stroke: 2px #ffffff;
        text-shadow: 0px 4px 0px #0056b3, 0px 8px 20px rgba(0,0,0,0.5);
        margin: 0px 0 10px;
    }

    .main-copy .huge.huge-mid {
        font-size: 2.2rem;
        margin: 5px 0 5px;
    }

    .main-copy .huge::before {
        -webkit-text-stroke: 6px #ffffff;
    }

    .main-copy .year {
        font-size: 2.5rem;
    }

    .logo {
        font-size: 1.15rem;
        padding: 5px 10px;
    }

    .fv-text-box {
        padding: 30px 20px;
        margin-top: 110px;
    }

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

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

    .section {
        padding: 60px 0;
    }
}
