@charset "UTF-8";

/* --------------------------------------
footer
---------------------------------------*/
footer {
    height: auto;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}
.credit {
    background-color: #fff;
    color: #000;
    font-size: 12px;
    padding: 1rem 0;
    text-align: center;
}


/* --------------------------------------
footerリンク
---------------------------------------*/
.foot_wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media screen and (max-width: 768px) {
    .foot_wrap {
        width: 100%;
        height: 100%;
        display: block;
        text-align: center;
    }
}

/* ヘッダーメニュー */
.foot_menu_wrap {
    display: flex;
    flex-flow: column;
}

/* ヘッダーリンク */
.foot_menu_wrap ul.foot_menu_main {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    line-height: 100%;
}
.foot_menu_wrap ul.foot_menu_main::before {
    color: #000;
    content: "|";
    margin-right: 1rem;
    padding-bottom: 3px;
}
.foot_menu_wrap ul.foot_menu_main li {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    line-height: 100%;
}
.foot_menu_wrap ul.foot_menu_main li a {
    color: #000;
    font-size: 14px;
}
.foot_menu_wrap ul.foot_menu_main li a:hover {
    color: #005699;
    transition: 0.5s;
}
.foot_menu_wrap ul.foot_menu_main li::after {
    color: #000;
    content: "|";
    margin: 0 1rem;
    padding-bottom: 3px;
}
@media screen and (max-width: 768px) {
    .foot_menu_wrap ul.foot_menu_main {
        justify-content: center;
    }
}

/* ヘッダーリンク2 */
.foot_menu_wrap ul.foot_menu_sub {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: right;
    line-height: 100%;
}
.foot_menu_wrap ul.foot_menu_sub li {
    width: auto;
    height: 100%;
    line-height: 100%;
    margin-right: 1rem;
}
.foot_menu_wrap ul.foot_menu_sub li a {
    color: #000;
    font-size: 14px;
}
.foot_menu_wrap ul.foot_menu_sub li a:hover {
    color: #005699;
}
@media screen and (max-width: 768px) {
    .foot_menu_wrap ul.foot_menu_sub {
        justify-content: center;
    }
}

/* --------------------------------------
フッターアクセス
---------------------------------------*/
ul.foot_access {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}
ul.foot_access li {
    width: 48%;
    height: 100%;
}
ul.foot_access li .foot_access_iframe {
    aspect-ratio: 16 / 9;
    margin-top: 1rem;
}
ul.foot_access i {
    color: #005699;
}
@media screen and (max-width: 768px) {
    ul.foot_access {
        display: block;
    }
    ul.foot_access li {
        width: 100%;
        height: 100%;
        margin-bottom: 1rem;
    }
}

/* --------------------------------------
フッターロゴ
---------------------------------------*/
h1.foot_main_logo {
    margin-right: 3rem;
}
h1.foot_main_logo a img {
    width: auto;
    height: 70px;
}
@media screen and (max-width: 768px) {
    h1.foot_main_logo {
        margin: auto;
        margin-bottom: 2rem;
    }
    h1.foot_main_logo a img {
        width: auto;
        height: 60px;
    }
}

/* --------------------------------------
モバイルボタン
---------------------------------------*/
.foot_sp_btn {
    display: none;
}
@media screen and (max-width: 768px) {
    .foot_space {
            width: 100%;
            height: 100px;
            background-color: #fff;
        }
    .foot_sp_btn {
        display: flex;
        width: 100%;
        position: fixed;
        bottom: 0;
        /*はじめは非表示*/
        opacity: 0;
        transform: translateY(100px);
        z-index: 100;
    }
    /*　上に上がる動き　*/
    .foot_sp_btn.UpMove {
        animation: UpAnime 0.5s forwards;
    }
    @keyframes UpAnime {
        from {
            opacity: 0;
            transform: translateY(100px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /*　下に下がる動き　*/
    .foot_sp_btn.DownMove {
        animation: DownAnime 0.5s forwards;
    }
    @keyframes DownAnime {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 1;
            transform: translateY(100px);
        }
    }
    .foot_sp_btn_tel {
        width: 96%;
        text-align: center;
        margin: auto;
    }
    .foot_sp_btn_tel a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 2rem 0;
        font-size: 1.2rem;
    }
    .foot_sp_btn_tel a {
        background-color: #005699;
        border-top: 1px solid #fff;
        border-left: 1px solid #fff;
        border-right: 1px solid #fff;
        box-sizing: border-box;
        color: #fff;
        border-radius: 0.7rem 0.7rem 0 0;
    }
    .foot_sp_btn_tel a:hover {
        background-color: #005699;
        color: #fff;
    }
    .foot_sp_btn_tel a i {
        font-size: 1.5rem;
        margin-right: 0.5rem;
    }
}

/* --------------------------------------
お問い合わせ
---------------------------------------*/
.foot_cnt {
    background-color: #005699;
}
.foot_contact {
    width: 100%;
    align-items: center;
}
.foot_contact .title_wrap {
    width: 30%;
}
.foot_contact .title_wrap h2.page_title,
.foot_contact .title_wrap h2.page_title span,
.foot_contact .title_wrap h2.page_title::first-letter {
    color: #fff;
}

.foot_contact .btn_wrap {
    width: 70%;
    display: flex;
    justify-content: right;
    gap: 3rem;
}
.foot_menu_link {
    width: 50%;
    max-width: 300px;
}
.foot_menu_link a  {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 300px;
    height: 100px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 1.25rem;
}
.foot_menu_link a i {
    font-size: 2rem;
    margin-right: 5px;
}
.foot_menu_link a:hover {
    background-color: #fff;
    color: #005699;
}
@media screen and (max-width: 768px) {
    .foot_contact .title_wrap {
        width: 100%;
    }
    .foot_contact .btn_wrap {
        width: 100%;
        display: flex;
        justify-content: center;
        /* gap: 0; */
    }
    .foot_menu_link {
        width: 50%;
        max-width: 380px;
    }
    .foot_menu_link a {
        max-width: 380px;
    }
}
@media screen and (max-width: 500px) {
    .foot_contact .btn_wrap {
        display: block;
    }
    .foot_menu_link {
        width: 100%;
        max-width: 100%;
    }
    .foot_menu_link:first-child {
        margin-bottom: 1rem;
    }
    .foot_menu_link a {
        max-width: 100%;
    }
}