/* スキー宿の空室状況 /ski/hotel-vacancy/ — このページ専用（#tin-hv の中だけに効く） */
#tin-hv {
  --hv-main: #0a5aa8;
  --hv-main-dk: #073f78;
  --hv-accent: #e8590c;
  --hv-ok: #1a7f37;
  --hv-ok-bg: #e9f6ec;
  --hv-few: #b45f00;
  --hv-few-bg: #fff3df;
  --hv-full: #8a939c;
  --hv-full-bg: #f1f3f5;
  --hv-line: #d9e2ec;
  --hv-bg: #f3f7fb;
  --hv-sat: #1565c0;
  --hv-sat-bg: #eef4fc;
  --hv-sun: #c62828;
  --hv-sun-bg: #fdf0f0;
  --hv-text: #1f2933;
  --hv-col0: 230px;
  --hv-col: 46px;
  color: var(--hv-text);
  font-size: 15px;
  line-height: 1.6;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 48px;
  box-sizing: border-box;
}
#tin-hv *, #tin-hv *::before, #tin-hv *::after { box-sizing: border-box; }
#tin-hv [hidden] { display: none !important; }
#tin-hv img { max-width: 100%; height: auto; }
#tin-hv button { font: inherit; cursor: pointer; }

/* 見出し */
#tin-hv .hv-head { padding: 24px 0 8px; text-align: center; }
#tin-hv .hv-head__brand { margin: 0; font-size: 13px; }
#tin-hv .hv-head__brand a { color: var(--hv-main); text-decoration: none; }
#tin-hv .hv-head__title { margin: 4px 0 8px; font-size: 28px; line-height: 1.4; color: var(--hv-main-dk); letter-spacing: .04em; }
#tin-hv .hv-head__lead { margin: 0 auto; max-width: 760px; font-size: 15px; }
#tin-hv .hv-closed { margin: 24px 0; padding: 24px; border: 2px solid var(--hv-accent); border-radius: 8px; text-align: center; color: var(--hv-accent); font-weight: bold; }
#tin-hv .hv-stale { margin: 16px 0 0; padding: 10px 14px; border-radius: 6px; background: #fff3df; color: #8a4b00; font-weight: bold; }

/* 絞り込み */
#tin-hv .hv-filter { background: #fff; border: 1px solid var(--hv-line); border-radius: 10px; padding: 12px 14px; margin: 16px 0 12px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
#tin-hv .hv-filter__row { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; }
#tin-hv .hv-filter__row--inline { align-items: center; flex-wrap: wrap; }
#tin-hv .hv-filter__label { flex: 0 0 5.5em; margin: 0; padding-top: 5px; font-weight: bold; font-size: 14px; color: var(--hv-main-dk); }
#tin-hv .hv-filter__row--inline .hv-filter__label { padding-top: 0; }
#tin-hv .hv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#tin-hv .hv-chip { border: 1px solid var(--hv-main); background: #fff; color: var(--hv-main); border-radius: 999px; padding: 4px 14px; font-size: 14px; line-height: 1.6; }
#tin-hv .hv-chip.is-on { background: var(--hv-main); color: #fff; }
#tin-hv .hv-select, #tin-hv .hv-search { font: inherit; font-size: 15px; padding: 6px 10px; border: 1px solid #b8c4d0; border-radius: 6px; background: #fff; min-height: 38px; }
#tin-hv .hv-select { max-width: 100%; }
#tin-hv .hv-search { flex: 1 1 180px; min-width: 0; }
#tin-hv .hv-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; cursor: pointer; }
#tin-hv .hv-check input { -webkit-appearance: checkbox; appearance: auto; position: static; opacity: 1; display: inline-block; visibility: visible; width: 18px; height: 18px; margin: 0; }   /* サイト共通CSSでチェックボックスが隠れるため戻す */

/* 日付の切り替え（画面上部に付いてくる） */
#tin-hv .hv-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0 6px; }
#tin-hv .hv-nav__btn { border: 1px solid var(--hv-main); background: var(--hv-main); color: #fff; border-radius: 6px; padding: 8px 14px; font-size: 14px; font-weight: bold; min-height: 40px; }
#tin-hv .hv-nav__btn:disabled { background: #fff; color: #b8c4d0; border-color: #d9e2ec; cursor: default; }
#tin-hv .hv-nav__range { margin: 0; font-size: 18px; font-weight: bold; color: var(--hv-main-dk); text-align: center; flex: 1 1 auto; }
#tin-hv .hv-months { flex: 0 0 100%; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
#tin-hv .hv-month { border: 1px solid var(--hv-line); background: #fff; color: var(--hv-main-dk); border-radius: 6px; padding: 3px 12px; font-size: 14px; }
#tin-hv .hv-month.is-on { border-color: var(--hv-main); background: var(--hv-bg); font-weight: bold; }

/* 凡例 */
#tin-hv .hv-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 4px; padding: 0; font-size: 13px; }
#tin-hv .hv-legend li { display: flex; align-items: center; gap: 4px; }
#tin-hv .hv-legend__note { color: #52606d; }
#tin-hv .hv-mk { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 22px; border-radius: 4px; font-weight: bold; }
#tin-hv .hv-count { margin: 4px 0; font-size: 14px; text-align: right; }
#tin-hv .hv-count span { font-size: 20px; font-weight: bold; color: var(--hv-accent); margin-right: 2px; }

/* 表（左の宿名と上の日付は固定。表の中だけスクロール） */
#tin-hv .hv-table-wrap { overflow: auto; max-height: calc(100vh - 80px); border: 1px solid var(--hv-line); border-radius: 8px; background: #fff; -webkit-overflow-scrolling: touch; }
#tin-hv .hv-table { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; table-layout: fixed; font-size: 14px; }
#tin-hv .hv-table th, #tin-hv .hv-table td { border-bottom: 1px solid var(--hv-line); border-right: 1px solid #edf1f5; padding: 0; }
#tin-hv .hv-table thead th { position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 2px solid var(--hv-main); }
#tin-hv .hv-th0 { left: 0; z-index: 4 !important; width: var(--hv-col0); min-width: var(--hv-col0); text-align: left; padding: 6px 10px !important; font-size: 12px; color: #52606d; }
#tin-hv .hv-th { width: var(--hv-col); min-width: var(--hv-col); text-align: center; padding: 4px 0 !important; line-height: 1.25; font-weight: normal; }
#tin-hv .hv-th__m { display: block; font-size: 11px; font-weight: bold; color: var(--hv-main-dk); }
#tin-hv .hv-th__d { display: block; font-size: 16px; font-weight: bold; }
#tin-hv .hv-th__w { display: block; font-size: 11px; }
#tin-hv thead .hv-th.is-sat { background: var(--hv-sat-bg); color: var(--hv-sat); }
#tin-hv thead .hv-th.is-sun { background: var(--hv-sun-bg); color: var(--hv-sun); }

#tin-hv .hv-table tbody th { position: sticky; left: 0; z-index: 2; background: #fff; text-align: left; font-weight: normal; width: var(--hv-col0); min-width: var(--hv-col0); max-width: var(--hv-col0); }
#tin-hv .hv-resort th { background: var(--hv-main-dk) !important; color: #fff; padding: 0 !important; }
#tin-hv .hv-resort th > span { position: sticky; left: 0; display: inline-block; padding: 6px 10px; font-weight: bold; font-size: 15px; }
#tin-hv .hv-resort small { margin-left: 8px; font-size: 12px; font-weight: normal; opacity: .85; }

#tin-hv .hv-hotel th { padding: 0 !important; }
#tin-hv .hv-hotel__btn { display: block; width: 100%; min-height: 48px; padding: 6px 28px 6px 10px; border: 0; background: transparent; text-align: left; position: relative; color: var(--hv-text); }
#tin-hv .hv-hotel__btn::after { content: ""; position: absolute; right: 10px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--hv-main); border-bottom: 2px solid var(--hv-main); transform: rotate(45deg); transition: transform .15s; }
#tin-hv .hv-hotel.is-open .hv-hotel__btn::after { transform: rotate(-135deg); margin-top: -2px; }
#tin-hv .hv-hotel__name { display: block; font-weight: bold; color: var(--hv-main); line-height: 1.4; }
#tin-hv .hv-hotel__sub { display: block; font-size: 11px; color: #52606d; }
#tin-hv .hv-hotel:hover th, #tin-hv .hv-hotel:hover td { filter: brightness(.97); }
#tin-hv .hv-hotel { cursor: pointer; }
#tin-hv .hv-hotel.is-open th, #tin-hv .hv-hotel.is-open td { border-bottom-color: transparent; }

/* 記号のマス */
#tin-hv .hv-c, #tin-hv .hv-mk { text-align: center; font-weight: bold; }
#tin-hv .hv-c { height: 40px; font-size: 16px; }
#tin-hv .is-o { color: var(--hv-ok); background: var(--hv-ok-bg); }
#tin-hv .is-t { color: var(--hv-few); background: var(--hv-few-bg); }
#tin-hv .is-x { color: var(--hv-full); background: var(--hv-full-bg); font-weight: normal; }
#tin-hv .is-n { color: #c3cbd3; background: #fff; font-weight: normal; }
#tin-hv .hv-c.is-n.is-sat { background: var(--hv-sat-bg); }
#tin-hv .hv-c.is-n.is-sun { background: var(--hv-sun-bg); }

/* 開いた宿：宿の情報・客室・部屋タイプ */
#tin-hv .hv-detail td { background: var(--hv-bg); padding: 0; }
#tin-hv .hv-detail__sticky { position: sticky; left: 0; width: min(100%, calc(100vw - 50px)); max-width: 1046px; }
#tin-hv .hv-info { display: flex; gap: 14px; padding: 12px; }
#tin-hv .hv-info__img { flex: 0 0 160px; width: 160px; height: 107px; object-fit: cover; border-radius: 6px; }
#tin-hv .hv-info__body { flex: 1 1 auto; min-width: 0; }
#tin-hv .hv-info__acc { margin: 0 0 4px; font-size: 14px; }
#tin-hv .hv-info__icons { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; padding: 0; }
#tin-hv .hv-info__icons li { font-size: 12px; padding: 1px 8px; border: 1px solid #b8c4d0; border-radius: 999px; background: #fff; }
#tin-hv .hv-info__plans-title { margin: 0 0 4px; font-size: 12px; color: #52606d; }
#tin-hv .hv-info__plans { list-style: none; margin: 0; padding: 0; }
#tin-hv .hv-info__plans li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 0; border-top: 1px dashed var(--hv-line); }
#tin-hv .hv-info__cat { font-size: 13px; font-weight: bold; margin-right: 4px; }
#tin-hv .hv-info__nolink { font-size: 12px; color: #52606d; }
#tin-hv .hv-btn { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--hv-accent); color: #fff; font-size: 13px; font-weight: bold; text-decoration: none; line-height: 1.6; }
#tin-hv .hv-btn:hover { opacity: .85; }
#tin-hv .hv-cat th { background: #f7f9fb !important; padding: 6px 10px !important; font-size: 12px; font-weight: bold; color: var(--hv-main-dk); line-height: 1.4; }
#tin-hv .hv-cat__room { display: block; font-weight: normal; color: #52606d; }
#tin-hv .hv-cat .hv-c { height: 34px; font-size: 14px; }
#tin-hv .hv-room th { padding: 4px 10px 4px 22px !important; font-size: 12px; color: #52606d; background: #fff !important; }
#tin-hv .hv-room .hv-c { height: 30px; font-size: 13px; }

#tin-hv .hv-none { margin: 16px 0; padding: 20px; text-align: center; background: var(--hv-bg); border-radius: 8px; }
#tin-hv .hv-reset { margin-left: 8px; border: 1px solid var(--hv-main); background: #fff; color: var(--hv-main); border-radius: 6px; padding: 4px 12px; }
#tin-hv .hv-notes { margin-top: 16px; font-size: 13px; color: #52606d; }
#tin-hv .hv-notes p { margin: 0 0 4px; }
#tin-hv .hv-notes ul { margin: 0; padding-left: 1.2em; }

/* スマホ */
@media (max-width: 767px) {
  #tin-hv { --hv-col0: 108px; --hv-col: 35px; font-size: 14px; padding: 0 12px 40px; }
  #tin-hv .hv-head__title { font-size: 22px; }
  #tin-hv .hv-head__lead { font-size: 14px; text-align: left; }
  #tin-hv .hv-head__lead br { display: none; }
  #tin-hv .hv-filter { padding: 10px; }
  #tin-hv .hv-filter__row { flex-direction: column; gap: 4px; }
  #tin-hv .hv-filter__row--inline { flex-direction: row; }
  #tin-hv .hv-filter__label { flex: none; padding-top: 0; }
  #tin-hv .hv-filter__row--inline .hv-filter__label { flex: 0 0 100%; }
  #tin-hv .hv-select { flex: 1 1 100%; }
  #tin-hv .hv-chip { padding: 4px 12px; font-size: 13px; }
  #tin-hv .hv-nav__btn { padding: 8px 10px; font-size: 13px; }
  #tin-hv .hv-nav__range { font-size: 15px; flex: 1 1 0; }
  #tin-hv .hv-legend__note { flex: 0 0 100%; }
  #tin-hv .hv-th0 { font-size: 10px; padding: 4px 6px !important; }
  #tin-hv .hv-hotel__btn { padding: 6px 20px 6px 8px; font-size: 13px; }
  #tin-hv .hv-hotel__btn::after { right: 7px; width: 7px; height: 7px; }
  #tin-hv .hv-cat th { padding: 5px 8px !important; font-size: 11px; }
  #tin-hv .hv-room th { padding: 4px 8px 4px 14px !important; font-size: 11px; }
  #tin-hv .hv-c { height: 44px; font-size: 15px; }
  #tin-hv .hv-table-wrap { max-height: calc(100vh - 150px); }   /* 画面下のサイト共通メニューの分をあける */
  #tin-hv .hv-th__d { font-size: 15px; }
  #tin-hv .hv-info { gap: 10px; padding: 10px; }
  #tin-hv .hv-info__img { flex: 0 0 96px; width: 96px; height: 64px; }
  #tin-hv .hv-detail__sticky { width: calc(100vw - 26px); }
}

/* 2026-11-11 追記：テーマ共通ヘッダー（get_template_part('inc/header')・画面上部に固定）の分をあける
   高さは /ski/special/supersale/ の本文の上余白と同じ（PC 75px／スマホ 72.8px）。表の高さも固定ヘッダーとスマホ下部の固定メニューの分を引く */
#tin-hv { padding-top: 75px; }
#tin-hv .hv-table-wrap { max-height: calc(100vh - 100px); }
@media (max-width: 767px) {
  #tin-hv { padding-top: 72.8px; }
  #tin-hv .hv-table-wrap { max-height: calc(100vh - 170px); }
}

/* ===================================================================
   2026-11-19 追記：日付を選ぶ（その日に空きのある宿だけ）・注意書きの位置・タグ・プラン
   =================================================================== */
/* 日付のボタンとタグ */
#tin-hv .hv-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#tin-hv .hv-pick { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #b8c4d0; background: #fff; border-radius: 8px; padding: 6px 12px; min-height: 38px; font-size: 14px; color: var(--hv-text); }
#tin-hv .hv-pick::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--hv-main); border-bottom: 2px solid var(--hv-main); transform: rotate(45deg); margin: -3px 0 0 4px; }
#tin-hv .hv-pick.is-open::after { transform: rotate(-135deg); margin-top: 3px; }
#tin-hv .hv-tag { display: inline-flex; align-items: center; gap: 4px; background: var(--hv-main); color: #fff; border-radius: 999px; padding: 3px 6px 3px 12px; font-size: 13px; line-height: 1.5; }
#tin-hv .hv-tag__x { border: 0; background: rgba(255,255,255,.25); color: #fff; width: 20px; height: 20px; border-radius: 50%; line-height: 20px; padding: 0; font-size: 12px; }

/* 日付を選ぶパネル（PC：絞り込みの中に開く／スマホ：画面の下から出る） */
#tin-hv .hv-panel { margin: 6px 0 4px; border: 2px solid var(--hv-main); border-radius: 10px; background: #fff; box-shadow: 0 6px 20px rgba(10,90,168,.15); overflow: hidden; }
#tin-hv .hv-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: var(--hv-bg); border-bottom: 1px solid var(--hv-line); }
#tin-hv .hv-panel__title { margin: 0; font-weight: bold; color: var(--hv-main-dk); }
#tin-hv .hv-panel__x { border: 0; background: none; font-size: 24px; line-height: 1; color: #52606d; padding: 0 4px; }
#tin-hv .hv-panel__body { padding: 12px 14px; }
#tin-hv .hv-panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--hv-line); background: #fafbfc; }
#tin-hv .hv-btn-sub { border: 1px solid #b8c4d0; background: #fff; border-radius: 8px; padding: 8px 14px; font-size: 14px; color: var(--hv-text); }
#tin-hv .hv-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 10000; }
html.hv-lock, html.hv-lock body { overflow: hidden; }
#tin-hv .hv-dc-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
#tin-hv .hv-dc-quick .hv-chip { font-size: 13px; padding: 3px 12px; }
#tin-hv .hv-dc-wrap.is-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#tin-hv .hv-dc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
#tin-hv .hv-dc-head p { margin: 0; font-weight: bold; }
#tin-hv .hv-dc-head span { width: 70px; }
#tin-hv .hv-dc-nav { border: 1px solid var(--hv-line); background: #fff; border-radius: 6px; padding: 2px 10px; font-size: 13px; }
#tin-hv .hv-dc-nav:disabled { opacity: .3; cursor: default; }
#tin-hv .hv-dc { width: 100%; border-collapse: collapse; table-layout: fixed; }
#tin-hv .hv-dc th { font-size: 12px; padding: 2px 0; color: #52606d; font-weight: normal; text-align: center; }
#tin-hv .hv-dc th:first-child { color: var(--hv-sun); }
#tin-hv .hv-dc th:last-child { color: var(--hv-sat); }
#tin-hv .hv-dc td { padding: 2px; }
#tin-hv .hv-dcd { width: 100%; height: 52px; border: 1px solid var(--hv-line); border-radius: 6px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0; color: var(--hv-text); }
#tin-hv .hv-dcd b { font-size: 15px; line-height: 1.1; }
#tin-hv .hv-dcd span { font-size: 10px; color: var(--hv-ok); font-weight: bold; line-height: 1.1; }
#tin-hv .hv-dcd.lv1 { background: #f1faf3; }
#tin-hv .hv-dcd.lv2 { background: #ddf2e2; }
#tin-hv .hv-dcd.lv3 { background: #bfe6c9; }
#tin-hv .hv-dcd.is-sat b { color: var(--hv-sat); }
#tin-hv .hv-dcd.is-sun b { color: var(--hv-sun); }
#tin-hv .hv-dcd:disabled { background: #f6f7f8; border-color: #eef1f4; cursor: default; }
#tin-hv .hv-dcd:disabled b { color: #c3cbd3; }
#tin-hv .hv-dcd.is-on { outline: 3px solid var(--hv-accent); outline-offset: -2px; background: #fff8f2; }
#tin-hv .hv-dc-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; list-style: none; margin: 8px 0 0; padding: 0; font-size: 12px; color: #52606d; }
#tin-hv .hv-dc-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 3px; border: 1px solid var(--hv-line); }
#tin-hv .hv-dc-legend i.lv3 { background: #bfe6c9; }
#tin-hv .hv-dc-legend i.lv1 { background: #f1faf3; }
#tin-hv .hv-dc-legend i.lv0 { background: #f6f7f8; }

/* 表：選んだ日の列 */
#tin-hv thead .hv-th.is-picked { background: var(--hv-accent); color: #fff; }
#tin-hv thead .hv-th.is-picked .hv-th__m { color: #fff; }
#tin-hv .hv-c.is-picked { box-shadow: inset 2px 0 0 var(--hv-accent), inset -2px 0 0 var(--hv-accent); }

/* 注意書き：絞り込みのすぐ下へ */
#tin-hv .hv-filter + .hv-backdrop + .hv-notes, #tin-hv .hv-notes { margin: 0 0 6px; padding: 8px 12px; border-radius: 6px; background: var(--hv-bg); font-size: 12px; }
#tin-hv .hv-notes ul { margin-top: 2px; }

/* プランを見る：客室ごとに、プラン名（焼額エリア券・リフト券なし など）＋交通のボタン */
#tin-hv .hv-info__plans li { align-items: flex-start; }
#tin-hv .hv-info__plan { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex: 1 1 100%; }
#tin-hv .hv-info__pname { font-size: 12px; font-weight: bold; color: var(--hv-main-dk); background: #fff; border: 1px solid var(--hv-line); border-radius: 4px; padding: 1px 8px; }

@media (max-width: 767px) {
  #tin-hv .hv-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10001; margin: 0; border: 0; border-radius: 14px 14px 0 0; max-height: 85vh; display: flex; flex-direction: column; }
  #tin-hv .hv-panel[hidden] { display: none !important; }
  #tin-hv .hv-panel__body { overflow: auto; -webkit-overflow-scrolling: touch; }
  #tin-hv .hv-filter__row--inline .hv-picker { flex: 1 1 100%; }
}

/* ===================================================================
   2026-11-24 追記：開いた宿の区切り・表のスクロールが分かるように
   =================================================================== */
/* 開いた宿：宿名の行を濃い青の線と薄い青の地で目立たせ、中身（客室・部屋タイプ）は左に青い帯、最後に太い線と「閉じる」で区切る */
#tin-hv .hv-hotel.is-open th, #tin-hv .hv-hotel.is-open td { border-top: 3px solid var(--hv-main); }
#tin-hv .hv-hotel.is-open th { background: #e3eefb !important; box-shadow: inset 6px 0 0 var(--hv-main); }
#tin-hv .hv-hotel.is-open .hv-hotel__name { color: var(--hv-main-dk); }
#tin-hv .hv-sub th { box-shadow: inset 6px 0 0 var(--hv-main); }
#tin-hv .hv-sub td:first-child { box-shadow: inset 6px 0 0 var(--hv-main); }
#tin-hv .hv-sub .hv-c { border-bottom-color: #e8edf3; }
#tin-hv .hv-cat.hv-sub th { background: #eef4fc !important; }
#tin-hv .hv-room.hv-sub th { background: #fafcff !important; }
#tin-hv .hv-sub-end td { background: var(--hv-bg); border-bottom: 3px solid var(--hv-main) !important; padding: 6px 0; box-shadow: inset 6px 0 0 var(--hv-main); }
#tin-hv .hv-sub-end .hv-detail__sticky { padding-left: 14px; }
#tin-hv .hv-close { border: 1px solid var(--hv-main); background: #fff; color: var(--hv-main); border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: bold; }
#tin-hv .hv-close:hover { background: var(--hv-main); color: #fff; }

/* 表のスクロール：スクロールバーを常に見えるように太く、下に「あと○軒」のボタンとぼかし */
#tin-hv .hv-count small { margin-left: 6px; font-size: 12px; color: #52606d; }
#tin-hv .hv-table-box { position: relative; }
#tin-hv .hv-table-wrap { scrollbar-width: auto; scrollbar-color: #8fb3d9 #eef2f6; }
#tin-hv .hv-table-wrap::-webkit-scrollbar { width: 12px; height: 12px; }
#tin-hv .hv-table-wrap::-webkit-scrollbar-track { background: #eef2f6; border-radius: 0 8px 8px 0; }
#tin-hv .hv-table-wrap::-webkit-scrollbar-thumb { background: #8fb3d9; border-radius: 6px; border: 2px solid #eef2f6; }
#tin-hv .hv-table-wrap::-webkit-scrollbar-thumb:hover { background: var(--hv-main); }
#tin-hv .hv-table-box.has-more::after { content: ""; position: absolute; left: 1px; right: 14px; bottom: 1px; height: 64px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.96)); pointer-events: none; border-radius: 0 0 8px 8px; z-index: 4; }
#tin-hv .hv-more { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 6; border: 0; background: var(--hv-main); color: #fff; border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: bold; box-shadow: 0 4px 12px rgba(7,63,120,.35); white-space: nowrap; animation: hv-bob 1.6s ease-in-out infinite; }
#tin-hv .hv-more:hover { background: var(--hv-main-dk); }
@keyframes hv-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 4px); } }
@media (prefers-reduced-motion: reduce) { #tin-hv .hv-more { animation: none; } }
@media (max-width: 767px) {
  #tin-hv .hv-count small { display: block; margin: 0; }
  #tin-hv .hv-more { font-size: 12px; padding: 7px 14px; }
}
