/* テンプレート25: 中央ナビ + 茶色系 */
@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');

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

body {
    font-family: 'Kosugi Maru', 'Hiragino Maru Gothic ProN', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: #44403c;
    background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%);
    min-height: 100vh;
}

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

/* ヘッダー */
.site-header {
    background: linear-gradient(135deg, #78350f 0%, #451a03 100%);
    padding: 45px 0;
    text-align: center;
}

.site-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fef3c7;
    letter-spacing: 0.08em;
}

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

.content-box {
    background: #fffbeb;
    border-radius: 20px;
    padding: 60px 70px;
    box-shadow: 0 10px 40px rgba(120, 53, 15, 0.1);
    border: 2px solid #d97706;
}

.content-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 22px;
    position: relative;
    display: inline-block;
}

.content-box h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #d97706, #f59e0b);
    border-radius: 2px;
}

/* 左float画像 */
.content-with-image {
    overflow: hidden;
}

.left-float-image {
    float: left;
    width: 320px;
    margin: 5px 35px 25px 0;
}

.left-float-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(120, 53, 15, 0.15);
    border: 3px solid #fbbf24;
}

.left-float-image figcaption {
    text-align: center;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #92400e;
}

.text-wrap p {
    margin-bottom: 18px;
    text-align: justify;
}

/* 中央ナビゲーション */
.center-navigation {
    clear: both;
    background: linear-gradient(135deg, #92400e 0%, #fbbf24 100%);
    border-radius: 12px;
    /* padding: 25px 30px;
    margin: 45px 0; */
    box-shadow: 0 4px 15px rgba(120, 53, 15, 0.2);
}

.center-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.center-navigation a {
    display: block;
    padding: 12px 22px;
    color: rgba(254, 243, 199, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.center-navigation a:hover,
.center-navigation a.active {
    background: rgba(254, 243, 199, 0.15);
    color: #fef3c7;
    border-color: #fbbf24;
}

/* セクション */
.intro-section {
    margin-bottom: 20px;
}

.main-section,
.sub-section {
    margin-bottom: 35px;
}

.main-section p,
.sub-section p {
    margin-bottom: 18px;
    text-align: justify;
}

.sub-section {
    margin-bottom: 0;
}

/* フッター */
.site-footer {
    background: linear-gradient(135deg, #78350f 0%, #451a03 100%);
    color: rgba(254, 243, 199, 0.7);
    text-align: center;
    padding: 30px;
    font-size: 0.85rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .site-header {
        padding: 35px 0;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
    
    .main-content {
        padding: 30px 0;
    }
    
    .content-box {
        padding: 35px 28px;
        border-radius: 16px;
    }
    
    .content-box h2 {
        font-size: 1.3rem;
    }
    
    .left-float-image {
        float: none;
        width: 100%;
        max-width: 350px;
        margin: 0 auto 25px;
    }
    
    .center-navigation {
        padding: 20px;
        margin: 35px 0;
    }
    
    .center-navigation ul {
        gap: 8px;
    }
    
    .center-navigation a {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .content-box {
        padding: 28px 20px;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .content-box h2 {
        font-size: 1.2rem;
    }
    
    .center-navigation a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* サイトマップ */
.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;
}
