
/* ===== 低山旅行サイト CSS（デザイン仕様書準拠） ===== */

/* リセット & 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 根本的な余白問題の解決 */
html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
}

header[role="banner"] {
    margin: 0;
    padding: 1.2rem 0;
}

:root {
    /* クリーン・ミニマルカラーパレット（ボーダー中心デザイン） */
    --primary-color: #2E7D32;    /* フォレストグリーン */
    --accent-color: #FF7043;     /* アースオレンジ */
    --text-color: #212121;       /* チャコールグレー */
    --text-sub: #757575;         /* ミディアムグレー */
    --bg-color: #FFFFFF;         /* ピュアホワイト */
    --border-color: #E0E0E0;     /* ライトグレーボーダー */
    --border-accent: #BDBDBD;    /* アクセントボーダー */
    --surface-color: #FAFAFA;    /* サーフェスカラー */
    --hover-bg: #F5F5F5;         /* ホバー背景 */
    --price-color: #D32F2F;      /* 価格表示用赤 */
    --success-color: #388E3C;    /* 成功色 */
    --warning-color: #F57C00;    /* 警告色 */
    --info-color: #1976D2;       /* 情報色 */
    
    /* グラデーション変数（重要：白文字表示問題解決） */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    --gradient-3: linear-gradient(135deg, #FF7043 0%, #FF9800 100%);
    
    /* 追加カラー変数 */
    --sub-color: #E8F5E8;        /* サブカラー */
    --affiliate-bg: #FFF8E1;     /* アフィリエイト背景 */
    --cta-color: #D84315;        /* CTAボタン色 */
}

/* タイポグラフィ（山ガール風改善） */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans JP', 'Hiragino Sans', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
    letter-spacing: 0.01em;
    font-weight: 400;
    margin: 0 !important;
    padding: 0 !important;
}

h1 { 
    font-size: 2.4rem; 
    font-weight: 700; 
    line-height: 1.25; 
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
h2 { 
    font-size: 1.8rem; 
    font-weight: 650; 
    line-height: 1.35; 
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
    margin-top: 2.5rem;
}
h3 { 
    font-size: 1.4rem; 
    font-weight: 600; 
    line-height: 1.4; 
    letter-spacing: -0.005em;
    margin-bottom: 1rem;
}
p { 
    font-size: 1.05rem; 
    line-height: 1.8; 
    margin-bottom: 1.5rem; 
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* レイアウト */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== アクセシビリティ ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 10000;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.3s ease;
}

.skip-link:focus {
    top: 6px;
    opacity: 1;
}

/* ===== ヘッダー（クリーン・ボーダーデザイン） ===== */
header[role="banner"] {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 1.2rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 2px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}


.navbar h1 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.navbar h1 a:hover {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    display: block;
}

.nav-links a:hover {
    background-color: var(--hover-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ===== メインコンテンツ ===== */
main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* ===== ヒーローセクション（山ガール風リデザイン） ===== */
.hero, .hero-section {
    text-align: center;
    margin: 2rem auto 5rem;
    padding: 5rem 3rem;
    background: linear-gradient(135deg, 
        rgba(107, 122, 82, 0.08), 
        rgba(245, 241, 232, 0.6),
        rgba(210, 105, 30, 0.05));
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(245, 241, 232, 0.8);
    box-shadow: 
        0 20px 60px rgba(107, 122, 82, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: 1000px;
}



.hero h1, .hero-section h1 {
    font-size: 3.8rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero p, .hero-section p, .hero-description {
    font-size: 1.4rem;
    color: var(--text-color);
    max-width: 750px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
    line-height: 1.6;
    font-weight: 500;
}

/* 統計情報スタイリング */
.stats {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: var(--bg-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: inline-block;
}

.stats span {
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--surface-color);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* ===== セクションタイトル（山ガール風） ===== */
.section-title, .mountains-section h2, .region-section h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 3.5rem;
    text-align: center;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title::after, .mountains-section h2::after, .region-section h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 1.5rem auto;
}

/* 地域セクション専用スタイル */
.region-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.3), rgba(255, 255, 255, 0.5));
    border-radius: 24px;
    border: 1px solid rgba(245, 241, 232, 0.6);
    backdrop-filter: blur(10px);
}

.mountains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* ===== 記事カードグリッド（山ガール風モダンデザイン） ===== */
.mountain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.mountain-card {
    background: linear-gradient(145deg, #ffffff, #fdfdfd);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(107, 122, 82, 0.08),
        0 4px 12px rgba(107, 122, 82, 0.04);
    border: 1px solid rgba(245, 241, 232, 0.8);
    position: relative;
    backdrop-filter: blur(10px);
}

.mountain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mountain-card:hover::before {
    opacity: 1;
}

.mountain-card:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(107, 122, 82, 0.15),
        0 10px 20px rgba(107, 122, 82, 0.08);
    border-color: rgba(210, 105, 30, 0.2);
}

.mountain-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.95) contrast(1.05);
}

.mountain-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
}

.mountain-card-content {
    padding: 2.5rem 2rem 2rem;
    position: relative;
}

.mountain-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.mountain-card:hover h3 {
    color: var(--accent-color);
}

.mountain-card .mountain-meta {
    color: var(--text-sub);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--sub-color), rgba(255, 243, 224, 0.8));
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    border: 1px solid rgba(74, 144, 226, 0.1);
    backdrop-filter: blur(5px);
}

.mountain-card p {
    color: var(--text-sub);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.mountain-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 山の詳細タグエリア */
.mountain-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mountain-tags .tag {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 107, 107, 0.05));
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 107, 107, 0.2);
    transition: all 0.3s ease;
}

.mountain-tags .tag:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

/* ===== 記事ページ ===== */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.article-header {
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, var(--sub-color));
}

.article-header h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-meta {
    color: var(--text-sub);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.mountain-info {
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    border: 2px solid var(--sub-color);
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-content {
    padding: 3rem 2rem;
    line-height: 1.8;
}

.article-content h2 {
    color: var(--primary-color);
    margin: 3rem 0 1.5rem 0;
    border-left: 5px solid var(--accent-color);
    padding-left: 1.5rem;
    position: relative;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
}

.article-content h3 {
    color: var(--primary-color);
    margin: 2.5rem 0 1rem 0;
}

.article-content p {
    color: #444;
    margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.7rem;
    color: #444;
}

/* ===== アフィリエイトセクション（強化版） ===== */
.affiliate-section {
    background: linear-gradient(135deg, var(--affiliate-bg), #ffebcd);
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 20px;
    border: 3px solid var(--accent-color);
    position: relative;
    box-shadow: 0 8px 25px rgba(240, 165, 0, 0.2);
}

.affiliate-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-color), var(--cta-color));
    border-radius: 20px;
    z-index: -1;
}

.affiliate-section h3 {
    color: var(--cta-color);
    margin-bottom: 2rem;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    text-align: center;
    justify-content: center;
}

.affiliate-products {
    display: grid;
    gap: 1.5rem;
}

.affiliate-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.affiliate-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left-width: 8px;
}

.affiliate-product a {
    color: var(--cta-color);
    text-decoration: none;
    font-weight: 700;
    flex: 1;
    margin-right: 1rem;
    font-size: 1.05rem;
}

.affiliate-product a:hover {
    text-decoration: underline;
}

.price {
    font-weight: bold;
    color: var(--price-color);
    font-size: 1.2rem;
    background: #ffebee;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
}

/* ===== CTAボタン（山ガール風リデザイン） ===== */
.cta-button {
    background: linear-gradient(135deg, var(--accent-color), var(--cta-color));
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 
        0 8px 25px rgba(210, 105, 30, 0.25),
        0 4px 12px rgba(210, 105, 30, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(210, 105, 30, 0.35),
        0 8px 20px rgba(210, 105, 30, 0.2);
    background: linear-gradient(135deg, #E67E22, #A0522D);
    border-color: rgba(255, 255, 255, 0.2);
}

/* 関連記事リンクのスタイリング */
.related-link {
    background: linear-gradient(135deg, var(--sub-color), rgba(245, 241, 232, 0.8));
    color: var(--primary-color);
    padding: 1.2rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(107, 122, 82, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(107, 122, 82, 0.08);
}

.related-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(107, 122, 82, 0.2);
    border-color: transparent;
}

/* ===== タグ（山ガール風モダンデザイン） ===== */
.article-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, 
        rgba(245, 241, 232, 0.4), 
        rgba(255, 255, 255, 0.6));
    border-radius: 0 0 24px 24px;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(245, 241, 232, 0.8);
}

.tag {
    background: linear-gradient(135deg, 
        rgba(107, 122, 82, 0.08), 
        rgba(210, 105, 30, 0.05));
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(107, 122, 82, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(107, 122, 82, 0.05);
    letter-spacing: 0.3px;
}

.tag:hover {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 8px 20px rgba(107, 122, 82, 0.2);
    border-color: transparent;
}

/* ===== フッター（山ガール風モダンデザイン） ===== */
footer {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        rgba(107, 122, 82, 0.95) 50%, 
        #5A6644 100%);
    color: white;
    padding: 5rem 0 3rem;
    margin-top: 6rem;
    position: relative;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        var(--accent-color), 
        var(--primary-color), 
        var(--cta-color),
        var(--primary-color), 
        var(--accent-color));
    box-shadow: 0 2px 10px rgba(210, 105, 30, 0.3);
}

footer::after {
    content: '🏔️';
    position: absolute;
    top: 1.5rem;
    right: 3rem;
    font-size: 2rem;
    opacity: 0.2;
}

/* フッターコンテンツレイアウト */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 0.2rem 0;
    border-bottom: 1px solid transparent;
}

.footer-section a:hover {
    color: white;
    border-bottom-color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2.5rem;
    text-align: center;
    backdrop-filter: blur(5px);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 768px) {
    .container { padding: 0 15px; }
    
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .nav-links {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    
    .mountain-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-header h1 { font-size: 1.8rem; }
    .article-header { padding: 2rem 1.5rem 1.5rem; }
    .article-content { padding: 2rem 1.5rem; }
    
    .affiliate-product {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
    }
    
    .affiliate-product a {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .article-content h2 {
        font-size: 1.4rem;
        margin: 2rem 0 1rem 0;
    }
    
    .mountain-card-content { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .hero { padding: 2rem 1rem; }
    .hero h1 { font-size: 2rem; }
    .affiliate-section { padding: 2rem 1rem; }
    .container { padding: 0 10px; }
}

/* ===== ユーティリティクラス ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

/* ===== アニメーション ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mountain-card {
    animation: fadeInUp 0.6s ease forwards;
}

.mountain-card:nth-child(1) { animation-delay: 0.1s; }
.mountain-card:nth-child(2) { animation-delay: 0.2s; }
.mountain-card:nth-child(3) { animation-delay: 0.3s; }
.mountain-card:nth-child(4) { animation-delay: 0.4s; }
.mountain-card:nth-child(5) { animation-delay: 0.5s; }

/* ===== 地域カード（地域別ページ専用） ===== */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.region-card {
    background: var(--gradient-1);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.region-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.25);
}

.region-card:nth-child(odd) {
    background: var(--gradient-2);
}

.region-card:nth-child(3n) {
    background: var(--gradient-3);
}

.region-card a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    height: 100%;
}

.region-card-content {
    padding: 2.5rem 2rem;
    position: relative;
}

.region-card h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: none;
}

.region-card .region-description {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.region-card .region-mountains {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: var(--surface-color);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.region-card:hover .region-mountains {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* 地域カードアニメーション */
.region-card {
    animation: fadeInUp 0.6s ease forwards;
}

.region-card:nth-child(1) { animation-delay: 0.1s; }
.region-card:nth-child(2) { animation-delay: 0.2s; }
.region-card:nth-child(3) { animation-delay: 0.3s; }
.region-card:nth-child(4) { animation-delay: 0.4s; }
.region-card:nth-child(5) { animation-delay: 0.5s; }
.region-card:nth-child(6) { animation-delay: 0.6s; }
.region-card:nth-child(7) { animation-delay: 0.7s; }
.region-card:nth-child(8) { animation-delay: 0.8s; }

/* ===== ページ別特別スタイル ===== */

/* トップページ特別機能 */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.1);
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-item p {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

/* 山一覧ページ特別機能 */
.mountains-hero {
    background: var(--surface-color);
    color: var(--text-color);
    padding: 3rem 2rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    border: 2px solid var(--border-color);
}

.mountains-hero h1,
.mountains-hero p,
.mountains-hero .stats {
    color: var(--text-color);
    text-shadow: none;
}

.filter-section {
    margin-top: 2rem;
    text-align: center;
}

.filter-section h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* 地域別ページ特別機能 */
.regions-hero {
    background: var(--surface-color);
    color: var(--text-color);
    padding: 3rem 2rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    border: 2px solid var(--border-color);
}

.regions-hero h1,
.regions-hero p,
.regions-hero .stats {
    color: var(--text-color);
    text-shadow: none;
}

.region-search {
    margin-top: 2rem;
    text-align: center;
}

.region-search h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.region-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.region-filter {
    padding: 0.8rem 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.region-filter:hover,
.region-filter.active {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* ===== サイトマップページスタイル ===== */
.sitemap-hero {
    background: var(--surface-color);
    color: var(--text-color);
    padding: 3rem 2rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    border: 2px solid var(--border-color);
}

.sitemap-hero h1,
.sitemap-hero p,
.sitemap-hero .stats {
    color: var(--text-color);
    text-shadow: none;
}

.sitemap-content {
    max-width: 1200px;
    margin: 0 auto;
}

.sitemap-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.1);
}

.sitemap-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--sub-color);
}

.sitemap-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.sitemap-group {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(255, 255, 255, 0.9));
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.sitemap-group h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 107, 107, 0.2);
}

.sitemap-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sitemap-group li {
    margin-bottom: 0.5rem;
}

.sitemap-group a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    display: block;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}

.sitemap-group a:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(74, 144, 226, 0.05));
    border-left-color: var(--primary-color);
    transform: translateX(5px);
    color: var(--primary-color);
}

/* サイトマップモバイル対応 */
@media (max-width: 768px) {
    .sitemap-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sitemap-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .sitemap-hero {
        padding: 2rem 1.5rem;
    }
}

/* ===== アクセシビリティ ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ===== モバイルメニュー ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== フッター強化 ===== */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* ===== 目次（TOC）===== */
.table-of-contents {
    background: linear-gradient(135deg, var(--sub-color), #f0f8f0);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.table-of-contents h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
}

.table-of-contents li::before {
    content: '🏔️';
    position: absolute;
    left: 0;
    top: 0;
}

.table-of-contents a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: var(--cta-color);
    text-decoration: underline;
}

/* ===== パンくずリスト ===== */
.breadcrumb {
    background: rgba(44, 82, 52, 0.05);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--text-sub);
    font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: var(--text-sub);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== レスポンシブ（モバイルメニュー） ===== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        margin-bottom: 0.5rem;
    }
    
    .nav-links a {
        display: block;
        padding: 0.8rem;
        border-radius: 8px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .table-of-contents {
        padding: 1.5rem;
    }
}

/* ===== パフォーマンス最適化 ===== */
.mountain-card img,
.featured-image {
    loading: lazy;
}

/* プリロード用スタイル */
body:not(.loaded) .mountain-card {
    opacity: 0;
    transform: translateY(30px);
}

body.loaded .mountain-card {
    opacity: 1;
    transform: translateY(0);
}

/* ===== プリント用スタイル ===== */
@media print {
    header, footer, .sidebar, .affiliate-section {
        display: none;
    }
    
    .article-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* ===== 追加要素スタイル ===== */
.reading-time {
    color: var(--text-sub);
    font-size: 0.85rem;
    background: rgba(44, 82, 52, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

.affiliate-disclaimer,
.affiliate-note {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(240, 165, 0, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.affiliate-note {
    margin-top: 1rem;
    margin-bottom: 0;
}

.related-articles {
    background: linear-gradient(135deg, #f8f9fa, var(--sub-color));
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 15px;
    border: 1px solid var(--sub-color);
}

.related-articles h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.related-link {
    display: block;
    padding: 1rem;
    background: white;
    border: 2px solid var(--sub-color);
    border-radius: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.related-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 82, 52, 0.2);
}
