     :root {
         --primary-color: #1a365d;
         --accent-color: #d69e2e;
         --bg-color: #f7fafc;
         --card-bg: #ffffff;
         --text-main: #2d3748;
         --text-sub: #718096;
         --sidebar-width: 300px;
         /* サイドバーの横幅を一元管理 */
         --header-height: 64px;
         /* ヘッダーの高さを固定値で管理 */
     }

     body {
         font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
         background-color: var(--bg-color);
         color: var(--text-main);
         margin: 0;
         padding: 0;
         line-height: 1.6;
     }

     /* 💡 ヘッダーの高さを固定し、横幅いっぱいに */
     header {
         background-color: var(--primary-color);
         color: white;


         align-items: center;
         position: fixed;
         top: 0;
         left: 0;
         width: 100%;
         z-index: 1000;
         box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     }

     .header-container {
         display: flex;
         justify-content: space-between;
         /* 要素を左右両端に配置 */
         align-items: center;
         /* 垂直方向に中央揃え */
         padding: 10px 20px;
         /* 適切な余白 */

         /* 必要に応じて境界線 */
     }

     .home-button {
         text-decoration: none;
         color: #333;
         padding: 8px 16px;
         border: 1px solid #333;
         border-radius: 4px;
         background-color: #f9f9f9;
         font-weight: bold;
     }

     .home-button:hover {
         background-color: #eee;
     }

     .logo h1 {
         margin: 0;
         font-size: 20px;
     }

     /* 💡 全体コンテナ：最大幅の制限を無くし、画面幅いっぱいに広げる */
     .layout-container {
         display: flex;
         width: 100%;
         min-height: calc(100vh - var(--header-height));
         margin-top: var(--header-height);
         /* ヘッダーに被らないように調整 */
         box-sizing: border-box;
     }

     /* 💡 PC時：左とヘッダーに「ビタッと」くっつく固定サイドバー */
     .sidebar {
         width: var(--sidebar-width);
         flex-shrink: 0;
         background: white;
         border-right: 1px solid #e2e8f0;
         padding: 24px;
         box-sizing: border-box;

         /* ▼ ここを変更：stickyに変更 */
         position: sticky;
         top: var(--header-height);
         /* ヘッダーの高さ分だけ下に配置 */
         height: calc(100vh - var(--header-height));
         /* 画面の高さに制限 */
         overflow-y: auto;
         z-index: 900;
     }

     /* 💡 右側：サイドバーの横幅分だけ左マージンを開けて、残りの画面幅いっぱいに */
     .main-content {
         flex-grow: 1;
         min-width: 0;
         /* 🌟追加: Gridを正しく折り返させ、横スクロールを防ぐ */
         padding: 30px;
         box-sizing: border-box;
     }

     .search-form {
         display: flex;
         flex-direction: column;
         gap: 24px;
     }

     .form-group {
         display: flex;
         flex-direction: column;
         gap: 8px;
     }

     .form-group label {
         font-size: 14px;
         font-weight: bold;
         color: var(--primary-color);
     }

     .keyword-input {
         padding: 12px;
         border: 2px solid #cbd5e0;
         border-radius: 8px;
         font-size: 15px;
         width: 100%;
         box-sizing: border-box;
         transition: border-color 0.2s;
     }

     .keyword-input:focus {
         border-color: var(--primary-color);
         outline: none;
     }

     .input-hint {
         font-size: 11px;
         color: var(--text-sub);
         line-height: 1.4;
     }

     /* ラジオボタンデザイン */
     .radio-tile-group {
         display: flex;
         flex-direction: column;
         gap: 8px;
     }

     .radio-tile-group .radio-wrapper {
         position: relative;
         width: 100%;
     }

     .radio-tile-group input[type="radio"] {
         position: absolute;
         opacity: 0;
         width: 0;
         height: 0;
     }

     .radio-label {
         display: block;
         padding: 10px 14px;
         background: #f7fafc;
         border: 2px solid #e2e8f0;
         border-radius: 8px;
         font-size: 13.5px;
         font-weight: 500;
         cursor: pointer;
         transition: all 0.2s;
         user-select: none;
     }

     .radio-tile-group input[type="radio"]:checked+.radio-label {
         background-color: var(--primary-color);
         color: white;
         border-color: var(--primary-color);
     }

     .radio-label:hover {
         border-color: #cbd5e0;
         background: #edf2f7;
     }

     .clear-btn {
         background-color: #e2e8f0;
         color: #4a5568;
         text-decoration: none;
         padding: 10px;
         border-radius: 6px;
         font-size: 13px;
         font-weight: bold;
         text-align: center;
         display: block;
         margin-top: 10px;
     }

     .close-sidebar-btn {
         display: none;
     }

     /* ビデオグリッド */
     .video-grid {
         display: grid;
         width: 100%;
         /* min-width: 0; （※ここに書かれていたものは親要素に効かせたので削除してOKです） */
         grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
         /* 🌟変更: auto-fit を auto-fill にする */
         gap: 24px;
     }

     .video-card {
         background: var(--card-bg);
         border-radius: 12px;
         overflow: hidden;
         box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
         display: flex;
         flex-direction: column;
         border: 1px solid #e2e8f0;
     }

     .thumb-wrapper {
         position: relative;
         width: 100%;
         padding-top: 56.25%;
         background: #000;
     }

     .thumb-wrapper img {
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         object-fit: cover;
     }

     .badge-committee {
         position: absolute;
         top: 10px;
         left: 10px;
         background: rgba(26, 54, 93, 0.9);
         color: white;
         padding: 4px 10px;
         border-radius: 20px;
         font-size: 11px;
         font-weight: bold;
     }

     .card-body {
         padding: 16px;
         flex-grow: 1;
         display: flex;
         flex-direction: column;
     }

     .card-date {
         font-size: 12px;
         color: var(--text-sub);
     }

     .card-title {
         font-size: 14.5px;
         font-weight: bold;
         margin: 5px 0 15px 0;
         height: 4.2em;
         overflow: hidden;
         display: -webkit-box;
         -webkit-line-clamp: 3;
         -webkit-box-orient: vertical;
         line-height: 1.4;
     }

     .link-detail {
         display: block;
         width: 100%;
         text-align: center;
         background: var(--primary-color);
         color: white;
         text-decoration: none;
         padding: 10px 0;
         border-radius: 6px;
         font-weight: bold;
         font-size: 13.5px;
         margin-top: auto;
     }

     .pagination {
         display: flex;
         justify-content: center;
         align-items: center;
         gap: 8px;
         margin: 40px 0;
     }

     .pagination a,
     .pagination span {
         padding: 10px 16px;
         border-radius: 6px;
         border: 1px solid #e2e8f0;
         background: white;
         text-decoration: none;
         color: var(--text-main);
     }

     .pagination .current-page {
         background: var(--primary-color);
         color: white;
         border-color: var(--primary-color);
     }

     /* スマホ用ボタン類 */
     .mobile-search-trigger {
         display: none;
         position: fixed;
         bottom: 24px;
         right: 24px;
         background: var(--accent-color);
         color: white;
         border: none;
         width: 60px;
         height: 60px;
         border-radius: 50%;
         box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
         z-index: 999;
         cursor: pointer;
         justify-content: center;
         align-items: center;
     }

     .mobile-search-trigger svg {
         width: 28px;
         height: 28px;
         fill: white;
     }

     .sidebar-overlay {
         display: none;
         position: fixed;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background: rgba(0, 0, 0, 0.4);
         z-index: 850;
         opacity: 0;
         transition: opacity 0.3s;
     }

     /* ==========================================
           📱 スマートフォン・タブレット向け（レスポンシブ）
           ========================================== */
     @media (max-width: 950px) {
         .layout-container {
             margin-top: var(--header-height);
         }

         /* スマホ時はメインコンテンツの左マージンを解除して全面表示 */
         .main-content {
             margin-left: 0;
             padding: 20px;
         }

         .logo h1 {
             font-size: 16px;
         }

         .mobile-search-trigger {
             display: flex;
         }

         /* ポップアップドロワーへの切り替え */
         .sidebar {
             position: fixed;
             bottom: 0;
             left: 0;
             top: auto;
             right: auto;
             width: 100%;
             max-height: 80vh;
             border-right: none;
             border-radius: 20px 20px 0 0;
             box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
             padding: 25px;
             transform: translateY(100%);
             transition: transform 0.3s ease-out;
             z-index: 950;
         }

         .sidebar.is-open {
             transform: translateY(0);
         }

         .sidebar-overlay.is-open {
             display: block;
             opacity: 1;
         }

         .radio-tile-group {
             flex-direction: row;
             flex-wrap: wrap;
             gap: 8px;
         }

         .radio-tile-group .radio-wrapper {
             width: auto;
         }

         .radio-label {
             padding: 8px 14px;
             font-size: 13px;
             border-radius: 20px;
         }

         .video-grid {
             grid-template-columns: 1fr;
             /* 1列にする */
             gap: 16px;
             width: 100%;
             /* グリッド自体を親要素の幅いっぱいに */
             box-sizing: border-box;
         }

         .video-card {
             width: 100%;
             /* カードの幅を画面幅に合わせる */
             max-width: 100%;
             /* 絶対に画面幅を突き抜けないように制限 */
             box-sizing: border-box;
             /* パディングやボーダーを含めた幅にする */
         }

         .thumb-wrapper {
             width: 100%;
             /* サムネイルの枠も横幅いっぱいに */
         }

         .layout-container {
             margin-top: var(--header-height);
         }


         .close-sidebar-btn {
             display: block;
             background: #edf2f7;
             color: var(--text-main);
             border: none;
             padding: 8px 16px;
             border-radius: 6px;
             font-size: 13px;
             font-weight: bold;
             margin-bottom: 15px;
             width: 100%;
             text-align: center;
             cursor: pointer;
         }
     }