
/* ================================================= */
/* ナビゲーション */
/* ================================================= */
nav.nav_section {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-header-back);
    color: var(--color-header-text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

    white-space: nowrap;
}


.nav_container {
    position: relative;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav_logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--color-logo-company);
}

/* リンク */
.nav_container .nav_links {
    display: flex;
}

.nav_container .nav_link {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.nav_container .nav_link span:first-child {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav_container .nav_link span:last-child {
    font-size: 0.95rem;
    margin-top: 2px;
}

.nav_container .nav_link:hover {
    color: #2563eb;
}

/* ハンバーガー */
.nav_toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-header-text)
}

/* ===== レスポンシブ ===== */
@media (max-width: 1048px) {
    .nav_container .nav_links {
        position: absolute;
        background: var(--color-header-back);
        top: 4rem;
        left: 0;
        width: 100%;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.4s ease;
        z-index: 100;
    }

    .nav_container .nav_links.show {
        max-height: max-content;
        opacity: 1;
    }

    .nav_container .nav_link {
        padding: 16px;
        border-bottom: 1px solid #eee;
        text-align: center;
    }

    .nav_container .nav_toggle {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 101;
        position: relative;
    }
}

