  /* =========================================================
     1. head.php などのPC固定幅指定（960px/1000px等）を強力リセット
     ========================================================= */
  html, body {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important; /* 横スクロールの強制防止 */
    -webkit-text-size-adjust: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", MeiRyo, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
  }

  /* 画像・テーブルの画面はみ出し防止 */
  img, iframe, table, video {
    max-width: 100% !important;
    height: auto !important;
  }

  /* =========================================================
     2. レスポンシブ用コンテナ & モジュールデザイン
     ========================================================= */
  *, *::before, *::after {
    box-sizing: border-box !important;
  }

  .responsive-container {
    width: 100% !important;
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* ヒーロー（メインビジュアル） */
  .hero-wrapper {
    position: relative;
    width: 100%;
    padding: 32px 16px;
    background: linear-gradient(135deg, rgb(66 105 197 / 66%) 0%, #01091fd6 100%), url(../../img/higaeri/img_1920x800_001.png) left top / cover no-repeat;
    color: #ffffff;
    text-align: center;
  }
  .hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    color: #fff;
    font-weight: 900;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
  }
  .hero-title {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
    margin: 0 0 20px 0;
    color: #ffffff;
  }

  /* 検索カード */
  .search-card {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 16px;
    color: #1e293b;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    text-align: left;
  }
  .search-card-title {
    font-size: 15px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
  }
  .search-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .search-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
  }
.search-field select {
    width: 100% !important;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 36px 10px 12px !important; /* 右側にゆとりを持たせる */
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    outline: none;
    cursor: pointer;

    /* デフォルトのブラウザ矢印を消してSVGアイコンに差し替え */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* 右から 14px の位置に矢印を配置（数値を大きくするとさらに内側に入ります） */
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2364748b" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
  }
	.search-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    font-weight: 900;
    font-size: 15px;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    margin-top: 6px;
  }

  /* セクション見出し */
  .section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 14px;
  }
  .section-head::before {
    content: "";
    display: block;
    width: 5px;
    height: 18px;
    background-color: #1e40af;
    border-radius: 3px;
  }

  /* 出発地ボタン */
  .city-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
  }
  @media screen and (max-width: 640px) {
    .city-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }
  }

  .city-btn {
    display: block;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    text-align: center;
    padding: 10px 4px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none!important;
  }
  .city-btn.orange {
    background-color: #fff7ed;
    border-color: #ffedd5;
    color: #ea580c;
  }

  /* 選ばれる理由 */
  .why-section {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 40px 0;
    margin: 32px 0;
    border-top: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
  }
  .why-head {
    text-align: center;
    margin-bottom: 28px;
  }
  .why-sub-title {
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #1e40af;
    background-color: #dbeafe;
    padding: 3px 12px;
    border-radius: 9999px;
    margin-bottom: 6px;
  }
  .why-title {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
  }
  .why-title span {
    color: #1e40af;
  }
  .why-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
  .why-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  }
  /* 円形グラデーションアイコン枠 */
  .why-icon-badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px auto;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  }
  /* 各アイコンバッジの背景カラー（6色分類） */
  .icon-blue { background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%); }
  .icon-orange { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
  .icon-emerald { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
  .icon-purple { background: linear-gradient(135deg, #a855f7 0%, #6b21a8 100%); }
  .icon-amber { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
  .icon-pink { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); }

  .why-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
  }
  .why-card p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
  }

  /* ブレイクポイント調整（SPは1列、タブレット2列、PCは3列×2行） */
  @media screen and (min-width: 640px) {
    .why-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }
  @media screen and (min-width: 960px) {
    .why-title { font-size: 24px; }
    .why-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
  }
  /* =========================================================
     3. 絞り込みパネル & 双方向（左右）スクロールUI専用スタイル
     ========================================================= */
  .filter-panel {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  .filter-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  /* タブナビゲーションのラッパー */
  .kw-tabs-wrapper {
    position: relative;
    margin-bottom: 12px;
  }

  /* 左端ガイド（左に戻れるとき表示） */
  .kw-tabs-wrapper::before {
    content: "‹";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 8px;
    width: 32px;
    background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0.95) 70%);
    color: #1e40af;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 4px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.25s;
    border-radius: 8px 0 0 0;
  }
  .kw-tabs-wrapper.can-scroll-left::before {
    opacity: 1;
  }

  /* 右端ガイド（右に進めるとき表示） */
  .kw-tabs-wrapper::after {
    content: "›";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 8px;
    width: 32px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.95) 70%);
    color: #1e40af;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 4px;
    pointer-events: none;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.25s;
    border-radius: 0 8px 0 0;
  }
  .kw-tabs-wrapper.scrolled-end::after {
    opacity: 0;
  }

  /* タブスクロールバー本体 */
  .kw-tabs-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  /* スクロールバー可視化 */
  .kw-tabs-nav::-webkit-scrollbar {
    height: 6px;
  }
  .kw-tabs-nav::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
  }
  .kw-tabs-nav::-webkit-scrollbar-track {
    background-color: #f1f5f9;
  }

  .kw-tab-btn {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background-color: #f8fafc;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .kw-tab-btn:hover {
    background-color: #e2e8f0;
    color: #1e293b;
  }
  .kw-tab-btn.active {
    background-color: #1e40af;
    color: #ffffff;
    border-color: #1e40af;
  }
  .kw-tab-btn .badge {
    background-color: #f97316;
    color: #ffffff;
    border-radius: 9999px;
    padding: 1px 6px;
    font-size: 10px;
    margin-left: 4px;
  }

  .kw-tab-panel {
    display: none;
    padding: 8px 0;
  }
  .kw-tab-panel.active {
    display: block;
  }

  .chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none!important;
    transition: all 0.2s ease;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    color: #334155;
    cursor: pointer;
    user-select: none;
  }
  .chip-btn:hover {
    border-color: #f97316;
    color: #ea580c;
    background-color: #fff7ed;
  }
  .chip-btn.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff !important;
    border-color: #ea580c;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
  }
  .selected-summary-bar {
    background-color: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 5px;
    padding: 12px 16px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }
  .reset-all-btn {
    font-size: 11px;
    font-weight: 700;
    text-decoration: none!important;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
	border:  1px solid #999;
	padding: 5px 10px;
	background-color: aliceblue;
	border-radius: 5px;
  }
