footer {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    height: 10vw;
    min-height: 120px;
    background: rgba(232, 232, 232, 0.6);
}

footer .gotop {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: -10%;
    z-index: 99;
    width: 3rem;
    height: 3rem;
    margin: auto;
    cursor: pointer;
    color: #fff;
    border-radius: 100px;
    box-sizing: border-box;
    background: #cecece;
    border: 3px solid #fff;
}

footer .menu-bottom {
    position: absolute;
    right: 45px;
    bottom: 15%;
    width: 15%;
    z-index: 10;
    border-radius: 5px;
}

footer .menu-bottom ul {
    display: flex;
    width: 98%;
    padding: 0;
    margin: auto;
    flex-direction: column;
    height: 100%;
}

footer .menu-bottom ul li {
    position: relative;
    padding: 0;
    list-style: none;
    flex: 1;
}

footer .menu-bottom ul li:after {
    content: '';
    width: 1px;
    height: 50%;
    position: absolute;
    top: 25%;
    left: 0;
}

footer .menu-bottom ul li:nth-child(1):after {
    width: 0;
}

footer .menu-bottom a {
    position: relative;
    display: block;
    font-family: 'Noto Sans JP', 'Roboto', sans-serif;
    font-size: 0.7rem;
    width: 100%;
    height: 100%;
    text-align: right;
    color: #555;
    line-height: 25px;
    font-weight: 500;
    letter-spacing: 0.02rem;
    transition: all 0.3s ease;
}

footer .menu-bottom a:hover {
    color: rgba(160, 64, 161, 0.8);
}

footer .menu-bottom a:before {
    content: '';
    width: 0;
    height: 1px;
    background: rgba(160, 64, 161, 0.3);
    position: absolute;
    right: 0;
    bottom: 0;
    margin: auto;
    transition: all 0.5s ease;
}

footer .menu-bottom a:hover:before {
    width: 45%;
}

footer .copyright {
    position: relative;
    width: 75%;
    height: 100%;
    margin: 0 0 0 3%;
}

footer .copyright ul {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

footer .copyright ul li {
    list-style: none;
}

footer .copyright ul li:nth-child(1) {
    flex: 1;
    background: url(../img/kariz/info.png) 0 50% / 70% no-repeat;
}

footer .copyright ul li:nth-child(2) {
    flex: 2;
    background: url(../img/kariz/logos.png) 100% 60% / 75% no-repeat;
}

@media screen and (max-width: 1600px) {
    footer {
        height: 13vw;
    }

    footer .gotop {
        top: -20%;
        transform: scale(0.7);
    }

    footer .menu-bottom {
        transform: scale(0.75) translate(7%, 0%);
        right: 0;
        width: 25%;
    }

    footer .copyright ul li:nth-child(1) {
        background: url(../img/kariz/info.png) 0 60% / 90% no-repeat;
    }

    footer .copyright ul li:nth-child(2) {
        background: url(../img/kariz/logos.png) 100% 65% / 95% no-repeat;
    }
}

@media screen and (max-width: 768px) {
    footer {
        max-width: none;
        height: 85vw;
        min-height: 0;
        background: #eeeeeead url(../img/kariz/footer-m.png) center 62% / 90% no-repeat;
    }

    footer .copyright {
        opacity: 0;
    }

    footer .gotop {
        top: -7%;
        transform: scale(0.6);
    }

    footer .menu-bottom {
        transform: scale(0.9) translate(0%, 0%);
        top: 2%;
        right: 0;
        left: 0;
        bottom: inherit;
        margin: auto;
        width: 75%;
    }

    footer .menu-bottom a {
        text-align: center;
        padding: 1px 0;
    }

    footer .menu-bottom a:hover:before {
        width: 50%;
        left: 0;
        right: 0;
        margin: auto;
    }

    footer .menu-bottom a:before {
        left: 0;
        right: 0;
    }
}

@media screen and (max-width: 376px) {
    footer .menu-bottom {
        transform: scale(0.8) translate(0%, 0%);
    }
}
