/* =========================
   Footer
========================= */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    padding: 30px 20px 30px;
}

/* 全体 */
.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* 上段（ロゴ + SNS） */
.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

/* ロゴ */
.footer-logo {
    height: 32px;
}
.footer-logo img {
    width: 100%;
    width: auto; /* ←これ追加（潰れ防止） */
    display: block;
    filter: brightness(0) invert(1);
}


/* SNS */
/* SNS（縦中央をより確実に） */
.footer-sns {
    display: flex;
    align-items: center; /* ←これ追加 */
    gap: 16px;
}

.footer-sns a{
    display: inline-block;
    height: 32px;
}

.footer-sns img {
    width: 32px;
    transition: 0.3s;
}

.footer-sns a:hover img {
    transform: translateY(-3px) scale(1.1);
    opacity: 0.8;
}

/* =========================
   メニュー（下段）
========================= */
.footer-menu {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.footer-menu-list {
    display: flex;
    justify-content: center;
    gap: 28px;
    list-style: none;
}

.footer-menu-list a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.12em;
    opacity: 0.7;
    position: relative;
    transition: 0.3s;
}

/* 下線アニメ */
.footer-menu-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 1px;
    background: #fff;
    transition: 0.3s;
}

.footer-menu-list a:hover {
    opacity: 1;
}

.footer-menu-list a:hover::after {
    width: 100%;
}

/* コピーライト */
.copyright {
    text-align: center;
    font-size: 12px;
    opacity: 0.5;
    margin-top: 30px;
}

@media (max-width: 768px) {

    /* 上段（ロゴ + SNS） */
.footer-top {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

    .footer-menu-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 16px;
    }

    .footer-menu-list li {
        width: 45%;              /* ← 2列にする */
        text-align: center;
    }

}