﻿/* ページトップへ 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: 10px;
    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;
    background-color: var(--background-color,#FFEA5C);
}


#toiawase {
    max-width: 1100px;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
}
    /* 全体のエリア end */

    /* 左エリア start */
    .toiawase_left {
        margin-top: 20px;
        line-height: 2.2rem;
        display: flex;
        align-items: center;
    }

    .ttl-footer {
        width: 309px;
    }

   
    /* 左エリア end */


    /* 右エリア start */

    /* リスト初期化 */
    .link-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        height: 100px;
        width: 200px;
        margin-top: 33px;
    }


        .link-list li {
            margin-bottom: 12px;
        }

    /* リンクボタン本体 */
    .link-btn {
        position: relative;
        display: flex;
        align-items: center;
        height: 45px;
        padding-left: 67px;
        background-color: var(--background-color,#fff);
        color: var(--text-color,#333);
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        border-radius: 24px;
        transition: background-color 0.2s ease;
    }

    .link-btn {
        color: var(--text-color,#333) !important;
    }

        /* hover */
        .link-btn:hover {
            background-color: var(--background-color,#F2F7FF);
        }

    /* 疑似要素：左側アイコン */

    .icon-toiawase::before {
        content: "";
        position: absolute;
        left: 16px;
        top: 26px;
        transform: translateY(-50%);
        width: 27px;
        height: 24px;
        background-color: var(--text-color,#ED7D31); /* ← ここで色変更 */

        -webkit-mask-image: url("../../images/akiya/icon-otoiawase.svg");
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-image: url("../../images/akiya/icon-otoiawase.svg");
        mask-repeat: no-repeat;
        mask-size: contain;
    }

    .icon-situmon::before {
        content: "";
        position: absolute;
        left: 17px;
        top: 24px;
        transform: translateY(-50%);
        width: 33px;
        height: 24px;
        background-color: var(--text-color,#ED7D31); /* ← ここで色変更 */

        -webkit-mask-image: url("../../images/akiya/icon-situmon.svg");
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-image: url("../../images/akiya/icon-situmon.svg");
        mask-repeat: no-repeat;
        mask-size: contain;
    }



    .toiawase_right {
        width: 680px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between; /*
    background-color: red;*/
        height: 200px;
        margin-top: 94px;
    }



    .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;
    }


    @media screen and (max-width: 900px) {
        .toiawase_right {
            margin-top: unset;
            margin-bottom: unset;
            width: 100%;
        }

        .toiawase_title {
            text-align: center;
        }

        .toiawase_address {
            text-align: center;
            font-size: 14px;
        }

        .toiawase_phone {
            justify-content: center;
            font-size: 14px;
        }

        .toiawase_link {
            justify-content: center;
            transform: unset;
            margin-bottom: 20px;
        }
    }

    @media screen and (min-width:901px) {
        a[href^="tel:"] {
            pointer-events: none;
        }
    }
    /* 右エリア end */



@media screen and (max-width: 1100px) {

    #toiawase {
        flex-direction: column;
        max-width: 690px;
    }

    .toiawase_left {
        width: 290px;
        margin: 0 auto;
        margin-top: 50px;
        margin-bottom: 20px;
    }


    .toiawase_right {
        margin-top: 16px;
    }

}

@media screen and (max-width: 1000px) {
    #siteinfo {
        padding-bottom: 70px;
    }

    .toiawase_right {
        height: 180px;
    }

    #toiawase {
        max-width: 640px;
    }
}

@media screen and (max-width: 700px) {
    .toiawase_right {
        flex-direction: column;
        height: auto;
        width: 390px;
        margin: 0 auto;
        margin-top: 20px;
        text-align: center;
    }

    .link-list {
        margin: 0 auto;
        margin-top: 50px;
        margin-bottom: 50px;
    }
}


@media screen and (max-width: 450px) {
    .address {
        width: 260px;
    }

        .toiawase_left {
	width: 250px;
	margin: 0 auto;
	margin-top: 50px;
	margin-bottom: 20px;
}

    .toiawase-txt {
        flex-direction: column;
        gap: 11px;
    }

    .toiawase_right {
        width: 250px;
    }

}



/* =========================================================
   電話番号リンクの制御 (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;
    }
}






    /* =========================================================
   ボトムナビエリア調整（サイトごとに色味調整等）
========================================================= */

    /*文字・アイコン色*/
    #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;
    }

    /*フッタメニュー内調整*/

    @media (max-width: 1000px) {

        .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;
        }

        .easyJapaneseButtonArea {
            gap: 10px;
        }

        .lang_title {
            background-color: transparent;
        }

        #areabtm_sagasu ul a {
            padding-left: 40px;
        }

            #areabtm_sagasu ul a::before {
                left: 13px;
            }

        .sagasu_title {
            border-bottom: initial;
        }

        .close_btn a {
            color: var(--text-color,#fff) !important;
        }

        .close_btn {
        }


        #areabtm_sagasu {
            padding: 12px 0px 30px !important;
            position: relative;
            top: 80px;
        }

        #areabtm_visualaids {
            position: relative;
            top: 80px;
        }

        #areabtm_visualaids {
            padding: 10px 0px 30px !important;
        }

        #areabtm_languages {
            position: relative;
            top: 80px;
        }


        #areabtm_kensaku {
            position: relative;
            top: 80px;
        }

        #areabtm_kensaku {
            padding: 0px 0px 30px !important;
        }


        .lang_title {
            margin: -10px auto 0px;
            padding: 10px 0px;
            width: 93%;
        }

        .close_btn {
            margin: 0px auto;
        }


        #areabtm_kensaku .close_btn {
            margin-top: 30px;
        }

        #areabtm_visualaids .close_btn {
            margin-top: 30px;
        }


        .bootstrap-scope .input {
            min-width: 200px !important;
            margin-right: 10px !important;
        }
    }
    /*フッタメニュー内調整*/

.onsei_SP .easyJapaneseVoiceReadingButton {
    position: absolute;
    top: 325px;
    left: 50%;
    transform: translateX(-50%);
    right: unset;
}