@charset "utf-8";

/*=====================
フッター本体
=====================*/
.footer {
    width: 100%;
    background-color: #67a5da;
    color: #fff;
    padding-bottom: 55px;
}

.foot-wrap {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

/*=====================
会社名
=====================*/
.foot-name {
    display: flex;
    justify-content: center;
}
.foot-name-text {
    margin-bottom: 5px;
}
.foot-name-img {
    text-align: center;
    height: 100px;
}
.foot-name-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.foot-name-textbox h2 {
    text-align: center;
    font-size: 1.2rem;
    margin: 10px 0;
}
.foot-name-textbox p {
    font-size: 0.7rem;
}

/*=====================
ナビゲーション
=====================*/
.foot-nav {
    width: 100%;
}
.footer_menu {
    padding: 10px;
}
.foot-nav ul {
    display: grid;
    grid-template-columns: 50% 50%;
}

.foot-nav a {
    font-size: 0.7rem;
    display: block;
    padding: 10px;
    text-align: center;
}

.foot-nav a:hover,
.foot-nav .sub-menu a:hover {
    opacity: 0.7;
}

.foot-nav-2 {
    display: none;
}

.foot-nav .menu-item-has-children {
    position: relative;
}

.foot-sub-bt {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fff;
    border-radius: 5px;
}

.foot-sub-bt:before {
    content: "";
    position: absolute;
    right: 6px;
    top: 5px;
    transition: all 0.2s ease-in-out;
    display: block;
    width: 6px;
    height: 6px;
    border-top: solid 2px #67a5da;
    border-right: solid 2px #67a5da;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.foot-sub-bt.active:before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 45%;
}

/*======================
フッターサブメニュー
======================*/
.footer .sub-menu {
    display: block;
}

/*=====================
コピーライト
=====================*/
.copy p {
    font-size: 0.7rem;
}

.copy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background-color: aqua;
}

/*========================
モバイル固定バー
========================*/
.mobile {
    background-color: #fff;
    color: #dfb081;
    position: fixed;
    bottom: 0;
    height: 55px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.mobile ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.mobile li {
    flex: 1;
    border-right: dashed 1px #dfb081;
    padding: 5px 0;
    box-sizing: border-box;
}

.mobile li:last-child {
    border-right: none;
}

.mobile a {
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
    height: 100%;

}

.mobile i {
    font-size: 1rem;
    font-weight: 900;
    margin: 3px 0;
}

/*========================
SNSボタン
========================*/
.sns-menu {
    position: fixed;
    left: 0;
    bottom: 110px;
}
.sns_btn a {
    background-color: #67a5da;
    width: 30px;
    height: 60px;
    margin-bottom: 6px;
    border-radius: 0 3px 3px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sns_btn i {
    font-size: 1.3rem;
}

/*========================
ページトップ
========================*/
.page-top {
    position: fixed;
    bottom: 58px;
    right: 0;
    height: 44px;
    width: 44px;
    background-color: #0065b2;
}

.page-top a {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-top a:hover {
    opacity: 0.8;
}

.page-top i {
    color: #fff;
    font-size: 2rem;
}

@media(min-width:768px) {
    /*=====================
    会社名
    =====================*/
    .footer-box {
        display: flex;
        justify-content: center;
    }
    .foot-wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 1354px;
        box-sizing: border-box;
    }
    .foot-name {
        display: flex;
        justify-content: flex-start;
    }
    .foot-nav {
        max-width: 500px;
        margin: 0 auto;
    }
}

/*=====================
メディアクエリ1024px以上
=====================*/
@media(min-width:1024px) {

    /*=====================
    フッター
    =====================*/
    .footer {
        padding-bottom: 0;
    }
    .foot-wrap {
        padding-bottom: 0;
    }
    /*=====================
    ナビゲーション
    =====================*/
    .foot-sub-bt {
        display: none;
    }

    /*=======================
    ナビゲーションサブメニュー
    =======================*/

    .foot-nav .sub-menu li:first-child {
        border-top: none;
    }

    .foot-nav .sub-menu {
        display: none;
    }

    .foot-nav .sub-menu li {
        margin: 0;
    }

    /*=====================
    モバイル固定バー
    =====================*/
    .mobile {
        display: none;
    }
    /*=====================
    SNSボタン
    =====================*/
    .sns-menu {
        display: none;
    }

    /*========================
    ページトップ
    ========================*/
    .page-top {
        bottom: 3px;
    }
}
