/**
 * ヘッダーテンプレート用CSS（parts/header.html用）
 * entry-content内のカスタムヘッダーと同じスタイルを適用
 */

/* entry-content内のカスタムヘッダーを非表示 */
.entry-content > header.site-header,
main > .entry-content > header.site-header,
.entry-content .site-header.rushian-custom-header {
    display: none !important;
}

/* 基本スタイル */
.site-header {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 15px 40px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease !important;
}

.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* ロゴ */
.site-logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.site-logo img {
    height: 50px !important;
    width: auto !important;
    transition: opacity 0.3s ease !important;
}

.site-logo:hover img {
    opacity: 0.8 !important;
}

/* ナビゲーション */
.header-nav {
    display: flex !important;
    gap: 2rem !important;
    align-items: center !important;
}

.header-nav a {
    color: #333333 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    transition: opacity 0.3s ease !important;
    white-space: nowrap !important;
}

.header-nav a:hover {
    opacity: 0.7 !important;
}

/* ご予約ボタン */
.reservation-button {
    display: inline-block !important;
    padding: 12px 24px !important;
    background: #333333 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    transition: background 0.3s ease !important;
    white-space: nowrap !important;
}

.reservation-button:hover {
    background: #555555 !important;
}

/* スクロール時のスタイル */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15) !important;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .site-header {
        padding: 12px 30px !important;
    }

    .header-nav {
        gap: 1.5rem !important;
    }

    .header-nav a {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 10px 20px !important;
    }

    .header-nav {
        gap: 1rem !important;
    }

    .header-nav a {
        font-size: 0.85rem !important;
    }

    .reservation-button {
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
    }

    .site-logo img {
        height: 40px !important;
    }
}

@media (max-width: 600px) {
    .header-container {
        flex-wrap: wrap !important;
    }

    .header-nav {
        order: 3 !important;
        width: 100% !important;
        justify-content: center !important;
        margin-top: 10px !important;
        gap: 0.8rem !important;
    }

    .header-nav a {
        font-size: 0.8rem !important;
    }
}

/* ページ上部のスペース確保 */
body {
    padding-top: 80px !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px !important;
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 120px !important;
    }
}
