:root {
    --base-size: 1920;
    --pcWidth: 1360;
    --spWidth: 1150;
}

#footer * {
    box-sizing: border-box;
}

#footer p,
#footer a {
    font-family: 'メイリオ', Osaka, 'MS PGothic', arial, helvetica, sans-serif !important;
}

/* ------------------------------------------------------------
PC
------------------------------------------------------------ */
#footer {
    margin: 0 auto;
    padding: 20px 0 0;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    max-width: 1220px;
}

#inc_footer {
    padding: 0 0 20px !important;
}

#footer #footer_area .pc {
    width: 86%;
    padding-right: 3px;
    display: block !important;
}

#footer #footer_area .sp {
    display: none !important;
}

#footer #footer_area .logo {
    width: 14%;
}

#footer #footer_area .logo img {
    width: 110px !important;
    height: 24px !important;
    font-size: 0;
    line-height: 0;
}

#footer #footer_area {
    width: 100%;
    line-height: 29px;
    margin: 0 auto;
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: space-between;
}

#footer #footer_area ul {
    display: flex;
    flex-flow: wrap;
    justify-content: flex-end;
    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;
    padding-left: 8px;
    padding-top: 5px;
    border-right: 1px #bbb solid;
}

#footer #footer_area ul li:last-child {
    padding: 0;
    padding-left: 8px;
    padding-top: 5px;
    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;
    letter-spacing: 1px;
}

#footer #footer_area ul li a:hover {
    text-decoration: underline;
}

#footer .copyright p {
    color: #222 !important;
    font-size: 12px;
    width: 100%;
    max-width: 1220px;
    margin: 10px 0 20px;
    text-align: right;
    letter-spacing: 1px;
    line-height: 27px;
}

@media only screen and (max-width:1200px) {
    #footer #footer_area .logo {
        width: 0%;
    }

    #footer #footer_area .pc {
        width: 84%;
    }

    #footer #footer_area ul {
        width: 100%;
        height: auto !important;
    }

    #footer #footer_area ul li {
        justify-content: space-between;
        padding-right: 5px;
        padding-left: 5px;
    }

    #footer #footer_area ul li a {
        font-size: 14px;
    }
}


@media only screen and (max-width:940px) {
    #footer #footer_area .pc {
        width: 86%;
    }

}






/* ------------------------------------------------------------
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 #footer_area .pc {
        display: none !important;
    }

    #footer #footer_area .sp {
        display: block !important;
    }

    #footer #footer_area .logo {
        width: 100%;
        display: block;
        text-align: center;
        margin: 0 auto 30px;
    }


    #footer #footer_area .logo img {
        width: 25%;
        height: auto;
        display: block;
        margin: 0 auto calc(80/ var(--spWidth) * 100vw);
    }

    #footer #footer_area {
        width: 100%;
        display: block;
        height: auto !important;
    }

    #footer #footer_area ul {
        display: flex;
        width: calc(1100/ var(--spWidth) * 100vw);
        margin: 0 auto;
        height: auto !important;

    }

    #footer #footer_area ul li {
        text-align: center;

        width: 50%;
        margin: 0 auto calc(60/ var(--spWidth) * 100vw);
        border-right: none;
        line-height: 32px;
        height: auto !important;
    }

    #footer #footer_area ul li:nth-child(1),
    #footer #footer_area ul li:nth-child(3) {
        border-right: 1px #999999 solid;
    }

    #footer #footer_area ul li:nth-child(5),
    #footer #footer_area ul li:nth-child(6) {
        width: 100%;
    }

    #footer #footer_area ul li:last-child {
        padding: 0;
        padding-left: 0;
        padding-top: 0;

    }

    #footer #footer_area ul li a {
        padding: calc(20/ var(--spWidth) * 100vw) calc(20/ var(--spWidth) * 100vw) calc(32/ var(--spWidth) * 100vw);
        display: block;
        margin: 0 auto;
        font-size: calc(36/ var(--spWidth) * 100vw);
        line-height: 0;
    }

    #footer .copyright p {
        background: #E50012;
        color: #fff !important;
        font-size: calc(28/ var(--spWidth) * 100vw);
        width: 100%;
        padding: calc(20/ var(--spWidth) * 100vw) 0;
        margin: calc(10/ var(--spWidth) * 100vw) 0 0;
        text-align: center;
    }

    #inc_footer {
        padding: 0 !important;
    }

    #inc_footer #footer #footer_area .logo {
        margin: 0 auto 20px;
    }


}