/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット - 中庸を表現する配色 */
    --primary-blue: #1a3a52;
    --secondary-blue: #2c5282;
    --light-blue: #4a90e2;
    --neutral-gray: #e8ecf0;
    --dark-gray: #2d3748;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --accent-gold: #d4a574;
    --bg-primary: #f7fafc;
    --bg-secondary: #edf2f7;
    --border-color: #cbd5e0;
    
    /* フォント設定 */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-accent: 'Orbitron', monospace;
}

body {
    font-family: var(--font-main);
    font-weight: 300;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    font-size: 16px;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ヘッダー */
.main-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-section {
    display: flex;
    flex-direction: column;
}

.site-logo {
    font-family: var(--font-accent);
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.site-subtitle {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-top: -5px;
}

.header-info {
    text-align: right;
}

.header-text {
    font-size: 14px;
    opacity: 0.9;
}

.header-date {
    font-family: var(--font-accent);
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

/* ナビゲーション */
.main-nav {
    background-color: rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.nav-list {
    display: flex;
    list-style: none;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-link.active {
    background-color: rgba(255,255,255,0.15);
    font-weight: 700;
}

/* メインコンテンツ */
.main-content {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    width: 100%;
}

/* フッター */
.main-footer {
    background-color: var(--dark-gray);
    color: white;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

.footer-section h3 {
    font-family: var(--font-accent);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-quote {
    font-style: italic;
    border-left: 3px solid var(--accent-gold);
    padding-left: 15px;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    text-align: center;
    padding: 20px;
    font-size: 12px;
    opacity: 0.6;
}

/* ページ共通要素 */
.page-title {
    font-family: var(--font-accent);
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.content-section {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--neutral-gray);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .header-info {
        text-align: center;
        margin-top: 10px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        padding: 0;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-content {
        padding: 20px;
    }
}