@charset "utf-8";

.footer_wrap {
    margin-top: 9rem;
}

.footer_wrap .breadcrumbs {
    margin-top: 0;
}

footer {
    margin-top: 0;
    padding: 4rem 0 9rem;
    background-color: var(--color-main);
    text-align: center;
    color: white;
}

.breadcrumbs_wrap + footer {
    margin-top: 2rem;
}

footer .footer_link {
    display: flex;
    width: fit-content;
    margin: 0 auto;
}

footer .footer_link li a {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    font-size: 1.6rem;
    color: white;
}

footer .footer_link li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.025em;
    transform: translateY(-45%);
    display: block;
    width: 0;
    height: 1em;
    border-right: 0.1rem solid white;
}

footer .footer_link li:last-child a::after {
    display: none;
}

@media (any-hover: hover) {
    footer .footer_link li a:hover {
        color: rgba(255, 255, 255, 0.4);
    }
}

footer .line_btn,
footer .returnTop_btn,
footer .footer_info {
    margin: 4rem auto 0;
}

footer .footer_info p {
    width: 65.2rem;
    margin: 0 auto;
    font-size: 1.2rem;
    text-align: left;
}

footer .copyright {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

@media only screen and (max-width: 768px) {
    footer {
        padding: 3rem 0 7rem;
    }

    footer .footer_link {
        justify-content: center;
        flex-wrap: wrap;
        margin: 0 auto;
    }

    footer .footer_link li {
        padding: 0.2rem 0;
    }

    footer .footer_link li:nth-of-type(3) {
        width: 100%;
    }

    footer .footer_link li:nth-of-type(2) a::after,
    footer .footer_link li:nth-of-type(3) a::after {
        display: none;
    }

    footer .footer_link li a {
        padding: 0.8rem 1rem;
        font-size: 1.4rem;
    }

    footer .line_btn,
    footer .returnTop_btn,
    footer .footer_info {
        margin-top: 3rem;
    }

    footer .footer_info p {
        width: 100%;
        text-align: center;
    }
}
