@charset "UTF-8";
/* =========================================================
   中古物件ページ 専用スタイル
   （archive-used_house.php／single-used_house.php）

   参照デザイン
     一覧（PC） … design/used_house_ichiran.jpg
     詳細（PC） … design/used_house_detail.jpg
     詳細（SP） … design/chintai_detail_SP.jpg
                  ※ スマホ表示は賃貸詳細と完全に共通の仕様
                    （サムネイル3枚見せ・図面はスライダーの下・余白も同値）

   ※ functions.php が assets/css/ 内のCSSを自動で読み込みます
   ※ style.css（共通）のあとに読み込まれます
   ※ ページタイトル帯・パンくずは style.css の
     全ページ共通パーツ（.page-hero / .breadcrumb）を使用しています
   ※ 他のカスタム投稿と干渉しないよう、クラス名はすべて
     「used-」接頭辞でコンポーネント化しています
========================================================= */

.l-used-house {
  --used-dark: #2c2c2c;         /* バッジ・ボタンの黒 */
  --used-stripe: #f7f7f7;       /* 概要表の偶数行 */
  --used-dot: #c9c9c9;          /* 概要表の点線 */
  --used-line: #cecece;         /* 見出し下の罫線 */
  --used-rule: #8e8e8e;         /* 「一覧へ戻る」の罫線 */
  --used-track: #d3d3d3;        /* スライダーのバー（下地） */
  --used-blue: #007cc2;         /* アクセントの青（style.css と同色） */
  --used-frame: #282828;        /* 間取り図の枠線 */

  /* 画像を収めるときの余白色（縦位置・正方形写真の左右に入る色） */
  --used-fit-bg: #f4f4f4;
}

/* 共通インナー（style.css の --container: 1200px に合わせる） */
.used-intro__inner,
.used-filter__inner,
.used-list__inner,
.used-cta__inner,
.used-detail__inner {
  max-width: calc(var(--container) + 40px);
  margin: 0 auto;
  padding: 0 20px;
}


/* =========================================================
   1. 一覧：リード（メインビジュアル ＋ リード文）

   画像は archive-used_house.php の <picture> で出し分けています。
   PC：used_house_mv_pc.jpg ／ SP（〜767px）：used_house_mv_sp.jpg
   キャッチコピーは画像に入っています。
========================================================= */
.used-intro {
  margin-top: 48px;
}

.used-intro__visual {
  margin: 0;
  line-height: 0; /* 画像下のすき間を消す */
}

.used-intro__img {
  display: block;
  width: 100%;
  height: auto;
}

.used-intro__lead {
  margin-top: 36px;
  font-size: 1.7rem;
  line-height: 1.9;
  letter-spacing: .06em;
  text-align: center;
}


/* =========================================================
   2. 一覧：エリア絞り込みタブ
========================================================= */
.used-filter {
  margin-top: 54px;
}

.used-filter__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 48px;
  row-gap: 16px;
}

.used-filter__link {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .04em;
}

/* 選択中のタブに下線を引く */
.used-filter__link--current::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background-color: #8c8c8c;
}

.used-filter__link:hover {
  color: var(--used-blue);
}


/* =========================================================
   3. 一覧：物件カード（PC3カラム）
========================================================= */
.used-list {
  margin-top: 40px;
  padding-bottom: 46px;
}

.used-list__grid {
  display: grid;
  /* 1fr だけだと「中身の最小幅」まで列が広がるため minmax(0, 1fr) で均等幅に固定 */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 26px;
  row-gap: 56px;
}

.used-card {
  min-width: 0;
}

.used-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* --- 写真 --- */
.used-card__media {
  display: block; /* a タグにしたため、aspect-ratio を効かせるには block が必要 */
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--used-fit-bg);
}

.used-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .6s ease;
}

.used-card__body:hover .used-card__img {
  transform: scale(1.04);
}

/* 画像が未登録のとき */
.used-card__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #b5b5b5;
  font-family: var(--font-sans);
  font-size: 1.3rem;
  letter-spacing: .1em;
}

/* --- 種目バッジ --- */
.used-card__badge {
  align-self: flex-start;
  margin-top: 14px;
  padding: 3px 14px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .04em;
  background-color: var(--used-dark);
}

/* --- 物件名 --- */
.used-card__title {
  margin-top: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--used-line);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
}

.used-card__title-link:hover {
  color: var(--used-blue);
  opacity: 1;
}

/* --- 主要スペック（所在地・交通・価格・間取） --- */
.used-card__spec {
  margin-top: 12px;
  font-size: 1.4rem;
  line-height: 1.7;
  letter-spacing: .04em;
}

.used-card__spec-row {
  display: flex;
  align-items: baseline;
  padding: 5px 0;
  background-image: repeating-linear-gradient(to right, var(--used-dot) 0 2px, transparent 2px 7px);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 1px;
}

.used-card__spec-label {
  flex: 0 0 auto;
  width: 5.2em;
  color: #6b6b6b;
}

.used-card__spec-data {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- 詳細を見るボタン（カード下部に揃える） --- */
.used-card__cv {
  margin-top: auto;
  padding-top: 18px;
}

/* 物件が無いとき */
.used-list__empty {
  padding: 60px 0;
  font-size: 1.6rem;
  text-align: center;
}


/* =========================================================
   4. 一覧：ページ送り
========================================================= */
.used-pager {
  margin-top: 61px;
}

.used-pager__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.used-pager__item .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 33px;
  height: 33px;
  padding: 0 4px;
  border-radius: 50%;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.used-pager__item .page-numbers.current {
  color: #fff;
  background-color: var(--used-dark);
}

.used-pager__item a.page-numbers:hover {
  color: var(--used-blue);
  opacity: 1;
}


/* =========================================================
   5. 一覧：お問い合わせ誘導バナー

   背景写真
     PC：assets/images/used_house/used_gokibou_pc.jpg（1200 × 318）
     SP：assets/images/used_house/used_gokibou_sp.jpg（1000 × 1097）
   ※ 写真の下側に家具が写っているため、PCは下基準で切り抜きます
========================================================= */
.used-cta {
  padding-bottom: 86px;
}

.used-cta__box {
  display: flex;
  align-items: center;
  aspect-ratio: 1200 / 269;
  min-height: 200px;
  padding: 0 46px;
  background-color: #efeeec;
  background-image:
    url("../images/used_house/used_gokibou_pc.jpg"),
    linear-gradient(to right, #fbfbfa 0%, #f3f2f0 58%, #e8e6e2 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom, center center;
  background-size: cover, 100% 100%;
}

.used-cta__body {
  max-width: 660px;
}

.used-cta__title {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
}

.used-cta__text {
  margin-top: 14px;
  font-size: 1.4rem;
  line-height: 1.9;
  letter-spacing: .04em;
}

.used-cta__action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
}

.used-cta__tel {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  line-height: 1;
}

.used-cta__tel-label {
  font-size: 1.8rem;
  letter-spacing: .06em;
}

.used-cta__tel-num {
  font-size: 3.2rem;
  letter-spacing: .04em;
}

.used-cta__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 266px;
  min-height: 44px;
  padding: 8px 16px;
  color: #fff;
  background-color: var(--used-blue);
}

.used-cta__btn:hover {
  color: #fff;
}

.used-cta__btn-label {
  position: relative;
  padding-left: 20px;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: .1em;
}

.used-cta__btn-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #fff;
  transform: translateY(-50%);
}


/* =========================================================
   6. 詳細：物件名の見出し
========================================================= */
.used-detail {
  padding-bottom: 80px;
}

.used-detail__head {
  margin-top: 77px;
  text-align: center;
}

.used-detail__title {
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
  text-indent: .06em;
}

/* 見出し下の罫線（中央に青いライン） */
.used-detail__line {
  position: relative;
  display: block;
  width: 324px;
  max-width: 100%;
  height: 1px;
  margin: 26px auto 0;
  background-color: var(--used-line);
}

.used-detail__line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 68px;
  height: 1px;
  background-color: var(--used-blue);
  transform: translateX(-50%);
}


/* =========================================================
   7. 詳細：画像エリア
   （PC＝左スライダー／右 間取り図　SP＝縦並び）

   ■ 画像のフィッティングについて
     メインスライダー・サムネイル・間取り図のいずれも
     object-fit: contain で「縦横比を保ったまま全体を表示」します。
     縦位置・正方形の写真が入った場合は、余った左右に
     --used-fit-bg（#f4f4f4）の背景色が入ります。
========================================================= */
.used-detail__visual {
  display: flex;
  align-items: stretch;
  gap: 23px;
  margin-top: 70px;
}

/* --- 左：スライダー --- */
.used-gallery {
  flex: 0 0 67.92%;
  min-width: 0;
}

/* スライダーだけで間取り図が無い場合は横幅いっぱいに使う */
.used-detail__visual > .used-gallery:only-child {
  flex-basis: 100%;
}

.used-gallery__main {
  position: relative;
  overflow: hidden;
}

.used-slider {
  position: relative;
  aspect-ratio: 39 / 25;
  background-color: var(--used-fit-bg);
}

.used-slider__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease;
}

.used-slider__item.is-active {
  opacity: 1;
  visibility: visible;
}

/* ★ 縦横比を崩さず、表示エリア内に画像全体を収める（トリミングしない） */
.used-slider__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* --- 前後ボタン --- */
.used-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
}

.used-slider__nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, .45));
}

.used-slider__nav--prev {
  left: 6px;
}

.used-slider__nav--prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.used-slider__nav--next {
  right: 6px;
}

.used-slider__nav--next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.used-slider__nav[disabled] {
  opacity: 0;
  pointer-events: none;
}

/* --- サムネイル（PCは4枚見せ） --- */
.used-gallery__thumbs {
  margin-top: 21px;
  overflow: hidden;
}

.used-thumbs {
  /* サムネイルの位置計算（assets/js/used_house.js）の基準になります */
  position: relative;
  display: flex;
  gap: 13px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  /* 横に引っぱって動かせることを示す */
  cursor: grab;
  /* 引っぱるときに写真や枠が選択されないようにする */
  -webkit-user-select: none;
  user-select: none;
}

/* マウスでつかんでいる間（JSが is-dragging を付けます） */
.used-thumbs.is-dragging {
  cursor: grabbing;
  /* つかんでいる間は指・マウスに即追従させる */
  scroll-behavior: auto;
}

/* 写真が全部見えていてスクロールの必要が無いときは、つかむカーソルを出さない */
.used-thumbs.is-static {
  cursor: default;
}

.used-thumbs::-webkit-scrollbar {
  display: none;
}

.used-thumbs__item {
  flex: 0 0 calc((100% - 39px) / 4);
}

.used-thumbs__btn {
  display: block;
  width: 100%;
  aspect-ratio: 193 / 133;
  /* ★ 縦位置・正方形の写真は縮小して収め、左右にグレーの余白を入れる */
  background-color: var(--used-fit-bg);
  transition: opacity .3s ease;
}

.used-thumbs__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  /* サムネイルを引っぱるとき、写真そのものが運ばれないようにする */
  -webkit-user-drag: none;
}

.used-thumbs__btn:hover,
.used-thumbs__btn.is-active {
  opacity: .75;
}

/* --- サムネイルのスクロールバー ---
   位置を示すだけでなく、クリック・ドラッグでサムネイルを動かせます
   （動作は assets/js/used_house.js）。
*/
.used-gallery__bar {
  position: relative;
  height: 4px;
  margin-top: 21px;
  border-radius: 2px;
  background-color: var(--used-track);
  cursor: pointer;
  /* ドラッグ中に画面が上下に動かないようにする */
  touch-action: none;
}

/* 細いバーでもつかみやすいように、当たり判定を上下に広げる */
.used-gallery__bar::before {
  content: "";
  position: absolute;
  inset: -12px 0;
}

.used-gallery__bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  border-radius: 2px;
  background-color: var(--used-blue);
  transition: left .2s ease, width .2s ease;
  /* つまみ自体はクリック判定を持たせず、バー側で受け取ります */
  pointer-events: none;
}

/* ドラッグ中はアニメーションを止めて、指・マウスに即追従させる */
.used-gallery__bar.is-dragging .used-gallery__bar-fill {
  transition: none;
}

/* --- 右：間取り図（独立した枠） --- */
.used-plan {
  flex: 1 1 auto;
  min-width: 0;
}

.used-plan__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--used-frame);
  background-color: #fff;
}

/* ★ 図面も比率を崩さず、枠内に全体を収める */
.used-plan__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}


/* =========================================================
   8. 詳細：キャッチコピー
========================================================= */
.used-detail__catch {
  margin-top: 96px;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .04em;
  text-align: center;
}


/* =========================================================
   9. 詳細：物件概要表

   ※ 列幅は colgroup/col で指定しています
     （caption があると th/td への width 指定が効かないため）
========================================================= */
.used-spec {
  margin-top: 56px;
}

.used-spec__table {
  width: 100%;
  /* 見出し列の幅を固定し、長い値は折り返して表からはみ出さないようにする */
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 1.5rem;
  line-height: 1.75;
  letter-spacing: .04em;
}

.used-spec__col-label {
  width: 305px;
}

.used-spec__col-data {
  width: auto;
}

/* 表の見出し（画面には出さず、読み上げ用に残す） */
.used-spec__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 偶数行にうすいグレーを敷く */
.used-spec__row:nth-child(even) {
  background-color: var(--used-stripe);
}

/* 行間の点線（2px の点＋5px のあき） */
.used-spec__label,
.used-spec__data {
  padding: 15px 10px 15px 0;
  vertical-align: middle;
  background-image: repeating-linear-gradient(to right, var(--used-dot) 0 2px, transparent 2px 7px);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 1px;
}

.used-spec__label {
  padding-left: 44px;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
}

.used-spec__data {
  padding-right: 44px;
  overflow-wrap: anywhere;
}


/* =========================================================
   10. ボタン（黒・オーバル柄つき）／ 一覧へ戻る

   オーバル柄は assets/images/used_house/white_oval.png
========================================================= */
.used-detail__cv {
  margin-top: 59px;
  text-align: center;
}

.used-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 352px;
  min-height: 54px;
  padding: 10px 16px;
  color: #fff;
  text-align: center;
  background-color: var(--used-dark);
  isolation: isolate;
}

.used-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/used_house/white_oval.png");
  background-repeat: repeat;
  background-position: center center;
  opacity: .12;
  pointer-events: none;
  z-index: -1;
}

.used-btn:hover {
  color: #fff;
}

.used-btn__label {
  position: relative;
  padding-left: 22px;
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .1em;
}

/* ラベル左の三角マーク */
.used-btn__label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #fff;
  transform: translateY(-50%);
}

/* 一覧カードの「詳細を見る」（カード幅いっぱい・やや小さめ） */
.used-btn--card {
  max-width: 100%;
  min-height: 46px;
}

.used-btn--card .used-btn__label {
  font-size: 1.6rem;
  letter-spacing: .14em;
}

/* --- 一覧へ戻る（左下に斜めの線が入る罫線） --- */
.used-detail__back {
  margin-top: 36px;
}

.used-back {
  position: relative;
  display: inline-block;
  width: 237px;
  max-width: 100%;
  padding: 0 0 12px 38px;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .08em;
}

/* 下の横罫線 */
.used-back::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background-color: var(--used-rule);
}

/* 左端の斜め罫線 */
.used-back::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 23px;
  background-color: var(--used-rule);
  transform-origin: left bottom;
  transform: rotate(-45deg);
}

.used-back:hover {
  color: var(--used-blue);
}


/* =========================================================
   11. タブレット（〜1024px）の微調整
========================================================= */
@media screen and (max-width: 1024px) {

  .used-intro__lead {
    font-size: 1.5rem;
  }

  /* カードは2カラム */
  .used-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 40px;
  }

  .used-card__title {
    font-size: 1.8rem;
  }

  .used-cta__box {
    aspect-ratio: auto;
    padding: 32px;
  }

  .used-spec__col-label {
    width: 220px;
  }

  .used-spec__label {
    padding-left: 24px;
  }

  .used-spec__data {
    padding-right: 24px;
  }
}


/* =========================================================
   12. スマートフォン（〜767px）

   詳細ページは design/chintai_detail_SP.jpg（賃貸詳細）の
   レイアウト・余白・サムネイル枚数にそろえています。
========================================================= */
@media screen and (max-width: 767px) {

  /* --- 一覧：リード --- */
  .used-intro {
    margin-top: 28px;
  }

  .used-intro__lead {
    margin-top: 20px;
    font-size: 1.4rem;
    line-height: 1.9;
    text-align: left;
  }

  /* --- 一覧：エリアタブ --- */
  .used-filter {
    margin-top: 36px;
  }

  .used-filter__list {
    column-gap: 24px;
    row-gap: 10px;
  }

  .used-filter__link {
    padding-bottom: 6px;
    font-size: 1.6rem;
  }

  /* --- 一覧：カード（1カラム） --- */
  .used-list {
    margin-top: 28px;
    padding-bottom: 32px;
  }

  .used-list__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }

  .used-card__badge {
    margin-top: 12px;
    padding: 3px 12px;
    font-size: 1.3rem;
  }

  .used-card__title {
    font-size: 1.7rem;
  }

  .used-card__spec {
    font-size: 1.3rem;
  }

  .used-btn--card {
    min-height: 44px;
  }

  .used-btn--card .used-btn__label {
    font-size: 1.5rem;
  }

  /* --- 一覧：ページ送り --- */
  .used-pager {
    margin-top: 36px;
  }

  .used-pager__list {
    gap: 12px;
  }

  .used-pager__item .page-numbers {
    min-width: 28px;
    height: 28px;
    font-size: 1.6rem;
  }

  /* --- 一覧：お問い合わせ誘導バナー --- */
  .used-cta {
    padding-bottom: 48px;
  }

  /*
     SP：design/used_sp_gokibou.jpg（500px幅）に合わせ、
     上に文章・下に家具が見える縦長の背景にします。
     写真比率（1000 × 1097）を最低の高さとし、文章が増えたときは伸びます。
  */
  .used-cta__box {
    display: block;
    aspect-ratio: 1000 / 1097;
    min-height: 0;
    padding: 5% 9.6% 0;
    background-image:
      url("../images/used_house/used_gokibou_sp.jpg"),
      linear-gradient(to right, #fbfbfa 0%, #f3f2f0 58%, #e8e6e2 100%);
    background-position: center bottom, center center;
  }

  .used-cta__body {
    max-width: none;
  }

  /* タイトルは中央揃え・下に区切り線 */
  .used-cta__title {
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
    font-size: 1.9rem;
    text-align: center;
  }

  .used-cta__text {
    margin-top: 14px;
    font-size: 1.4rem;
    line-height: 1.8;
  }

  .used-cta__text br {
    display: none;
  }

  /* TEL は中央、ボタンは幅いっぱい */
  .used-cta__action {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 16px;
  }

  .used-cta__tel {
    justify-content: center;
  }

  .used-cta__tel-num {
    font-size: 2.8rem;
  }

  .used-cta__btn {
    max-width: 100%;
  }

  /* --- 詳細：見出し --- */
  .used-detail {
    padding-bottom: 60px;
  }

  .used-detail__head {
    margin-top: 34px;
  }

  .used-detail__title {
    font-size: 2rem;
    letter-spacing: .08em;
    text-indent: .08em;
  }

  .used-detail__line {
    width: 254px;
    margin-top: 20px;
  }

  .used-detail__line::after {
    width: 52px;
  }

  /* --- 詳細：画像エリア（縦並び） --- */
  .used-detail__visual {
    display: block;
    margin-top: 28px;
  }

  .used-gallery {
    flex: 0 0 auto;
  }

  .used-slider__nav {
    width: 36px;
    height: 36px;
  }

  .used-slider__nav::before {
    width: 12px;
    height: 12px;
  }

  .used-gallery__thumbs {
    margin-top: 9px;
  }

  .used-thumbs {
    gap: 8px;
  }

  /* SPは3枚見せ（4枚目以降は横スクロール）＝賃貸詳細と同仕様 */
  .used-thumbs__item {
    flex: 0 0 calc((100% - 16px) / 3);
  }

  .used-gallery__bar {
    margin-top: 9px;
  }

  /* サムネイルとの間隔が狭いぶん、当たり判定も控えめにする */
  .used-gallery__bar::before {
    inset: -6px 0;
  }

  /* 間取り図はスライダーの下 */
  .used-plan {
    margin-top: 26px;
  }

  /* スライダーが無く間取り図だけのときは、上の余白を付けない */
  .used-plan:first-child {
    margin-top: 0;
  }

  .used-plan__frame {
    height: auto;
    aspect-ratio: 6 / 5;
  }

  /* --- 詳細：キャッチコピー --- */
  .used-detail__catch {
    margin-top: 30px;
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: .02em;
  }

  /* --- 詳細：概要表 --- */
  .used-spec {
    margin-top: 32px;
  }

  .used-spec__table {
    font-size: 1.4rem;
  }

  .used-spec__col-label {
    width: 50%;
  }

  .used-spec__label,
  .used-spec__data {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .used-spec__label {
    padding-left: 29px;
  }

  .used-spec__data {
    padding-right: 12px;
  }

  /* --- 詳細：ボタン・戻る --- */
  .used-detail__cv {
    margin-top: 48px;
  }

  .used-btn {
    max-width: 315px;
    min-height: 48px;
  }

  .used-btn__label {
    padding-left: 20px;
    font-size: 1.7rem;
  }

  .used-detail__back {
    margin-top: 32px;
  }

  .used-back {
    width: 236px;
    padding-left: 37px;
    font-size: 1.6rem;
  }
}


/* =========================================================
   13. 小さいスマートフォン（〜374px）
========================================================= */
@media screen and (max-width: 374px) {

  .used-detail__title {
    font-size: 1.8rem;
  }

  .used-cta__tel-num {
    font-size: 2.4rem;
  }

  .used-spec__label {
    padding-left: 18px;
  }

  .used-back {
    width: 100%;
    padding-left: 32px;
  }
}
