/* =========================
   Footer 全体
========================= */

.site-footer {
    background: #fff;
    border-top: 1px solid #e6e6e6;
    font-family: "Noto Sans JP", "游ゴシック", sans-serif;
    font-size: 0.9rem;
    color: #333;
}

/* =========================
   Inner
========================= */

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* =========================
   Brand
========================= */

.site-footer__name {
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0;
}

/* =========================
   Navigation
========================= */

.site-footer__nav {
    flex: 1 1 auto;
}

.footer-nav {
    list-style: none;
    display: flex;
    gap: 24px;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.footer-nav__link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-nav__link:hover {
    color: var(--main);
}

/* =========================
   Copyright
========================= */

.site-footer__copy {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
}

/* =========================
   Page Top
========================= */

.page-top {
    font-size: 0.8rem;
    text-decoration: none;
    color: #333;
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
}

.page-top:hover {
    color: var(--main);
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

    .site-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .footer-nav {
        justify-content: center;
        gap: 16px;
    }

    .site-footer__copy {
        order: 3;
    }

    .page-top {
        order: 4;
    }
}