/* フッター（SmartyDir/templates/layout/footer.tpl・footer_syousai.tpl）の CSS。
   css/style.css から移した（STEERLINK_ALL-1298）。
   トップ・保証ページは html の font-size が 16px、ほかのページは 62.5%（10px）なので、
   どのページでも同じ大きさになるように rem ではなく px で書く（もとの 1rem = 10px で換算） */

#SNSBot img {
    width: 50px;
}

#SNSBot a {
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    #SNSBot img {
        width: 10%;
        aspect-ratio: 1;
        height: auto;
    }
}

/* 行の高さ・見出しの上の余白は、ほかのページ（Bootstrap 3 の見た目）の値。トップ・保証ページも同じにする */
.footer {
    background: #06182f;
    color: #fff;
    line-height: 1.42857143;
}

@media screen and (min-width: 768px) {
    .footer {
        margin-top: 60px;
    }
}

ul.foot-nav-category {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.foot-nav-category>li>h3 {
    border-left: 3px solid #fff;
    padding-left: 6px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 20px;
    margin-bottom: 18px;
    /* 最後の 1 文字だけが次の行に落ちないように・文節で折り返す（STEERLINK_ALL-1290 で css/style.css に入れたものを移動。STEERLINK_ALL-1298） */
    text-wrap: pretty;
    word-break: auto-phrase;
}

ul.foot-nav-category>li a {
    display: inline;
    padding: 10px;
    color: white;
    font-size: 16px;
}

ul.foot-nav-category>li a:hover {
    background: #003a84;
}

ul.foot-nav-category>li a:before {
    content: "";
}

@media screen and (max-width: 767px) {
    ul.foot-nav-category>li {
        display: inline-block;
        min-width: 47%;
        margin-bottom: 8px;
    }

    ul.foot-nav-category>li:first-child {
        display: block;
    }

    ul.foot-nav-category>li>h3 br {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    .foot-nav {
        display: flex;
        justify-content: space-between;
        padding: 30px 0;
    }

    ul.foot-nav-category>li>h3 {
        font-size: 16px;
    }

    ul.foot-nav-category>li a {
        display: inline-block;
        padding: 5px 10px;
        font-size: 14px;
    }

    ul.foot-nav-category>li a:hover {
        background: none;
    }
}

.foot-bottom {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    height: 80px;
    background: #06182f;
}

.copyright {
    font-size: 10px;
    margin: 0;
    padding: 0;
}
