/* ===============================
   ヘッダー専用CSS
   =============================== */

/* ■ ヘッダー基本スタイル */
header {
    position: relative;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ■ ナビゲーション */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ■ ロゴ */
.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 50px;
    width: auto;
}

/* ■ メニュー */
.header-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.header-menu li {
    position: relative;
}

.header-menu a {
    display: block;
    padding: 20px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-menu a:hover {
    color: #007cba;
}

/* ■ モバイルメニュー */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* ■ レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .header-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 20px;
        gap: 0;
    }
    
    .header-menu.active {
        display: flex;
    }
    
    .header-menu li {
        border-bottom: 1px solid #eee;
    }
    
    .header-menu li:last-child {
        border-bottom: none;
    }
    
    .header-menu a {
        padding: 15px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* ■ ヘッダー固定（オプション） */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* ■ コンタクト情報（ヘッダー内） */
.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.header-contact a {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
}

.header-contact a:hover {
    text-decoration: underline;
}

/* ■ サブヘッダー（パンくずなど） */
.sub-header {
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.sub-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ■ ヘッダーアニメーション */
.header-nav {
    transition: all 0.3s ease;
}

.header-scroll {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.header-scroll.show {
    transform: translateY(0);
}

/* ■ アクセシビリティ */
.header-menu a:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.mobile-menu-toggle:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* ■ 印刷用スタイル */
@media print {
    header,
    .mobile-menu-toggle {
        display: none;
    }
} 