/* ==========================================================================
   rh-top.css — トップページ（Figma 01：355:3765。ブランドラインナップは別デザイン案 376:4390）
   試作に無いページなので WP だけにある。お客様の声・トピックス・Instagram は今のテーマの CSS のまま
   ========================================================================== */
/* セレクタの先頭の html は、今のテーマの a:hover などの指定に負けないため（tools/css_bump.py で付けた。新しく書くときも付ける） */
html .rh-top { overflow: hidden; }
html .rh-top img { display: block; max-width: 100%; }
html .rh-tcenter { display: flex; justify-content: center; margin-top: 64px; }
html .rh-sp { display: none; }

/* セクションの見出し：英字のゴースト（100px・5%）に、日本語の小見出しを重ねる */
html .rh-thead { position: relative; height: 100px; text-align: center; color: var(--rh-blue); }
html .rh-thead__en {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  font-family: var(--rh-en-serif); font-size: 100px; line-height: 100px; letter-spacing: 5px; white-space: nowrap; opacity: .05;
}
html .rh-thead__ja { position: relative; padding-top: 40px; font-family: var(--rh-serif); font-weight: 600; font-size: 16px; line-height: 15px; letter-spacing: .8px; }
html .rh-thead__h2 { position: relative; margin-top: 26px; font-family: var(--rh-serif); font-weight: 600; font-size: 24px; line-height: 1.5; letter-spacing: 1.2px; color: var(--rh-black); }
html .rh-thead:has(.rh-thead__h2) { height: auto; min-height: 100px; }
html .rh-thead--left { text-align: left; }
html .rh-thead--left .rh-thead__en { left: 0; transform: none; }
html .rh-thead--left .rh-thead__ja { padding-left: 30px; padding-top: 42px; }
html .rh-thead--white { color: var(--rh-white); }
html .rh-thead--white .rh-thead__en { opacity: .12; }

/* 青いピルのボタン */
html .rh-tpill {
  display: inline-flex; align-items: center; gap: 40px; padding: 22px 32px; border-radius: var(--rh-r-pill);
  background: var(--rh-blue); color: var(--rh-white); font-weight: 700; font-size: 16px; line-height: 15px; letter-spacing: .8px;
  transition: opacity .2s;
}
html .rh-tpill img { width: 17px; height: 10px; transform: rotate(90deg) scaleY(-1); }
html .rh-tpill:hover { opacity: .85; }
html .rh-tpill--wide { min-width: 315px; justify-content: space-between; }

/* 下線のリンク（白・黒） */
html .rh-tline { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; padding: 6px 0; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 600; line-height: 19.8px; }

/* 前後の丸ボタン */
html .rh-tarrows { display: flex; justify-content: flex-end; gap: 16px; }
html .rh-tarrow { width: 27px; height: 27px; border-radius: 50%; background: var(--rh-white) url(../img/top/arrow-chevron-blue.svg) no-repeat center / 9px 5px; box-shadow: 0 1px 4px rgba(0,0,0,.15); cursor: pointer; transform: rotate(-90deg); }
html .rh-tarrow--prev { transform: rotate(90deg); }
html .rh-tarrows--blue .rh-tarrow { background: var(--rh-blue) url(../img/top/arrow-chevron-white.svg) no-repeat center / 9px 5px; box-shadow: none; }
html .rh-tarrow:disabled { opacity: .3; cursor: default; }

/* 横に流れる並び（バナー・施工事例・イベント） */
html [data-rh-hs] { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
html [data-rh-hs]::-webkit-scrollbar { display: none; }
html [data-rh-hs] > * { flex: none; scroll-snap-align: start; }

/* ---------- FV（Figma：ヘッダーの下に 1282×706） ---------- */
html .rh-tfv { position: relative; height: 706px; overflow: hidden; background: #ddd; }
/* PC の高さは横幅に合わせて伸び縮み（清水 10/22）：Figma の比率 1282×706（55.07vw。1280px の画面で 706px）。広げるとそのまま伸び、900px（横幅 約1630px）からは固定。下は 560px */
html .rh-tfv { height: clamp(560px, 55.07vw, 900px); }
html .rh-tfv__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 3s ease; }
html .rh-tfv__slides img.is-on { opacity: 1; }
html .rh-tfv__text { position: absolute; left: 62px; bottom: 45px; color: var(--rh-white); filter: drop-shadow(4px 4px 6px rgba(0,0,0,.2)); }
html .rh-tfv__title { font-family: var(--rh-serif); font-weight: 500; font-size: 60px; line-height: 1.5; letter-spacing: 3px; }
html .rh-tfv__lead { margin-top: 3px; font-weight: 500; font-size: 14px; line-height: 28px; letter-spacing: .7px; }

/* ---------- 入口カード 3枚＋リフォーム・法人 ---------- */
html .rh-tentry { padding-top: 27px; }
html .rh-tentry__cards { display: flex; justify-content: center; gap: 36px; }
html .rh-tentry__card {
  position: relative; display: flex; align-items: center; width: 333px; height: 86px; overflow: hidden;
  border: .5px solid var(--rh-line-blue); border-radius: 3px; background: var(--rh-soft); color: var(--rh-dark); transition: background-color .2s;
}
html .rh-tentry__card:hover { background: #e4eef7; }
html .rh-tentry__photo { width: 120px; height: 86px; object-fit: cover; object-position: bottom; flex: none; }
html .rh-tentry__num {
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; padding: 4px 0 0 5px;
  background: url(../img/top/quick-num.svg) no-repeat 0 0 / 28px 28px; color: var(--rh-white);
  font-family: var(--rh-en-serif); font-size: 12px; line-height: 15px; letter-spacing: .6px;
}
html .rh-tentry__text { display: flex; flex-direction: column; margin-left: 27px; font-weight: 700; font-size: 16px; line-height: 30.6px; letter-spacing: .68px; white-space: nowrap; }
html .rh-tentry__text small { font-family: var(--rh-en-sans); font-weight: 300; font-size: 10px; line-height: 10px; }
html .rh-tentry__go { position: absolute; left: 298px; top: 35.6px; width: 17px; height: 17px; border-radius: 50%; background: var(--rh-blue) url(../img/top/quick-chevron.svg) no-repeat center / 3px 6px; }
html .rh-tentry__go { background-image: none; }
html .rh-tentry__go::before { content: ""; position: absolute; left: 5.6px; top: 5.6px; width: 5px; height: 5px; border-top: 1.4px solid #fff; border-right: 1.4px solid #fff; transform: rotate(45deg); left: 4.6px; }
html .rh-tentry__sub { display: flex; justify-content: flex-end; gap: 12px; max-width: 1071px; margin: 16px auto 0; }
html .rh-tsubbtn {
  display: inline-flex; align-items: center; gap: 6px; height: 35px; padding: 8px 9px 7px 10px; border-radius: 3px;
  background: var(--rh-blue); color: var(--rh-white); font-weight: 700; font-size: 12px; line-height: 19.2px; white-space: nowrap; transition: opacity .2s;
}
html .rh-tsubbtn::after { content: ""; width: 5px; height: 5px; margin-left: 4px; border-top: 1.4px solid #fff; border-right: 1.4px solid #fff; transform: rotate(45deg); }
html .rh-tsubbtn:hover { opacity: .85; }
html .rh-tsubbtn--gray { background: #647383; border-radius: 0; }

/* ---------- 特集バナー（245 角を 24px 間隔で横に。右下に前後） ---------- */
html .rh-tbanner { padding-top: 77px; }
html .rh-tbanner__track { gap: 24px; padding: 0 max(var(--rh-gutter), calc((100vw - 1282px) / 2 + 60px)); scroll-padding: 0 max(var(--rh-gutter), calc((100vw - 1282px) / 2 + 60px)); }
html .rh-tbanner__item { width: 245px; }
html .rh-tbanner__item img { width: 245px; height: 245px; object-fit: cover; }
html .rh-tbanner__item a { display: block; transition: opacity .2s; }
html .rh-tbanner .rh-tarrows { margin-top: 13px; }

/* ---------- 施工事例（中央 645px＋左右がのぞく） ---------- */
html .rh-twork { padding-top: 100px; }
html .rh-twork__wrap { position: relative; margin-top: 40px; }
html .rh-twork__track { gap: 22px; padding: 0 calc(50% - 322.5px); scroll-padding: 0 calc(50% - 322.5px); }
html .rh-twork__track > * { scroll-snap-align: center; }
html .rh-twork__slide { width: 645px; }
html .rh-twork__photo { display: block; height: 392px; overflow: hidden; }
html .rh-twork__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
html .rh-twork__photo:hover img { transform: scale(1.03); }
html .rh-twork__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 16px; max-width: 456px; }
html .rh-twork__title { font-family: var(--rh-serif); font-weight: 600; font-size: 20px; line-height: 22px; letter-spacing: 1px; color: var(--rh-black); }
html .rh-twork__meta { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 12px; line-height: 12px; color: var(--rh-black); }
html .rh-twork__kind { display: inline-flex; align-items: center; height: 23px; padding: 3px 5px; background: var(--rh-soft); font-size: 14px; line-height: 16px; }
html .rh-twork__more { padding-bottom: 1px; border-bottom: 1px solid var(--rh-link); color: var(--rh-link); font-weight: 500; font-size: 12px; line-height: 18px; }
html .rh-tarrows--side { position: absolute; left: 0; right: 0; top: 182px; justify-content: space-between; padding: 0 47px; pointer-events: none; }
html .rh-tarrows--side .rh-tarrow { pointer-events: auto; }

/* ---------- 物件情報（グレーの帯） ---------- */
html .rh-tprop { margin-top: 124px; padding: 100px 0; background: var(--rh-pale); }
html .rh-tprop .rh-inner { max-width: calc(1158px + var(--rh-gutter) * 2); }
html .rh-tprop__area { display: flex; align-items: center; gap: 32px; margin-top: 40px; }
html .rh-tprop__area > p { font-weight: 700; font-size: 12px; line-height: 21px; letter-spacing: 2px; color: var(--rh-black); }
html .rh-tprop__area [role="tablist"] { display: flex; gap: 8px; }
html .rh-ttab {
  min-height: 40px; padding: 9px 15px; border: 1px solid var(--rh-line); border-radius: 3px; background: var(--rh-white);
  color: var(--rh-link); font-weight: 700; font-size: 12px; line-height: 21px; cursor: pointer;
}
html .rh-ttab[aria-selected="true"] { border-color: var(--rh-blue); background: var(--rh-blue); color: var(--rh-white); }
html .rh-tprop__cards { margin-top: 32px; }
html .rh-tland { display: flex; width: 630px; height: 240px; margin: 56px auto 0; background: var(--rh-white); color: #253b37; }
html .rh-tland__text { display: flex; flex-direction: column; justify-content: space-between; width: 196px; padding: 31px 26px 32px; }
html .rh-tland__text b { font-size: 18px; line-height: 28.8px; font-weight: 650; }
html .rh-tland__link { display: inline-flex; gap: 12px; align-self: flex-start; padding: 6px 0; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 600; line-height: 19.8px; }
html .rh-tland__photos { display: grid; grid-template-columns: repeat(2, 217px); grid-template-rows: repeat(2, 120px); }
html .rh-tland__photos img { width: 100%; height: 100%; object-fit: cover; }
html .rh-tland__photos img:nth-child(1) { object-position: center 70%; }
html .rh-tland:hover .rh-tland__link { opacity: .7; }

/* ---------- イベント情報（269px のカードを 4 枚） ---------- */
html .rh-tevent { padding-top: 100px; }
html .rh-tevent__wrap { position: relative; margin-top: 61px; }
html .rh-tevent__track { gap: 28px; }
html .rh-tevent__item { width: calc((100% - 28px * 3) / 4); }
html .rh-tevent .rh-evitem__tags { display: none; }   /* Figma のカードは 写真・状態・タイトル・開催日 だけ */
html .rh-tevent .rh-evitem__title { font-size: 16px; line-height: 24px; letter-spacing: .8px; }
html .rh-tevent .rh-tarrows--side { top: 121px; padding: 0; margin: 0 -14px; }
html .rh-tevent .rh-tcenter { margin-top: 62px; }

/* ---------- 両備ホームズの家づくり（左にグレーのパネル、右に写真 3 枚） ---------- */
html .rh-tcustom { position: relative; display: flex; align-items: flex-start; margin-top: 100px; padding-top: 32px; isolation: isolate; }
html .rh-tcustom::before { content: ""; position: absolute; left: 0; top: 0; width: calc(50% + 194px); height: 618px; background: var(--rh-pale); z-index: -1; }
html .rh-tcustom__panel { flex: none; }
html .rh-tcustom .rh-thead--left { width: 837px; margin-left: calc(max(var(--rh-gutter), calc(50vw - 583px)) - 2px); }
html .rh-tcustom { flex-direction: column; }
html .rh-tcustom__text { width: 405px; margin: 17px 0 0 calc(max(var(--rh-gutter), calc(50vw - 581px))); }
html .rh-tcustom__h2 { font-family: var(--rh-serif); font-weight: 600; font-size: 30px; line-height: 51px; letter-spacing: .75px; color: var(--rh-dark); }
html .rh-tcustom__lead { margin-top: 20px; font-weight: 500; font-size: 16px; line-height: 28.4px; color: #66716b; }
html .rh-tcustom__text .rh-tpill { margin-top: 40px; }
html .rh-tcustom__sub { display: flex; gap: 12px; margin-top: 26px; }
html .rh-tcustom__photos {
  position: absolute; top: 84px; left: calc(50% - 87px); display: grid; grid-template-columns: 509px 210px; grid-template-rows: 221px 221px; gap: 8px 11px;
}
html .rh-tcustom__photos img { width: 100%; height: 100%; object-fit: cover; }
html .rh-tcustom__main { grid-row: 1 / 3; height: 450px !important; }
html .rh-tcustom { min-height: 618px; }

/* ---------- ブランドラインナップ（タブ 5 つ＋大きな写真と淡い青のパネル） ---------- */
html .rh-tbrand { padding-top: 100px; }
html .rh-tbrand .rh-inner { max-width: calc(1098px + var(--rh-gutter) * 2); }
html .rh-tbrand__tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 40px; }
html .rh-tbrand__tab {
  display: flex; align-items: center; gap: 12px; height: 81px; padding: 8px 9px; border-radius: 6px 6px 0 0;
  background: var(--rh-soft); text-align: left; cursor: pointer; transition: background-color .2s;
}
html .rh-tbrand__tab[aria-selected="true"], html .rh-tbrand__tab:hover { background: #eff7ff; }
html .rh-tbrand__tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--rh-blue); }
html .rh-tbrand__tab img { width: 84px; height: 66px; border-radius: 3px; object-fit: cover; flex: none; }
html .rh-tbrand__tab span { display: flex; flex-direction: column; gap: 6px; }
html .rh-tbrand__tab small { font-weight: 500; font-size: 12px; line-height: 12px; color: var(--rh-black); white-space: nowrap; }
html .rh-tbrand__tab b { font-family: var(--rh-en-serif); font-weight: 400; font-size: 20px; line-height: 20px; letter-spacing: 1px; color: var(--rh-blue); }
html .rh-tbrand__tab[data-rh-btab="compact"] b { font-size: 18px; line-height: 15px; }
html .rh-tbrand__panel { display: flex; margin-top: 7px; height: 492px; }
html .rh-tbrand__ext { flex: none; width: 705px; overflow: hidden; border-radius: 3px 0 0 3px; }
html .rh-tbrand__ext img { width: 100%; height: 100%; object-fit: cover; }
html .rh-tbrand__side { position: relative; flex: 1; padding: 47px 30px 26px 40px; border-radius: 0 6px 6px 0; background: #eff7ff; }
html .rh-tbrand__kana { font-weight: 500; font-size: 12px; line-height: 12px; color: var(--rh-black); }
html .rh-tbrand__en { margin-top: 15px; font-family: var(--rh-en-serif); font-size: 40px; line-height: 1; letter-spacing: 2px; color: var(--rh-blue); }
html .rh-tbrand__panel[data-rh-bpanel="compact"] .rh-tbrand__en { font-size: 32px; line-height: 1.05; }
html .rh-tbrand__catch { margin-top: 19px; font-weight: 500; font-size: 18px; line-height: 1.5; color: var(--rh-black); }
html .rh-tbrand__in { margin-top: 41px; }
html .rh-tbrand__in img { width: 100%; height: 169px; border-radius: 3px; object-fit: cover; }
html .rh-tbrand__dots { display: flex; justify-content: center; gap: 6px; margin-top: 11px; }
html .rh-tbrand__dots button { width: 6px; height: 6px; border: 1px solid #555; border-radius: 50%; cursor: pointer; }
html .rh-tbrand__dots button[aria-current="true"] { background: #555; }
html .rh-tbrand__go {
  position: absolute; right: 30px; bottom: 26px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--rh-blue); color: var(--rh-white); font-size: 14px;
}
html .rh-tbrand .rh-tcenter { margin-top: 56px; }

/* ---------- 両備ホームズの想い（写真に濃紺を重ねる） ---------- */
html .rh-tconcept { position: relative; margin-top: 100px; padding: 65px 0 72px; color: var(--rh-white); isolation: isolate; }
html .rh-tconcept::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--rh-tconcept-bg) center / cover no-repeat; }
html .rh-tconcept::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rh-dark); mix-blend-mode: multiply; opacity: .6; }
html .rh-tconcept .rh-inner { max-width: calc(1042px + var(--rh-gutter) * 2); }
html .rh-tconcept__top { display: flex; justify-content: space-between; align-items: center; margin-top: 39px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.6); }
html .rh-tconcept__msg { width: 380px; }
html .rh-tconcept__msg h2 { padding-top: 15px; font-family: var(--rh-serif); font-weight: 600; font-size: 33px; line-height: 54.45px; letter-spacing: 1.8px; white-space: nowrap; }
html .rh-tconcept__msg p { padding-top: 17px; margin-bottom: 14px; font-size: 12px; line-height: 24px; white-space: nowrap; }
html .rh-tconcept__nums { display: flex; flex-direction: column; gap: 34px; width: 457px; }
html .rh-tconcept__nums > div { display: flex; align-items: flex-start; gap: 40px; }
html .rh-tconcept__nums dt { width: 161px; font-weight: 500; font-size: 20px; line-height: 26.8px; }
html .rh-tconcept__nums dt small { display: block; font-family: var(--rh-en-sans); font-size: 12px; letter-spacing: 1px; }
html .rh-tconcept__nums dd { font-weight: 500; font-size: 24px; line-height: 30px; white-space: nowrap; }
html .rh-tconcept__nums dd b { font-family: var(--rh-en-sans); font-weight: 400; font-size: 79px; line-height: 87px; letter-spacing: -3.16px; margin-right: 4px; }
html .rh-tconcept__items { display: grid; grid-template-columns: repeat(2, 493px); justify-content: space-between; row-gap: 53px; margin-top: 65px; }
html .rh-tconcept__label { display: flex; align-items: center; gap: 47px; }
html .rh-tconcept__label span { position: relative; padding-left: 15px; font-weight: 500; font-size: 12px; line-height: 18px; letter-spacing: .8px; white-space: nowrap; }
html .rh-tconcept__label span::before { content: ""; position: absolute; left: 0; top: 5.5px; width: 7px; height: 7px; background: #fff; }
html .rh-tconcept__label b { font-weight: 500; font-size: 24px; line-height: 21.6px; }
html .rh-tconcept__row { display: flex; align-items: center; gap: 34px; margin-top: 37px; }
html .rh-tconcept__row img { width: 217px; height: 144px; object-fit: cover; flex: none; }
html .rh-tconcept__row > div { display: flex; flex-direction: column; align-items: flex-end; gap: 48px; width: 242px; }
html .rh-tconcept__catch { align-self: stretch; font-weight: 500; font-size: 18px; line-height: 28px; letter-spacing: .2px; }
html .rh-tconcept .rh-tcenter { margin-top: 56px; }

/* ---------- 今のテーマのセクション（お客様の声）との間 ---------- */
html .rh-top + #t-voice { margin-top: 0; }

/* ========================================================================== SP */
@media (max-width: 1100px) {
  html .rh-tentry__cards { flex-wrap: wrap; gap: 12px; }
  html .rh-tcustom__photos { position: static; margin: 32px var(--rh-gutter) 0; grid-template-columns: 2fr 1fr; }
  html .rh-tcustom::before { width: 100%; height: 100%; }
  html .rh-tcustom { padding-bottom: 40px; }
  html .rh-tconcept__top { flex-direction: column; align-items: flex-start; gap: 32px; }
  html .rh-tconcept__items { grid-template-columns: 1fr; }
  html .rh-tbrand__ext { width: 58%; }
}
@media (max-width: 767px) {
  html .rh-sp { display: inline; }
  html .rh-tcenter { margin-top: 40px; }
  html .rh-thead { height: 70px; }
  html .rh-thead__en { font-size: 56px; line-height: 64px; letter-spacing: 2px; }
  html .rh-thead__ja { padding-top: 24px; font-size: 15px; }
  html .rh-thead--left .rh-thead__ja { padding-left: 4px; padding-top: 24px; }
  html .rh-thead__h2 { margin-top: 18px; font-size: 19px; }
  html .rh-tpill { gap: 24px; padding: 18px 26px; font-size: 15px; }
  html .rh-tpill--wide { min-width: 0; }

  html .rh-tfv { height: 560px; }
  html .rh-tfv__text { left: 20px; right: 20px; bottom: 28px; }
  html .rh-tfv__title { font-size: 27px; letter-spacing: 1px; }
  html .rh-tfv__lead { font-size: 12px; line-height: 22px; letter-spacing: .3px; }

  html .rh-tentry { padding-top: 20px; }
  html .rh-tentry__cards { flex-direction: column; gap: 10px; }
  html .rh-tentry__card { width: 100%; height: 72px; }
  html .rh-tentry__photo { width: 100px; height: 72px; }
  html .rh-tentry__text { margin-left: 18px; font-size: 15px; line-height: 26px; }
  html .rh-tentry__go { left: auto; right: 16px; top: 50%; margin-top: -8.5px; }
  html .rh-tentry__sub { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 12px; }
  html .rh-tsubbtn { justify-content: center; }

  html .rh-tbanner { padding-top: 48px; }
  html .rh-tbanner__track { gap: 12px; padding: 0 20px; scroll-padding: 0 20px; }
  html .rh-tbanner__item, html .rh-tbanner__item img { width: 64vw; height: auto; aspect-ratio: 1 / 1; }

  html .rh-twork { padding-top: 64px; }
  html .rh-twork__wrap { margin-top: 24px; }
  html .rh-twork__track { gap: 12px; padding: 0 7.5vw; scroll-padding: 0 7.5vw; }
  html .rh-twork__slide { width: 85vw; }
  html .rh-twork__photo { height: 56vw; }
  html .rh-twork__title { font-size: 17px; line-height: 1.5; }
  html .rh-twork__meta { flex-wrap: wrap; gap: 6px 10px; line-height: 1.6; }
  html .rh-tarrows--side { top: calc(28vw - 13px); padding: 0 12px; }

  html .rh-tprop { margin-top: 72px; padding: 64px 0; }
  html .rh-tprop__area { flex-wrap: wrap; gap: 12px; margin-top: 24px; }
  html .rh-tprop__cards { margin-top: 20px; }
  html .rh-tland { flex-direction: column; width: 100%; height: auto; margin-top: 40px; }
  html .rh-tland__text { width: auto; padding: 22px 20px; gap: 16px; }
  html .rh-tland__photos { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 28vw); }

  html .rh-tevent { padding-top: 64px; }
  html .rh-tevent__wrap { margin: 24px calc(var(--rh-gutter) * -1) 0; }
  html .rh-tevent__track { gap: 14px; padding: 0 20px; scroll-padding: 0 20px; }
  html .rh-tevent__item { width: 62vw; }
  html .rh-tevent .rh-tarrows--side { display: none; }
  html .rh-tevent .rh-tcenter { margin-top: 40px; }

  html .rh-tcustom { margin-top: 72px; padding-top: 20px; }
  html .rh-tcustom .rh-thead--left { width: auto; margin-left: 20px; }
  html .rh-tcustom__text { width: auto; margin: 12px 20px 0; }
  html .rh-tcustom__h2 { font-size: 23px; line-height: 40px; }
  html .rh-tcustom__lead { font-size: 14px; line-height: 26px; }
  html .rh-tcustom__text .rh-tpill { margin-top: 28px; }
  html .rh-tcustom__sub { flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  html .rh-tcustom__photos { margin: 28px 20px 0; grid-template-rows: 30vw 30vw; gap: 6px; }
  html .rh-tcustom__main { height: auto !important; }

  html .rh-tbrand { padding-top: 72px; }
  html .rh-tbrand__tabs { display: flex; overflow-x: auto; gap: 8px; margin: 24px calc(var(--rh-gutter) * -1) 0; padding: 0 20px; scrollbar-width: none; }
  html .rh-tbrand__tab { flex: none; width: 168px; height: 64px; padding: 6px; gap: 8px; }
  html .rh-tbrand__tab img { width: 60px; height: 50px; }
  html .rh-tbrand__tab b { font-size: 16px; }
  html .rh-tbrand__panel { flex-direction: column; height: auto; }
  html .rh-tbrand__ext { width: 100%; height: 62vw; border-radius: 3px 3px 0 0; }
  html .rh-tbrand__side { padding: 24px 20px 64px; border-radius: 0 0 6px 6px; }
  html .rh-tbrand__en { font-size: 32px; }
  html .rh-tbrand__catch { font-size: 16px; }
  html .rh-tbrand__in { margin-top: 20px; }
  html .rh-tbrand__in img { height: 44vw; }
  html .rh-tbrand__go { right: 20px; bottom: 20px; }

  html .rh-tconcept { margin-top: 72px; padding: 56px 0; }
  html .rh-tconcept__top { margin-top: 24px; padding-bottom: 32px; }
  html .rh-tconcept__msg { width: auto; }
  html .rh-tconcept__msg h2 { font-size: 24px; line-height: 40px; white-space: normal; }
  html .rh-tconcept__msg p { white-space: normal; }
  html .rh-tconcept__nums { width: auto; gap: 20px; }
  html .rh-tconcept__nums > div { gap: 16px; }
  html .rh-tconcept__nums dt { width: 140px; font-size: 16px; line-height: 22px; }
  html .rh-tconcept__nums dd b { font-size: 56px; line-height: 64px; }
  html .rh-tconcept__items { margin-top: 40px; row-gap: 40px; }
  html .rh-tconcept__label { gap: 16px; }
  html .rh-tconcept__label b { font-size: 20px; }
  html .rh-tconcept__row { gap: 16px; margin-top: 20px; }
  html .rh-tconcept__row img { width: 40%; height: auto; aspect-ratio: 217 / 144; }
  html .rh-tconcept__row > div { width: auto; flex: 1; gap: 16px; }
  html .rh-tconcept__catch { font-size: 15px; line-height: 24px; }
}

/* ---------- ホバー（rh-hover.css と同じ決まり。浮かせない：塗りのボタン＝濃い青、カード＝淡い青の地か写真の拡大、文字リンク＝青＋下線、丸ボタン＝青で塗る） ---------- */
html .rh-tpill, html .rh-tsubbtn, html .rh-tentry__card, html .rh-tbanner__item a, html .rh-tland, html .rh-tarrow, html .rh-ttab, html .rh-tbrand__tab, html .rh-tbrand__go,
html .rh-twork__title a, html .rh-twork__more, html .rh-tline { transition: background-color .2s, border-color .2s, color .2s, opacity .2s, filter .2s; }
html .rh-tentry__go, html .rh-tpill img, html .rh-tland img, html .rh-tbrand__ext img, html .rh-twork__photo img { transition: transform .3s ease; }
html .rh-tland__photos, html .rh-tbrand__ext { overflow: hidden; }
@media (hover: hover) {
  html .rh-tpill:hover, html .rh-tsubbtn:hover, html .rh-tbrand__go:hover { opacity: 1; background: #00428a; }
  html .rh-tsubbtn--gray:hover { background: #4f5d6b; }
  html .rh-tentry__card:hover { background: #e2edf7; border-color: var(--rh-blue); }
  html .rh-tbanner__item a:hover { opacity: .8; }
  html .rh-tland:hover { background: #f4f8fc; }
  html .rh-tland:hover .rh-tland__link { opacity: 1; color: var(--rh-blue); }
  html .rh-tarrow:not(:disabled):hover { filter: brightness(.9); }
  html .rh-tarrows:not(.rh-tarrows--blue) .rh-tarrow:not(:disabled):hover { background-color: var(--rh-soft); }
  html .rh-ttab[aria-selected="false"]:hover { border-color: var(--rh-blue); background: var(--rh-soft); }
  html .rh-tbrand__tab[aria-selected="false"]:hover { background: #e4eef7; }
  html .rh-twork__card:hover .rh-twork__title { color: var(--rh-link); }
  html .rh-twork__card:hover .rh-twork__more { color: var(--rh-blue); border-color: var(--rh-blue); }
  html .rh-tline:hover { opacity: .75; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html .rh-tentry__card:hover .rh-tentry__go { transform: translateX(3px); }
  html .rh-tpill:hover img { transform: rotate(90deg) scaleY(-1) translateY(-3px); }
  html .rh-twork__card:hover .rh-twork__photo img { transform: scale(1.03); }   /* 土地・分譲地とブランドの写真は動かさない */
  html .rh-tline:hover span { display: inline-block; transform: translate(2px, -2px); }
}

/* ==========================================================================
   の確認の反映
   ========================================================================== */

/* 特集バナー：自動で横に流し続ける（rh-top.js の 2。マウスを載せると止まる。「動きを減らす」設定では流さず、横にスクロール） */
html .rh-tbanner__view { overflow: hidden; }
html .rh-tbanner__track { display: flex; gap: 24px; width: max-content; padding: 0; will-change: transform; }
html .rh-tbanner__item { flex: none; }
@media (prefers-reduced-motion: reduce) {
  html .rh-tbanner__view { overflow-x: auto; scrollbar-width: none; }
  html .rh-tbanner__track { padding: 0 var(--rh-gutter); }
}

/* 施工事例：カード全体を1つのリンクに */
html .rh-twork__card { display: block; color: inherit; text-decoration: none; }
html .rh-twork__body { display: flex; }
html .rh-twork__title, html .rh-twork__meta { display: block; }
html .rh-twork__meta { display: flex; }
html .rh-twork__more { align-self: flex-start; display: inline-flex; gap: 4px; }
html .rh-twork__all { margin-top: 40px; }

/* 物件情報：エリアの切り替え（左に小さな見出し＋小さなボタン → 真ん中に大きめの2択。件数つき） */
html .rh-tprop__area { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; gap: 0; margin: 40px auto 0; padding: 4px; width: max-content; max-width: 100%; border-radius: 999px; background: var(--rh-white); box-shadow: inset 0 0 0 1px var(--rh-line); }
html .rh-ttab { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 28px; border: 0; border-radius: 999px; background: none; color: var(--rh-ink); font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: .5px; }
html .rh-ttab__n { font-size: 12px; font-weight: 500; opacity: .75; }
html .rh-ttab[aria-selected="true"] { background: var(--rh-blue); color: var(--rh-white); }
html .rh-tprop__cards { margin-top: 36px; }
html .rh-tprop__cards:not([hidden]), html .rh-tbrand__panel:not([hidden]) { animation: rh-tfade .35s ease; }
@keyframes rh-tfade { from { opacity: 0; } to { opacity: 1; } }

/* 土地・分譲地：物件カードの下に横長で（カードの列と同じ幅）。写真は動かさない。一覧のボタンはセクションの最後 */
html .rh-tland { display: grid; grid-template-columns: 300px 1fr; width: auto; height: auto; margin: 48px 0 0; border-radius: 4px; overflow: hidden; }
html .rh-tland__text { width: auto; padding: 32px 30px; gap: 10px; justify-content: center; }
html .rh-tland__text b { font-size: 22px; line-height: 1.5; }
html .rh-tland__lead { font-size: 13px; line-height: 1.7; color: var(--rh-ink); }
html .rh-tland__link { margin-top: 14px; }
html .rh-tland__photos { grid-template-columns: repeat(4, 1fr); grid-template-rows: 200px; }
html .rh-tland__photos img:nth-child(1) { object-position: center 70%; }
html .rh-tprop__all { margin-top: 56px; }

/* イベント：前後のボタンを、カード全体のリンクより上に（押すとイベントのページに飛んでいた） */
html .rh-tarrows--side { z-index: 3; }

/* ブランドラインナップ：パネル全体を1つのリンクに（中の写真の点は押せるまま） */
html .rh-tbrand__panel { position: relative; }
html .rh-tbrand__cover { position: absolute; inset: 0; z-index: 1; border-radius: 3px 6px 6px 3px; }
html .rh-tbrand__dots, html .rh-tbrand__go { position: relative; z-index: 2; }
html .rh-tbrand__go { position: absolute; }
html .rh-tbrand__side, html .rh-tbrand__go { transition: background-color .25s, transform .25s ease; }
@media (hover: hover) {
  html .rh-tbrand__panel:hover .rh-tbrand__side { background: #e3effb; }
  html .rh-tbrand__panel:hover .rh-tbrand__go { background: #00428a; }
  html .rh-tland:hover .rh-tland__text b { color: var(--rh-blue); }
  html .rh-ttab[aria-selected="false"]:hover { background: var(--rh-soft); color: var(--rh-blue); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html .rh-tbrand__panel:hover .rh-tbrand__go { transform: translate(2px, -2px); }
}

@media (max-width: 767px) {
  html .rh-tbanner__track { gap: 12px; }
  html .rh-tprop__area { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: 24px; }
  html .rh-ttab { min-height: 48px; padding: 8px 12px; font-size: 14px; flex-direction: column; gap: 0; }
  html .rh-tland { grid-template-columns: 1fr; margin-top: 32px; }
  html .rh-tland__text { padding: 22px 20px; }
  html .rh-tland__photos { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 28vw); }
  html .rh-tprop__all { margin-top: 40px; }
}


/* ---------- 10/10（2回目）：両備ホームズの想い・お客様の声・トピックス ---------- */
/* 想い：文章とリンクを大きく。項目の見出しと中身の間を詰め、項目どうしの間を広げる。1つ1つをカード（全体が1つのリンク）に */
html .rh-tconcept__msg { width: 470px; }
html .rh-tconcept__msg p { font-size: 14px; line-height: 27px; }
html .rh-tconcept__msg .rh-tline, html .rh-tconcept__item .rh-tline { font-size: 14px; }
html .rh-tconcept__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 56px; }   /* 枠は付けず、間の余白で4つを分ける */
html .rh-tconcept__item { display: block; color: var(--rh-white); text-decoration: none; }   /* 項目全体が1つのリンク（見た目の枠は無し） */
html .rh-tconcept__label { display: flex; }
html .rh-tconcept__row { display: flex; margin-top: 20px; gap: 28px; }
html .rh-tconcept__row img { width: 217px; height: 144px; }
html .rh-tconcept__body { display: flex; flex: 1; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 24px; min-width: 0; }
html .rh-tconcept__item .rh-tline { white-space: nowrap; }
html .rh-tconcept__catch { display: block; align-self: stretch; }
html .rh-tconcept__item .rh-tline > span { display: inline-block; transition: transform .25s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html .rh-tconcept__item:hover .rh-tline > span { transform: translate(3px, -3px); }
}
/* お客様の声・トピックス：見出しを他のセクションと同じ形に */
html .rh-tlegacy-head { margin-bottom: 48px; }
@media (max-width: 767px) {
  html .rh-tconcept__msg { width: auto; }
  html .rh-tconcept__msg p { white-space: normal; }
  html .rh-tconcept__items { grid-template-columns: 1fr; gap: 40px; }
  html .rh-tconcept__row { gap: 16px; margin-top: 14px; }
  html .rh-tconcept__row img { width: 40%; height: auto; aspect-ratio: 217 / 144; }
  html .rh-tlegacy-head { margin-bottom: 28px; }
}

/* ---------- 10/10（3回目：スマホの確認） ---------- */
/* FV：表示中の写真をゆっくり動かす。PC は少しずつ拡大、スマホは横に流す（縦長に切り抜くと真ん中しか見えないため、左右を見せる）。
   切り替えで消えていく写真も動きを続ける（is-out。rh-top.js の 1） */
@keyframes rh-tfv-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes rh-tfv-pan { from { object-position: 40% 50%; } to { object-position: 60% 50%; } }   /* 真ん中の少し左から少し右へ、ごくゆっくり（端から端だと速すぎ、真ん中を見せたい） */
@media (prefers-reduced-motion: no-preference) {
  html .rh-tfv__img.is-on, html .rh-tfv__img.is-out { animation: rh-tfv-zoom 10s linear forwards; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  html .rh-tfv__img.is-on, html .rh-tfv__img.is-out { animation: rh-tfv-pan 10s linear forwards; }
  html .rh-tfv__img:nth-child(even).is-on, html .rh-tfv__img:nth-child(even).is-out { animation-direction: reverse; }   /* 1枚ごとに流れる向きを変える */
}

/* 物件情報のエリア切り替え：PC は小さく、幅もコンパクトに */
html .rh-tprop__area { grid-template-columns: repeat(2, minmax(0, 180px)); }
html .rh-ttab { min-height: 40px; padding: 6px 18px; font-size: 13px; }

/* 土地・分譲地：写真は家の見える下寄りで切り抜く */
html .rh-tland__photos img, html .rh-tland__photos img:nth-child(1) { object-position: center 72%; }

/* ブランドの内観：横にスワイプして送る（点でも送れる。自動でも送る）。パネル全体のリンクより上に置いて、スワイプできるようにする */
html .rh-tbrand__in { position: relative; z-index: 2; }
html .rh-tbrand__strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 3px; }
html .rh-tbrand__strip::-webkit-scrollbar { display: none; }
html .rh-tbrand__strip img { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; }
html .rh-tbrand__dots button { width: 8px; height: 8px; }

@media (max-width: 767px) {
  html .rh-twork__body { margin-top: 10px; }
  html .rh-tprop__area { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html .rh-ttab { min-height: 38px; padding: 6px 7px; font-size: 12px; flex-direction: row; }
  /* 家づくり：写真を先に、その後に文章。ブランドラインナップとの間を広げる */
  html .rh-tcustom { padding-bottom: 40px; }
  /* 見出し → 写真 → 文章 の順に（パネルの中身を section の並びに出して、順番を入れ替える） */
  html .rh-tcustom__panel { display: contents; }
  html .rh-tcustom .rh-thead { order: 0; }
  html .rh-tcustom__photos { order: 1; margin: 20px 20px 0; grid-template-rows: 32vw 32vw; }
  html .rh-tcustom__main { height: 100% !important; }   /* 大きい写真は2段分の高さに収める（下の文章に重なっていた） */
  html .rh-tbrand__in img { height: 34vw; }
  html .rh-tcustom__text { order: 2; margin-top: 24px; }
  html .rh-tbrand { padding-top: 88px; }
  /* ブランド：パネルをコンパクトに */
  html .rh-tbrand__ext { height: 48vw; }
  html .rh-tbrand__side { padding: 18px 16px 52px; }
  html .rh-tbrand__en { margin-top: 8px; font-size: 26px; }
  html .rh-tbrand__panel[data-rh-bpanel="compact"] .rh-tbrand__en { font-size: 22px; }
  html .rh-tbrand__catch { margin-top: 10px; font-size: 14px; }
  html .rh-tbrand__in { margin-top: 14px; }
  html .rh-tbrand__in img { height: 38vw; }
  html .rh-tbrand__dots { margin-top: 8px; }
  html .rh-tbrand__go { right: 16px; bottom: 14px; }
  /* 両備ホームズの想い：項目のリンクを小さく（詰まって見えていた） */
  html .rh-tconcept__item .rh-tline { font-size: 11px; }
  html .rh-tconcept__label b { font-size: 17px; }   /* 項目の見出し */
}

/* FV の文字：自然な影を付けて読みやすく。スマホは見出しを大きくして2行に、下の文は 13px。写真の下側を少しだけ暗くする */
html .rh-tfv__text { filter: none; text-shadow: 0 1px 3px rgba(0, 0, 0, .28), 0 2px 18px rgba(0, 0, 0, .32); }
html .rh-tfv::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to top, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0)); pointer-events: none; }
html .rh-tfv__text { z-index: 1; }
@media (max-width: 767px) {
  html .rh-tfv__title { font-size: 34px; line-height: 1.45; letter-spacing: 2px; }
  html .rh-tfv__lead { margin-top: 8px; font-size: 13px; line-height: 23px; }
}


/* ==========================================================================
   10/15 社内コメント対応（社内コメント対応_2026-10-15.md の T1・T4・T5・T6）
   ========================================================================== */

/* T1ラインナップ：hygge の外観は縦長の写真（1600×1495）で、真ん中で切り抜くと家の下が切れて空ばかりになっていた。
   Figma（376:4390）と同じく、家の全体が入るよう下寄りで切り抜く。ほかのブランドは横長で、ほぼ切れない */
html .rh-tbrand__panel[data-rh-bpanel="hygge"] .rh-tbrand__ext img { object-position: center 75%; }   /* 下端に合わせるとスマホで屋根が切れるので 75% */

/* T4土地・分譲地の写真：高さを % で指定していたため、iPhone の Safari で写真の高さがセルに合わず、
   元の比率のまま上だけ見える（空だけになる）ことがあった。高さを数値で指定する */
html .rh-tland__photos img { height: 200px; }
@media (max-width: 767px) {
  html .rh-tland__photos img { height: 28vw; }
}

/* T5両備ホームズの家づくり：見出しを左揃えから、ほかのセクションと同じ中央揃えに。
   PC は見出しをグレーのパネルの上（白地）に置き、パネル・写真・文章はその下から始める */
html .rh-tcustom { padding-top: 0; min-height: 0; padding-bottom: 64px; }
html .rh-tcustom__panel { align-self: stretch; }
html .rh-tcustom .rh-thead { align-self: stretch; width: auto; margin-left: 0; }
html .rh-tcustom::before { top: 140px; bottom: 0; height: auto; }   /* 見出し 100px＋40px の下からグレー */
html .rh-tcustom__text { margin-top: 104px; }   /* グレーの上端から 64px */
html .rh-tcustom__photos { top: 204px; }
@media (max-width: 1100px) {
  html .rh-tcustom { padding-top: 64px; }
  html .rh-tcustom::before { top: 0; }   /* 写真が文章の下に回る幅では、見出しも含めて全体をグレーの帯に */
  html .rh-tcustom__text { margin-top: 24px; }
}

/* T6セクションの間の余白をそろえる：PC は 100px、スマホは 64px（白地どうしは中身から中身、色の帯は帯の端から中身）。
   FV の下の入口・特集バナーは FV とひとまとまりなので今のまま */
html .rh-tprop { margin-top: 100px; }   /* 施工事例との間が 124px だった */
@media (max-width: 767px) {
  html .rh-tprop { margin-top: 64px; }
  html .rh-tcustom { margin-top: 64px; padding-top: 64px; padding-bottom: 64px; }
  html .rh-tcustom__photos { margin-top: 28px; }
  html .rh-tbrand { padding-top: 64px; }   /* 家づくりのグレーの帯の下が 88px＋見出しで広すぎた */
  html .rh-tconcept { margin-top: 64px; padding: 64px 0; }
  html body.rh-page--top #t-voice, html body.rh-page--top #t-topics { --spaceSize: 64px; }   /* 今のテーマのセクション（お客様の声・トピックス）。テーマの既定はスマホ 50px */
}

/* ---------- （T10・T19）：両備ホームズの想い ---------- */
/* T10 大見出しをはっきり大きく。4項目の説明（多彩な暮らしに応える〜）は小さくして、項目の見出し（設計・デザイン など）との差を付ける。
   項目のリンク文は「more ↗」（rh/front/render.php） */
html .rh-tconcept__msg { width: 500px; }
html .rh-tconcept__msg h2 { font-size: 42px; line-height: 1.6; letter-spacing: 2px; }
html .rh-tconcept__catch { font-size: 15px; line-height: 1.8; letter-spacing: .5px; }
html .rh-tconcept__item .rh-tline { min-width: 120px; justify-content: space-between; font-family: var(--rh-en-sans); font-size: 13px; letter-spacing: .5px; }
/* T19「両備ホームズの考える安心を見る」：下線のリンクから、暗い背景に白い枠のボタンに（サイトの枠線ボタン .rh-btn と同じ形。塗りは無し） */
html .rh-tconcept__btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 56px; margin-top: 10px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, .85); border-radius: var(--rh-r-btn);
  color: var(--rh-white); font-size: 14px; font-weight: 700; letter-spacing: .5px; text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
html .rh-tconcept__btn > span { display: inline-block; font-weight: 400; transition: transform .25s ease; }
@media (hover: hover) {
  html .rh-tconcept__btn:hover { background: rgba(255, 255, 255, .14); border-color: var(--rh-white); color: var(--rh-white); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html .rh-tconcept__btn:hover > span { transform: translate(2px, -2px); }
}
@media (max-width: 767px) {
  html .rh-tconcept__msg { width: auto; }
  html .rh-tconcept__msg h2 { font-size: 28px; line-height: 1.6; letter-spacing: 1.5px; }
  html .rh-tconcept__catch { font-size: 13px; line-height: 1.75; }
  html .rh-tconcept__item .rh-tline { min-width: 96px; font-size: 12px; }
  html .rh-tconcept__btn { display: flex; min-height: 52px; padding: 0 18px; }
}

/* ---------- （T12・T16・お役立ち情報） ---------- */
/* T12 お客様の声：白い文字の枠が写真の大事なところに重なっていた（テーマは margin-top: -70px）。写真の下の端に少しだけ掛かる位置まで下げる */
html #t-voice .t-voiceSlide .voiceItemFoot { margin-top: -16px; }
@media (max-width: 767px) {
  html #t-voice .t-voiceSlide .voiceItemFoot { margin-top: -10px; }
}
/* T16 リフォーム・法人のボタンと、家づくりのグレーの2つのボタン：アイコンを外した（rh/front/render.php）。文字と ＞ だけで左右の余白をそろえる */
html .rh-tsubbtn { gap: 0; padding: 0 14px 0 16px; }
html .rh-tsubbtn::after { margin-left: 10px; flex: none; }
/* トピックスのカードのカテゴリ（お役立ち情報 など）：青い塗りの札から、青い文字だけに（テーマは塗り＋14px） */
html #t-topics .topicsItem .cate { padding: 0; background: none; border: 0; color: var(--mainColor); font-size: 13px; font-weight: 700; }

/* CONCEPT の数字の欄：「注文・建売住宅の建築実績」が3行に割れていた（20px×8字が欄の幅 161px に入らない）。文字を 18px にして2行に収める */
html .rh-tconcept__nums dt { flex: none; font-size: 18px; letter-spacing: 0; }
@media (min-width: 768px) { html .rh-tconcept__nums > div { gap: 36px; } }   /* 右の数字が枠から 2px はみ出していた分（SP は今の 16px のまま） */

/* ---------- 物件情報を横スライドに：最大6件。PC は3件ずつ見せて矢印で送る、スマホは次のカードを少し見せて指で送る ----------
   カードは中の行をそろえる作り（subgrid・8行）なので、grid のまま列方向に並べる */
html .rh-tprop .rh-tprop__cards {
  grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(8, auto); grid-auto-columns: calc((100% - 60px) / 3);
  margin-bottom: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
html .rh-tprop .rh-tprop__cards::-webkit-scrollbar { display: none; }
html .rh-tprop .rh-tprop__cards > .rh-pcard { scroll-snap-align: start; padding-bottom: 8px; }
html .rh-tprop .rh-tprop__cards:focus-visible { outline: 2px solid var(--rh-blue); outline-offset: 4px; }
html .rh-tprop__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
html .rh-tprop__panel.is-static .rh-tprop__nav { display: none; }
html .rh-tprop__arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--rh-blue); border-radius: 50%; background: var(--rh-white); color: var(--rh-blue); font-size: 22px; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
html .rh-tprop__arrow:disabled { opacity: .3; cursor: default; }
@media (hover: hover) { html .rh-tprop__arrow:not(:disabled):hover { background: var(--rh-blue); color: var(--rh-white); } }
@media (max-width: 767px) {
  html .rh-tprop .rh-tprop__cards { grid-auto-columns: 82%; column-gap: 16px; }
  html .rh-tprop__nav { display: none; }
}
/* 指で操作する端末：カードの中の写真は送らず（1枚目だけ）、横の指の動きはカードを送る方に使う */
@media (hover: none) {
  html .rh-tprop .rh-tprop__cards .rh-slider__track { overflow-x: hidden; }
  html .rh-tprop .rh-tprop__cards .rh-slider__dots { display: none; }
}

/* リフォーム・法人のボタン：上の3枚のカードと同じ調子に（淡い青の地・細い青の枠・紺の文字。中田さんの #3・9。文字のリンクにはしない） */
html .rh-tsubbtn { border: .5px solid var(--rh-line-blue); background: var(--rh-soft); color: var(--rh-dark); }
html .rh-tsubbtn::after { border-color: var(--rh-blue); }
@media (hover: hover) { html .rh-tsubbtn:hover { opacity: 1; background: #e2edf7; border-color: var(--rh-blue); color: var(--rh-dark); } }
html .rh-tsubbtn__icon { display: block; flex: none; margin-right: 8px; background: var(--rh-blue); -webkit-mask: var(--rh-icon) center / contain no-repeat; mask: var(--rh-icon) center / contain no-repeat; }

/* 施工事例のタイトル：PC は大きく（清水 10/18：26px・行間 1.4）。スマホは今のまま */
@media (min-width: 768px) { html .rh-twork__title { font-size: 26px; line-height: 1.4; } }

/* イベント情報：岡山／香川・高松の切り替え、一度に3件（清水 10/18） */
html .rh-tevent__area { justify-content: center; }
html .rh-tevent__wrap { margin-top: 32px; }
@media (min-width: 768px) { html .rh-tevent__item { width: calc((100% - 28px * 2) / 3); } }
/* イベント情報の矢印：大きく（清水 10/18）。写真の高さの真ん中に、少し外へ出す */
@media (min-width: 768px) {
  html .rh-tevent .rh-tarrows--side { top: calc((100% - 28px * 2) / 3 / 2 - 22px); margin: 0 -22px; }
  html .rh-tevent .rh-tarrow { width: 44px; height: 44px; background-size: 14px 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
}

/* ---------- タブレット（768〜1100px。清水 10/22：iPad の 768px を最小として見直し） ---------- */
/* FV の見出し：横幅に合わせて小さく（1280px で 60px、768px で 36px）。「。」だけが次の行に落ちていた */
@media (min-width: 768px) {
  html .rh-tfv__title { font-size: clamp(36px, 4.69vw, 60px); letter-spacing: .05em; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  html .rh-tfv__text { left: 40px; right: 40px; bottom: 36px; }
  html .rh-tfv__lead { font-size: 13px; line-height: 24px; }
  /* 入口：3つを横に並べる（縦に積んでいた） */
  html .rh-tentry__cards { flex-wrap: nowrap; gap: 10px; }
  html .rh-tentry__card { flex: 1 1 0; width: auto; min-width: 0; height: 72px; }
  html .rh-tentry__photo { width: 60px; height: 72px; }
  html .rh-tentry__text { min-width: 0; margin-left: 10px; padding-right: 28px; font-size: 13px; line-height: 22px; letter-spacing: 0; }
  html .rh-tentry__text small { font-size: 9px; }
  html .rh-tentry__go { left: auto; right: 10px; top: 50%; margin-top: -8.5px; }
  html .rh-tentry__sub { max-width: none; }
  /* ブランドラインナップのタブ：5つが幅に入らないので、小さな写真を外して名前だけに */
  html .rh-tbrand__tab { justify-content: center; text-align: center; padding: 8px 6px; }
  html .rh-tbrand__tab img { display: none; }
  html .rh-tbrand__tab span { align-items: center; }
}
/* 物件情報：959px までは一度に2件（3件だとカードが 196px しかなく、写真が隣のカードに重なっていた）。両備ホームズの想い：1023px までは4つを1列に（2列だと説明が数文字ずつで折り返していた） */
@media (min-width: 768px) and (max-width: 959px) {
  html .rh-tprop .rh-tprop__cards { grid-auto-columns: calc((100% - 30px) / 2); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  html .rh-tconcept__items { grid-template-columns: 1fr; gap: 48px; }
}
/* 物件カードの写真：カードの幅からはみ出さない（縦横比を保とうとして行の高さに引っ張られ、カードより広がっていた） */
html .rh-tprop .rh-pcard__media { width: 100%; min-width: 0; }
