@charset "utf-8";

#footer {
    width: 100%;
    text-align: center;
    color: #FFFFFF;
    background: #003f87;
}

#footer div {
    width: 100%;
    padding: 40px 0 45px 0;
    /**font-family: sans-serif;**/
    font-size: 18px;
    /**font-weight: 500;**/
    color: #FFFFFF;
    background: url(../images/bg_footer.png) no-repeat center center / cover;
}

#footer div p {
    margin-top: 20px;
    letter-spacing: 0.1em;
    line-height: 150%;
    color: #FFFFFF;
}

#footer > div > p.office {
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

#footer > div > p.office > span {
    font-weight: 400;
}

#footer div h2 {
    display: flex;
    /**align-items: center;**/
    align-items: flex-end;
    justify-content: center;
    margin: 5px auto 0 auto;
    padding: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 2.66em;
    font-weight: 900;
    color: #FFFFFF;
    /**line-height: 100%;
    border: none;**/
}

#footer div h2 span {
    font-size: 0.52em;
    font-weight: 700;
}

#footer div h2 rt {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

#footer div ul.sns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 210px;
    height: 50px;
    margin: 25px auto 0 auto;
    list-style: none;
}

#footer div ul.sns li a {
    margin: 0;
    padding: 0;
}

#footer div a {
    display: inline-block;
    padding: 15px 0 0 0;
    font-size: 1.44em;
    text-align: center;
    color: #FFFFFF;
    transition: .3s;
}

#footer div a:hover {
    color: #003F87;
}

#footer > div > div {
    display: flex;
    /** justify-content: space-between; **/
    justify-content: center;
    flex-wrap: wrap;
    width: 465px;
    margin: 0 auto;
    padding: 0;
    background: none;
}

#footer > div > div > a {
    /** display: inline-block; **/
    display: block;
    padding: 10px 0 0 0;
    font-size: 1.44em;
    text-align: center;
    color: #FFFFFF;
    transition: .3s;
}

#footer div ul.navi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 900px;
    margin: 30px auto 0 auto;
    list-style: none;
}

#footer div ul.navi a {
    /**font-family: sans-serif;
    font-family: sans-serif;**/
    /**font-weight: 700;**/
    font-size: 1em;
    color: #FFFFFF;
}

#footer div ul.navi a:hover {
    color: #003F87;
}

#footer div a.tel-w:before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 23px;
    margin: 0 10px 0 0;
    background: url(../images/icon_tel-w.svg) no-repeat center center / 24px;
}

#footer div a.mail-w {
    text-decoration: underline;
}

#footer div a.mail-w:before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 23px;
    margin: 0 10px 0 0;
    background: url(../images/icon_mail-w.svg) no-repeat center center / 29px;
}

#footer > div > div > a.mobire-w:before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 23px;
    margin: 0 10px 0 0;
    background: url(../images/icon_mobire-w.svg) no-repeat center center / 15px;
}

#footer p.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    /**font-family: sans-serif;
    font-weight: 600;**/
    font-size: 0.66em;
    color: #FFFFFF;
}


@media (max-width: 750px) {
    /**#footer {
        width: 100%;
        text-align: center;
        color: #FFFFFF;
        background: #003f87;
    }**/
    
    #footer div {
        /**width: 100%;
        padding: 40px 0 45px 0;
        font-size: 18px;
        color: #FFFFFF;**/
        background: url(../images/bg_footer_sp.png) no-repeat center center / cover;
    }

    #footer div h2 {
        font-size: 40px;
    }

    #footer div h2 span {
        font-size: 18px;
        color: #FFFFFF;
    }

    #footer div a {
        font-size: 18px;
    }

    #footer > div > div {
        /**display: flex;
        flex-wrap: wrap;
        width: 465px;
        margin: 0 auto;
        padding: 0;
        background: none;**/
        justify-content: center;
        width: 90%;
    }

    #footer > div > div > a.mail-w {
        font-size: 1em;
    }

    #footer div a.tel-w:before {
        height: 18px;
        margin: 0 5px 0 0;
        background: url(../images/icon_tel-w.svg) no-repeat center center / 20px;
    }

    #footer div a.mail-w:before {
        height: 18px;
        margin: 0 5px 0 0;
        background: url(../images/icon_mail-w.svg) no-repeat center center / 25px;
    }

    #footer div ul.navi {
        width: 95%;
        flex-wrap: wrap;
    }

    #footer div ul.navi li {
        width: 50%;
    }

    #footer div ul.navi a {
        font-size: 0.8em;
        color: #FFFFFF;
    }
}