/* テンプレート22: 下部固定ナビのみ + ネイビー系 */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Zen Kaku Gothic New', 'Yu Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: #1e293b;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    min-height: 100vh;
    padding-bottom: 80px; /* 下部ナビの高さ分 */
}

.container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ヘッダー */
.site-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.site-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.site-tagline {
    font-size: 1rem;
    opacity: 0.8;
}

/* メインコンテンツ */
.main-content {
    padding: 50px 0;
}

.content-box {
    background: #fff;
    border-radius: 20px;
    padding: 60px 70px;
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.1);
}

.section-block {
    margin-bottom: 45px;
    padding-bottom: 45px;
    border-bottom: 1px solid #e2e8f0;
}

.section-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.section-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a5f, #3b82f6);
    border-radius: 2px;
}

.section-block p {
    margin-bottom: 18px;
    text-align: justify;
    color: #475569;
}

.section-block p:last-child {
    margin-bottom: 0;
}

.section-block.highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 35px 40px;
    border-radius: 12px;
    border-bottom: none;
    margin-bottom: 0;
}

/* フッター */
.site-footer {
    text-align: center;
    padding: 30px 0 50px;
    color: #64748b;
    font-size: 0.85rem;
}

/* 下部固定ナビゲーション */
.bottom-fixed-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
}

.bottom-fixed-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bottom-fixed-nav li {
    flex: 1;
    max-width: 150px;
}

.bottom-fixed-nav a {
    display: block;
    padding: 18px 10px;
    text-align: center;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.bottom-fixed-nav a:hover,
.bottom-fixed-nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-top-color: #60a5fa;
}

/* レスポンシブ */
@media (max-width: 768px) {
    body {
        padding-bottom: 120px;
    }
    
    .site-header {
        padding: 40px 0;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
    
    .main-content {
        padding: 30px 0;
    }
    
    .content-box {
        padding: 35px 28px;
        border-radius: 16px;
    }
    
    .section-block h2 {
        font-size: 1.3rem;
    }
    
    .section-block.highlight {
        padding: 25px 22px;
    }
    
    .bottom-fixed-nav ul {
        flex-wrap: wrap;
        padding: 5px 10px;
    }
    
    .bottom-fixed-nav li {
        flex: 0 0 auto;
        max-width: none;
    }
    
    .bottom-fixed-nav a {
        padding: 12px 12px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .content-box {
        padding: 28px 20px;
    }
    
    .bottom-fixed-nav a {
        padding: 10px 8px;
        font-size: 0.7rem;
    }
}

/* サイトマップ */
.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.sitemap-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.sitemap-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.sitemap-list a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.sitemap-list a:hover {
    opacity: 0.7;
}
