/* Footer.css 全体 */
.site-footer {
    background-color: var(--bg-dark);
    border-top: 4px solid var(--primary-color);
    padding: 4rem 0 2rem 0;
    margin-top: 6rem;
    color: #ffffff;
}

.footer-container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* ロゴエリア */
.footer-logo-area {
    margin-bottom: 1.8rem;
}

/* フッター用ロゴ画像の設定 */
.footer-logo-img {
    height: 32px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;

    transform: translate(-3px, -12px);
}

/* スマホ表示時のロゴサイズ調整 */
@media (max-width: 768px) {
    .footer-logo-img {
        height: 24px;
    }
}

/* ソーシャルエリア（横並び・上下中央揃え） */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* SOCIAL ACCOUNT のテキストスタイル */
.social-label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-transform: uppercase;
    user-select: none;
}

.social-icon {
    color: #ffffff;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-copyright {
    color: #888888;
    font-size: 0.85rem;
    font-family: var(--font-ui);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-top-btn {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
    width: 80px;
    height: 25px;
    transform: translateY(-25px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 20px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.footer-top-btn svg {
    width: 18px;
    height: 18px;
    display: block;
    transition: transform 0.25s ease;
}

.footer-top-btn:hover {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

/* スマホ用レイアウト */
@media (max-width: 768px) {
    .site-footer {
        padding: 2.5rem 0 2rem 0;
        margin-top: 4rem;
    }

    .footer-container {
        width: 90%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.8rem;
    }

    .footer-left {
        width: 100%;
    }

    .footer-logo-area {
        margin-bottom: 1.2rem;
    }

    .footer-logo-img {
        height: 24px;
        transform: none ;
    }

    .footer-socials {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .social-label {
        font-size: 0.75rem;
    }

    .footer-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }

    .footer-top-btn {
        transform: none ;
        width: 70px;
        height: 32px;
        margin-bottom: 0;
    }

    .footer-copyright {
        font-size: 0.75rem;
        text-align: center;
        color: #777777;
    }
}