/* ダックスの腰ラボ 共通スタイル */
/* 白地・細い罫線・控えめなアクセントの、落ち着いたウェブメディア風 */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F6F3EF;
  --text: #2F2A26;
  --text-sub: #6B635D;
  --accent: #B4552F;
  --accent-dark: #9A4524;
  --accent-soft: #F6EAE3;
  --green: #4F7A4B;
  --border: #E5E0DA;
  --rule: #2F2A26;
  --star: #D99A2B;
  --good-soft: #F6F3EF;
  --warn: #7A5A00;
  --warn-soft: #FFF6DB;
  --shadow: none;
  --radius: 6px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-logo: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #181614; --surface: #1F1C19; --surface-2: #26221E; --text: #EDE8E2; --text-sub: #B5ACA4;
    --accent: #E08A62; --accent-dark: #F0A27E; --accent-soft: #3A2A21; --border: #38322C; --rule: #EDE8E2; --green: #8DB888; --good-soft: #26221E; --warn: #F2D88A; --warn-soft: #3D3315;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #181614; --surface: #1F1C19; --surface-2: #26221E; --text: #EDE8E2; --text-sub: #B5ACA4;
  --accent: #E08A62; --accent-dark: #F0A27E; --accent-soft: #3A2A21; --border: #38322C; --rule: #EDE8E2; --green: #8DB888; --good-soft: #26221E; --warn: #F2D88A; --warn-soft: #3D3315;
  color-scheme: dark;
}
.hero-art .fill-bg { fill: var(--surface-2); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  line-height: 1.8; font-size: 16px; letter-spacing: .02em;
}
img, svg { max-width: 100%; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .6em; }
h1 { font-size: clamp(1.6rem, 5vw, 2.3rem); }
h2 { font-size: clamp(1.3rem, 4vw, 1.7rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.sub { color: var(--text-sub); font-size: .92rem; }
.small { font-size: .82rem; color: var(--text-sub); }
.center { text-align: center; }
.mt0 { margin-top: 0; }

/* ヘッダー */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.logo svg { width: 44px; height: 26px; color: var(--accent); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--text); padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-dark); }
.menu-btn { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; padding: 6px 10px; color: var(--text); font: inherit; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}

/* ヒーロー */
.hero { padding: 48px 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.hero .eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); border-radius: 999px; padding: 4px 14px; font-size: .85rem; font-weight: 700; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-art { background: var(--surface-2); border-radius: 28px; aspect-ratio: 4/3; display: grid; place-items: center; padding: 20px; }
.hero-art svg { width: 90%; color: var(--text); }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 28px; } }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent); color: #fff; text-decoration: none; border: none; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; }
.btn:hover { background: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--accent-dark); border: 2px solid var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* セクション */
section { padding: 36px 0; }
.section-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.section-title .num { color: var(--accent); font-weight: 700; font-size: .9rem; }

/* カード */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
a.card { text-decoration: none; color: var(--text); display: block; transition: transform .15s; }
a.card:hover { transform: translateY(-2px); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 10px; }
.card .icon svg { width: 26px; height: 26px; }
.card .more { color: var(--accent-dark); font-weight: 700; font-size: .92rem; }

/* 導線（家→道具→旅行） */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: step; }
.journey .step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.journey .step::before { counter-increment: step; content: "STEP " counter(step); display: block; font-size: .78rem; font-weight: 700; color: var(--accent); }
@media (max-width: 760px) { .journey { grid-template-columns: 1fr; } }

/* 星・スコア */
.stars { color: var(--star); letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: var(--border); }
.score-row { display: flex; justify-content: space-between; gap: 8px; font-size: .92rem; border-bottom: 1px dashed var(--border); padding: 4px 0; }
.score-total { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; }
.score-total .big { font-size: 1.8rem; font-weight: 700; color: var(--accent); line-height: 1; }

/* タグ */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; padding: 0; list-style: none; }
.tag { background: var(--surface-2); border-radius: 999px; padding: 2px 10px; font-size: .8rem; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; border-radius: 6px; padding: 2px 8px; background: var(--accent-soft); color: var(--accent-dark); }
.badge.sample { background: #EEE3F5; color: #6A4A85; }

/* フォーム */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; align-items: end; }
label { font-size: .9rem; font-weight: 700; display: block; margin-bottom: 4px; }
select, input[type="text"], input[type="number"], textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; min-height: 44px;
}
textarea { min-height: 220px; line-height: 1.7; }
fieldset { border: none; padding: 0; margin: 0 0 16px; }
legend { font-weight: 700; margin-bottom: 6px; }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; background: var(--bg); cursor: pointer; font-weight: 400; }
.check input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .check { margin: 0; padding: 6px 12px; border-radius: 999px; align-items: center; }
.chips .check input { margin: 0; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg .check { margin: 0; flex: 1 1 auto; align-items: center; }
.seg .check input { margin: 0; }

/* 宿カード */
.hotel { display: flex; flex-direction: column; }
.hotel .meta { font-size: .85rem; color: var(--text-sub); margin-bottom: 6px; }
.hotel .comment { font-size: .92rem; background: var(--surface-2); border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.hotel .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .82rem; color: var(--text-sub); }
.empty { text-align: center; padding: 32px; color: var(--text-sub); }
.hotel .koshi { font-size: .88rem; border-radius: 12px; padding: 8px 12px; margin: 6px 0; }
.hotel .koshi ul { margin: 4px 0 0; padding-left: 1.2em; }
.hotel .koshi.good { background: var(--good-soft); }
.hotel .koshi.caution { background: var(--surface-2); }
.hotel .facts { font-size: .85rem; color: var(--text-sub); margin: 6px 0 10px; }
.hotel .facts summary { cursor: pointer; font-weight: 700; }
.hotel .facts ul { margin: 6px 0 0; padding-left: 1.2em; }
.hotel .actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.badge.visited { background: var(--accent); color: #fff; }
.badge.public { background: var(--surface-2); color: var(--text-sub); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.verify { font-size: .85rem; background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 8px 12px; margin: 6px 0; }
.legend { display: grid; gap: 6px; font-size: .88rem; margin-bottom: 8px; }

/* ===== リッチなトップページ ===== */
.hero-photo { position: relative; overflow: hidden; background: var(--surface-2); }
.hero-photo .bg { position: absolute; inset: 0; background-size: cover; background-position: right center; }
.hero-photo .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 85%, transparent) 38%, transparent 70%); }
.hero-photo .inner { position: relative; padding-block: 56px 48px; max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.hero-photo h1 { max-width: 15em; text-wrap: balance; }
.hero-photo h1 em { font-style: normal; color: var(--accent); }
.hero-photo .lead { max-width: 30em; }
@media (max-width: 760px) {
  .hero-photo .bg { position: relative; height: 230px; background-position: 82% 60%; }
  .hero-photo .bg::after { background: linear-gradient(180deg, transparent 55%, var(--bg)); }
  .hero-photo .inner { padding-block: 4px 28px; }
}
.searchbox { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 8px 28px rgba(74, 52, 38, .14); padding: 14px; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px; max-width: 680px; margin-top: 22px; }
.searchbox input, .searchbox select { background: var(--bg); }
@media (max-width: 560px) { .searchbox { grid-template-columns: 1fr; } }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.quick a { background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: .85rem; text-decoration: none; color: var(--text); font-weight: 700; }
.quick a:hover { border-color: var(--accent); color: var(--accent-dark); }

.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 860px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } .cat-grid .cat:last-child:nth-child(odd) { grid-column: span 2; } }
.cat { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); }
.cat svg { width: 30px; height: 30px; color: var(--accent); }
.cat strong { font-size: 1rem; }
.cat span { font-size: .8rem; color: var(--text-sub); line-height: 1.5; }
.cat:hover { border-color: var(--accent); }

.region-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.region-pills a { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--text); font-size: .9rem; }
.region-pills a small { color: var(--text-sub); }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 760px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
.area { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; max-width: 100%; background: var(--surface-2); text-decoration: none; }
.area img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.area:hover img { transform: scale(1.04); }
.area .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; background: linear-gradient(transparent, rgba(40, 26, 18, .72)); color: #fff; font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; }
.area .label small { font-weight: 400; font-size: .78rem; opacity: .9; }

.tag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .tag-grid { grid-template-columns: 1fr 1fr; } }
.tagcard { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); }
.tagcard .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.tagcard .ico svg { width: 24px; height: 24px; }
.tagcard div { min-width: 0; }
.tagcard strong { display: block; font-size: .95rem; line-height: 1.4; }
.tagcard small { color: var(--text-sub); font-size: .78rem; }

.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 30%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
@media (max-width: 760px) { .scroller { grid-auto-columns: 78%; } }
.scroller > * { scroll-snap-align: start; }
.hcard { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); }
.hcard .thumb, .hotel .thumb { position: relative; aspect-ratio: 16/10; max-width: 100%; background: var(--surface-2); overflow: hidden; }
.hcard .thumb img, .hotel .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 12px, var(--accent-soft) 12px, var(--accent-soft) 24px); }
.thumb .ph svg { width: 88px; height: 52px; }
.thumb .illus { position: absolute; right: 8px; bottom: 6px; font-size: .65rem; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.hcard .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.hcard .body strong { line-height: 1.4; }
.hcard .body .meta { font-size: .8rem; color: var(--text-sub); }
.hotel { padding: 0; overflow: hidden; }
.hotel > .pad { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.hotel h3 a { color: var(--text); text-decoration: none; }
.hotel h3 a:hover { color: var(--accent-dark); }

.stat-band { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.stat-band .num { font-size: clamp(2.6rem, 9vw, 4.2rem); font-weight: 700; color: var(--accent); line-height: 1; white-space: nowrap; }
@media (max-width: 560px) { .stat-band { grid-template-columns: 1fr; gap: 8px; } }
.bella-slot { border: 2px dashed var(--border); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; font-size: .92rem; }
.eyebrow-s { font-size: .8rem; font-weight: 700; color: var(--accent); letter-spacing: .08em; display: block; margin-bottom: 2px; }

/* 犬連れOKスポット */
.spot h3 { margin: 6px 0 2px; font-size: 1.05rem; }
.spot .meta { font-size: .82rem; color: var(--text-sub); }
.spot-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.spot .where { font-size: .75rem; font-weight: 700; color: var(--green); border: 1px solid var(--green); border-radius: 999px; padding: 0 8px; }
.spot .facts-s { margin: 8px 0; padding-left: 1.2em; font-size: .88rem; }
.spot .koshi { font-size: .85rem; border-radius: 12px; padding: 8px 12px; margin: 6px 0; }
.spot .koshi ul { margin: 4px 0 0; padding-left: 1.2em; }
.spot .koshi.good { background: var(--good-soft); }
.spot .koshi.caution { background: var(--surface-2); }

/* パンくず・エリアページ */
.crumbs { font-size: .82rem; color: var(--text-sub); margin: 16px 0 8px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.crumbs a { color: var(--text-sub); }
.stat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.stat-chips span { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: .85rem; }
.stat-chips strong { color: var(--accent-dark); margin-right: 4px; }
.mini-good { margin: 4px 0 0; padding-left: 1.1em; font-size: .8rem; color: var(--green); line-height: 1.6; }
.illus-lg { position: absolute; right: 12px; bottom: 8px; color: #fff; font-size: .75rem; text-shadow: 0 1px 2px rgba(0,0,0,.5); }

/* 宿の詳細 */
.detail-hero { border-radius: 24px; overflow: hidden; aspect-ratio: 21/9; max-width: 100%; position: relative; background: var(--surface-2); margin-top: 20px; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .detail-hero { aspect-ratio: 16/10; } }
.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-grid > * { min-width: 0; }

/* うちの子カード */
.dog-card .dog-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.dog-card .dog-head svg { width: 72px; height: 44px; color: var(--accent); flex-shrink: 0; }
.dog-card .dog-name { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }

/* 旅の記録 */
.trip .when { font-size: .9rem; color: var(--text-sub); }
.trip .countdown { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; border-radius: 999px; padding: 2px 10px; font-size: .8rem; margin-left: 6px; }
.trip .photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; margin: 10px 0; }
.trip .photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.trip details { margin: 8px 0; }
.trip details summary { cursor: pointer; font-weight: 700; font-size: .92rem; }
.trip .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.btn.small { padding: 6px 14px; min-height: 36px; font-size: .88rem; }
.btn.danger { background: #B3261E; }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* アプリの下部タブ */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--text-sub); font-size: .68rem; padding: 4px 0; border-radius: 10px; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--accent-dark); }
.app-mode body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
.app-mode .menu-btn, .app-mode .nav { display: none !important; }
.app-mode .site-footer { margin-top: 20px; }

/* 結果 */
.result { margin-top: 20px; }
.meter { height: 14px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s; }
.tip { border-left: 4px solid var(--accent); padding: 8px 14px; margin: 10px 0; background: var(--surface); border-radius: 0 12px 12px 0; }

/* 記事 */
.article h2 { margin-top: 1.6em; padding-bottom: .3em; border-bottom: 2px solid var(--accent-soft); }
.article .lead { font-size: 1.05rem; }
.photo-slot { border: 2px dashed var(--border); border-radius: var(--radius); background: var(--surface-2); color: var(--text-sub); display: grid; place-items: center; text-align: center; aspect-ratio: 4/3; padding: 16px; margin: 16px 0; font-size: .9rem; }
.todo { background: #FFF6D8; color: #6B5310; border-radius: 6px; padding: 0 6px; font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .todo { background: #4A3E12; color: #F5E3A0; } }
table.compare { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .92rem; }
table.compare th, table.compare td { border-bottom: 1px solid var(--border); padding: 8px 6px; text-align: left; }
table.compare th { color: var(--text-sub); font-weight: 700; }
.table-scroll { overflow-x: auto; }

.notice { background: var(--surface-2); border-radius: var(--radius); padding: 14px 18px; font-size: .88rem; color: var(--text-sub); }
.notice strong { color: var(--text); }

/* フッター */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; margin-top: 40px; font-size: .88rem; color: var(--text-sub); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; }
.site-footer a { color: var(--text-sub); }

/* コピー完了 */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; opacity: 0; transition: .25s; pointer-events: none; z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media print { .site-header, .site-footer, .btn-row, .no-print { display: none !important; } body { background: #fff; } }

/* =====================================================================
   ウェブメディア風の見た目（2026-11 改訂）。上の定義を上書きする
   ===================================================================== */
body { line-height: 1.85; letter-spacing: .01em; font-size: 15.5px; }
h1 { font-size: clamp(1.5rem, 4.2vw, 2rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.15rem, 3vw, 1.35rem); }
h3 { font-size: 1rem; }
a { color: var(--accent-dark); text-underline-offset: 3px; }

/* ヘッダー：ロゴ・検索・メニュー */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); background: var(--bg); backdrop-filter: none; border-bottom: 1px solid var(--border); }
.site-header .wrap { height: auto; }
.site-header .topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { font-family: var(--font-logo); font-size: 1.2rem; letter-spacing: .04em; }
.logo svg { width: 40px; height: 24px; }
.logo small { display: block; font-family: var(--font); font-size: .68rem; font-weight: 400; color: var(--text-sub); letter-spacing: .04em; margin-top: -2px; }
.head-search { display: flex; gap: 0; flex: 0 1 340px; }
.head-search input { min-height: 38px; border-radius: 4px 0 0 4px; background: var(--surface-2); border-color: var(--border); font-size: .9rem; padding: 6px 12px; }
.head-search button { min-height: 38px; border: none; border-radius: 0 4px 4px 0; background: var(--text); color: var(--bg); padding: 0 14px; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.site-header .navbar { border-top: 1px solid var(--border); }
.nav { gap: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { border-radius: 0; padding: 10px 14px; font-size: .9rem; font-weight: 700; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { background: none; color: var(--accent-dark); border-bottom-color: var(--accent); }
@media (max-width: 760px) {
  .head-search { display: none; }
  .menu-btn { display: none; }
  .nav { display: flex !important; position: static; flex-direction: row; padding: 0; border: none; background: none; }
  .nav a { padding: 10px 12px; font-size: .85rem; }
}

/* 2カラム（本文＋右カラム） */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.layout > .main-col { min-width: 0; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.side-col { display: grid; gap: 28px; padding-top: 36px; }
.side-col .side-box h2 { font-size: .95rem; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--rule); }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { border-bottom: 1px solid var(--border); }
.side-list a { display: flex; gap: 10px; align-items: center; padding: 9px 0; text-decoration: none; color: var(--text); font-size: .9rem; line-height: 1.5; }
.side-list a:hover { color: var(--accent-dark); }
.side-list img { width: 56px; height: 42px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.side-list .num { color: var(--accent); font-weight: 700; width: 1.4em; flex-shrink: 0; }
.side-search { display: flex; }
.side-search input { min-height: 40px; border-radius: 4px 0 0 4px; }
.side-search button { border: none; border-radius: 0 4px 4px 0; background: var(--text); color: var(--bg); padding: 0 14px; font: inherit; font-weight: 700; cursor: pointer; }

/* 見出し：太い罫線＋英字の小見出し */
.section-head { border-bottom: 2px solid var(--rule); padding-bottom: 6px; margin-bottom: 16px; align-items: flex-end; }
.section-head h2 { font-size: 1.2rem; }
.section-head a { font-size: .85rem; text-decoration: none; }
.eyebrow-s { font-size: .7rem; letter-spacing: .14em; color: var(--accent); }
.article h2 { border-bottom: none; border-left: 4px solid var(--accent); padding: 2px 0 2px 12px; }

/* カード・パネル：影なし、角を小さく */
.card, .panel { border-radius: var(--radius); box-shadow: none; }
.panel { background: var(--surface-2); border: none; }
a.card:hover { transform: none; border-color: var(--text-sub); }
.card .icon { border-radius: 6px; }

/* バッジ・タグ：控えめな文字ラベルに */
.badge { background: none; padding: 0; border-radius: 0; font-size: .72rem; letter-spacing: .06em; color: var(--accent-dark); }
.badge.public { background: none; color: var(--text-sub); }
.badge.visited { background: var(--accent); color: #fff; padding: 1px 6px; border-radius: 2px; }
.badge.warn { background: none; color: var(--warn); }
.tags { gap: 4px 10px; }
.tag { background: none; border-radius: 0; padding: 0; font-size: .75rem; color: var(--text-sub); }
.tag::before { content: "#"; color: var(--accent); margin-right: 1px; }

/* ボタン：角を小さく、落ち着いた大きさに */
.btn { border-radius: 4px; padding: 10px 18px; font-size: .92rem; min-height: 42px; }
.btn.ghost { border-width: 1px; color: var(--text); border-color: var(--border); background: var(--bg); }
.btn.ghost:hover { border-color: var(--text-sub); background: var(--bg); }
.btn.small { min-height: 34px; padding: 4px 12px; font-size: .82rem; }

/* フォーム・チェック */
.check { border-radius: 4px; }
.chips .check { border-radius: 4px; }
select, input[type="text"], input[type="number"], textarea { border-radius: 4px; background: var(--bg); }

/* 行の一覧（サムネイル左＋文字右） */
.rows { display: grid; }
.row-item { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); }
.row-item:first-child { padding-top: 4px; }
.row-item .thumb { aspect-ratio: 4/3; border-radius: 4px; }
.row-item h3 { margin: 2px 0 4px; font-size: 1.02rem; line-height: 1.5; }
.row-item:hover h3 { color: var(--accent-dark); }
.row-item .meta { font-size: .8rem; color: var(--text-sub); }
.row-item .desc { font-size: .86rem; color: var(--text-sub); margin: 6px 0 0; line-height: 1.7; }
@media (max-width: 560px) { .row-item { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; } .row-item .desc { display: none; } }

/* 宿の一覧（travel.html）：1件1行の横長に */
#list.cards { grid-template-columns: 1fr; gap: 0; }
.hotel { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; border: none; border-bottom: 1px solid var(--border); border-radius: 0; padding: 20px 0; background: none; }
.hotel > .thumb { aspect-ratio: 4/3; border-radius: 4px; align-self: start; }
.hotel > .pad { padding: 0; }
.hotel h3 { font-size: 1.1rem; }
.hotel .koshi { background: none !important; padding: 0; margin: 8px 0 0; font-size: .86rem; }
.hotel .koshi strong { font-size: .78rem; letter-spacing: .04em; }
.hotel .koshi.good strong { color: var(--green); }
.hotel .koshi.caution strong { color: var(--text-sub); }
.hotel .foot { margin-top: 10px; }
@media (max-width: 640px) { .hotel { grid-template-columns: 1fr; gap: 10px; } .hotel > .thumb { aspect-ratio: 16/9; } }
.verify { background: var(--warn-soft); border-radius: 4px; }

/* スポット：枠なしの2列 */
.spot { border: none; border-top: 2px solid var(--rule); border-radius: 0; padding: 14px 0 0; background: none; }
.spot .koshi { background: none !important; padding: 0; }
.spot .koshi.good strong { color: var(--green); font-size: .78rem; }
.spot .koshi.caution strong { color: var(--text-sub); font-size: .78rem; }
.spot .where { border-radius: 2px; }

/* 宿カード（横スクロール・エリアページ） */
.hcard { border-radius: var(--radius); }
.hcard .body { padding: 10px 12px 12px; }

/* トップのヒーロー：白地に合わせて落ち着かせる */
.hero-photo { background: var(--bg); border-bottom: 1px solid var(--border); }
.hero-photo .inner { padding-block: 48px 40px; }
.hero-photo h1 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); }
.hero .eyebrow, .hero-photo .eyebrow { background: none; padding: 0; color: var(--accent-dark); letter-spacing: .1em; font-size: .78rem; }
.searchbox { border-radius: 6px; box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.quick a { border-radius: 4px; font-weight: 400; background: var(--bg); }

/* エリアのタイル */
.area { border-radius: 4px; }
.area .label { background: linear-gradient(transparent, rgba(20, 14, 10, .7)); font-size: .92rem; }

/* 区切りの帯 */
.band { background: var(--surface-2); }
.notice { border-radius: 4px; }
.site-footer { background: var(--surface-2); border-top: none; }
.detail-hero { border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.app-mode .navbar, .app-mode .head-search { display: none !important; }
@media (max-width: 760px) { .site-header .topbar { padding-block: 8px; } .logo small { display: none; } }

/* トップページ（雑誌風） */
.top-hero { border-bottom: 1px solid var(--border); padding: 28px 0 32px; }
.top-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; }
.top-hero-img img { width: 100%; aspect-ratio: 16/11; object-fit: cover; object-position: right center; border-radius: 6px; display: block; }
.top-hero h1 { margin: 6px 0 12px; font-size: clamp(1.6rem, 4.4vw, 2.3rem); line-height: 1.45; }
.top-hero h1 em { font-style: normal; color: var(--accent); }
.top-hero .lead { font-size: .95rem; color: var(--text-sub); }
.top-hero .searchbox { grid-template-columns: 1fr; box-shadow: none; background: var(--surface-2); border: none; padding: 12px; margin-top: 16px; }
@media (min-width: 1100px) { .top-hero .searchbox { grid-template-columns: 1.4fr 1fr auto; } }
@media (max-width: 860px) { .top-hero-grid { grid-template-columns: 1fr; gap: 18px; } .top-hero { padding-top: 16px; } }
.lead-story a { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; text-decoration: none; color: var(--text); padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.lead-story .thumb { aspect-ratio: 4/3; border-radius: 4px; }
.lead-story h3 { font-size: 1.25rem; margin: 4px 0 6px; line-height: 1.5; }
.lead-story a:hover h3 { color: var(--accent-dark); }
.lead-story .meta { font-size: .82rem; color: var(--text-sub); }
.lead-story .mini-good { margin-top: 10px; font-size: .88rem; }
@media (max-width: 640px) { .lead-story a { grid-template-columns: 1fr; gap: 10px; } }
.link-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.link-cols li { border-bottom: 1px solid var(--border); }
.link-cols a { display: flex; justify-content: space-between; gap: 8px; padding: 11px 2px; text-decoration: none; color: var(--text); font-weight: 700; font-size: .93rem; }
.link-cols a::after { content: "›"; color: var(--text-sub); font-weight: 400; }
.link-cols a small { margin-left: auto; color: var(--text-sub); font-weight: 400; }
.link-cols a:hover { color: var(--accent-dark); }
@media (max-width: 480px) { .link-cols { grid-template-columns: 1fr; } }
.stat-line { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; border-top: 2px solid var(--rule); border-bottom: 1px solid var(--border); padding: 18px 0; }
.stat-line .num { font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 700; color: var(--accent); line-height: 1; white-space: nowrap; }
@media (max-width: 520px) { .stat-line { grid-template-columns: 1fr; gap: 8px; } }
.main-col > section { margin-block: 36px; }
.main-col > section:first-child { margin-top: 28px; }
.layout .area-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 560px) { .layout .area-grid { grid-template-columns: repeat(2, 1fr); } }
.bella-slot { border-width: 1px; border-radius: 4px; }

.layout .area .label { display: block; }
.layout .area .label small { display: block; margin-top: 1px; }
.head-search button, .side-search button { white-space: nowrap; }

.main-col > section { padding-block: 0; }
.main-col > section.panel { padding: 24px; }


.thumb { position: relative; overflow: hidden; background: var(--surface-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.stat-chips span { border-radius: 4px; }
.region-pills a { border-radius: 4px; }


/* 宿ページ：本文側の箱をやめて、見出し＋罫線に */
.detail-grid section.panel { background: none; padding: 0 !important; }
.detail-grid section.panel h2 { border-bottom: 2px solid var(--rule); padding-bottom: 6px; margin-bottom: 10px; }
.detail-grid section.panel .btn { margin-top: 4px; }

.guide-link { margin: 4px 0 14px; font-weight: 700; }
.guide-link a { text-decoration: none; border-bottom: 1px solid var(--accent); }


/* 改善4：スマホのヘッダーに検索、トップは検索を先に */
.head-search-m { display: none; align-items: center; gap: 4px; text-decoration: none; color: var(--text); font-size: .8rem; font-weight: 700; border: 1px solid var(--border); border-radius: 4px; padding: 6px 10px; }
@media (max-width: 760px) { .head-search-m { display: inline-flex; } }
.app-mode .head-search-m { display: none !important; }
@media (max-width: 860px) {
  .top-hero-grid > div:last-child { order: 1; }
  .top-hero-img { order: 2; }
  .top-hero-img img { aspect-ratio: 16/8; }
  .top-hero .lead { font-size: .9rem; margin-bottom: 0; }
}

/* 改善5：設備の絞り込みを折りたたむ */
.tag-filter { margin-top: 14px; }
.tag-filter summary { cursor: pointer; font-weight: 700; font-size: .9rem; padding: 4px 0; }
#count strong { font-size: 1.1rem; color: var(--text); }

.spot-group { padding: 0; margin: 28px 0 0; }
.spot-group h2 small { font-size: .8rem; font-weight: 400; color: var(--text-sub); margin-left: 4px; }


/* 改善7：宿ページの概要表と、低めのイメージ画像 */
.spec { margin: 14px 0 6px; border-top: 1px solid var(--border); }
.spec > div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.spec dt { color: var(--text-sub); font-weight: 700; font-size: .85rem; }
.spec dd { margin: 0; }
main > .detail-hero img { aspect-ratio: 3 / 1; object-fit: cover; width: 100%; display: block; }
@media (max-width: 640px) { main > .detail-hero img { aspect-ratio: 2 / 1; } }

.main-col > .detail-hero img { aspect-ratio: 3 / 1; object-fit: cover; width: 100%; display: block; }
@media (max-width: 640px) { .main-col > .detail-hero img { aspect-ratio: 2 / 1; } }
.next-read { margin-top: 32px; }
.next-read .row-item { grid-template-columns: 96px minmax(0,1fr); padding: 10px 0; }
.next-read .row-item h3 { font-size: .95rem; margin: 0; align-self: center; }
.next-read .row-item > div:last-child { display: flex; align-items: center; }


/* 改善9：宿ページのイメージ画像は「宿の写真ではない」ので、PCでは右に小さく置く（拡大によるぼやけも防ぐ） */
@media (min-width: 761px) {
  main.wrap > .detail-hero { float: right; width: 320px; margin: 18px 0 12px 28px; }
  main.wrap > .detail-hero img { aspect-ratio: 4 / 3; }
  main.wrap > .detail-hero .illus-lg { font-size: .65rem; }
  main.wrap > .detail-grid, main.wrap > section { clear: both; }
}

/* 改善10：キーボード操作と読み上げ */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 4px; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { border-radius: 2px; }
.check:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* スマホの宿一覧は、写真を左に小さく */
@media (max-width: 640px) { .hotel { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; } .hotel > .thumb { aspect-ratio: 1; } .hotel > .thumb .illus { display: none; } .hotel .facts { display: none; } }

/* ===== 宿・スポットのページ（旅行記事の作り） ===== */
.stay-head { margin-top: 14px; }
.stay-head h1 { margin: 8px 0 4px; font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.4; }
.stay-head .sub { margin: 0; color: var(--text-sub); }
.stay-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; margin-top: 18px; align-items: start; }
.stay-side { position: sticky; top: 16px; display: grid; gap: 12px; }
.stay-hero { margin: 0; }
.stay-hero img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.stay-hero figcaption { margin-top: 6px; font-size: .75rem; color: var(--text-sub); }
.stay-lead { margin: 20px 0; font-size: 1.12rem; line-height: 1.95; }
.stay-points { margin: 22px 0; padding: 18px 20px; border-top: 2px solid var(--rule); border-bottom: 1px solid var(--border); }
.stay-points h2 { margin: 0 0 10px; font-size: 1.05rem; }
.stay-points ol { margin: 0; padding-left: 1.4em; }
.stay-points li { margin: 6px 0; font-weight: 700; line-height: 1.7; }
/* 絵で見る宿の様子（項目ごとのイラストを並べる） */
.stay-gallery { margin: 28px 0 8px; }
.stay-gallery h2 { margin: 0 0 10px; font-size: 1.05rem; }
.stay-gallery ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.stay-gallery li { grid-column: span 2; }
.stay-gallery.n2 li, .stay-gallery.n4 li, .stay-gallery.n5 li:nth-child(-n+2) { grid-column: span 3; }
.stay-gallery.n3 li:first-child { grid-column: span 6; }
.stay-gallery.n3 li:not(:first-child) { grid-column: span 3; }
.stay-gallery a { position: relative; display: block; overflow: hidden; border-radius: 4px; color: #fff; text-decoration: none; }
.stay-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.stay-gallery a:hover img, .stay-gallery a:focus-visible img { transform: scale(1.04); }
.stay-gallery span { position: absolute; left: 0; bottom: 0; padding: 3px 10px; background: rgba(0, 0, 0, .55); font-size: .8rem; font-weight: 700; border-top-right-radius: 4px; }
.stay-gallery .small { margin: 6px 0 0; color: var(--text-sub); }
@media (max-width: 520px) { .stay-gallery span { font-size: .72rem; padding: 2px 7px; } }
@media (prefers-reduced-motion: reduce) { .stay-gallery img { transition: none; } }
/* トップ：絵で見る宿の過ごし方 */
.scene-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.scene { position: relative; display: block; overflow: hidden; border-radius: 6px; color: #fff; text-decoration: none; }
.scene img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.scene:hover img, .scene:focus-visible img { transform: scale(1.04); }
.scene .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .62)); line-height: 1.4; }
.scene .cap strong { display: block; font-size: 1.05rem; }
.scene .cap small { display: block; margin-top: 2px; font-size: .78rem; opacity: .92; }
@media (prefers-reduced-motion: reduce) { .scene img { transition: none; } }
@media (max-width: 480px) { .scene .cap { padding: 22px 10px 8px; } .scene .cap strong { font-size: .98rem; } .scene .cap small { font-size: .72rem; letter-spacing: -.01em; } }
/* 特集ページ：条件に合う項目のイラストを見比べる */
.feature-gallery { margin: 26px 0 8px; }
.feature-gallery ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.feature-gallery a { position: relative; display: block; overflow: hidden; border-radius: 4px; color: #fff; text-decoration: none; }
.feature-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.feature-gallery a:hover img, .feature-gallery a:focus-visible img { transform: scale(1.04); }
.feature-gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); font-size: .82rem; font-weight: 700; line-height: 1.4; }
.feature-gallery span small { display: block; font-weight: 400; font-size: .72rem; opacity: .9; }
.feature-gallery .small { margin: 6px 0 0; color: var(--text-sub); }
@media (max-width: 640px) { .feature-gallery ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .feature-gallery img { transition: none; } }
.stay-toc { margin: 24px 0 8px; padding: 14px 18px; background: var(--good-soft); border-radius: 6px; font-size: .92rem; }
.stay-toc ul { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0 0; padding: 0; list-style: none; }
.stay-toc a { display: inline-block; padding: 4px 0; }
.stay-sec { margin: 32px 0 0; scroll-margin-top: 16px; }
.stay-sec h2 { margin: 0 0 10px; padding-bottom: 6px; font-size: 1.22rem; border-bottom: 1px solid var(--border); }
.stay-sec h3 { margin: 16px 0 4px; font-size: 1rem; }
.stay-sec p { margin: 0 0 10px; line-height: 2; }
.stay-sec ul { margin: 0 0 10px; padding-left: 1.3em; }
.stay-sec li { margin: 4px 0; line-height: 1.8; }
.stay-notes { padding: 16px 18px; background: var(--warn-soft); border-radius: 6px; }
.stay-notes h2 { border: 0; padding: 0; font-size: 1.02rem; }
.stay-sources { margin: 32px 0 0; padding-top: 14px; border-top: 1px solid var(--border); font-size: .88rem; }
.stay-sources h2 { margin: 0 0 6px; font-size: .95rem; }
.stay-sources ul { margin: 0 0 8px; padding-left: 1.3em; }
.thumb .illus { padding: 1px 5px; border-radius: 3px; background: rgba(0, 0, 0, .5); color: #fff; font-size: .6rem; text-shadow: none; }
.hotel > .thumb .illus { display: block; }
.card.spot .spot-thumb { display: block; margin: -4px 0 10px; }
.card.spot .spot-thumb .thumb { aspect-ratio: 16 / 10; border-radius: 4px; }
@media (max-width: 860px) {
  .stay-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .stay-side { position: static; }
}
/* ===== 犬と泊まる条件の表・特集ページ ===== */
.cond-table { width: 100%; border-collapse: collapse; margin: 8px 0 10px; font-size: .95rem; }
.cond-table th, .cond-table td { border-bottom: 1px solid var(--border); padding: 9px 6px; text-align: left; vertical-align: top; }
.cond-table th { width: 9.5em; color: var(--text-sub); font-weight: 700; }
.spec-none { color: var(--text-sub); font-size: .88em; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table.compare { min-width: 640px; }
.table-scroll table.compare tbody th { font-weight: 700; color: inherit; min-width: 11em; }
.feature-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.feature-links small { margin-left: 4px; color: var(--text-sub); }
.feature-item h3 { margin: 0 0 4px; }
.dog-filter { margin-top: 12px; }
.dog-filter .filters { margin-top: 10px; }
.table-scroll table.compare td:nth-child(2), .table-scroll table.compare td:nth-child(3) { white-space: nowrap; }
.wish-list { list-style: none; padding: 0; margin: 0; }
.wish-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }

/* ===== 宿の一覧カードを短く ===== */
.hotel-compact { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px; }
.hotel-compact > .thumb { aspect-ratio: 1 / 1; border-radius: 4px; align-self: start; }
.hotel-compact .pad { padding: 0; }
.hotel-compact h3 { margin: 4px 0 2px; font-size: 1rem; line-height: 1.45; }
.hotel-compact .meta { font-size: .8rem; color: var(--text-sub); }
.hotel-compact .foot { display: flex; justify-content: flex-end; border: 0; margin-top: 6px; padding: 0; }
.hotel-compact .actions { display: flex; gap: 14px; align-items: center; font-size: .86rem; }
.hotel-compact .thumb .illus { font-size: .55rem; right: 4px; bottom: 3px; }
@media (min-width: 761px) { .hotel-compact { grid-template-columns: 168px minmax(0, 1fr); gap: 16px; padding: 14px; } .hotel-compact > .thumb { aspect-ratio: 4/3; } }
.dog-chips { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 0; font-size: .82rem; }
.dog-chips > div { display: flex; gap: 4px; }
.dog-chips dt { color: var(--text-sub); font-weight: 400; }
.dog-chips dd { margin: 0; font-weight: 700; }
.dog-chips-none { margin: 8px 0 0; font-size: .8rem; color: var(--text-sub); }
.wish-btn { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--accent-dark); cursor: pointer; min-height: 24px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; }
.pref-index { margin-top: 28px; }
.name-list { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; }
.name-list li { max-width: 100%; }
.wish-list { list-style: none; padding: 0; margin: 0; }
.wish-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }

/* ===== 宿のページの最初に、犬の条件を出す ===== */
.quick-cond { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 4px; margin: 12px 0 0; overflow: hidden; }
.quick-cond > div { background: var(--surface); padding: 8px 10px; min-width: 0; }
.quick-cond dt { font-size: .74rem; color: var(--text-sub); font-weight: 400; }
.quick-cond dd { margin: 2px 0 0; font-size: .9rem; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.quick-cond .spec-none { font-weight: 400; }
@media (max-width: 560px) { .quick-cond { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stay-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.feature-chips { margin: 14px 0; font-size: .9rem; }
.feature-chips ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.stay-cta { display: none; }
@media (max-width: 760px) {
  .stay-cta { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); }
  .stay-cta .btn { flex: 1; min-height: 44px; }
  main.stay { padding-bottom: 72px; }
  html.app-mode .stay-cta { bottom: 64px; }
}

/* ===== 比較表 ===== */
.scroll-hint { margin: 0 0 4px; color: var(--text-sub); }
@media (min-width: 761px) { .scroll-hint { display: none; } }
.table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.table-scroll table.compare tbody th, .table-scroll table.compare thead th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
@media (max-width: 760px) { .table-scroll table.compare tbody th { min-width: 8.5em; max-width: 8.5em; font-size: .86rem; } }

/* ===== スマホのメニューの続きがあることを示す ===== */
@media (max-width: 760px) { .navbar .nav { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }

/* ===== スマホで長くなりすぎないように ===== */
.top-hero-img img { width: 100%; height: auto; }
@media (max-width: 760px) {
  #side, aside.side-col { display: none; }
  .top-hero-img img { max-height: 220px; object-fit: cover; }
  .link-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .link-cols li { min-width: 0; }
  .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px; }
  .area .label { font-size: .78rem; }
}

/* ===== スポットのカードを短く ===== */
.card.spot { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; padding: 12px; align-content: start; }
.card.spot > .spot-thumb { grid-column: 1; grid-row: 1 / span 4; display: block; }
.card.spot > .spot-thumb .thumb { aspect-ratio: 1 / 1; border-radius: 4px; }
.card.spot > .spot-thumb .illus { font-size: .5rem; right: 3px; bottom: 2px; }
.card.spot > :not(.spot-thumb) { grid-column: 2; }
.card.spot > details { grid-column: 1 / -1; margin-top: 6px; }
.card.spot h3 { margin: 4px 0 2px; font-size: 1rem; line-height: 1.45; }
.card.spot .facts-s { margin: 6px 0 0; font-size: .86rem; }
@media (max-width: 760px) { .toast { bottom: 88px; } }

/* ===== 宿の写真・動画への導線 ===== */
.stay-media { margin: 10px 0 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; }
.stay-media-note { margin: 0 0 6px; font-size: .84rem; color: var(--text-sub); }
.stay-media ul { margin: 0; padding: 0; list-style: none; }
.stay-media li + li { border-top: 1px solid var(--border); }
.stay-media a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding: 10px 0; font-weight: 700; text-decoration: none; }
.stay-media a::after { content: "↗"; font-weight: 400; color: var(--text-sub); }
.stay-media a:hover { text-decoration: underline; }
.stay-media small { margin-left: auto; font-size: .78rem; font-weight: 400; color: var(--text-sub); }
.video-wrap { position: relative; aspect-ratio: 16 / 9; background: #f2f2f2; border-radius: 6px; overflow: hidden; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== 項目ごとのイメージイラスト ===== */
.stay-sec { padding: 0; }
.stay-fig { margin: 0 0 12px; }
.stay-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: #f2f2f2; }
.stay-fig figcaption { margin-top: 6px; font-size: .78rem; line-height: 1.6; color: var(--text-sub); }

/* 記事の2列の表：セルを折り返して画面幅に収める */
.table-scroll table.compare.cells-wrap { min-width: 0; }
.table-scroll table.compare.cells-wrap td { white-space: normal; }
.table-scroll table.compare.cells-wrap td:first-child { width: 52%; }
/* 宿ページ：予約の前と出発の前に */
.pre-check { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pre-check > div { background: var(--surface-2); border-radius: 6px; padding: 14px 16px; min-width: 0; }
.pre-check h3 { margin: 0 0 6px; font-size: .98rem; }
.pre-check ul { margin: 0 0 10px; padding-left: 1.2em; font-size: .9rem; }
.pre-check li { margin: 3px 0; }
@media (max-width: 640px) { .pre-check { grid-template-columns: 1fr; } }
.side-note { margin: 10px 2px 0; }
/* 一覧：泊まれる大きさと頭数 */
.size-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; }
.size-chips li { border: 1px solid var(--border); border-radius: 3px; padding: 0 6px; font-size: .74rem; line-height: 1.6; color: var(--text); background: var(--surface); }
.size-chips li.max { color: var(--text-sub); max-width: 100%; overflow-wrap: anywhere; }
/* 宿ページ：条件が近いほかの宿 */
.similar { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--border); }
.similar li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.similar a { font-weight: 700; }
.similar span { display: block; font-size: .82rem; color: var(--text-sub); margin-top: 2px; }
/* 地方・エリアのページ：条件でしぼる */
.cond-chips { margin: 14px 0 6px; font-size: .9rem; }
.cond-chips ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cond-chips a { display: inline-block; border: 1px solid var(--border); border-radius: 999px; padding: 3px 12px; text-decoration: none; color: var(--text); background: var(--surface); }
.cond-chips a:hover { border-color: var(--accent); }
.cond-chips small { margin-left: 6px; color: var(--text-sub); }
.name-list.rich { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.name-list.rich li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.name-list.rich span { display: block; font-size: .78rem; color: var(--text-sub); }
@media (max-width: 560px) { .name-list.rich { grid-template-columns: 1fr; } }
