/* 共通ヘッダー（企業研修以外の全ページ用） */
:root {
    --header-gold: #C5A059;
    --header-gold-light: #D4AF37;
    --header-max-width: 1200px;
    --header-font-serif: 'Shippori Mincho', serif;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 0 32px;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    transition: transform 0.35s ease;
    will-change: transform;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.header-container {
    width: 100%;
    max-width: var(--header-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-family: var(--header-font-serif);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--header-gold);
    text-decoration: none;
    transition: color 0.2s;
}

.header-logo:hover {
    color: var(--header-gold-light);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-link {
    font-family: var(--header-font-serif);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.2s;
}

.header-link:hover {
    color: var(--header-gold);
}

.header-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--header-gold);
}

.header-hamburger .hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.menu-open .header-hamburger .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header.menu-open .header-hamburger .hamburger-line:nth-child(2) {
    opacity: 0;
}
.site-header.menu-open .header-hamburger .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-nav-overlay {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .site-header {
        padding: 0 12px 0 16px;
    }

    .header-container {
        gap: 0;
        justify-content: space-between;
    }

    .header-logo {
        font-size: 0.8rem;
        letter-spacing: 0.03em;
    }

    .header-hamburger {
        display: flex;
    }

    .header-nav {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 16px 16px 24px;
        background: rgba(10, 10, 10, 0.98);
        border-bottom: 1px solid rgba(197, 160, 89, 0.2);
        z-index: 999;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    }

    .site-header.menu-open .header-nav {
        display: flex;
    }

    .header-nav .header-link {
        font-size: 0.7rem;
        letter-spacing: 0.05em;
        padding: 10px 0;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .header-nav .header-link:last-child {
        border-bottom: none;
    }

    .header-nav-overlay {
        display: block;
        pointer-events: none;
    }

    .site-header.menu-open .header-nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}
