/* ====================================================
 * 固定ヘッダー用スタイル
 * ヘッダー + ナビ + パンくず + 検索 + カテゴリを固定表示
 * ==================================================== */

/* 固定ヘッダーコンテナ */
.sticky-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ヘッダータイトルの色（白） */
.sticky-header-wrapper header h1,
.sticky-header-wrapper header .header-title-link {
    color: #ffffff !important;
}

/* ヘッダー部分 */
.sticky-header-wrapper header {
    position: relative;
}

/* サブナビゲーション */
.sticky-header-wrapper .sub-navigation {
    position: relative;
}

/* パンくずリスト */
.sticky-header-wrapper .breadcrumbs {
    position: relative;
    background-color: #fff;
    padding: 5px 15px;
    margin: 0;
}

/* 検索 + カテゴリフィルターコンテナ */
.sticky-header-wrapper .sticky-search-filter {
    background-color: #fff;
    padding: 5px 15px 10px 15px;
}

/* メインコンテンツの上部余白（固定ヘッダー分） */
body.ai-theme main {
    padding-top: 280px; /* ヘッダー全体の高さ分 */
}

/* 検索コンテナの調整 */
.sticky-header-wrapper .search-container {
    margin-bottom: 10px;
}

/* カテゴリフィルターの調整 */
.sticky-header-wrapper .simplified-category-filter {
    margin-bottom: 0;
}

/* ====================================================
 * レスポンシブ対応
 * ==================================================== */
@media (max-width: 768px) {
    body.ai-theme main {
        padding-top: 260px; /* モバイルではヘッダーが小さい */
    }
    
    .sticky-header-wrapper .breadcrumbs {
        padding: 6px 10px;
        font-size: 0.85em;
    }
    
    .sticky-header-wrapper .sticky-search-filter {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    body.ai-theme main {
        padding-top: 240px;
    }
}

/* ====================================================
 * �Œ�w�b�_�[�̈�̔w�i����S�ɔ�������
 * ==================================================== */
.sticky-header-wrapper,
.sticky-header-wrapper .sticky-search-filter,
.sticky-header-wrapper .simplified-category-filter,
.sticky-header-wrapper .main-categories,
.sticky-header-wrapper .breadcrumbs,
.sticky-header-wrapper .search-container,
#category-filter-accordion {
    background-color: #fff !important;
    box-shadow: none !important;
    border: none !important;
    border-bottom: none !important;
}

/* �Œ�w�b�_�[�S�̂̉e�̂ݎc�� */
.sticky-header-wrapper {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}
