.footer {
    background-color: #111;
    padding: 1vw 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* 左側のナビゲーション */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5vw;
    letter-spacing: 0.1vw;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

/* 中央ロゴ */
.footer-logo img {
    width: 25vw;
    height: auto;
    position: absolute;
    left: 34vw;
}

/* 右側SNSとメール */
.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-right img {
    width: 3vw;
    height: auto;
    cursor: pointer;
    transition: opacity 0.3s;
}

.footer-right img:hover {
    opacity: 0.7;
}

.footer-right a {
    color: #fff;
    text-decoration: none;
    margin-top: 18vw;
}

.footer-mail {
    font-size: 1.5vw;
    text-decoration: none;
    color: #fff;
    margin-top: 25vw;
}

@media (max-width: 768px) {
    .footer {
        display: block;
        padding: 5vw 4vw;
    }
    .footer-nav {
        margin-top: 5vw;
    }
    .footer-nav a {
        font-size: 5vw;
        padding-bottom: 2vw;
    }
    .footer-logo img {
        position: static;
        width: 50vw;
        margin: 7vw auto 2vw auto;
        display: block;
    }
    .footer-right {
        margin-top: 5vw;
    }
    .footer-right img {
        width: 7vw;
    }
    .footer-right a {
        font-size: 4vw;
        display: block;
        margin-top: 1vw;
        margin-bottom: 3vw;
    }
    .footer-mail {
        font-size: 4vw;
        display: block;
        margin-bottom: 5vw;
        margin-top: 2vw;
    }
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
    transition-delay: 0.3s;
}

/* visible state */
.fade-in.is-visible {
    opacity: 1;
}