footer {
    display: flex;
    justify-content: space-around;
    width: 100%;
    color: #fff;
    background: #555;
}

#footer {
    margin: 0 auto;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    width: 100%;
    max-width: 1400px;
}

.fmenu {
    width: 90%;
    margin: 2rem auto;
    display: flex;
}

.fmenu>li:first-of-type {
    padding: 1rem .5rem;
}

.fmenu>li {
    width: calc(100% / 6);
    font-size: 1.3rem;
    padding: 1rem;
}

.fmenu a {
    color: #fff;
}

.copyright {
    font-size: 1.4rem;
    padding: .5rem 0;
    text-align: center;
}

.copyright small {
    font-size: 80%;
}

/* 固定フッター */
.sp_contact {
    display: none;
}

@media only screen and (min-width: 600px) {
    .sp {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    footer {
        display: block;
    }

    #footer {
        padding: 1rem 1rem 5rem;
        box-sizing: border-box;
    }

    .fmenu {
        width: 95%;
        margin: 1rem auto;
        display: block;
    }

    .fmenu>li {
        width: 100%;
        font-size: 1.2rem;
        border-bottom: 1px solid #777;
        margin-bottom: 1rem;
    }
}

/* 固定フッター */
@media screen and (max-width: 480px) {
    .sp_contact {
        display: flex;
        flex-wrap: wrap;
        height: 45px;
        width: 100%;
        background: #4aa140;
        z-index: 5;
        position: sticky;
        bottom: 0;
        left: 0;
        justify-content: space-between;
    }

    .sp_contact li {
        width: calc(100% / 2);
        height: 100%;
        text-align: center;
        cursor: pointer;
        line-height: 1.4;
    }

    .sp_contact li a {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 4vw;
        color: #fff;
        height: 100%;
        box-sizing: border-box;
        font-weight: 700;
    }

    .sp_contact li:first-child a {
        border-left: none;
        border-right: 1px solid #fff;
        font-family: "Noto Sans JP", serif;
    }
}