nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-img {
    height: 65px;
    width: auto;
    display: block;
    margin-left: 20px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #444;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.nav-links a:hover {
    color: #ff4d4d;
}

.sns-icon img {
    width: 22px;
    height: 22px;
    opacity: 0.8;
    filter: invert(1);
}

footer {
    background-color: #6b6259;
    padding: 20px 0 30px;
    text-align: center;
    width: 100%;
    line-height: 1.3;
    letter-spacing: 0.1em;
    color: #fff;
    font-weight: 300;
    
    /* ↓ここを追加 */
    margin-top: auto; 
    
    position: relative; 
    z-index: 5;
}

/* ナビゲーションに関するレスポンシブ設定 */

@media screen and (max-width: 1500px) {
.nav-center {
    position: absolute;
    left: 54%;
    transform: translateX(-50%);
}

}













@media screen and (max-width: 600px) {
    nav {
        flex-direction: column;
        padding: 2.5rem 0 1rem;
        background: rgba(255, 255, 255, 0.9);
    }
    .logo-img {
        height: 30px;
        margin: 0 auto 0.5rem;
    }
    .nav-center {
        position: static;
        transform: none;
        width: 100%;
    }
    .nav-links {
        justify-content: center;
        gap: 1rem;
    }
    .nav-links a {
        font-size: 1.1rem;
    }
}