/* 読みやすさ 1回目（rd1、2026-11-05。inc/readability.php・stayspot-docs/readability-2026-11/rd1-2026-11-05.md）。
   style.css・top-map.css の後に読み、上から重ねる（style.css は weather の未反映の改修があるので触らない）。
   重ねる規則は頭に body を付けて、元の規則より強くする（読み込みの順に頼らない）。
   広告（.ss-aff-* .ss-scene-* .ss-ad-slot*）は adsx の A/B の最中なので、この回は触らない（adsx の2回目と合わせる）。 */

/* ---------- 8. 薄い字のコントラスト（白 5.5・地 5.1・薄緑 4.7・薄黄 4.8。どれも 4.5 以上） ---------- */
:root { --muted: #5a6b77; }

/* ---------- 8. 日本語に斜体を使わない。「未確認」は色と「—」で ---------- */
body .ss-unknown { font-style: normal; }
body .ss-unknown::before { content: "— "; }
body .ss-behavior-echo { font-style: normal; }
body .ss-log-entry.is-baseline .kind { font-style: normal; }

/* ---------- 8. 注記・出典・ラベルの最小 13px（.8125rem） ----------
   外したもの: ロゴの「倶楽部」、一覧カードの左の小さな札（.ss-card__mark）、トップの地図の県の帯の中の字（.tm-band__seg）、広告 */
body .ss-footer .inner,
body .ss-crumb,
body .ss-illus__note,
body .ss-illus__frame::after,
body .ss-stat-card__count span,
body .ss-stat-card__desc,
body .ss-section-count,
body .ss-meta-inline,
body .ss-editorial .ss-editorial__data-label,
body .ss-editorial .ss-editorial__opinion-label,
body .ss-closed-notice__evidence,
body .ss-badge,
body h1 .ss-badge,
body .ss-evidence-body,
body .ss-review-tag,
body .ss-card .src,
body .ss-linked-spots__badge,
body .ss-card__type,
body .ss-card__category,
body .ss-card__area,
body .ss-card__foot .ss-meta,
body .ss-card__facts,
body .ss-source-badge,
body .ss-confirm-bar,
body .ss-log-entry .method,
body .ss-payment-badge,
body .ss-source,
body .ss-source-card__toggle,
body .ss-weather-card__date,
body .ss-weather-card__label,
body .ss-weather-card__precip,
body .ss-map-popup-meta,
body .ss-map .leaflet-control-attribution,
body .ss-guide-eyebrow,
body .ss-guide-card .date,
body .ss-plan-item__index,
body .ss-plan-item__domain,
body .ss-plan-item__reservation,
body .ss-plan-item__move,
body .ss-plan-item__remove,
body table.ss-matrix th,
body .ss-ugc-required,
body .ss-ugc-report__chevron,
body .ss-doubt-hint,
body .ss-doubt-hover-hint,
body .tm-credit,
body .tm-hint,
body .tm-toast,
body .tm-pop,
body .tm-pop__dom a,
body .tm-pop__sub,
body .tm-bars__k,
body .tm-bars__v,
body .tm-card__fig figcaption,
body .tm-card__kind,
body .tm-card__where,
body .tm-card__conds li,
body .tm-dom b,
body .tm-legend,
body .tm-note,
body .tm-li__meta,
body .tm-li-more,
body .tm-band__sub {
  font-size: .8125rem;
}

/* ---------- 3. イラストの高さの予約。読み込む前の枠を薄緑で埋め、白い空白に見せない ---------- */
body .ss-illus__frame { aspect-ratio: 1024 / 572; background: var(--accent-bg); }
/* 施設ページでは h1 の下の「看板」（先に読み込む）。上の余白を戻す */
body .ss-illus.rd-signboard { margin: .4rem 0 1.2rem; }
/* 広い画面では横長の帯（上下を切る）にして、要約と「ひと目で分かる」箱を1画面目に入れる */
@media (min-width: 641px) {
  body .ss-illus.rd-signboard .ss-illus__frame { aspect-ratio: 1024 / 340; }
}

/* ---------- 9. 運営者・最終確認日の帯 ---------- */
.rd-trust {
  background: var(--accent-bg); color: var(--ink-soft);
  border-radius: var(--radius); margin: 0 0 1.2rem;
  font-size: .875rem; line-height: 1.6;
}
.rd-trust__list {
  list-style: none; margin: 0; padding: .45rem .9rem;
  display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; align-items: center;
}
.rd-trust__list li { display: inline-flex; align-items: center; gap: .35rem; }
.rd-trust__list b { color: var(--ink); font-variant-numeric: tabular-nums; }
.rd-trust__list time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-trust__list a { margin-left: .3rem; white-space: nowrap; }
.rd-trust .rd-ico { width: 18px; height: 18px; flex: 0 0 18px; color: var(--accent); }
.rd-trust__short { display: none; }
.ss-footer .rd-trust { margin: 0 0 1rem; text-align: left; }
/* トップはヒーローと地図の間。幅を地図とそろえる */
.rd-trust--top { max-width: 1240px; margin: 0 auto 1rem; box-sizing: border-box; }
.rd-trust--top .rd-trust__list { padding-left: 1.2rem; padding-right: 1.2rem; }
@media (max-width: 860px) {
  .rd-trust--top { margin: 0 1rem .8rem; }
  .rd-trust__list { padding: .45rem .8rem; gap: .15rem .9rem; }
}
/* 査読 中-4（11-05）: スマホは1行（約40px）。折り返さず横に送り、右端を薄くして続きがあると分かるようにする。
   開示の文が先頭なので、1画面目にはいつも開示が見える。日付・件数は横に送った先（消さない） */
@media (max-width: 640px) {
  .rd-trust { margin-bottom: .9rem; font-size: .8125rem; }
  .rd-trust__list {
    flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding: .4rem .8rem; gap: 1rem;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 94%, transparent);
    mask-image: linear-gradient(to right, #000 94%, transparent);
  }
  .rd-trust__list::-webkit-scrollbar { display: none; }
  .rd-trust__list li { flex: 0 0 auto; }
  .rd-trust .rd-ico { width: 16px; height: 16px; flex-basis: 16px; }
  /* 開示は1行に収まる短い文（同じ意味。フッターには長い文が出る） */
  .rd-trust .rd-trust__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rd-trust .rd-trust__short { display: inline; }
  /* フッターは折り返して長い文のまま */
  .ss-footer .rd-trust .rd-trust__long { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .ss-footer .rd-trust .rd-trust__short { display: none; }
  .ss-footer .rd-trust__list { flex-wrap: wrap; white-space: normal; overflow-x: visible; -webkit-mask-image: none; mask-image: none; }
  .ss-footer .rd-trust__list li { flex: 0 1 auto; min-width: 0; }
  /* 施設ページの看板は横長にして、「ひと目で分かること」の箱を1画面目に入れる */
  body .ss-illus.rd-signboard .ss-illus__frame { aspect-ratio: 1024 / 400; }
  body .ss-illus.rd-signboard { margin-bottom: .9rem; }
}

/* 線画アイコンの共通 */
.rd-ico { display: inline-block; vertical-align: middle; }

/* ---------- 1. トップのヒーロー（絵＋一言） ---------- */
.rd-hero { max-width: 1240px; margin: 0 auto; padding: 1.4rem 1.2rem 1rem; box-sizing: border-box; }
.rd-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.6rem; align-items: center;
}
.rd-hero__fig { order: 2; margin: 0; }
.rd-hero__text { order: 1; }
.rd-hero__frame {
  position: relative; overflow: hidden; border-radius: 12px;
  aspect-ratio: 1024 / 572; background: var(--accent-bg);
}
.rd-hero__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rd-hero__frame::after {
  content: "イメージイラスト"; position: absolute; left: .5rem; top: .5rem;
  padding: .1rem .45rem; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .9); color: var(--ink-soft);
  font-size: .8125rem; line-height: 1.5; pointer-events: none;
}
.rd-hero__note { margin: .45rem 0 0; font-size: .8125rem; line-height: 1.6; color: var(--muted); }
body h1.rd-hero__title {
  display: block; margin: 0 0 .6rem;
  font-size: 2rem; line-height: 1.35; letter-spacing: 0; word-break: keep-all; overflow-wrap: anywhere;
}
.rd-hero__sub { margin: 0 0 1rem; font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
.rd-hero__total { font-size: 2rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; margin: 0 .1rem; }
.rd-hero__tiles {
  list-style: none; margin: 0 0 1rem; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.rd-tile {
  display: flex; flex-direction: column; gap: .15rem; height: 100%; box-sizing: border-box;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 10px;
  padding: .7rem .8rem; color: var(--ink); text-decoration: none; transition: border-color .15s;
}
.rd-tile:hover { border-color: var(--accent); }
.rd-tile__label { display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 700; }
.rd-tile__n { font-size: 1.5rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rd-tile__n small { font-size: .8125rem; font-weight: 400; margin-left: .15rem; color: var(--ink-soft); }
.rd-tile--stay .rd-tile__n { color: var(--accent); }
.rd-tile--play .rd-tile__n { color: var(--play); }
.rd-tile--eat .rd-tile__n { color: var(--eat); }
.rd-tile__desc { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.rd-hero__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 .8rem; }
.rd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .55rem 1.1rem; box-sizing: border-box;
  border-radius: var(--radius); border: 1px solid var(--accent);
  background: var(--surface); color: var(--accent); font-weight: 700; font-size: .95rem; text-decoration: none;
}
.rd-btn--primary { background: var(--accent); color: var(--accent-ink); }
.rd-btn .rd-ico { width: 20px; height: 20px; }
.rd-hero__lede { margin: 0; font-size: .875rem; line-height: 1.7; color: var(--ink-soft); }
@media (max-width: 860px) {
  .rd-hero { padding: .8rem 1rem .6rem; }
  .rd-hero__inner { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .rd-hero__fig { order: 1; }
  .rd-hero__text { order: 2; }
  body h1.rd-hero__title { font-size: 1.6rem; }
  .rd-hero__total { font-size: 1.7rem; }
  .rd-hero__tiles { gap: 8px; }
  .rd-tile { padding: .55rem .6rem; }
  .rd-tile__n { font-size: 1.3rem; }
  .rd-tile__desc { display: none; }
  .rd-hero__cta .rd-btn { flex: 1 1 auto; }
}

/* トップの地図の見出し（h1 はヒーローへ移した） */
body .tm-head h2.tm-title { border: 0; padding: 0; margin: 0; }
/* 1. スマホの地図は 60vh まで。「地図を広げる」で縦に広げる */
.rd-map-expand { display: none; }
@media (max-width: 860px) {
  body .tm-map { max-height: 60vh; max-height: 60svh; }
  body .tm.rd-map-open .tm-map { height: 85vh; height: 85svh; max-height: none; }
  .rd-map-expand {
    display: flex; align-items: center; justify-content: center; gap: .35rem; width: 100%;
    min-height: 44px; margin: 0; padding: .45rem; box-sizing: border-box;
    border: 1px solid var(--rule); border-radius: 8px; background: var(--surface);
    color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  }
  .rd-map-expand .rd-ico { width: 18px; height: 18px; }
}

/* ---------- 2. 施設ページの「ひと目で分かる」箱 ---------- */
.rd-glance {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 12px;
  padding: 1rem 1.1rem .9rem; margin: 0 0 1.4rem;
}
body h2.rd-glance__title {
  margin: 0 0 .7rem; padding: 0 0 0 .55rem; border: 0; border-left: 4px solid var(--accent);
  font-size: 1.1rem; line-height: 1.4;
}
.rd-glance__list {
  list-style: none; margin: 0 0 .9rem; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px;
}
.rd-chip {
  display: flex; align-items: center; gap: .5rem; min-height: 44px; box-sizing: border-box;
  padding: .45rem .7rem; border-radius: 10px; border: 1px solid var(--rule);
  background: var(--ground); color: var(--ink); font-size: .95rem; font-weight: 600; line-height: 1.35;
}
.rd-chip .rd-ico { width: 24px; height: 24px; flex: 0 0 24px; }
.rd-chip > span { word-break: keep-all; overflow-wrap: anywhere; }
.rd-chip small { display: block; font-size: .8125rem; font-weight: 400; color: var(--ink-soft); }
.rd-chip--yes { background: var(--accent-bg); border-color: var(--accent-line); }
.rd-chip--yes .rd-ico { color: var(--accent); }
.rd-chip--no { background: var(--danger-bg); border-color: #e2c3bb; }
.rd-chip--no .rd-ico { color: var(--danger); }
.rd-chip--info .rd-ico { color: var(--ink-soft); }
.rd-glance .ss-confirm-bar { margin: 0 0 .3rem; font-size: .875rem; }
.rd-glance .ss-confirm-bar .track { flex: 1 1 auto; max-width: 14rem; height: 8px; }
.rd-glance__none { margin: 0 0 .8rem; color: var(--ink-soft); }
.rd-glance__note { margin: 0; font-size: .8125rem; line-height: 1.6; color: var(--muted); }
.rd-glance-hints { margin: 0 0 1.4rem; }
.rd-glance-hints .ss-hint { margin: 0 0 .5rem; }
@media (max-width: 640px) {
  .rd-glance { padding: .9rem .8rem .8rem; }
  .rd-glance__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .rd-chip { font-size: .875rem; padding: .4rem .5rem; gap: .4rem; }
  .rd-chip .rd-ico { width: 20px; height: 20px; flex-basis: 20px; }
}

/* 46項目の表を畳む */
.rd-more {
  margin: 0 0 1.6rem; background: var(--surface);
  border: 1px solid var(--rule); border-radius: 12px;
}
.rd-more__summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .8rem; cursor: pointer;
  min-height: 48px; padding: .6rem 1rem; box-sizing: border-box; list-style: none;
}
.rd-more__summary::-webkit-details-marker { display: none; }
.rd-more__summary::after { content: "開く ＋"; margin-left: auto; font-size: .875rem; color: var(--accent); white-space: nowrap; }
.rd-more[open] > .rd-more__summary::after { content: "閉じる −"; }
.rd-more__label { font-weight: 700; color: var(--accent); }
.rd-more__count { font-size: .875rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.rd-more__body { padding: 0 1rem 1rem; border-top: 1px solid var(--rule); }
.rd-more__body > h2:first-child { margin-top: 1.2rem; }

/* 閉業の記録 */
.rd-closed { margin: 0 0 1.6rem; }
.rd-closed p { margin: 0; line-height: 1.8; color: var(--ink-soft); }

/* ---------- 4. エリアページの横棒 ---------- */
.rd-bars {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 12px;
  padding: .9rem 1.1rem .8rem; margin: 0 0 1.4rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1.6rem;
}
.rd-bars__head { grid-column: 1 / -1; margin: 0; font-weight: 700; padding-left: .55rem; border-left: 4px solid var(--accent); }
.rd-bars__head span { margin-left: .4rem; font-weight: 400; font-size: .8125rem; color: var(--muted); }
body h3.rd-bars__title { margin: .5rem 0 .35rem; font-size: .875rem; }
.rd-bars__list { list-style: none; margin: 0; padding: 0; }
.rd-bars__list li {
  display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 3.4em; align-items: center; gap: .5rem;
  font-size: .875rem; line-height: 1.5; padding: .12rem 0;
}
.rd-bars__k { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-bars__track { display: block; height: 10px; border-radius: 5px; background: var(--ground); overflow: hidden; }
.rd-bars__bar { display: block; height: 100%; border-radius: 5px; background: var(--accent); }
.rd-bars__v { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.rd-bars__rest { margin: .25rem 0 0; font-size: .8125rem; color: var(--muted); }
@media (max-width: 640px) {
  .rd-bars { grid-template-columns: minmax(0, 1fr); padding: .8rem .8rem .7rem; }
}
