/*----------------------------------------
ナビ用CSS：navi.css
カスタムする場合は新規クラス/IDを追加
任意のクラスには大文字を入れる
見た目のスタイルはnavi-style.cssに記載
-------------------------------------------*/

@import"../css/navi-style.css";
/* ----------ヘッダー--------- */

/*ヘッダーロゴ*/

#brandLogo {
    width: 200px;
    height: auto;
}

/*ヘッダーアイコン*/

.naviIcons img {
    width: 2.5em;
}

#mainNavi .naviIcons .nav-item a {
    color: var(--logocolor);
    /* webフォントに整形 */
    font-family: 'Kosugi Maru', 'Varela Round', sans-serif;
}

#langIcon {
    padding-left: 40px;
    background: url(/img/japan-icon.png) no-repeat left center;
    background-size: 2.5em;
}

#hpIcon {
    padding-left: 40px;
    background: url(/img/user-circle-solid_red.png) no-repeat left center;
    background-size: 2.5em;
}

#mainNavi .naviIcons .nav-item a:hover, #mainNavi .naviIcons .nav-item a:focus, #mainNavi .naviIcons .nav-item a:active {
    color: tomato;
    background-color: none;
}

.nav-item .active {
    /*現在選択中のタブ*/
    color: tomato;
    background-color: none;
}

/*ナビ　ドロップダウンcontainer!!
メディアクエリあり*/

.naviWide {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/*ドロップダウンの枠線を消す*/

.nav-link:focus {
    outline: none;
}

/* ボタンとドロップダウンの幅揃え */

.naviStyle .dropdown-toggle {
    width: 100%;
}

.naviStyle .dropdown-menu {
    width: 100%;
}

/* ----------ページTOPに戻るボタン--------- */

#page_top {
    width: 100px;
    height: 60px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: tomato;
    opacity: 0.6;
}

#page_top a {
    position: relative;
    display: block;
    width: 100px;
    height: 60px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f106';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -25px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

#page_top a::after {
    content: 'PAGE TOP';
    font-size: 13px;
    color: #fff;
    position: absolute;
    top: 30px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

/* ----------フッターー--------- */

/*リスト型ナビの・を消す*/

.naviList ul li {
    list-style-type: none;
}

.naviList a:hover {
    text-decoration: underline;
}

#footBrand {
    border-top: solid 1px var(--logocolor);
    margin-top: 2rem;
}

/*----------------------------------------
メディアクエリ：ナビはスマホにも例外的に適用
-------------------------------------------*/

/* // モバイル・横向きモバイル(sm), 768px 以下　*/

@media (max-width: 768px) {
    /*スマホ表示での文字余白を追加 */
    #mainNavi .nav-link {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    #mainNavi .dropdown {
        padding-left: 0;
        padding-right: 0;
    }
    #mainNavi .dropdown-menu li {
        padding-left: 0;
        padding-right: 0;
    }
    #mainNavi li#langIcon .dropdown-toggle {
        padding-left: 45px;
        background: url(/img/japan-icon.png) no-repeat left center;
        background-size: 2.5em;
    }
    .naviWide {
        width: 100%;
    }
    .no-svg-footBrand {
        max-width: 100%;
        height: auto;
    }
    /*SVG非対応*/
    .no-svg-brandLogo {
        background-image: url(../img/header_logo.png);
        background-repeat: no-repeat;
        background-size: 200px auto;
    }
    .no-svg-footBrand {
        background-image: url(../img/footer_logo.png);
        background-repeat: no-repeat;
    }
}

/* // タブレット(md), 768px 以上 */

@media (min-width: 768px) {
    #brandLogo {
        width: 100%;
    }
    .naviWide {
        max-width: 720px;
    }
    /*SVG非対応*/
    .no-svg-brandLogo {
        background-image: url(../img/header_logo.png);
        background-repeat: no-repeat;
    }
    .no-svg-footBrand {
        background-image: url(../img/footer_logo.png);
        background-repeat: no-repeat;
    }
    #hpIcon a {
        padding-top: 1.25em;
    }
}

/* // デスクトップ(lg), 992px 以上 */

@media (min-width: 992px) {
    .naviWide {
        max-width: 960px;
    }
}

/* // ワイド(xl), 1200px 以上 */

@media (min-width: 1200px) {
    .naviWide {
        max-width: 1140px;
    }
}