@charset "utf-8";

/* ==================================
 footer
  ================================== */
.footer-wrap {
    position: relative;
    padding: 13.5rem 0;
    background-color: #f7f7f7;
}

.footer-top {
    margin-bottom: 5.6rem;
}

.footer-inner {
    justify-content: space-between;
}

.footer-box {
    width: 41.4%;
}

.footer-title {
    font-size: 1.6rem;
    margin-bottom: 3.2rem;
    line-height: 1;
}

.footer-title h5 {
    font-weight: bold;
}

.footer-row {
    justify-content: space-between;
}

.footer-list {
    width: 48%;
}

.footer-box:last-child ul.footer-list {
    width: 70%;
}

.footer-label {
    font-weight: bold;
    margin-bottom: 0.5em;
}

.footer-item {
    font-size: 1.3rem;
    margin-bottom: 0.5em;
    transition: .2s ease-out;
}

.footer-item a {
    color: #a9aeb2;
    transition: .2s ease-out;
}

.footer-item:last-child {
    margin-bottom: 0;
}

.footer-logo-box {
    width: 15rem;
    transition: .3s ease-out;
}

.footer-r {
    width: calc(100% - 15rem);
}

.footer-bottom-list {
    flex-wrap: wrap;
}

.footer-bottom-item {
    font-size: 1.2rem;
    position: relative;
    padding-right: 2rem;
    margin-right: 2rem;
}

.footer-bottom-link {
    transition: .2s ease-out;
    color: #000;
}

.footer-bottom-item::after {
    content: "";
    width: .1rem;
    height: 50%;
    background: #000;
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
}

.footer-bottom-item:last-child {
    margin-right: 0;
    padding-right: 0;
}

.footer-bottom-item:first-child::after {
    content: none;
}

.footer-bottom-foot {
    flex-wrap: wrap;
    line-height: 2.5;
    margin-top: 1rem;
}

.footer-bottom-foot-item {
    font-size: 1.1rem;
    margin-right: 1em;
    transition: .2s ease-out;
}

.footer-bottom-foot-item a {
    color: #a9aeb2;
}

.footer-bottom-foot-item:last-child {
    margin-right: 0;
}

.copyright {
    font-size: 1.1rem;
    margin-left: 2.4rem;
}

.scroll-top {
    position: absolute;
    width: 4.8rem;
    height: 4.8rem;
    right: 2rem;
    bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-box {
        min-width: 33rem;
    }

    .footer-item a:hover {
        color: #5061ff;
    }

    .footer-bottom-link:hover {
        color: #5061ff;
    }

    .footer-bottom-foot-item:hover {
        color: #5061ff;
    }

    .footer-logo-box:hover {
        opacity: 0.5;
    }
}

@media (max-width: 767px) {
    .footer-wrap {
        padding: 6.2rem 0 11rem;
    }

    .footer-top {
        margin-bottom: 3.6rem;
    }

    .footer-list {
        width: 100%;
    }

    .footer-box {
        width: calc((100% - 1rem) / 2);
    }

    .footer-title {
        font-size: 1.3rem;
        margin-bottom: 2.4rem;
    }

    .footer-row {
        flex-direction: column;
    }

    .footer-list {
        margin-bottom: 0.5em;
        font-size: 1.1rem;
    }

    .footer-list:last-child {
        margin-bottom: 0;
    }

    .footer-list .footer-item_space {
        display: none;
    }

    .footer-list + .footer-list {
        margin-top: 2em;
    }

    .footer-item {
        font-size: 1.1rem;
    }

    .footer-r {
        width: 100%;
    }

    .footer-bottom .footer-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom .footer-inner > .sp {
        order: 3;
        width: 100%;
    }

    .footer-bottom-list {
        margin-bottom: 1rem;
        justify-content: center;
    }

    .footer-bottom-item {
        margin-left: 0;
        padding-left: 0;
        margin-right: 1rem;
        padding-right: 1rem;
    }

    .footer-bottom-item::after {
        left: auto;
        right: 0;
    }

    .footer-bottom-item:first-child::after {
        content: "";
    }

    .footer-bottom-item:last-child::after {
        content: none;
    }

    .footer-logo-box {
        margin-bottom: 2.2rem;
        margin-top: 4rem;
    }

    .footer-bottom-foot {
        flex-direction: column;
        line-height: 1.6;
    }

    .footer-bottom-foot-list {
        margin-bottom: 1.1rem;
        justify-content: center;
        width: 100%;
    }

    .copyright {
        font-size: 0.8rem;
        transform-origin: left top;
        white-space: nowrap;
        margin-left: 0;
        text-align: center;
        width: 100%;
        letter-spacing: 0;
    }

    .scroll-top {
        position: absolute;
        width: 3.6rem;
        height: 3.6rem;
        right: 1rem;
        bottom: 11rem;
    }
}