﻿.site-footer {
    background: #555555;
    color: #ffffff;
    padding: 72px 0 28px;
    overflow: hidden;
}

    .site-footer a {
        color: rgba(255, 255, 255, .78);
        text-decoration: none;
        transition: color .2s ease;
    }

        .site-footer a:hover {
            color: #ffffff;
        }

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(520px, 2fr) minmax(220px, .75fr);
    gap: 56px;
    align-items: start;
}

.site-footer__brand {
    max-width: 430px;
}

.site-footer__logo {
    display: inline-flex;
    color: #ffffff !important;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 20px;
}

.site-footer__text {
    color: rgba(255, 255, 255, .78);
    line-height: 1.9;
    margin-bottom: 22px;
}

.site-footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .site-footer__badges span {
        display: inline-flex;
        align-items: center;
        border: 1px solid rgba(255, 255, 255, .24);
        background: rgba(255, 255, 255, .08);
        color: rgba(255, 255, 255, .88);
        border-radius: 999px;
        padding: 8px 12px;
        font-size: .82rem;
        font-weight: 700;
    }

.site-footer__nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 28px;
}

.site-footer__column h2,
.site-footer__contact h2 {
    color: #ffffff;
    font-size: .95rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: .08em;
}

.site-footer__column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__column li {
    margin-bottom: 11px;
}

.site-footer__column a {
    display: inline-block;
    font-size: .92rem;
    line-height: 1.65;
    word-break: keep-all;
}

    /* 这里明确去掉之前的小圆点 */
    .site-footer__column a::before {
        display: none !important;
        content: none !important;
    }

.site-footer__contact {
    min-width: 250px;
}

.site-footer__qr {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.site-footer__qr-item {
    width: 90px;
}

    .site-footer__qr-item img {
        display: block;
        width: 90px;
        height: 90px;
        object-fit: cover;
        border-radius: 14px;
        background: #ffffff;
        padding: 8px;
        box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
    }

    .site-footer__qr-item span {
        display: block;
        color: rgba(255, 255, 255, .9);
        font-size: .82rem;
        font-weight: 700;
        text-align: center;
        margin-top: 8px;
    }

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    margin-top: 56px;
    padding-top: 24px;
}

.site-footer__copy {
    color: rgba(255, 255, 255, .68);
    font-size: .86rem;
    margin: 0;
}

.site-footer__scroll {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .10);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background .2s ease;
}

    .site-footer__scroll:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, .18);
    }

.site-footer__brand-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: inherit;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

    .site-footer__brand-link:hover {
        color: inherit;
        text-decoration: none;
    }

.site-footer__brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 0.75rem;
    flex-shrink: 0;
    background-color: #ffffff;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.18);
}

.site-footer__brand-name-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.site-footer__company-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0;
}

.site-footer__company-kana {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #93c5fd;
}

.site-footer__company-en {
    margin-top: 0.15rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #93c5fd;
    letter-spacing: 0.04em;
}

.site-footer__company-subtitle {
    margin-top: 0.35rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.62);
}

.site-footer {
    position: relative;
    z-index: 30;
    overflow: hidden;
}

.site-footer__top,
.site-footer__bottom,
.site-footer__brand,
.site-footer__nav,
.site-footer__contact {
    position: relative;
    z-index: 31;
}

@media (max-width: 575.98px) {
    .site-footer__brand-logo {
        width: 48px;
        height: 48px;
    }

    .site-footer__company-name {
        font-size: 1.15rem;
    }

    .site-footer__company-kana {
        font-size: 0.82rem;
    }

    .site-footer__company-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .site-footer__brand-link {
        gap: 0.75rem;
    }

    .site-footer__brand-logo {
        width: 48px;
        height: 48px;
    }

    .site-footer__company-name {
        font-size: 1.15rem;
    }

    .site-footer__company-kana,
    .site-footer__company-en {
        font-size: 0.8rem;
    }

    .site-footer__company-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 1199.98px) {
    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .site-footer__brand {
        max-width: 620px;
    }

    .site-footer__nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .site-footer__contact {
        min-width: 0;
    }

    .site-footer__qr {
        max-width: 320px;
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        padding: 56px 0 24px;
    }

    .site-footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }

    .site-footer__column a {
        font-size: .9rem;
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        padding: 48px 0 24px;
    }

    .site-footer__nav {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .site-footer__logo {
        font-size: 1.35rem;
    }

    .site-footer__text {
        font-size: .95rem;
    }

    .site-footer__column h2,
    .site-footer__contact h2 {
        margin-bottom: 12px;
    }

    .site-footer__column li {
        margin-bottom: 8px;
    }

    .site-footer__qr {
        gap: 14px;
    }

    .site-footer__qr-item {
        width: 104px;
    }

        .site-footer__qr-item img {
            width: 104px;
            height: 104px;
        }
}

@media (max-width: 767.98px) {
    /* 整体内边距稍微收紧一点 */
    .site-footer {
        padding-left: 0;
        padding-right: 0;
    }

        .site-footer .container {
            padding-left: 16px;
            padding-right: 16px;
        }

    .site-footer__top {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    /* footer 导航改成 2 列 */
    .site-footer__nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
        align-items: start;
    }

    .site-footer__column {
        min-width: 0;
    }

        .site-footer__column h2 {
            font-size: 16px;
            margin-bottom: 10px;
        }

        .site-footer__column ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .site-footer__column li {
            margin-bottom: 8px;
            line-height: 1.5;
        }

        .site-footer__column a {
            font-size: 14px;
            word-break: break-word;
        }

    /* 官方账号区域单独占一行 */
    .site-footer__contact {
        width: 100%;
    }

        .site-footer__contact h2 {
            font-size: 16px;
            margin-bottom: 12px;
        }

    /* 二维码改成一行排列 */
    .site-footer__qr {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-footer__qr-item {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
    }

        .site-footer__qr-item img {
            width: 100%;
            max-width: 96px;
            height: auto;
            display: block;
            margin: 0 auto 8px;
        }

        .site-footer__qr-item span {
            display: block;
            font-size: 13px;
            line-height: 1.4;
        }

    /* 底部版权和返回顶部按钮 */
    .site-footer__bottom {
        padding-top: 16px;
    }

    .site-footer__copy {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
}
@media (max-width: 767.98px) {
    .site-footer__badges {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

        .site-footer__badges span {
            font-size: 12px;
            padding: 4px 8px;
            line-height: 1.4;
        }

    .site-footer__brand-logo {
        width: 44px;
        height: 44px;
        object-fit: cover;
    }

    .site-footer__company-name {
        font-size: 18px;
    }

    .site-footer__company-subtitle {
        font-size: 12px;
    }

    .site-footer__text {
        font-size: 14px;
        line-height: 1.7;
    }
}