#wrapper #contents {
  padding-top: 0;
  margin-right: 20px !important;
}

/*お知らせと近いためpading設置*/
@media screen and (min-width: 769px) {
  #wrapper #contents {
  padding-top: 30px;
  margin-right: 20px !important;
}
}

#main-column>section:first-of-type {
  margin: 0;
}

#main-column>section:first-of-type .header_area {
  display: none !important;
}

#header_area2 .sub_nav {
  margin-top: 0;
  border: none;
}

.cat_header {
  display: none !important;
}

.chuo_bnr {
  display: none !important;
}

#contents {
  padding-top: 20px;
  max-width: 1024px;
  margin: 0 !important;
}


#itemList_wrap {
  display: none !important;
}

#bread-crumb-listTop ol {
  display: flex;
  flex-wrap: wrap;
}

#bread-crumb-listTop ol li {
  margin-right: 5px;
}

#bread-crumb-listTop ol>li:not(:last-child)::after {
  content: " ›";
  /* 半角スペース＋矢印でちょうどよい感じ */
  color: #999;
  /* 矢印の色 */
}


h1 {
  font-size: 26px;
  font-weight: bold;
}

#wrapper section:not(:first-of-type) {
  margin-top: 50px;
}

#wrapper section:first-of-type,
#bread-crumb+section {
  margin-top: 30px;
}



h2 {
  border-bottom: 1px solid #ff6105;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

h3 {
  background-color: #000;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}

.bg-gray h3 {
  background-color: #000;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}

.bg-gray {
  background-color: #00000012;
  padding-top: 15px;
}

.bg-gray+.bg-gray {
  padding-bottom: 15px;
}

.model_container {
  padding-top: 15px;
}

.model_container+.model_container {
  padding-bottom: 15px;
}

.bg-gray>div {
  width: 95%;
  margin: 0 auto;
}

.model-lists {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 20px;
  column-gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.model-list {
  width: 100%;
}

.model-link {
  text-align: center;
  display: flex;
  justify-content: flex-start;
}

@media screen and (max-width: 768px) {
  .model-link {
    justify-content: normal;
  }
}

.model-img {
  height: auto;
  width: 30%;
}

.model-lists.material .model-img {
  width: 100%;
}

.model-ttl {
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.model-ttl-bold {
  font-weight: bold;
  margin-bottom: -10px;
}

.txt-gray {
  color: #939393;
}

.type {
  width: auto;
  float: unset;
  height: auto;
}

.type-lists {
  display: flex;
}

.type-lists .type-list {
  margin-right: 10px;
}

.type-lists .type-link {
  background-color: #000;
  border-radius: 10px;
  padding: 3px 5px 5px 5px;
  color: #fff;
}

section.search-results .attributes-freeword {
  display: flex;
  flex-direction: column;
}

section.search-results .attributes-freeword .attributes-word {
  width: auto;
}

section.search-results .attributes-freeword .attributes-word-input {
  display: flex;
  flex-direction: column;
  margin-left: 0;
}

section.search-results ._attributegroup {
  display: flex;
  flex-direction: column;
}

section.search-results ._attributegroup ._attributes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

section.search-results ._attributegroup ._attributes ._attribute {
  width: 49%;
  text-align: center;
  border: 1px solid #8e8e8e;
  background-color: #f3f3f3;
  border-radius: 5px;
}

section.search-results ._priceinput {
  display: flex;
  flex-direction: column;
}

section.search-results ._priceinput ._label {
  width: auto;
}

section.search-results ._attributegroup ._group,
section.search-results .attributes-word,
section.search-results ._priceinput ._label {
  border-left: 2px solid #ff6a00;
  padding-left: 5px;
  line-height: 1;
  margin-bottom: 5px;
}

/* =========================================
  ドロワー
========================================= */

/* =========================================
  ドロワー閉じるボタン（×アイコン）
========================================= */
.drawer-close-btn {
  position: absolute;
  top: 15px;
  /* 上からの位置 */
  right: 15px;
  /* 右からの位置 */
  width: 40px;
  /* クリックエリアの幅 */
  height: 40px;
  /* クリックエリアの高さ */
  cursor: pointer;
  z-index: 50;
  /* スクロール要素より上に表示 */
  display: block;
  background-color: #f9f9f9;
  /* 背景色（お好みで削除可） */
  border-radius: 50%;
  /* 丸くする */
  transition: background-color 0.2s;
}

.drawer-close-btn:hover {
  background-color: #eee;
}

/* ×印の線を描画 */
.drawer-close-btn::before,
.drawer-close-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  /* 線の長さ */
  height: 2px;
  /* 線の太さ */
  background-color: #333;
  /* 線の色 */
  transform-origin: center;
}

/* 1本目を45度回転 */
.drawer-close-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* 2本目を-45度回転 */
.drawer-close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* 閉じるボタンと被らないように、
  スクロールエリアの上部に余白を追加
*/
.drawer-scroll-area {
  /* padding-top: 60px !important; */
  /* ボタンの高さ分＋余白を確保 */
}

/* ------------------------
  1. ドロワーの基本動作
   ------------------------ */
.drawer-toggle {
  display: none;
}

.toggle-seach-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  margin: 10px 0;
}

section.search-results .drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 500px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 12px rgba(0, 0, 0, .25);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1001;
  padding: 0px 25px 20px;
  box-sizing: border-box;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 1000;
  display: block;
}

.drawer-toggle:checked~.drawer {
  transform: translateX(0);
}

.drawer-toggle:checked~.drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.no-scroll {
  overflow: hidden;
}


/* ------------------------
   2. 見出し・入力欄
------------------------ */
section.search-results ._attributegroup {
  width: auto !important;
}

section.search-results ._attributegroup ._group,
section.search-results .attributes-word,
section.search-results ._priceinput ._label,
.gsearch-accordion-label {
  border-left: none !important;
  padding-left: 15px !important;
  position: relative;
  font-weight: bold;
  font-size: 16px;
  color: #000;
  margin-top: 25px;
  margin-bottom: 12px;
  line-height: 1.4;
  background: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

section.search-results ._attributegroup ._group::before,
section.search-results .attributes-word::before,
section.search-results ._priceinput ._label::before,
.gsearch-accordion-label::before {
  content: "";
  display: block;
  width: 6px;
  height: 20px;
  background-color: #ff6a00;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.gsearch-accordion-content ._group,
.gsearch-accordion-content .attributes-word,
.gsearch-accordion-content ._priceinput ._label {
  display: none !important;
}

section.search-results .attributes-freeword .attributes-word-input input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
  background-color: #f9f9f9;
}


/* ------------------------
   3. 選択ボタン（文字位置・クリック範囲の修正箇所）
   ------------------------ */
section.search-results ._attributegroup ._attributes {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

/* ボタンの枠（外箱） */
section.search-results ._attributegroup ._attributes ._attribute {
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 4px;
  text-align: center;
  transition: all 0.2s ease;
  font-size: 13px;
  color: #333;
  box-sizing: border-box;
  float: none !important;
  position: relative !important;

  /* 枠自体のpaddingを削除 */
  padding: 0 !important;
  /* Flexboxで中身のラベルを引き伸ばす */
  display: flex !important;
  align-items: stretch !important;
  min-height: 44px;
  /* 最低限の高さを確保 */
}

/* ★修正点：ラベル（文字）の設定 */
.drawer ._attribute label {
  display: flex !important;
  justify-content: center;
  /* 左右中央 */
  align-items: center;
  /* 上下中央 */
  width: 100% !important;
  height: auto !important;
  /* 高さは自動（paddingに従う） */
  margin: 0 !important;
  /* 上下の余白を均等に入れることで、文字を確実に中央にします */
  padding: 12px 5px !important;
  cursor: pointer !important;
  line-height: 1.2 !important;
  /* 行間をリセットしてズレを防ぐ */
  box-sizing: border-box !important;
}

/* 透明なチェックボックス（クリック判定用） */
.drawer ._attribute input[type="checkbox"],
.drawer ._attribute input {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  z-index: 999 !important;
  display: block !important;
  cursor: pointer !important;
}

/* 選択時のデザイン */
.drawer ._attribute:has(input:checked) {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

.drawer ._attribute:has(input:checked) span,
.drawer ._attribute:has(input:checked) label {
  color: #fff !important;
}


/* ------------------------
   4. アコーディオン機能
   ------------------------ */
.gsearch-accordion-checkbox {
  display: none;
}

.gsearch-accordion-content {
  display: none;
  padding-top: 0;
}

.gsearch-accordion-checkbox:checked+.gsearch-accordion-label+.gsearch-accordion-content {
  display: block !important;
}

.gsearch-accordion-content ._attributes {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gsearch-accordion-icon {
  background: none !important;
  border: none !important;
  width: 20px !important;
  height: 20px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gsearch-accordion-icon::before {
  content: none !important;
  display: none !important;
}

.gsearch-accordion-icon::after {
  content: '+';
  font-weight: bold;
  font-size: 18px;
  color: #ff6a00;
  line-height: 1;
}

.gsearch-accordion-checkbox:checked+.gsearch-accordion-label .gsearch-accordion-icon::after {
  content: '-';
  color: #ff6a00;
}

.gsearch-accordion-item {
  border-bottom: 1px solid #eee;
}


/* ------------------------
   5. 下部ボタンエリア
   ------------------------ */
.drawer-footer {
  background-color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 50px;
  padding-bottom: 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.drawer-footer button,
.drawer-footer .btn-reset,
.drawer-footer .btn-apply {
  /* flex: 1; */
  padding: 15px 0;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
}

.drawer-footer ._popfind_component,
.drawer-footer .btn-apply {
  width: 50%;
}

.drawer-footer ._popfind_component ._reset button {
  width: 100%;
}

.btn-reset {
  background-color: #333;
  color: #fff;
}

.btn-apply {
  background-color: #ff6a00;
  color: #fff;
}

/* =========================================
   並び替え・絞り込みボタンのレイアウト
   ========================================= */

.search-controls {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
  width: 100%;
}

.search-controls .sort-selector-wrap {
  flex-grow: 0;
  width: auto;
}

/* システム(popfind)が出力するselectタグへのスタイル */
.search-controls select {
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 40px;
  /* ボタンと同じ高さ */
  box-sizing: border-box;
  width: 250px;
  /* ★ここで幅を決めています（お好みで調整してください） */
  max-width: 100%;
  /* スマホ等で画面からはみ出さないように */
  font-size: 14px;
  cursor: pointer;
}

.search-results ._sortorderselector {
  margin: 0 !important;
}

/* 絞り込みボタンのデザイン */
.toggle-seach-btn {
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 80px;
  height: 40px;
  background: #333;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  margin: 0 !important;
  white-space: nowrap;
}

.search-controls .toggle-seach-btn span {
  padding-right: 5px;
}

/* ボタン内のアイコン（三本線風） */
.filter-icon {
  display: inline-block;
  width: 16px;
  height: 12px;
  position: relative;
  margin-right: 8px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.filter-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  margin-top: -1px;
}

/* =========================================
  ランキング
   ========================================= */

#contents #main-column .ranking {
  width: 100%;
}

#contents #main-column .ranking h2 {
  border-bottom: 1px solid #ff6105 !important;
  font-size: 20px !important;
  margin-bottom: 20px !important;
  color: #000 !important;
  margin: 0 !important;
  padding: 0 !important;
}

div[id^="fsrecommenddiv"] #ban-all {
  width: 100% !important;
}

div[id^="fsrecommenddiv"] #ban-all .title_bar {
  display: none;
}

div[id^="fsrecommenddiv"] #ban-all .title_bar+div {
  width: 100% !important;
}

/* =========================================
   ローンシミュレーション
   ========================================= */
section.loan-simulation {
  margin-top: 50px;
}

.bg-lightgray {
  background-color: #f5f5f5;
  padding: 30px;
}

.loan-container {
  width: 100%;
  border: 1px solid #000;
  box-sizing: border-box;
}

/* --- タブ部分のスタイル変更 --- */
.loan-tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #000;
}

.loan-tab {
  flex: 1;
  text-align: center;
  cursor: pointer;

  /* ▼ 通常時（非アクティブ）のデザイン */
  background-color: #f5f5f5;
  /* 薄いグレー */
  color: #333;
  /* 文字色は黒 */

  border-right: 1px solid #000;
  position: relative;
  transition: all 0.2s;
  /* 色の変化をアニメーション */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
}

.loan-tab:last-child {
  border-right: none;
}

/* ▼ 選択時（アクティブ）のデザイン：ここを「黒背景」にします */
.loan-tab.active {
  background-color: #222;
  /* 黒背景 */
  color: #fff;
  /* 文字色は白 */
}

/* タブ内のレイアウト */
.loan-tab .tab-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loan-tab .tab-text {
  font-size: 16px;
  font-weight: bold;
  color: inherit;
  /* 親要素の色を引き継ぐ */
}

/* --- バッジ（店舗限定・EC限定など）の色制御 --- */
.loan-tab .badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 5px;
  font-weight: bold;
  line-height: 1.2;
}

/* 1. 通常時（背景が白/グレーの時）のバッジ色 */
.loan-tab .badge {
  background-color: #000;
  /* 通常バッジは黒背景 */
  color: #fff;
}

.loan-tab .badge.gray {
  background-color: #777;
  /* EC限定バッジはグレー背景 */
  color: #fff;
}

/* 2. 選択時（背景が黒の時）のバッジ色 */
/* バッジを反転させて白く目立たせます */
.loan-tab.active .badge {
  background-color: #fff;
  /* 白背景 */
  color: #000;
  /* 黒文字 */
}

/* 選択時はグレーバッジも白くして統一感を出す（お好みで調整可） */
.loan-tab.active .badge.gray {
  background-color: #fff;
  color: #777;
}

/* --- コンテンツエリア（変更なし） --- */
.loan-content-wrapper {
  padding: 40px 20px 20px;
  background-color: #fff;
}

.loan-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.loan-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loan-items {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
  margin-bottom: 20px;
}

.loan-item {
  width: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loan-img-box {
  width: 100%;
  max-width: 200px;
  margin-bottom: 15px;
}

.loan-img-box img {
  width: 100%;
  height: auto;
}

.loan-item-name {
  color: #0088cc !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 15px;
  display: block;
}

.loan-item-name:hover {
  text-decoration: underline;
}

.loan-details p {
  margin: 5px 0;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  font-weight: bold;
  text-align: left;
}

.loan-details p:first-child {
  font-size: 16px;
}

.loan-details .monthly-payment {
  font-size: 16px;
  margin-top: 10px;
}

.loan-details .monthly-payment span {
  color: #ff0000;
  font-size: 24px;
  font-weight: bold;
}

/* ボタンを囲むエリア（横並び・中央寄せ） */
.loan-btn-area {
  display: flex;
  justify-content: center;
  gap: 15px;
  /* ボタン間の隙間 */
  margin-top: 30px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  /* 画面幅が狭い場合に折り返す */
}

/* ボタン自体のデザイン */
.loan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #222;
  color: #fff;
  padding: 12px 20px;
  /* 上下 左右の余白 */
  border-radius: 50px;
  /* 丸みを強くする */
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  transition: opacity 0.2s;
  white-space: nowrap;
  /* 文字の折り返し禁止 */
  color: #fff !important;
}

.loan-btn:hover {
  opacity: 0.8;
}

.loan-footer-link {
  text-align: right;
  margin-top: 20px;
}

.loan-footer-link a {
  color: #0088cc;
  font-size: 12px;
  text-decoration: none;
}

.loan-footer-link a:hover {
  text-decoration: underline;
}

/* ========================= */
/* ロレックスとは */
/* ========================= */

.about-container {
  /* display: flex; */
  /* justify-content: space-between; */
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .about-container {
    display: block;
  }
}

.about-img {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-right: 30px;
}

.about-img img {
  width: 100%;
  height: auto;
  /* transform: scale(1.55);
  transform-origin: center 100px; */
  display: block;
}

.about-container .about-img img {
  /* transform: scale(1.2);
  transform-origin: center 292px; */
}

@media screen and (max-width: 768px) {

  .about-container .about-img img {
    /* transform: scale(1.2);
    transform-origin: center 260px; */
  }
}

.about-contents {
  width: 100%;
}

.about-container .about-contents {
  /* margin-left: 30px; */
}

@media screen and (max-width: 768px) {
  .about-container .about-contents {
    margin: 0px;
  }
}

.about-content {
  margin-top: 20px;
  font-size: 14px;
}

/* タブコンテナ枠 */
.about-tab-container {
  width: 100%;
  border: 1px solid #000;
  box-sizing: border-box;
  margin-top: 40px;
  /* 上のコンテンツとの間隔 */
  background: #fff;
}

/* タブメニュー（リスト） */
.about-tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #000;
}

/* 各タブのデザイン */
.about-tab {
  flex: 1;
  text-align: center;
  cursor: pointer;
  background-color: #fff;
  /* 基本は白 */
  color: #333;
  /* 文字は黒 */
  border-right: 1px solid #000;
  padding: 20px 10px;
  /* 余白調整 */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.about-tab:last-child {
  border-right: none;
}

/* アクティブ（選択中）のタブ */
.about-tab.active {
  background-color: #222;
  /* 黒背景 */
  color: #fff;
  /* 白文字 */
}

.about-tab .tab-text {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
}

/* コンテンツエリア */
.about-content-wrapper {
  padding: 30px;
  background-color: #fff;
}

/* 各パネル（テキスト部分） */
.about-panel {
  display: none;
  /* 初期は非表示 */
  animation: fadeIn 0.3s ease;
}

.about-panel.active {
  display: block;
  /* アクティブ時のみ表示 */
}

.about-panel p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin: 0;
  text-align: justify;
  /* 両端揃えで見栄え良く */
}

@media screen and (max-width: 768px) {
  .about-panel p {
    font-size: 13px;
    padding: 10px;
  }
}

/* スマホ対応（必要であれば） */
@media screen and (max-width: 768px) {
  .about-tabs {
    flex-direction: column;
  }

  .about-tab {
    border-right: none;
    border-bottom: 1px solid #000;
  }

  .about-tab:last-child {
    border-bottom: none;
  }
}

/* ========================= */
/* マガジン */
/* ========================= */
.magazineArea .swiperContainer {
  background-color: #f5f5f5;
  position: relative;
  padding: 26px 40px 0;
}

.magazineArea img {
  width: 100%;
  object-fit: contain;
  height: auto;
}

.magazineArea .viewAll {
  background-color: #f5f5f5;
  display: block;
  text-align: right;
  padding-right: 10px;
}

.swiper-button-prev::after {
  background-image: url(https://www.rasin.co.jp/images/item-page/arrow-slider-left.png);
  content: '' !important;
}

.swiper-button-next::after {
  background-image: url(https://www.rasin.co.jp/images/item-page/arrow-slider-right.png);
  content: '' !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 50px;
  margin: auto;
  width: 50px;
}

.search-title.top_blog_title {
  line-height: 1.2;
}

.blog_date {
  margin: 0 !important;
  display: none;
}

/* =========================================
  レビューエリア（お客様の声）
========================================= */
.reviewArea {
  margin-top: 50px;
  margin-bottom: 50px;
}

.js-dn {
  display: none !important;
  /* レビューが0の場合は非表示 */
}

@media screen and (max-width: 768px) {
  .reviewArea {
    margin-bottom: 30px !important;
  }
}

.reviewArea li .img_left {
  margin-bottom: 15px;
}

.reviewArea li .img_left img {
  height: 170px;
  object-fit: cover;
  width: 100% !important;
}

@media screen and (max-width: 768px) {
  #cv_post_top {
    margin-bottom: 20px;
  }
}

li.post {
  min-width: 200px !important;
}

@media screen and (max-width: 768px) {
  li.post {
    min-width: 135px !important;
  }
}

.reviewArea .post-title {
  background-color: transparent;
  line-height: 1.2;
  margin-bottom: 0px;
  margin-top: -5px;
}

.reviewArea .post-title+p {
  margin-bottom: 7px;
  line-height: 1.2;
}

.reviewArea .review_score {
  margin-bottom: 15px;
}

.reviewArea .review_score p {
  display: flex;
  font-size: 15px;
  font-weight: bold;
  justify-content: space-between;
  margin: 0 !important;
}

@media screen and (max-width: 768px) {
  .reviewArea .review_score p {
    font-size: 12px;
    margin: 0 !important;
  }
}

/* .reviewArea .review_score p:not(:last-child) {
  margin-bottom: 7px;
} */

.reviewArea .review_score p:last-child {
  color: #ff6105;
}

.reviewArea .review_score span {
  color: #e5c102;
}

.reviewArea .review_iken {
  font-size: 15px;
  height: 150px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .reviewArea .review_iken {
    height: auto;
  }
}

.reviewArea .review_more {
  bottom: 8px;
  position: absolute;
  right: 17px;
}

@media screen and (max-width: 768px) {
  .reviewArea .review_more {
    bottom: -17px;
  }
}

.reviewArea .review_more::after {
  border-right: solid 2px;
  border-top: solid 2px;
  color: #707070;
  content: '';
  display: block;
  height: 5px;
  position: absolute;
  right: -12px;
  top: calc(50% - 0px);
  transform: rotate(45deg) translateY(-50%);
  width: 5px;
}

.reviewArea .review_more a {
  color: #707070 !important;
  font-size: 12px;
}

/* 矢印ボタンの調整 */
.swiper-button-next-review,
.swiper-button-prev-review {
  color: #333;
  /* 矢印の色 */
  width: 40px;
  height: 40px;
}

.swiper-button-next-review:after,
.swiper-button-prev-review:after {
  font-size: 20px;
  font-weight: bold;
}

/* すべて見るリンク */
.reviewArea .viewAll {
  display: block;
  text-align: right;
  margin-top: 10px;
  font-size: 14px;
  color: #0088cc;
  text-decoration: none;
}

/* ==================================================================
履歴から探す
==================================================================*/

.itemLogArea {
  margin-bottom: 50px;
  min-height: 400px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .itemLogArea {
    min-height: 340px;
  }
}

.itemLogArea [fsid='fsrecommenddiv16'] li img {
  height: 170px;
  object-fit: cover;
  width: 100% !important;
}

.itemLogArea .price.mp_item_item5 {
  color: red;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
}

.itemLogArea .itemLog .li_r div {
  height: 78px;
}

@media screen and (max-width: 768px) {
  .itemLogArea .itemLog .li_r div {
    height: auto;
  }
}

/* =========================================
  中古腕時計はなぜ高い評価を得ているのか
   ========================================= */
.about-used-container .about-used-img {
  width: 80%;
  margin-top: -30px;
}

.about-used-container .about-used-img img {
  width: 100%;
  object-fit: contain;
  margin-top: -50px;
}

.about-used-container .about-used-content {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
  margin-top: -60px;
}


/* =========================================
  スマホ対応
  max-width: 768px
   ========================================= */

/* =========================================
：全体の調整
   ========================================= */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  h2,
  #contents #main-column .ranking h2 {
    font-size: 18px;
    padding-bottom: 3px !important;
  }

  #main-column {
    margin: 0 auto;
    width: 95%;
  }

  #header+.header2 {
    padding: 0 !important;
  }

  #contents .header_area section {
    margin-bottom: 20px;
  }
}

/* =========================================
：モデルから探すエリア
========================================= */
@media screen and (max-width: 768px) {

  /* 黒帯の見出し（スポーツモデルなど）の調整 */
  .bg-gray h3 {
    font-size: 13px;
    /* 文字サイズを小さく */
    padding: 10px 5px;
    /* 上下の余白を確保 */
    line-height: 1.4;
    /* 行間を広げて読みやすく */
  }

  /* リストのグリッド設定：5列から2列へ変更 */
  .model-lists {
    grid-template-columns: repeat(2, 1fr);
    /* 2列にする */
    column-gap: 10px;
    /* 横の隙間 */
    row-gap: 15px;
    /* 縦の隙間 */
  }

  /* モデル名（テキスト）の調整 */
  .model-ttl {
    font-size: 12px;
    /* スマホ用に文字を小さく */
    margin-left: 5px;
  }

  /* 背景グレーエリアの微調整 */
  .bg-gray {
    padding-bottom: 15px;
    /* 下部に余白を追加 */
  }

  /* コンテンツ幅を少し広げて画面を有効活用 */
  .bg-gray>div {
    width: 96%;
  }
}

/* =========================================
：モデルから探すエリア
========================================= */
@media screen and (max-width: 768px) {

  /* リストのコンテナ設定 */
  .type-lists {
    flex-wrap: wrap;
    /* 画面端で折り返す設定 */
    gap: 10px;
    /* ボタン同士の縦横の隙間 */
  }

  /* 各リストアイテムの設定 */
  .type-lists .type-list {
    margin-right: 0;
    /* PC用の右余白をリセット */
    width: auto;
    /* 幅を中身に合わせる */
  }

  /* 黒いボタンのデザイン調整 */
  .type-lists .type-link {
    display: inline-block;
    /* パディングを正しく効かせる */
    padding: 5px 5px;
    /* 指で押しやすいよう余白を広げる */
    font-size: 13px;
    /* 文字サイズ調整 */
    border-radius: 50px;
    /* 画像のようなカプセル型の丸みに変更 */
    white-space: nowrap;
    /* 文字がボタン内で改行されないようにする */
    line-height: 1;
    /* 高さのズレ防止 */
  }
}

/* =========================================
：絞り込みエリア
========================================= */

@media screen and (max-width: 768px) {
  .search-controls select {
    width: 150px;
    padding: 0;
  }

  .toggle-seach-btn {
    padding: 0 5px;
  }

  section.search-results .drawer {
    top: 60px;
    max-width: 95vw;
    padding: 0px 5px 20px;
  }

  /* =========================================
  ドロワー内の表示崩れ修正
   ========================================= */

  /* 1. ボタン内の文字が見切れる問題を解消 */
  /* ボタンの高さを固定せず、文字数に合わせて伸びるようにする */
  section.search-results ._attributegroup ._attributes ._attribute {
    height: auto !important;
    /* 高さを自動調整 */
    min-height: 44px;
    /* 最低限の高さを確保 */
    align-items: stretch !important;
    /* 中身の高さを揃える */
  }

  section.search-results ._attributegroup ._attributes {
    gap: 5px;
  }

  /* ラベル（文字部分）のスタイル調整 */
  .drawer ._attribute label {
    white-space: normal !important;
    /* 文字の折り返しを許可 */
    line-height: 1.3 !important;
    /* 行間を少し広げる */
    padding: 8px 4px !important;
    /* パディングを微調整 */
    word-break: break-all;
    /* 必要なら単語の途中でも改行 */
    overflow-wrap: break-word;
    /* 長い単語を折り返す */
    /* Flexboxで上下左右中央寄せ */
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  /* =========================================
  フッターボタンの固定
   ========================================= */
  /* 1. ドロワー本体：Flexboxにしてスクロール制御を変更 */
  section.search-results .drawer {
    display: flex !important;
    /* Flexbox有効化 */
    flex-direction: column;
    /* 縦並び */
    overflow-y: hidden !important;
    /* ドロワー全体のスクロールは無効化 */
    padding: 0 !important;
    /* パディングは内部へ移動 */
    height: 100vh;
    /* 画面いっぱいの高さ */
    /* top, right, width などの位置指定は既存のままでOK */
  }

  /* 2. ★新設：スクロールエリア（検索条件部分） */
  /* このエリアだけがスクロールするようにします */
  .drawer-scroll-area {
    flex: 1;
    /* 余った高さを全て使う */
    overflow-y: auto;
    /* この中だけでスクロール */
    padding: 0px 5px 20px;
    /* 元のdrawerにあったpaddingをここに適用 */
    -webkit-overflow-scrolling: touch;
    /* スマホでの慣性スクロール */
    overflow-x: hidden;
    /* 横スクロール禁止 */
  }

  /* 3. フッター（ボタンエリア）の固定設定 */
  .drawer-footer {
    flex-shrink: 0;
    /* 縮小しないように固定 */
    width: 100%;
    margin: 0 0 50px !important;
    padding: 50px 25px 0px;

    /* iPhoneのホームバー対策（画面下の黒いバーに被らないようにする） */
    padding-bottom: calc(15px + env(safe-area-inset-bottom));

    background-color: #fff;
    /* コンテンツが透けないように白背景 */
    border-top: 1px solid #eee;
    /* 上に境界線を入れる */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    /* 少し影をつけて浮いている感を出す */
    box-sizing: border-box;
    z-index: 20;

    /* ボタンを横並びにするための設定 */
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* ボタン幅の調整（50%ずつ） */
  .drawer-footer ._popfind_component,
  .drawer-footer .btn-apply {
    width: 50%;
    margin: 0;
  }

  /* ボタン自体の高さ調整 */
  .drawer-footer ._popfind_component ._reset button,
  .drawer-footer .btn-apply {
    width: 100%;
    height: 50px;
    /* 高さを統一 */
    padding: 0 20px;
    /* 余計なパディング削除 */
    display: flex;
    /* Flexboxで文字を上下中央寄せ */
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    box-sizing: border-box;
  }
}

/* =========================================
  ランキング
   ========================================= */
@media screen and (max-width: 768px) {
  #main-column .ranking {
    margin: 30px 0 10px;
  }
}

/* =========================================
：ローンエリア
========================================= */
@media screen and (max-width: 768px) {
  .bg-lightgray {
    padding: 0px;
  }

  .loan-content-wrapper {
    background-color: #f5f5f5;
    padding: 40px 0px 20px;
  }

  .loan-container {
    border: none;
  }

  .loan-tabs {
    border: 1px solid #000;
  }

  .loan-img-box {
    max-width: 150px;
  }

  .loan-item-name {
    font-size: 14px;
    text-align: left;
  }

  .loan-item {
    width: 50%;
  }

  .loan-items {
    gap: 15px;
  }

  .loan-details p,
  .loan-details p:first-child,
  .loan-details .monthly-payment {
    font-size: 13px;
  }

  .loan-details .monthly-payment span {
    font-size: 16px;
  }

  .loan-btn {
    padding: 5px 20px;
  }

}

/* =========================================
Aboutエリア
========================================= */
@media screen and (max-width: 768px) {

  /* コンテナを縦積みに変更 */
  .about-container {
    display: block;
    /* Flexboxを解除して縦並びにする */
  }

  /* 画像エリアの設定 */
  .about-img {
    width: 100%;
    /* 横幅いっぱいにする */
    margin-bottom: 20px;
    /* テキストとの間に余白を空ける */
    margin-right: 0;
  }

  /* 画像自体の設定 */
  .about-img img {
    transform: none;
    /* PC用の拡大設定(scale 1.55)を解除 */
    width: 100%;
    /* 画面幅に合わせて表示 */
    height: auto;
  }

  /* テキストエリアの設定 */
  .about-contents {
    width: 100%;
    /* 横幅いっぱいにする */
  }

  /* 段落ごとの余白調整 */
  .about-content {
    margin-top: 15px;
    font-size: 13px;
    /* スマホ用に少し文字を小さく調整 */
    line-height: 1.6;
    text-align: left;
    /* 必要であれば左揃え（元はjustify） */
  }
}

/* =========================================
About（タブメニュー）
========================================= */
@media screen and (max-width: 768px) {

  /* タブのリスト（ul）を横並びに戻す */
  .about-tabs {
    flex-direction: row;
    /* 横並びにする */
    flex-wrap: nowrap;
    /* 折り返さない */
    border-bottom: 1px solid #000;
    /* 下線を表示 */
  }

  /* 各タブ（li）のスタイル調整 */
  .about-tab {
    flex: 1;
    /* 3等分して均等な幅にする */
    width: auto;
    /* 幅指定を解除 */
    border-right: 1px solid #000;
    /* 右側の区切り線を復活 */
    border-bottom: none;
    /* 下線は親要素に任せる */
    padding: 10px 2px;
    /* 横の余白を極力小さくして文字を入れる */
    height: auto;
    /* 高さをなりゆきに */
    align-items: stretch;
    /* 高さを揃える */
  }

  /* 最後のタブだけ右線を消す */
  .about-tab:last-child {
    border-right: none;
  }

  /* タブ内の文字サイズ調整（重要） */
  .about-tab .tab-text {
    font-size: 12px;
    /* 3つ並べるために文字を小さくする */
    line-height: 1.3;
    /* 行間を詰める */
    display: block;
    /* ブロック要素にして.. */
    width: 100%;
    /* 幅いっぱいに */
    word-break: break-all;
    /* 必要なら単語の途中でも改行させる */
  }

  /* コンテンツエリアの余白 */
  .about-content-wrapper {
    padding: 0px !important;
  }
}

/* =========================================
:マガジンエリア
========================================= */
.search-title.top_blog_title {
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .magazineArea .swiperContainer {
    padding: 20px;
  }
}

/* =========================================
:レビューエリア
========================================= */
@media screen and (max-width: 768px) {
  .reviewArea h2+div {
    padding: 0 20px !important;
  }
}

/* =========================================
  中古腕時計はなぜ高い評価を得ているのか
   ========================================= */
@media screen and (max-width: 768px) {
  .about-used-container .about-used-img {
    width: 100%;
    margin-top: -30px;
  }

  .about-used-container .about-used-img img {
    margin-top: 0px;
  }

  .about-used-container .about-used-content {
    margin-top: -30px;
  }
}

/* =========================================
  フッター
   ========================================= */
.slider_kaitorishop .splide__track h3 {
  background-color: transparent;
  color: #000;
}

#footer .shop-info-wrap .main_title {
  border: none;
}

.footer-wrap-all .footer-wrap1 ul li h3 {
  background-color: #282828;
}

@media screen and (max-width: 768px) {

  footer,
  .footer-wrap-all .footer-wrap1 {
    padding: 0 !important;
  }

  #wrapper section:first-of-type,
  #bread-crumb+section {
    margin-top: 0px !important;
  }
}

/* =========================================
  ヘッダーのジーニーサーチ
   ========================================= */
@media screen and (max-width: 768px) {
  .sp_only .gsearch-header {
    position: fixed;
  }
}

/* =========================================
  ヘッダーグローバルボタン
   ========================================= */
@media screen and (max-width: 768px) {
  .global_btn {
    margin: 60px 0 0;
  }
}

/* =========================================
  ヘッダーパンくず
   ========================================= */
@media screen and (max-width: 768px) {
  #main-column #bread-crumb {
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 768px) {
  ._popfind_component ._searchresults>._items {
    display: flex !important;
    flex-wrap: wrap;
  }

  ._popfind_component ._searchresults>._items>._item {
    display: block !important;
  }
}

/* =========================================
  ハンバーガーメニュー
   ========================================= */
@media screen and (max-width: 768px) {
  #hamburger_name {
    width: 32px;
    font-size: 10px;
  }
}

/* =========================================
  商品一覧(ショップサーブ純正)
========================================= */

#itemList_wrap {
  display: block !important;
}

#category_page_html_js_insert #itemList_wrap {
  display: block !important;
}

#itemList_wrap #itemList .itemlist_title {
  border: none;
}

#itemList_wrap #itemList .item_title {
  background-color: transparent;
}

#itemList_wrap #itemList .column4 {
  margin-top: 0 !important;
  margin-top: 0 !important;
  min-height: unset !important;
}

#itemList_wrap #pager-top .quantity .sortBtn {
  margin-left: 10px;
}

#itemList_wrap #pager-top .quantity .sortBtn a {
  display: block;
  padding: 5px;
}

#itemList_wrap>form+section {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  #itemList_wrap #itemList .itemlist_title {
    margin-top: 20px;
  }

  #itemList_wrap #itemList .column-set {
    border: none;
  }

  #itemList_wrap #itemList .column4 .sps-wishAddItem img {
    width: 100%;
  }

  /* セールバッジ */
  #itemList .column-set img {
    object-fit: contain;
  }
}

