@charset "utf-8";

:root {
    --base-size: 1920;
    --pcWidth: 1360;
    --spWidth: 1150;
}

/* ------------------------------------------------------------
PC
------------------------------------------------------------ */
footer {
    margin: 0 auto;
    padding: 20px 0 0;
    width: 100%;
    height: 100px;
    max-width: 1150px;
}

footer .pc {
    width: 86%;
    padding-right: 3px;
    display: block !important;
}

footer .sp {
    display: none !important;
}

footer .logo {
    width: 14%;
}

footer .footer_area .logo img {
    max-width: 110px !important;
}

footer .footer_area {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .footer_area ul {
    display: flex;
    flex-flow: wrap;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    margin: 0 auto;
}

footer .footer_area ul li {
    text-align: center;
    display: flex;
    flex-flow: wrap;
    box-sizing: border-box;
    padding-right: 8px;
    border-right: 1px #bbb solid;
}

footer .footer_area ul li:last-child {
    padding: 0;
    border: none;
}

footer .footer_area ul li a {
    color: #222;
    display: block;
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
    line-height: 1rem;
}


footer .footer_area ul li a:hover {
    text-decoration: underline;
}

footer .copyright p {
    font-size: 12px;
    width: 100%;
    max-width: 1220px;
    margin: 10px 0 20px;
    text-align: right;
}

@media only screen and (max-width:1150px) {
    footer .pc {
        width: 80%;
    }


}

/* ------------------------------------------------------------
SP
------------------------------------------------------------ */

@media only screen and (max-width: 800px) {
    footer {
        padding: calc(40/ var(--spWidth) * 100vw) 0 0;
        width: 100%;
        height: auto;
        margin: 20px 0 0;
    }

    footer .pc {
        display: none !important;
    }

    footer .sp {
        display: block !important;
    }

    footer .logo {
        width: 100%;
        display: block;
        text-align: center;
        margin: 0 auto 30px;
    }

    footer img.logo {
        display: block;
        width: calc(350/ var(--spWidth) * 100vw);
        margin: 0 auto calc(80/ var(--spWidth) * 100vw);
    }

    footer .footer_area {
        width: 100%;
        display: block;
    }

    footer .footer_area ul {
        display: flex;
        width: calc(1000/ var(--spWidth) * 100vw);
        margin: 0 auto;
        gap: 0;
    }

    footer .footer_area ul li {
        text-align: center;
        width: 48%;
        margin: 0 auto calc(60/ var(--spWidth) * 100vw);
        padding: 0;
        border-right: none;
    }

    footer .footer_area ul li:nth-child(1),
    footer .footer_area ul li:nth-child(3) {
        border-right: 1px #999999 solid;
        padding: 0 calc(20/ var(--spWidth) * 100vw);
    }

    footer .footer_area ul li:nth-child(5) {
        width: 100%;
    }

    footer .footer_area ul li a {
        display: block;
        margin: 0 auto;
        font-size: calc(36/ var(--spWidth) * 100vw);
        line-height: calc(40/ var(--spWidth) * 100vw);
    }


    footer .copyright p {
        background: #E50012;
        color: #fff;
        font-size: calc(28/ var(--spWidth) * 100vw);
        width: 100%;
        padding: calc(20/ var(--spWidth) * 100vw) 0;
        margin: calc(10/ var(--spWidth) * 100vw) auto 0;
        text-align: center;
    }
}