/* ============================
   共通：在庫リスト用セレクト（.boat-select 専用）
   ============================ */

/* セレクトを包むラッパー（矢印をここに付ける） */
.search-wrap .boat-select-wrap {
  position: relative;
  display: block;
}

/* 在庫リストの select 本体 */
.search-wrap select.boat-select {
  /* ブラウザデフォルト矢印を消す */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  box-sizing: border-box;
  width: 100%;
  padding: 12px 45px 12px 15px;
  font-size: 15px;
  line-height: 1.5em;
  color: #666;
  background-color: #fff;

  /* 少し立体感のある枠線（右下だけ薄め） */
  border-top: 1px solid #999;
  border-left: 1px solid #999;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-radius: 6px;

  background-image: none; /* 共通 select の background を打ち消す */

  transition: all .2s ease;
  cursor: pointer;
}

/* ▼ 矢印アイコン（CSSの三角形で描画：画像ファイル不使用） */
.search-wrap .boat-select-wrap::after {
  content: "";
  position: absolute;
  pointer-events: none;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);

  /* 三角形を border で作る */
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #666; /* 矢印色 */
}

/* ホバー時 */
.search-wrap select.boat-select:hover {
  border-right-color: #999;
  border-bottom-color: #999;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.08);
}

/* フォーカス時 */
.search-wrap select.boat-select:focus {
  outline: none;
  border-top-color: #0088ff;
  border-right-color: #0088ff;
  border-bottom-color: #0088ff;
  border-left-color: #0088ff;
  box-shadow: 0 0 6px rgba(0, 136, 255, 0.3);
}

/* ============================
   PC (min-width: 1025px)
   ============================ */
@media screen and (min-width: 1025px) {

  /*特選艇*/
  .selected-boat {
    width: 96%;
    height: auto;
    background-image: url(../img/header/mbg0.png);
    background-size: contain;
    margin: 0 auto 50px;
    padding: 0 20px 40px;
  }
  .selected-boat .ptbody {
    width: 550px;
    height: auto;
    display: block;
    margin: 50px auto 50px;
    text-align: center;
    padding: 15px 0;
    background-color: #0384AD;
    background-image: none;
    box-shadow: 0 1px 3px #777;
  }
  .selected-boat .ptbody h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 26px;
    font-weight: 200 !important;
    line-height: 30px;
    color: #fff;
    text-shadow: 0px 1px 5px #000;
    letter-spacing: normal !important;
    margin-bottom: 0 !important;
  }
  .selected-boat .ptbody p {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    color: #fff;
    text-shadow: 0px 1px 5px #000;
    margin-bottom: 0 !important;
    width: 5em;
    margin: 0 auto;
    border-bottom: 1px solid #ccc;
    letter-spacing: normal !important;
  }
  .xml-stock {
    padding-top: 0 !important;
  }
  .stnmm a {
    box-shadow: 0px 2px 5px #ccc;
  }

  /*通常ボートリスト*/
  .boat-list-wrap {
    width: 96%;
    height: auto;
    background-image: url(../img/header/mbg0.png);
    background-size: contain;
    margin: 0 auto 50px;
    padding: 40px 20px;
  }

  /*検索関係 */
  .search-wrap {
    width: 80%;
    padding: 0 1%;
  }
  .search-wrap .boat-filter-form {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px; /* 行間・列間の余白 */
  }
  .boat-filter-row {
    margin-right: 0;
    flex: 1 1 calc((100% - 30px) / 3);
    min-width: 220px; /* 「リブ・インフレータブル」が入る最低幅 */
  }
  .boat-filter-row label {
    font-size: 14px;
    line-height: 1.8em;
    margin-right: 5px;
    display: block;
    margin-bottom: 4px;
  }

  /* 検索ボタン */
  .boat-filter-row button {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    background: #0384AD;
    color: #fff;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    width: 150px;
    margin: 5px 0 15px;
  }
  .boat-filter-row button:hover {
    background: #1BBBE2;
  }

  p.result-count {
    margin-bottom: 20px !important;
  }

  /*ページネーション */
  .boat-pagination {
    padding: 0 1%;
  }
  .pagination.cf a,
  .pagination.cf span {
    display: inline-block !important;
    width: auto !important;
  }
  .prev,
  .next {
    padding: 0 8px !important;
  }
}

/* ============================
   Tablet Large (769–1024)
   ============================ */
@media screen and (min-width: 769px) and (max-width: 1024px) {

  .selected-boat {
    width: 96%;
    height: auto;
    background-image: url(../img/header/mbg0.png);
    background-size: contain;
    margin: 0 auto 50px;
    padding: 0 20px 40px;
  }
  .selected-boat .ptbody {
    width: 400px;
    height: auto;
    display: block;
    margin: 50px auto 50px;
    text-align: center;
    padding: 15px 0;
    background-color: #0384AD;
    background-image: none;
    box-shadow: 0 1px 3px #777;
  }
  .selected-boat .ptbody h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 26px;
    font-weight: 200 !important;
    line-height: 30px;
    color: #fff;
    text-shadow: 0px 1px 5px #000;
    letter-spacing: normal !important;
    margin-bottom: 0 !important;
  }
  .selected-boat .ptbody p {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    color: #fff;
    text-shadow: 0px 1px 5px #000;
    margin-bottom: 0 !important;
    width: 5em;
    margin: 0 auto;
    border-bottom: 1px solid #ccc;
    letter-spacing: normal !important;
  }
  .xml-stock {
    padding-top: 0 !important;
  }
  .stnmm a {
    box-shadow: 0px 2px 5px #ccc;
  }

  .boat-list-wrap {
    width: 96%;
    height: auto;
    background-image: url(../img/header/mbg0.png);
    background-size: contain;
    margin: 0 auto 50px;
    padding: 40px 20px;
  }

  .search-wrap {
    width: 100%;
    padding: 0 1%;
  }
  .search-wrap .boat-filter-form {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
  }
  .boat-filter-row {
    margin-right: 0;
    flex: 1 1 calc((100% - 30px) / 3);
    min-width: 220px;
  }
  .boat-filter-row label {
    font-size: 14px;
    line-height: 1.8em;
    margin-right: 5px;
    display: block;
    margin-bottom: 4px;
  }

  .boat-filter-row button {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    background: #0384AD;
    color: #fff;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    width: 150px;
    margin: 5px 0 15px;
  }
  .boat-filter-row button:hover {
    background: #1BBBE2;
  }

  p.result-count {
    margin-bottom: 20px !important;
  }

  .boat-pagination {
    padding: 0 1%;
  }
  .pagination.cf a,
  .pagination.cf span {
    display: inline-block !important;
    width: auto !important;
  }
  .prev,
  .next {
    padding: 0 8px !important;
  }
}

/* ============================
   Tablet (600–768)
   ============================ */
@media screen and (min-width: 600px) and (max-width: 768px) {

  .selected-boat {
    width: 96%;
    height: auto;
    background-image: url(../img/header/mbg0.png);
    background-size: contain;
    margin: 0 auto 50px;
    padding: 0 20px 40px;
  }
  .selected-boat .ptbody {
    width: 100%;
    height: auto;
    display: block;
    margin: 50px auto 50px;
    text-align: center;
    padding: 15px 0;
    background-color: #0384AD;
    background-image: none;
    box-shadow: 0 1px 3px #777;
  }
  .selected-boat .ptbody h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 26px;
    font-weight: 200 !important;
    line-height: 30px;
    color: #fff;
    text-shadow: 0px 1px 5px #000;
    letter-spacing: normal !important;
    margin-bottom: 0 !important;
  }
  .selected-boat .ptbody p {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    color: #fff;
    text-shadow: 0px 1px 5px #000;
    margin-bottom: 0 !important;
    width: 5em;
    margin: 0 auto;
    border-bottom: 1px solid #ccc;
    letter-spacing: normal !important;
  }
  .xml-stock {
    padding-top: 0 !important;
  }
  .stnmm a {
    box-shadow: 0px 2px 5px #ccc;
  }

  .boat-list-wrap {
    width: 96%;
    height: auto;
    background-image: url(../img/header/mbg0.png);
    background-size: contain;
    margin: 0 auto 50px;
    padding: 40px 20px;
  }

  .search-wrap {
    width: 100%;
    padding: 0 1%;
  }
  .search-wrap .boat-filter-form {
    width: 100%;
    height: auto;
  }
  .boat-filter-row {
    margin-right: 0;
    flex: 1 1 calc((100% - 30px) / 3);
    min-width: 220px;
    margin-bottom: 10px;
  }
  .boat-filter-row label {
    font-size: 14px;
    line-height: 1.8em;
    margin-right: 5px;
    display: block;
    margin-bottom: 4px;
  }

  .boat-filter-row button {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    background: #0384AD;
    color: #fff;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    width: 150px;
    margin: 5px 0 15px;
  }
  .boat-filter-row button:hover {
    background: #1BBBE2;
  }

  p.result-count {
    margin-bottom: 20px !important;
  }

  .boat-pagination {
    padding: 0 1%;
  }
  .pagination.cf a,
  .pagination.cf span {
    display: inline-block !important;
    width: auto !important;
  }
  .prev,
  .next {
    padding: 0 8px !important;
  }
}

/* ============================
   Smartphone (〜599)
   ============================ */
@media screen and (max-width: 599px) {

  .selected-boat {
    width: 96%;
    height: auto;
    background-image: url(../img/header/mbg0.png);
    background-size: contain;
    margin: 0 auto 50px;
    padding: 0 20px 40px;
  }
  .selected-boat .ptbody {
    width: 100%;
    height: auto;
    display: block;
    margin: 50px auto 50px;
    text-align: center;
    padding: 15px 0;
    background-color: #0384AD;
    background-image: none;
    box-shadow: 0 1px 3px #777;
  }
  .selected-boat .ptbody h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 26px;
    font-weight: 200 !important;
    line-height: 30px;
    color: #fff;
    text-shadow: 0px 1px 5px #000;
    letter-spacing: normal !important;
    margin-bottom: 0 !important;
  }
  .selected-boat .ptbody p {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    color: #fff;
    text-shadow: 0px 1px 5px #000;
    margin-bottom: 0 !important;
    width: 5em;
    margin: 0 auto;
    border-bottom: 1px solid #ccc;
    letter-spacing: normal !important;
  }
  .xml-stock {
    padding-top: 0 !important;
  }
  .stnmm a {
    box-shadow: 0px 2px 5px #ccc;
  }

  .boat-list-wrap {
    width: 96%;
    height: auto;
    background-image: url(../img/header/mbg0.png);
    background-size: contain;
    margin: 0 auto 50px;
    padding: 40px 20px;
  }

  .search-wrap {
    width: 100%;
    padding: 0 1%;
  }
  .search-wrap .boat-filter-form {
    width: 100%;
    height: auto;
  }
  .boat-filter-row {
    margin-right: 0;
    flex: 1 1 calc((100% - 30px) / 3);
    min-width: 220px;
    margin-bottom: 10px;
  }
  .boat-filter-row label {
    font-size: 14px;
    line-height: 1.8em;
    margin-right: 5px;
    display: block;
    margin-bottom: 4px;
  }

  .boat-filter-row button {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    background: #0384AD;
    color: #fff;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    width: 150px;
    margin: 5px 0 15px;
  }
  .boat-filter-row button:hover {
    background: #1BBBE2;
  }

  p.result-count {
    margin-bottom: 20px !important;
  }

  .pagination {
    padding: 0 1% !important;
  }
  .pagination a,
  .pagination.cf span {
    display: inline-block !important;
    width: auto !important;
    font-size: 12px;
  }
  .prev,
  .next {
    padding: 0 8px !important;
  }
}
