/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-subtle: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
    padding: 60px 24px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary-dark);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-button .arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(5px);
}

.cta-button.large {
    padding: 20px 48px;
    font-size: 1.2rem;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--white);
}

.about-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Schedule Section */
.schedule {
    background: var(--gradient-subtle);
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.timeline-item.highlight {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, var(--white) 0%, #f0f0ff 100%);
}

.timeline-date {
    flex-shrink: 0;
    text-align: center;
    padding: 15px 20px;
    background: var(--gradient);
    border-radius: 12px;
    color: var(--white);
}

.timeline-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.timeline-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.timeline-content p {
    color: var(--gray);
}

.timeline-content small {
    color: var(--gray-light);
}

/* Theme Section */
.theme {
    background: var(--dark);
    color: var(--white);
}

.theme-card {
    text-align: center;
    padding: 60px 40px;
    background: var(--dark-light);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.theme-card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--gray-light);
}

.theme-text {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.theme-hint {
    color: var(--gray-light);
    font-size: 1rem;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Criteria */
.criteria {
    background: var(--white);
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.criteria-item {
    padding: 40px;
    background: var(--light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.criteria-item:hover {
    background: var(--gradient);
    color: var(--white);
}

.criteria-item:hover h3,
.criteria-item:hover p {
    color: var(--white);
}

.criteria-number {
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.2;
    margin-bottom: 10px;
}

.criteria-item h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark);
    transition: color 0.3s ease;
}

.criteria-item p {
    color: var(--gray);
    transition: color 0.3s ease;
}

/* Prize */
.prize {
    background: var(--gradient-subtle);
}

.prize-card {
    text-align: center;
    padding: 60px 40px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.prize-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.prize-main {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.prize-sub {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Requirements */
.requirements {
    background: var(--white);
}

.requirements-list {
    max-width: 700px;
    margin: 0 auto;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 30px;
    background: var(--light);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateX(10px);
}

.requirement-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.requirement-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.requirement-content p {
    color: var(--gray);
}

/* CTA Section */
.cta {
    background: var(--gradient);
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .timeline-item {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-date {
        align-self: flex-start;
    }

    .sp-hide {
        display: none;
    }

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

    .requirement-item:hover {
        transform: translateY(-5px);
    }

    .cta-button.large {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 80px 20px;
    }

    .card {
        padding: 30px 20px;
    }

    .criteria-item {
        padding: 30px 20px;
    }

    .theme-card,
    .prize-card {
        padding: 40px 20px;
    }
}
