/* タブメニューのスタイル */

/* ヘッダーコンテンツのレイアウト */
.header-content {
    text-align: center;
    padding-bottom: 0;
}

/* サイトタイトル（既存のスタイルと統合） */
.site-title {
    display: inline-block;
    margin-bottom: 32px;
}

/* タブメニューコンテナ */
.tab-menu {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: -1px; /* ヘッダーの境界線と重ねる */
}

.tab-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.tab-menu-item {
    margin: 0;
}

.tab-menu-link {
    display: block;
    padding: 12px 24px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px 8px 0 0;
    background: transparent;
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid transparent;
    border-bottom: 1px solid #e5e7eb;
}

/* ホバー状態 */
.tab-menu-link:hover {
    color: #3b82f6;
    background: #f3f4f6;
    text-decoration: none;
    border-color: #e5e7eb;
    border-bottom-color: #e5e7eb;
}

/* アクティブ状態 */
.tab-menu-item.active .tab-menu-link {
    color: #1f2937;
    background: white;
    border-color: #e5e7eb;
    border-bottom-color: white;
    font-weight: 600;
}

/* アクティブタブの下線を隠す */
.tab-menu-item.active .tab-menu-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: white;
    z-index: 1;
}

/* モバイルレスポンシブ */
@media (max-width: 768px) {
    .header-content {
        padding: 0;
    }
    
    .site-title {
        margin-bottom: 24px;
    }
    
    .tab-menu {
        margin-top: 16px;
        margin-bottom: -1px;
    }
    
    .tab-menu-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-menu-link {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}

/* タブレットサイズ */
@media (max-width: 1024px) and (min-width: 769px) {
    .tab-menu-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}