.site-footer {
    --footer-red: #e5030f;
    --footer-red-dark: #b90009;
    --footer-red-soft: rgba(255, 255, 255, 0.12);
    --footer-text: #ffffff;
    --footer-text-soft: rgba(255, 255, 255, 0.82);
    --footer-border: rgba(255, 255, 255, 0.18);

    position: relative;
    background:
        linear-gradient(135deg, #cc000c 0%, #e5030f 45%, #b80009 100%);
    color: var(--footer-text);
    overflow: hidden;
    max-width: calc(100vw - var(--sidebar-width));
}

/* フッターのクレジットを非表示にする */
.site-footer .site-footer-copyright p:not(:first-child) {
    display: none;
}

@media (max-width: 1023px) {
    .site-footer .site-footer-content .row {
        justify-content: center;
    }

    .site-footer .site-footer-content .row>div:not(:last-child) {
        display: none;
    }

    .site-footer .site-footer-content .row>div:last-child {
        display: flex;
        justify-content: center;
    }

    .site-footer .site-footer-content .row>div:last-child p {
        display: none;
    }

    .site-footer .site-footer-content .row>div:last-child .ts-footer__nav-group {
        padding: 0;
    }

    .site-footer .site-footer-content .row>div:last-child .ts-footer__nav-group li {
        text-align: center;

    }

    .site-footer .site-footer-content .row>div:last-child .widget.widget_block {
        width: 40vw;
    }
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.site-footer::before {
    top: -80px;
    right: calc(-80px + var(--sidebar-width));
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer::after {
    bottom: -100px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: rgba(0, 0, 0, 0.08);
}

.ts-footer__brand,
.ts-footer__nav-group {
    padding: 24px;
    border: 1px solid var(--footer-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}



.ts-footer__heading {
    margin: 0 0 16px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.88);
}

.ts-footer__nav-list,

.ts-footer__nav-list {
    display: grid;
    gap: 12px;
}

.ts-footer__nav-list a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.7;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        color 0.25s ease;
}

.ts-footer__nav-list a:hover,
.ts-footer__nav-list a:focus {
    opacity: 0.88;
    transform: translateX(4px);
    color: #fff5f5;
}

/* =========================================================
   Tablet
   ========================================================= */
@media (min-width: 768px) {}

/* =========================================================
   Desktop
   ========================================================= */
@media (min-width: 1024px) {
    .site-footer .site-footer-content .row div {
        height: 40vh;
    }

    .ts-footer__brand .ts-footer__label {
        margin: 0 0 12px;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        color: rgba(255, 255, 255, 0.78);
    }

    .ts-footer__brand .ts-footer__title {
        margin: 0;
        font-size: 1.5rem;
        line-height: 1.25;
        font-weight: 800;
    }

    .ts-footer__brand .ts-footer__description {
        margin: 16px 0 0;
        line-height: 1.9;
        color: var(--footer-text-soft);
        font-size: 0.96rem;
    }
}