/* Reset and Base Styles for Auxiliary Pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color System */
    --primary-blue: #2F4F8F;
    --secondary-red: #C8102E;
    --accent-gold: #FFD700;
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F5;
    --neutral-200: #E5E5E5;
    --neutral-300: #D4D4D4;
    --neutral-400: #A3A3A3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    
    /* Typography */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    
    /* Spacing System (8px base) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-12: 96px;
    --space-16: 128px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-3);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--neutral-50) 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--neutral-200);
    padding: var(--space-2) 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
}

.logo {
    filter: drop-shadow(0 2px 4px rgba(47, 79, 143, 0.1));
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-blue);
    line-height: 1.2;
}

.nav a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Main Content */
.main {
    flex: 1;
    padding: var(--space-8) 0;
}

.page-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: var(--space-2);
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-600);
    font-weight: 300;
}

.content-section {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--neutral-200);
}

.content-section h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: var(--space-3);
    line-height: 1.2;
}

.content-section p {
    color: var(--neutral-600);
    margin-bottom: var(--space-3);
    line-height: 1.6;
}

.content-section ul {
    margin-left: var(--space-4);
    margin-bottom: var(--space-3);
}

.content-section li {
    color: var(--neutral-600);
    margin-bottom: var(--space-1);
    line-height: 1.6;
}

.content-section h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: var(--space-2);
    margin-top: var(--space-4);
    line-height: 1.2;
}

.contact-info {
    background: var(--neutral-50);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-blue);
    margin-top: var(--space-3);
}

.contact-info p {
    margin-bottom: var(--space-1);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* About Us specific styles */
.centered {
    text-align: center;
}

.about-hero, .vision-section {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin: var(--space-6) 0;
}

.about-text, .vision-text {
    flex: 1;
    text-align: left;
}

.about-image, .vision-image {
    flex-shrink: 0;
}

.about-hero-img, .vision-img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.placeholder-content {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    color: var(--neutral-500);
    font-style: italic;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2C4A7E 100%);
    color: white;
    padding: var(--space-6) 0 var(--space-4) 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
}

.footer-nav {
    display: flex;
    gap: var(--space-4);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--space-3);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-2);
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .content-section {
        padding: var(--space-4);
    }
    
    .about-hero, .vision-section {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text, .vision-text {
        text-align: center;
    }
    
    .about-hero-img, .vision-img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}