.site-footer--top {
    margin-top: 0;
    padding: 48px 0 32px;
    border-top: 0;
    background: #fff;
}

.site-footer__inner {
    width: min(var(--site-frame-max), calc(100vw - var(--site-frame-gutter)));
    margin: 0 auto;
}

.site-footer__grid--top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 0.78fr));
    gap: 48px;
    margin-bottom: 48px;
}

.site-footer__brand--top {
    display: grid;
    align-content: start;
    gap: 20px;
}

.brand--footer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
}

.brand--footer .brand-copy {
    display: flex;
    align-items: center;
}

.brand--footer .brand-copy strong {
    color: #111827;
    font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.brand--footer .brand-copy small {
    display: none;
}

.brand-mark--footer {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #111827;
    color: #fff;
}

.site-footer__brand--top p {
    max-width: 320px;
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.8;
}

.site-footer__brand-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 42px;
    padding: 0 24px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 16px 28px -20px rgba(15, 23, 42, 0.56);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.site-footer__brand-action:hover {
    transform: translateY(-1px);
    background: #1f2937;
    box-shadow: 0 22px 34px -24px rgba(15, 23, 42, 0.56);
}

.site-footer__brand-action.is-preparing {
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(238, 246, 255, 0.95) 100%);
    color: #1e3a8a;
    border: 1px solid rgba(64, 115, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 14px 24px -22px rgba(64, 115, 255, 0.38);
    pointer-events: none;
}

.site-footer__links--top {
    display: contents;
}

.site-footer__column {
    display: grid;
    align-content: start;
    gap: 14px;
}

.site-footer__column strong {
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.site-footer__column a,
.site-footer__item {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 180ms ease;
}

.site-footer__column a:hover,
.site-footer__item:hover {
    color: #3159db;
}

.site-footer__item {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-footer__item.is-preparing {
    color: #47608c;
    pointer-events: none;
}

.site-footer__item-badge {
    flex-shrink: 0;
}

.site-footer__bottom--top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(243, 244, 246, 1);
}

.site-footer__bottom--top span {
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.6;
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.site-footer__social-link:hover {
    color: #4b5563;
    transform: translateY(-1px);
}

.site-footer__social-link svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 1080px) {
    .site-footer__grid--top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 28px;
    }
}

@media (max-width: 720px) {
    .site-footer--top {
        padding: 40px 0 24px;
    }

    .site-footer__grid--top {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

    .site-footer__brand--top {
        justify-items: center;
        text-align: center;
    }

    .site-footer__brand--top p {
        max-width: 28rem;
    }

    .site-footer__bottom--top {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}
