﻿.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--background-color,#000);
}

    .footer-links li a {
        display: block;
        padding: 10px 20px;
        color: #fff;
        text-decoration: none;
    }

/* レスポンシブ */
@media (max-width: 768px) {

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

        .footer-links li a {
            padding: 10px 0;
        }
}




/* ページトップへ start */
.btn_pagetop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 999;
}

    .btn_pagetop img {
        transition: 0.3s;
        width: 60px;
    }

        .btn_pagetop img:hover {
            transform: translateY(-5px);
        }

@media screen and (max-width:1000px) {
    #topbtn {
        display: none;
    }
}
/* ページトップへ end */

/* copyright start */
#cp {
    padding-top: 60px;
    padding-bottom: 5px;
    font-size: 12px;
}

    #cp p {
        text-align: center;
        letter-spacing: 0px;
        color: var(--text-color,#2F1500);
    }

@media screen and (max-width: 1000px) {
    #cp {
        margin-bottom: unset !important;
    }
}
/* copyright end */

/* 全体のエリア start */


#siteinfo {
    width: 100%;
    height: auto;
}


#toiawase {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px dashed #333;
    padding-bottom: 40px;
}


.toiawase_left {
    grid-column: 2;
    justify-self: center;
}

.toiawase_right {
    grid-column: 3;
    justify-self: end;
}

.ttl-footer {
    width:309px;
}


/* 左エリア end */


/* 右エリア start */

/* リスト初期化 */
.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100px;
    width: 240px;
    margin-top: 33px;
}


    .link-list li {
        margin-bottom: 12px;
       
    }

/* リンクボタン本体 */
.link-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 0 25px;
    background-color: var(--background-color,#fff);
    color: var(--text-color,#333);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    width: 240px; /* 重要 */
    margin: 0 auto; /* 中央配置 */
    border: 1px solid #A9A9A9;
    border-radius: 24px;
}
    .link-btn {
        color: var(--text-color,#333) !important;
        position:relative;
    }

    /* hover */
        .link-btn:hover {
            background-color: var(--background-color,#F2F7FF);
        }

    /* 疑似要素：左側アイコン */

        .link-btn::after {
            content: "";
            position: absolute;
            right: 16px; /* ← left を right に変更 */
            top: 23px;
            transform: translateY(-50%);
            width: 7px;
            height: 12px;
            background-color: var(--text-color,#333);
            -webkit-mask-image: url("../../images/comm/icon-arrow.svg");
            -webkit-mask-repeat: no-repeat;
            -webkit-mask-size: contain;
            mask-image: url("../../images/comm/icon-arrow.svg");
            mask-repeat: no-repeat;
            mask-size: contain;
        }

.cont-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--text-color,#333) !important;
    border-bottom: 2px dotted #333;
    padding-bottom: 10px;
    margin-bottom:10px;
    letter-spacing: 0.1rem;
}



.toiawase-txt {
    display: flex;
    gap: 24px; /* 電話とFAXの間の余白 */
    align-items: center;
    font-weight:500;
    margin-top:14px;

}

    .toiawase-txt li {
        display: flex;
        align-items: center;
        white-space: nowrap; /* 折り返し防止 */
    }

.txt-tel {
    color: var(--text-color,#333) !important;
    font-weight: 500;
}

.comm-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.comm-header {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 30px;
    margin-top: 20px;
}

.comm-card {
    width: calc(50% - 40px);
    max-width:520px;
    border-radius: 16px;
    padding: 25px;
    padding-bottom: 10px;
    margin: 0 auto;
}
.south {
    background: var(--background-color,#BFDFDF);
}

.central {
    background: var(--background-color,#E8EB8A);
}

.east {
    background: var(--background-color,#F9C8DC);
}

.north {
    background: var(--background-color,#BFEC89);
}

.comm-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.comm-name {
    font-size: 22px;
    font-weight: 700;
}

.comm-en {
    font-size: 12px;
    letter-spacing: 1px;
}

.comm-tel {
    position: relative;
    padding-left: 50px;
    font-size: 1.625rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-color,#333) !important;
}


.comm-info {
    margin: 0;
}

.row {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    align-items: center;
}

    .row dt {
        min-width: 96px;
        background: var(--background-color,#fff);
        padding: 6px 10px;
        border-radius: 6px;
        font-weight: 600;
        text-align: center;
        display: flex;
        display: flex;
        align-items: center;
        justify-content: center; /* ラベル内の上下左右中央 */
    }

    .row dd {
        margin: 0;
    }

.map a {
    background: #fff;
    border-radius: 20px;
    text-decoration: none;
    position: relative;
    width: 115px;
    display: block;
    height: 30px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 10px;
    display: flex;
    align-items: center;
    /* margin: 0 auto; */
    justify-content: center;
    color: var(--text-color,#333);
    padding-left:5px;
}


.admin {
    margin-top: 20px;
    font-weight: bold;
    border-bottom: 1px dashed #666;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.map a::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 20px;
    background-color: var(--background-color,#1B5A81);
    -webkit-mask: url("../../images/comm/icon-map.svg") no-repeat center / contain;
    mask: url("../../images/comm/icon-map.svg") no-repeat center / contain;
}

.comm-tel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--background-color,#1B5A81);
    -webkit-mask: url("../../images/comm/icon-tel.svg") no-repeat center / contain;
    mask: url("../../images/comm/icon-tel.svg") no-repeat center / contain;
}

.ttl-add-shiyakusyo {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 6px;
    padding-left: 43px;
    margin-top: 10px;
}

.ttl-add-shiyakusyo {
    position: relative;
}

    .ttl-add-shiyakusyo::before {
        content: "";
        position: absolute;
        left: 0px;
        top: 14px;
        transform: translateY(-50%);
        width: 38px;
        height: 21px;
        background-image: url("../../images/comm/logo-onojo.svg");
        background-size: contain;
        background-repeat: no-repeat;
    }

.comm-address {
    font-weight: 500;
    font-size: 1.125rem;
    padding-left: 43px;
}



/* 南コミュニティセンター */
.comm-card.south .map a::before,
.comm-card.south .comm-tel::before {
    --background-color: #1B5A81;
}

/* 中央コミュニティセンター */
.comm-card.central .map a::before,
.comm-card.central .comm-tel::before {
    --background-color: #C7BA2A;
}

/* 東コミュニティセンター */
.comm-card.east .map a::before,
.comm-card.east .comm-tel::before {
    --background-color: #CD467D;
}

/* 北コミュニティセンター */
.comm-card.north .map a::before,
.comm-card.north .comm-tel::before {
    --background-color: #528713;
}

@media (max-width:768px) {

    .comm-card {
        width: 100%;
    }
}


@media (max-width:1300px) {

    #toiawase {
        display: flex;
        justify-content: space-around;
    }

    .link-list {
        width: 300px;

    }
}

@media (max-width:1200px) {

    .comm-card {
        width: calc(90% - 20px);
    }

    .ttl-add-shiyakusyo {
        width: 120px;
        margin: 0 auto;
        margin-bottom: 10px;
    }

    .comm-address {
        text-align: center;
    }

}


.br-sp {
    display: none;
}

@media (max-width:650px) {

    #toiawase {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        margin-top: 10px;
    }

    .link-list {
        width: 300px;
    }

    .comm-address {
        padding: initial;
        text-align: center;
        width: 320px;
        margin: 0 auto;
    }

    .br-sp {
        display: block;
    }

    .comm-tel::before {
        left: 40px;
        width: 30px;
        height: 30px;
    }

    .comm-tel {
        font-size: 1.4rem;
    }

        .comm-tel::before {
            left: 12px;
        }

    .comm-head {
        flex-direction: column;
    }

    .comm-title {
        margin-bottom: 16px;
    }

    

}

@media (max-width:450px) {
    .row {
        display: flex;
        gap: 15px;
        margin-bottom: 12px;
        flex-direction: column;
        padding-bottom: 18px;
        align-items: initial;
    }

        .row dt {
            padding: 3px 8px;

        }
}



    /* =========================================================
   ボトムナビエリア調整（サイトごとに色味調整等）
========================================================= */

    /*文字・アイコン色*/
    #bottom_navi .bottom_menu_item a {
        color: var(--text-color,#43290F) !important;
    }

    /*展開メニュー背景*/
    .active_btmpanel {
        background-color: var(--background-color,#F0F0F0);
    }

    /*展開メニュー文字色*/
    .sagasulist li a {
        color: var(--text-color,#43290F) !important;
    }

    /*展開メニュービュレット色*/
#areabtm_sagasu ul a::before {
    background-color: var(--text-color,#D77619);
}

    /*閉じるボタン*/
    .close_btn {
        background-color: var(--background-color,#43290F);
    }

    /*閉じるボタン*/
    .siteSearchArea .svg-inline--fa.fa-w-16 {
        color: var(--background-color,#43290F) !important;
    }

.close_btn a {
    color: var(--text-color,#ffffff);
}

.close_btn {
    border: none;
}




    /* =========================================================
   電話番号リンクの制御 (767px以下のみ下線を表示)
========================================================= */

    /* すべての電話リンクの基本スタイル（PC含む） */
    a[href^="tel:"] {
        color: var(--text-color, #333) !important;
        text-decoration: none; /* 通常時は下線なし */
    }

    /* 768px以上（PC表示時）はクリックを無効化 */
    @media (min-width: 768px) {
        a[href^="tel:"] {
            pointer-events: none;
            cursor: default;
        }
    }

    /* 767px以下（スマホ表示時） */
    @media (max-width: 767px) {
        a[href^="tel:"] {
            pointer-events: auto; /* クリック有効 */
            text-decoration: underline; /* スマホ時のみ下線を表示 */
            left: -18px;
        }
    }



/*フッタメニュー内ズレ調整*/

@media (max-width: 1000px) {

    #siteinfo {
        margin-bottom: 70px;
    }

    .font-size_wrap {
        margin: 0 auto;
        display: block;
        max-width: 280px;
    }

    .haikei_wrap {
        margin: 0 auto;
        display: block;
        max-width: 270px;
    }

    #mainFontSizeSel {
        margin-bottom: 20px;
    }

    .siteSearchArea {
        width: 220px;
        display: block;
        margin: 0 auto;
        margin-top: 20px;
    }


    .onsei_SP {
        display: flex;
    }

        .onsei_SP .easyJapaneseVoiceReadingButton {
            position: absolute;
            top: 363px;
            left: 50%;
            transform: translateX(-50%);
            right: unset;
        }

    .easyJapaneseButtonArea {
        gap: 10px;
    }

    .lang_title {
        background-color: transparent;

    }
}
    /*フッタメニュー内ズレ調整*/


/* フッターメニュー内トップボタンここから */
/* 親要素：ボタンを画面中央に配置 */
.footer-btn-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-bottom: 20px;
}

/* ボタン本体 */
.footer-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 50px;
    background-color: var(--background-color,#fff);
    color: var(--text-color,#43290F) !important;
    border: 2px solid var(--text-color,#cccccc);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    box-sizing: border-box;
    transition: opacity 0.2s;
}

    /* 左側の「＞」ビュレット */
    .footer-top-btn::before {
        content: "‹";
        color: #463809;
        font-size: 26px;
        left: -16px;
        position: relative;
    }

/* フッターメニュー内トップボタン ここまで*/