@charset "UTF-8";

.footer {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background: var(--color-surface-dark);
    color: var(--text-on-dark);
    margin: 0;
    padding: 40px clamp(48px, 10vw, 170px) clamp(48px, 5vw, 60px) clamp(48px, 8vw, 170px);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: clamp(37px, 3vw, 48px);
}

.footer__brand {
    display: flex;
    align-items: flex-start;
    gap: 100px;
}

.footer__logo {
    height: 70px;
    width: auto;
}

.footer__brand a {
    text-decoration: none;
    color: var(--text-on-dark);
    display: inline-block;
}

.footer__nav {
    display: flex;
    gap: 44px;
}

.footer__nav-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 0 170px;
}

.footer__link-title {
    font-size: clamp(18px, 2vw, 20px);
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    white-space: nowrap;
}

.footer__link-subtitle {
    font-size: clamp(11px, 1.5vw, 13px);
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    white-space: nowrap;
}

.footer__link {
    transform-origin: left center;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}

.footer__link:hover {
    transform: scale(1.02);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.footer__contact-top {
    display: flex;
    flex-direction: column;
}

.footer__email {
    font-size: 12px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    white-space: nowrap;
}

.footer__social {
    display: flex;
    gap: 15px;
    margin-top: 12px;
}

.footer__social-icon--x {
    transform: scale(0.85);
}

.footer__social-link {
    transition: opacity 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer__social-link:hover {
    opacity: 0.3;
}

.footer__social-icon {
    width: 40px;
    height: auto;
}

.footer__copyright {
    font-size: 10px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
    cursor: default;
}

@media screen and (max-width: 1175px) {
    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__brand {
        width: 100%;
        justify-content: space-between;
    }

    .footer__nav-column {
        flex-basis: 156px;
    }

    .footer__contact {
        width: 100%;
    }
}

@media screen and (max-width: 790px) {
    .footer {
        padding-top: 45px;
        padding-left: 58px;
        padding-right: 58px;
    }

    .footer__inner {
        gap: 25px;
    }

    .footer__nav {
        margin-left: 60px;
    }

    .footer__brand {
        flex-direction: column;
        gap: 40px;
    }

    .footer__contact {
        margin-left: auto;
        width: max-content;
        align-items: flex-start;
    }

    .footer__contact-top {
        align-items: flex-start;
    }


}

@media screen and (max-width: 660px) {
    .footer__nav-column {
        flex-basis: 144px;
    }

    .footer__contact {
        margin-left: auto;
        width: max-content;
        align-items: flex-start;
    }
}

@media screen and (max-width: 560px) {
    .footer {
        padding-left: clamp(25px, 3vw, 58px);
        padding-right: clamp(25px, 3vw, 58px);
    }

    .footer__brand {
        gap: 60px;
    }

    .footer__nav {
        padding-right: 2em;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        align-self: center;
        gap: clamp(1px, 2vw, 20px);
    }

    .footer__contact {
        width: 100%;
        margin-top: 50px;
        margin-left: 0;
        margin-right: 0;
        justify-content: center;
        align-items: center;
    }

    .footer__contact-top {
        width: 90%;
        max-width: 290px;
        align-items: center;
        gap: 8px;
        padding-top: 14px;
        border-top: 1px solid var(--color-line-light);
    }

    .footer__email {
        line-height: 1;
    }

    .footer__social {
        justify-content: center;
        margin-top: 6px;
    }

    .footer__social-icon {
        width: 32px;
    }

    .footer__copyright {
        text-align: center;
    }
}
