/* サイトマップページスタイル */

/* メインコンテナ */
.sitemap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #fff;
}

/* トップセクション（ロゴとSNS） */
.sitemap-container .top {
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 40px;
}

.sitemap-container .top img {
    height: 40px;
    width: auto;
}

/* SNSアイコングループ */
.sitemap-container .snsG {
    gap: 15px;
}


.sitemap-container .snsG a {
    display: inline-block;
    transition: opacity 0.3s;
}

.sitemap-container .snsG a:hover {
    opacity: 0.7;
}

.sitemap-container .snsG img {
    width: 30px;
    height: 30px;
}

/* メニューグループ全体 */
.sitemap-container .menuG {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* セクショングループ */
.sitemap-container .sectionG {
    min-width: 0;
}

/* 各セクション */
.sitemap-container .section {
    margin-bottom: 30px;
}

/* セクションタイトル */
.sitemap-container .sectionT {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

/* コンテンツエリア */
.sitemap-container .sContents {
    padding-left: 0;
}

.sitemap-container .sContent {
    margin-bottom: 20px;
}

/* コンテンツタイトル */
.sitemap-container .contentT {
    font-size: 14px;
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}

/* リンクエリア */
.sitemap-container .sContent p {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

.sitemap-container .sContent a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    padding: 2px 0;
}

.sitemap-container .sContent a:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* ガイドセクション */
.sitemap-container .guide {
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

/* ガイドリストグループ（PC用） */
.sitemap-container .guideListG {
    margin-bottom: 30px;
}

.sitemap-container .guideList {
    width: 48%;
}

.sitemap-container .guideList p {
    font-size: 14px;
    line-height: 2;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}

.sitemap-container .guideList p:hover {
    color: #0066cc;
}

/* 地域マップリスト */
.sitemap-container .map_lists {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.sitemap-container .maplist {
    background: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.sitemap-container .maplist:hover {
    background: #e8e8e8;
}

.sitemap-container .maplist a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-container .maplist p {
    font-size: 13px;
    margin: 0;
}

.sitemap-container .maplist img {
    width: 20px;
    height: 20px;
}

/* Flexユーティリティクラス */
.flex {
    display: flex;
}

.a-c {
    align-items: center;
}

.j-b {
    justify-content: space-between;
}

/* モバイル用スタイル */
.sectionG_sp {
    display: none;
}

.guide_list {
    display: none;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 999px) {
    .sitemap-container .menuG {
        display: none;
    }

    .sitemap-container .guideListG {
        display: none;
    }

    /* モバイル用セクション表示 */
    .sectionG_sp {
        display: block;
        margin-bottom: 30px;
    }

    .section_sp {
        margin-bottom: 20px;
        border: 1px solid #e5e5e5;
        border-radius: 5px;
        overflow: hidden;
    }

    .menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        background: #f8f8f8;
        cursor: pointer;
        font-weight: bold;
        font-size: 14px;
    }

    .menu-header:hover {
        background: #e8e8e8;
    }

    .f_arrow {
        font-size: 18px;
        transition: transform 0.3s;
    }

    .menu-content {
        display: none;
        padding: 15px;
        background: #fff;
    }

    .menu-content.active {
        display: block;
    }

    .menu-header.active .f_arrow {
        transform: rotate(90deg);
    }

    /* モバイル用ガイドリスト */
    .guide_list {
        display: block;
        padding: 20px 0;
    }

    .guide_list p {
        font-size: 14px;
        line-height: 2.5;
        color: #333;
        padding: 5px 15px;
        border-bottom: 1px solid #f0f0f0;
    }

    .sitemap-container .map_lists {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .sitemap-container {
        padding: 20px 15px;
    }

    .sitemap-container .top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sitemap-container .top img {
        margin-bottom: 20px;
    }

    .sitemap-container .snsG {
        justify-content: center;
    }

    .sitemap-container .map_lists {
        grid-template-columns: 1fr;
    }
}

/* アコーディオンメニュー用JavaScript連携クラス */
.menu-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.menu-content.active {
    max-height: 1000px;
}

footer .container .top img {
    display: none;
}

footer .container {
    background-color: white;
}

footer {
    width: 960px;
    margin: 0 auto;
    text-align: left;
    display: inline-block;
}

footer .bottom{
    display: none;
}

footer .container .menuG {
    /* 2要素で折り返して配置*/
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    padding-bottom: 40px
}
footer .container .menuG .sectionG {
    flex: 0 0 calc((100% - var(--gap)) / 2);
    box-sizing: border-box;   /* パディング入れても崩れにくい */
    width: 40%;
}

footer .container .menuG .guide {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    padding-bottom: 40px
}

footer .container .menuG .guide .guide_list {
    width: 40%;
}
footer .container .menuG .guide .map_lists {
    width: 40%;
}


