@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;700&family=Outfit:wght@700&display=swap');

:root {
    --gunjo-ultramarine: #1C305C; 
    --aozora-blue: #70A1D7;       
    --naval-green: #2D4033;       
    --sea-foam: #F0F4F2;          
    --aged-hinomaru: #BB4430;   
    --white: #ffffff;
    --accent-gray: #D1D8D5; /* Added for table borders */
}

body {
    margin: 0; padding: 0;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: var(--gunjo-ultramarine);
    line-height: 1.8;
    background-color: var(--sea-foam);
}

/* Base Layout */
.container { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 60px 24px; 
}

/* Navigation */
.top-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 6%; background: var(--white);
    border-bottom: 3px solid var(--gunjo-ultramarine);
}

.brand {
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.5rem;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--gunjo-ultramarine);
}

/* Language Switcher */
.lang-switcher { display: flex; align-items: center; gap: 12px; }
.lang-label { font-size: 10px; font-weight: 700; color: var(--gunjo-ultramarine); letter-spacing: 1px; }
.switch { position: relative; width: 48px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ddd; transition: .4s; border-radius: 24px;
}
.slider:before {
    position: absolute; content: ""; height: 18px; width: 18px;
    left: 3px; bottom: 3px; background-color: var(--white); transition: .4s; border-radius: 50%;
}
input:checked + .slider { background-color: var(--aozora-blue); }
input:checked + .slider:before { transform: translateX(24px); }

/* --- HERO SECTION --- */
.hero-banner {
    background: linear-gradient(rgba(28, 48, 92, 0.65), rgba(28, 48, 92, 0.65)), 
                url('banner.jpg'); 
    background-size: cover; 
    /* PC: Tilt camera up to see sky/tower, hide ground */
    background-position: center 75%; 
    color: var(--white); 
    min-height: 60vh; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    text-align: center;
    border-bottom: 5px solid var(--aozora-blue); 
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

.hero-content h1 { font-size: 2.8rem; margin: 0; font-weight: 700; color: var(--white); }
.hero-content p { font-family: 'Outfit', sans-serif; font-size: 1.3rem; color: var(--aozora-blue); margin-top: 15px; font-weight: 700; }

/* Content Sections */
.section { margin-bottom: 80px; }

/* The Vertical Red Line */
h2 {
    font-size: 1rem; 
    text-transform: uppercase; 
    letter-spacing: 0.2em;
    border-left: 4px solid var(--aged-hinomaru); 
    color: var(--gunjo-ultramarine);
    display: block; 
    margin-bottom: 30px; 
    padding: 0 0 0 15px;
}

/* Profile Table */
.profile-table { width: 100%; border-collapse: collapse; }
.profile-table th {
    text-align: left; width: 30%; padding: 20px 0; font-size: 0.85rem;
    color: var(--aozora-blue); vertical-align: top;
}
.profile-table td { padding: 20px 0; border-bottom: 1px solid var(--accent-gray); }

.note { font-size: 0.8rem; color: #666; margin-top: 15px; line-height: 1.6; }

/* Footer & Privacy */
.footer-container {
    text-align: center; padding: 60px 0; font-size: 0.8rem;
    border-top: 1px solid var(--accent-gray); margin-top: 40px; color: var(--gunjo-ultramarine);
}

.privacy-policy {
    text-align: left;
    font-size: 0.75rem;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 600px) {
    .hero-banner {
        /* Mobile: Slide right to catch the tower, focus up for sky */
        background-position: 85% 85%; 
        min-height: 50vh; 
    }
    
    .hero-content h1 { font-size: 1.8rem; }
    
    /* Move content up and fix narrow squishing */
    .container { padding: 30px 20px; }
    
    .section { margin-bottom: 50px; }

    /* Stack table for small screens */
    .profile-table th, .profile-table td { 
        display: block; 
        width: 100%; 
        padding: 10px 0; 
        border-bottom: none;
    }
    
    .profile-table td {
        border-bottom: 1px solid var(--accent-gray);
        margin-bottom: 10px;
    }
}