/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FAFAFA;
}

/* ===== VARIABLES ===== */
:root {
    --primary-color: #8B0000;
    --secondary-color: #1B365D;
    --accent-color: #FFD700;
    --text-color: #333333;
    --bg-color: #FAFAFA;
    --success-color: #28A745;
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --mobile-padding: 40px 0;
}

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* ===== BUTTONS ===== */
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #A00000 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.15);
}

.cta-button.primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 69, 0, 0.25);
}

.cta-button.secondary {
    background: var(--secondary-color);
    color: white;
}

.cta-button.secondary:hover {
    background: #2A4A70;
    transform: translateY(-2px);
}

.cta-button.outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-button.outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    background: linear-gradient(135deg, var(--primary-color) 0%, #A00000 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    z-index: 2;
}

.hero-title {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
}

.mission-visual {
    width: 100%;
    height: auto; /* 画像の高さに合わせて自動調整 */
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
}

/* ===== MISSION SECTION ===== */
.mission {
    padding: var(--section-padding);
    background: white;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.mission-highlight {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.3rem !important;
}

.mission-image-placeholder {
    height: 300px;
    background: #f0f0f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* ===== HIGHLIGHTS SECTION ===== */
.highlights {
    padding: var(--section-padding);
    background: #f8f9fa;
}

.match-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.match-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.match-teams {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.match-date {
    color: #666;
    margin-bottom: 1rem;
}

.match-preview {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.loading {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    padding: 3rem;
}

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

/* ===== CONTENT INTRO SECTION ===== */
.content-intro {
    padding: var(--section-padding);
    background: white;
}

.content-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-main h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 768px) {
    :root {
        --section-padding: 100px 0;
    }
    
    .hero {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }
    
    .hero-content {
        text-align: left;
        align-items: flex-start;
        padding: 2rem 0 2rem 2rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .mission-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .match-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .match-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 3rem;
    }
}

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

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 767px) {
    :root {
        --section-padding: var(--mobile-padding);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 16px;
    }
}

.hero-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px; /* 親要素のborder-radiusを継承 */
}
.hero-logo {
    position: relative;
}
