﻿/* ページトップへ 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: 10px;
    font-size: 12px;
    background-color: var(--background-color,#0D4190);
}
    #cp p {
        text-align: right;
        letter-spacing: 0px;
        color: var(--text-color,#fff);
        max-width: 1260px;
    }

@media screen and (max-width: 1000px) {
    #cp {
        margin-bottom: unset !important;
    }
}
/* copyright end */

/* 全体のエリア start */
#siteinfo {
    max-width: 100%;
    background-color: var(--background-color,#245FB8);
    padding-top: 20px;
}

#toiawase {
    max-width: 1200px;
    margin: 0px auto;
    margin-top:20px;
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 1250px) {
    #toiawase {
        padding-left: 30px;
        padding-right: 20px;
    }
}


    @media screen and (max-width: 1150px) {
        #toiawase {
            max-width: 930px;
            margin: 0px auto;
            display: block;
        }
    }
    /* 全体のエリア end */

    /* 左エリア start */
    .toiawase_left {
        margin-top: 20px;
        line-height: 2.2rem;
    }

    .ttl-footer {
        font-size: 1.875rem;
        font-weight: 500;
        color: var(--text-color,#fff);
        letter-spacing: 0.3rem;
    }

    @media screen and (max-width: 1150px) {
        .toiawase_left {
            margin-top: unset;
            margin-bottom: unset;
            margin-left: unset;
            margin-right: unset;
            padding-top: 30px;
            padding-bottom: 10px;
            text-align: center;
            max-width: 390px;
            margin: 0 auto;
        }
        .txt-tel, .txt-fax {
            width: 282px;
            text-align: left;
            margin: 0 auto;
            padding-left: 11px;
        }
    }

    @media screen and (max-width: 767px) {
        .ttl-footer {
            font-size: 1.5rem;
        }

       

    }


    /* 左エリア end */


    /* 右エリア start */

    .toiawase_right {
        width: 100%;
        max-width: 690px;
        min-width: 0;
    }

    /* リスト初期化 */
    .link-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 20px;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

        /* li はレイアウト用（必要なら余白調整） */
        .link-list li {
            margin-bottom: 12px;
        }

    /* リンクボタン本体 */
    .link-btn {
        position: relative;
        display: flex;
        align-items: center;
        width: 280px;
        height: 50px;
        padding-left: 67px; /* アイコン分の余白 */

        background-color: var(--background-color,#fff);
        color: var(--text-color,#333);
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        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-youtube::before {
        content: "";
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 33px;
        height: 24px;
        background-image: url("../../images/gikai/icon-youtube.svg");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .icon-toiawase::before {
        content: "";
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 34px;
        height: 30px;
        background-image: url("../../images/gikai/icon-toiawase.svg");
        background-size: contain;
        background-repeat: no-repeat;
    }



    .txt-caution {
        color: var(--text-color,#fff);
        letter-spacing: 0.8px;
        font-size: 0.875rem
    }

    .inner-toiawase_right {
        margin-top: 40px;
        margin-bottom: 42px;
        border: 2px solid #fff;
        border-radius: 5px;
        padding: 30px;
        position: relative;
        width: 100%;
        max-width: 690px;
        box-sizing: border-box;
        line-height: 1.8rem;
    }

    .toiawase_title {
        font-weight: bold;
        padding-bottom: 15px;
        /* border-bottom: 1px solid #FFFFFF; */
        letter-spacing: 0.9px;
        opacity: 1;
        color: var(--text-color,#fff);
        position: absolute;
        background-color: var(--background-color,#245FB8);
        padding-left: 20px;
        letter-spacing: 0.2rem;
        width: 120px;
        top: -15px;
        left: 9px;
    }

    .icon_tel {
        position: relative;
        top: 7px;
        left: -10px;
    }



    .toiawase_phone {
        padding-top: 15px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        font-size: 16px;
        letter-spacing: 0px;
        color: var(--text-color,#fff);
    }

    .toiawase-txt, .txt-tel {
        color: var(--text-color,#fff) !important;
        margin-bottom: 8px;
    }



    @media screen and (max-width: 1150px) {
        .toiawase_right {
            margin-top: unset;
            margin-bottom: unset;
            width: 100%;
            max-width: none;
        }

        .link-list {
            align-items: center;
            width: 300px;
            margin: 0 auto;
            gap: 5px;
        }

            .link-list li {
                display: flex;
                justify-content: center;
            }

        .link-btn {
            max-width: 360px;
        }

        .inner-toiawase_right {
            margin-top: 28px;
            margin-bottom: 32px;
            padding: 24px 18px 20px;
            max-width: none;
        }

        .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 */



/* =========================================================
   ボトムナビエリア調整（サイトごとに色味調整等）
========================================================= */

/*文字・アイコン色*/
#bottom_navi .bottom_menu_item a {
    color: var(--text-color,#333) !important;
}

#bottom_navi .bt_icon {
    color: var(--text-color,#F4A441) !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,#F4A441);
}

/*閉じるボタン*/
.close_btn {
    background-color: var(--background-color,#FFF);
}
/*閉じるボタン*/
.siteSearchArea .svg-inline--fa.fa-w-16 {
    color: var(--background-color,#43290F) !important;
}

/*フッタメニュー内調整*/

@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,#43290F) !important;
    }

    .close_btn {
        border: 2px solid var(--text-color,#245FB8);
    }


    #areabtm_sagasu {
        padding: 12px 0px 30px !important;
        position: relative;
        top: 70px;
    }

    #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;
}


/* =========================================================
   電話番号リンクの制御 (767px以下のみ下線を表示)
========================================================= */

/* すべての電話リンクの基本スタイル（PC含む） */
a[href^="tel:"] {
    color: var(--text-color, #fff) !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;
    }
}
