/* ========================================================= */
/* サイトマップ固有のスタイル (css/sitemap.css) */
/* ========================================================= */

#sitemap-list {
    padding: 60px 0;
    background-color: #f5f5f5; /* 背景を少し明るいグレーに */
}

.inner-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

#sitemap-list h1 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2a2a2a;
}

.sitemap-intro {
    text-align: center;
    margin-bottom: 50px;
    font-size: 16px;
    color: #555;
}

/* --- グリッドレイアウト --- */
.sitemap-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.sitemap-column {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: #fff;
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* 立体感を出す */
    border-top: 5px solid #00796b; /* テーマカラーのライン */
}

.sitemap-column h2 {
    font-size: 22px;
    color: #00796b; /* メインテーマカラー */
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 700;
}

/* --- リンクスタイル --- */
.main-links, .service-links, .utility-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* メインリンクアイテム */
.main-links > li, .service-links > li, .utility-links > li {
    margin-bottom: 15px;
}

/* メインリンクのAタグ */
.main-links a, .service-links > li > a, .utility-links > li > a {
    display: block;
    padding: 8px 0;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    border-left: 3px solid transparent;
}

.main-links a:hover, .service-links > li > a:hover, .utility-links > li > a:hover {
    color: #ff6f00; /* ホバーカラー */
    padding-left: 5px;
    border-left: 3px solid #ff6f00;
}

/* --- サブリンク（ネストされたリスト）スタイル --- */
.sub-links {
    list-style: none; /* リストのマークを消す */
    padding-left: 15px;
    margin-top: 8px;
    border-left: 1px dashed #ccc; /* 階層を分かりやすく */
}

.sub-links li {
    margin-bottom: 3px;
}

.sub-links a {
    display: block;
    padding: 3px 0;
    font-weight: normal;
    font-size: 15px;
    color: #666;
    text-decoration: none;
}

.sub-links a:hover {
    color: #00796b;
    text-decoration: underline;
    padding-left: 0;
    border-left: none; /* 親要素のホバーエフェクトを継承させない */
}

/* --- レスポンシブ対応 --- */
@media (max-width: 992px) {
    .sitemap-grid {
        flex-wrap: wrap; /* 3列から折り返す */
        justify-content: space-around;
    }
    .sitemap-column {
        flex: 1 1 45%; /* 2列表示 */
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    #sitemap-list h1 {
        font-size: 28px;
    }
    .sitemap-grid {
        flex-direction: column; /* 1列表示 */
        gap: 20px;
    }
    .sitemap-column {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 20px 15px;
    }
}