/* ========================================
   FOOTER：PC
======================================== */

.back_top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 12rem;
    z-index: 1000;
}

.back_top a,
.back_top picture,
.back_top img {
    display: block;
    width: 100%;
}

#footer {
    padding: 9.6rem 2rem;
    background-color: var(--color-black);
}

.footer_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--color-white);
}

.sns_links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8rem;
    margin-bottom: 4.4rem;
    font-size: 3.2rem;
    font-weight: 500;
}

.sns_links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.sns_links a:hover {
    opacity: 0.7;
}

.sns_links picture,
.sns_links img {
    display: block;
}

.footer_copyright {
    font-size: 1.4rem;
    text-align: center;
    line-height: 1.5;
}

/* ========================================
   タブレット：1024px以下
======================================== */

@media screen and (max-width: 1024px) {

    #footer {
        padding: 7rem 2rem;
    }

    .sns_links {
        gap: 5rem;
        margin-bottom: 3.5rem;
        font-size: 2.4rem;
    }

    .back_top {
        width: 10rem;
    }
}

/* ========================================
   スマートフォン：767px以下
======================================== */

@media screen and (max-width: 767px) {

    #footer {
        padding: 5rem 2rem;
    }

    .sns_links {
        gap: 3.5rem;
        margin-bottom: 3rem;
        font-size: 1.6rem;
    }

    .sns_links .instagram_link img {
        width: 2rem;
        height: auto;
    }

    .sns_links .youtube_link img {
        width: 2.2rem;
        height: auto;
    }

    .sns_links .ameblo_link {
        font-size: 1.6rem;
        font-weight: 500;
    }

    .footer_copyright {
        font-size: 1rem;
        letter-spacing: 0.02em;
        line-height: 1.6;
    }

    .back_top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 6rem;
    }
}