/* 旅館も、どっち — 暖簾をくぐる：生成りの地に藍の暖簾と朱の印。2択は「どっちの暖簾をくぐる？」、結果は宿帳（デザイン案02、2026-10-10） */
:root {
  --kinari: #f3ede0;     /* 地の色（生成り） */
  --washi: #fbf8f1;      /* カード・宿帳の紙 */
  --ai: #1d2b4a;         /* 藍の暖簾 */
  --ai-2: #2c3f66;       /* 暖簾の中央の一枚 */
  --bengara: #7a2e22;    /* B の暖簾（弁柄） */
  --shu: #c8402a;        /* 朱の印（主ボタン・強調） */
  --shu-soft: #f6dfd7;
  --sumi: #1a1a1a;       /* 文字 */
  --sub: #4c4a45;        /* 補足の文 */
  --muted: #6c6457;      /* 注記 */
  --rule: #cdbfa6;       /* 宿帳の罫線 */
  --tan: #ece3d1;        /* 宿帳の見出し欄 */
  --wood: #6b4a2b;       /* 暖簾の竿 */
  --display: "Zen Antique", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif;
  --latin: "Space Grotesk", "Zen Kaku Gothic New", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--kinari); color: var(--sumi); font-family: var(--gothic); line-height: 1.75; }
main { max-width: 760px; margin: 0 auto; padding: 0 20px 64px; overflow-x: clip; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--shu); outline-offset: 2px; }
a { color: var(--ai); }
.screen { animation: rise .45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .screen { animation: none; } * { transition: none !important; } }

/* ヘッダー（暖簾の竿）・フッター */
.site-header { background: var(--wood); color: var(--kinari); }
.header-inner { max-width: 760px; margin: 0 auto; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; }
.logo { text-decoration: none; color: var(--kinari); display: grid; line-height: 1.2; }
.logo-ja { font-family: var(--display); font-size: 1.1rem; letter-spacing: .06em; }
.logo-en { font-family: var(--latin); font-size: .58rem; letter-spacing: .28em; color: #d9c6ad; }
.pr { font-family: var(--latin); font-size: .68rem; border: 1.5px solid var(--kinari); padding: 1px 8px; border-radius: 999px; }
.site-footer { background: var(--ai); color: #cfd3dc; font-size: .75rem; padding: 36px 20px 48px; }
.site-footer p { max-width: 760px; margin: 6px auto; }
.site-footer a { color: #f1d7a8; }
/* フッターの特集サイトマップ（deploy.sh が build_guides.py --footer で中身を入れる） */
.footer-sitemap { max-width: 760px; margin: 14px auto 18px; padding: 12px 0 14px; border-top: 1px solid rgba(207, 211, 220, .25); border-bottom: 1px solid rgba(207, 211, 220, .25); }
.site-footer .footer-sitemap-title { margin: 0 0 6px; font-size: .82rem; font-weight: 700; }
.footer-sitemap details { border-top: 1px solid rgba(207, 211, 220, .15); }
.footer-sitemap summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; padding: 8px 0; font-size: .8rem; color: #f1d7a8; }
.footer-sitemap summary::-webkit-details-marker { display: none; }
.footer-sitemap summary span { color: #9aa3b5; margin-left: auto; margin-right: 8px; }
.footer-sitemap summary::after { content: "＋"; }
.footer-sitemap details[open] summary::after { content: "－"; }
.footer-sitemap ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.footer-sitemap li { padding-left: 1em; text-indent: -1em; line-height: 1.6; }
.footer-sitemap li::before { content: "・"; }
.footer-sitemap a { text-decoration: none; }
.footer-sitemap a:hover { text-decoration: underline; }
.site-footer .footer-sitemap-tools { margin: 10px 0 0; }
/* 分類の中の地域の小見出し（2026-11-20） */
.site-footer .footer-sitemap-sub { display: flex; gap: 6px; align-items: baseline; margin: 8px 0 4px; padding-left: 6px; border-left: 3px solid #f1d7a8; color: #fff; font-weight: 700; font-size: .74rem; letter-spacing: .04em; }
.footer-sitemap-sub span { color: #9aa3b5; font-weight: 400; }
/* トップの「新しい特集」（build_guides.py --footer が埋める。地域の出し分けは app.js） */
.top-guides { margin: 36px 0 0; }
.top-guides h2 { font-family: var(--display); font-weight: 400; font-size: 1.2rem; margin: 0 0 10px; }
.top-guides ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.top-guides li a { display: block; background: var(--washi); border: 1px solid var(--rule); padding: 10px 14px; text-decoration: none; color: var(--sumi); line-height: 1.6; }
.top-guides li a:hover { border-color: var(--ai); }
.top-guides li b { display: block; color: var(--ai); font-size: .95rem; margin-top: 2px; }
.top-guides .area-tag, .top-guides .badge { display: inline-block; font-size: .68rem; line-height: 1.5; padding: 0 7px; margin-right: 6px; }
.top-guides .area-tag { border: 1px solid var(--ai); color: var(--ai); }
.top-guides .area-tag[data-area="kcs"] { border-color: var(--bengara); color: var(--bengara); }
.top-guides .area-tag[data-area="all"] { border-color: var(--wood); color: var(--wood); }
.top-guides .badge-new { background: var(--shu); color: #fff; }
.top-guides .badge-upd { background: var(--ai-2); color: #fff; }
.top-guides-more { margin: 10px 0 0; font-size: .88rem; }
.footer-logo { font-family: var(--display); font-size: 1.3rem; color: var(--kinari); }

.eyebrow { font-family: var(--latin); font-size: .7rem; letter-spacing: .3em; color: var(--shu); margin: 0 0 8px; font-weight: 700; }
.num { font-family: var(--display); color: var(--shu); margin-right: 10px; }
.h2 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin: 0 0 12px; }
.note { color: var(--muted); font-size: .82rem; }
.bleed { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }

/* ヒーロー：竿から下がる三枚の暖簾 */
.hero { padding-top: 0; padding-bottom: 8px; }
.noren { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; height: clamp(220px, 58vw, 320px); margin: 0 -20px; }
.noren div { position: relative; background: var(--ai); color: var(--kinari); display: flex; justify-content: center; padding-top: clamp(18px, 5vw, 30px); font-family: var(--display); font-size: clamp(2.2rem, 11vw, 4rem); line-height: 1; writing-mode: vertical-rl; transform-origin: top center; }
.noren div:nth-child(2) { background: var(--ai-2); }
.noren div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .18)); }
.noren .mon { position: absolute; bottom: clamp(16px, 5vw, 28px); left: 50%; transform: translateX(-50%); width: 2.2rem; height: 2.2rem; border: 2px solid var(--kinari); border-radius: 50%; display: grid; place-items: center; font-size: 1rem; writing-mode: horizontal-tb; }
@media (prefers-reduced-motion: no-preference) {
  .noren div { animation: sway 1.2s ease-out both; }
  .noren div:nth-child(2) { animation-delay: .08s; }
  .noren div:nth-child(3) { animation-delay: .16s; }
  @keyframes sway { 0% { transform: skewX(4deg); } 40% { transform: skewX(-2deg); } 100% { transform: none; } }
}
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 6.6vw, 2.4rem); line-height: 1.45; margin: 22px 0 0; text-wrap: balance; }
.hero-title em { font-style: normal; color: var(--shu); }
.hero-lead { color: var(--sub); max-width: 34em; margin: 12px 0 16px; font-size: .92rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--sumi); margin: 0; padding: 0; list-style: none; background: var(--washi); }
.stats li { padding: 6px 12px; font-size: .72rem; color: var(--muted); }
.stats li + li { border-left: 1px solid var(--rule); }
.stats b { display: block; color: var(--ai); font-family: var(--latin); font-size: 1.25rem; line-height: 1.3; font-variant-numeric: tabular-nums; }

/* 条件 */
.cond { display: grid; gap: 26px; margin-top: 26px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
legend small { font-weight: 400; color: var(--muted); font-size: .78rem; margin-left: 6px; }
/* 九州の地図：県の形を押すと県ごと、ピンを押すと温泉地ごとに選ぶ */
.map { position: relative; max-width: 460px; margin: 0 auto; aspect-ratio: 280 / 345; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map[data-zone="kcs"] { aspect-ratio: 345 / 295; }
.map svg[hidden] { display: none; }
.zones[hidden] { display: none; }
.zones { display: flex; gap: 0; margin: 4px auto 14px; max-width: 460px; border: 1px solid var(--ai); }
.zones button { flex: 1; background: transparent; color: var(--ai); border: 0; padding: 8px 6px; font-size: .9rem; font-weight: 700; }
.zones button + button { border-left: 1px solid var(--ai); }
.zones button span { font-size: .72rem; font-weight: 400; margin-left: 4px; color: var(--muted); }
.zones button[aria-pressed="true"] { background: var(--ai); color: var(--kinari); }
.zones button[aria-pressed="true"] span { color: #c9d0de; }
.pref { fill: #e5dac6; stroke: var(--kinari); stroke-width: 3; stroke-linejoin: round; cursor: pointer; transition: fill .15s; }
.pref:hover { fill: #dacbb1; }
.pref:focus-visible { outline: none; fill: #dacbb1; stroke: var(--shu); stroke-width: 1.5; }
.pref[aria-pressed="true"] { fill: #c9d0de; }
.pref.off { cursor: default; opacity: .5; }
.pref-name { fill: var(--muted); font: 700 9px var(--gothic); letter-spacing: .1em; pointer-events: none; }
.tile { position: absolute; transform: translate(-6px, -50%); display: flex; align-items: center; gap: 4px; background: var(--washi); color: var(--ai); border: 1px solid var(--ai); padding: 1px 8px 1px 3px; font-size: .74rem; font-weight: 700; line-height: 1.5; white-space: nowrap; transition: background .15s, color .15s; }
.tile::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ai); flex: none; }
.tile span { font-size: .66rem; font-weight: 400; color: var(--muted); }
.tile:hover:not(:disabled) { background: #e6eaf2; }
.tile[aria-pressed="true"] { background: var(--ai); color: var(--kinari); }
.tile[aria-pressed="true"]::before { background: var(--shu); }
.tile[aria-pressed="true"] span { color: #c9d0de; }
.tile:disabled { opacity: .45; cursor: default; }
.picked { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 10px 0 0; }
.groups { display: grid; gap: 8px; margin-top: 12px; }
.group-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.group-label { font-size: .75rem; color: var(--muted); width: 4.5em; }
.group { background: transparent; color: var(--ai); border: 1px solid var(--ai); padding: 3px 12px; font-size: .82rem; font-weight: 700; }
.group[aria-pressed="true"] { background: var(--ai); color: var(--kinari); }
.group:disabled { opacity: .4; cursor: default; }
.picked-count { font-size: .85rem; color: var(--ai); font-weight: 700; margin: 0; }
.btn-clear { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: .78rem; padding: 0; }
.row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; }
.row legend { width: 100%; }
.row label { display: grid; font-size: .8rem; color: var(--muted); gap: 4px; }
.row input, .row select { font-size: 1rem; color: var(--sumi); background: var(--washi); border: 1.5px solid var(--rule); border-radius: 0; padding: 8px 10px; min-width: 7em; }
.btn-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--shu); color: #fff; border: 0; padding: 14px 20px; font-weight: 700; font-size: 1.02rem; justify-self: stretch; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-outline { background: transparent; color: var(--ai); border: 0; border-bottom: 1px solid var(--ai); padding: 4px 2px; font-weight: 700; font-size: .9rem; }
.btn-outline:hover { color: var(--shu); border-color: var(--shu); }
.btn-text { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
@media (min-width: 521px) { .btn-primary { justify-self: start; } }

/* トップ：今すぐ診断のボタンを先に、条件は「絞る場合」で開く（2026-11-20、ふるさとどっちと同じ形） */
.cond { gap: 14px; margin-top: 22px; }
/* 2026-11-20 堀江さん：楕円に近い丸み・大きな見出し（ふるさとのスマホの見本に合わせる） */
.btn-primary.btn-now { justify-self: stretch; font-size: 1.55rem; line-height: 1.35; text-align: left; gap: 12px; padding: 18px 28px 18px 40px; border-radius: 999px; box-shadow: 0 6px 0 #8a2a1b; transition: transform .12s, box-shadow .12s; }
.btn-now:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #8a2a1b; }
.btn-now + .cond-body { margin-top: 8px; }
.btn-now:active { transform: translateY(3px); box-shadow: 0 1px 0 #8a2a1b; }
.btn-now .btn-sub { display: block; margin: 8px 0 0; font-size: .92rem; font-weight: 500; opacity: .95; }
.nw { display: inline-block; }
.now-sample { position: relative; display: flex; align-items: center; flex: none; }
.ns-card { display: grid; width: 92px; padding: 5px; background: radial-gradient(circle at 4px 4px, var(--shu) 2.4px, #fff 3px) -4px -4px / 8px 8px; filter: drop-shadow(0 2px 2px #0002); transition: transform .15s; }
.ns-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.ns-card b { font-size: .6rem; line-height: 1.3; padding: 4px 2px 1px; background: #fff; color: var(--sumi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.ns-a { transform: rotate(-5deg); }
.ns-b { transform: rotate(4deg); margin-left: -10px; }
.ns-vs { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(-12deg); z-index: 2; background: var(--kinari); color: var(--shu); font-family: var(--latin); font-weight: 700; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 3px double var(--shu); font-size: .7rem; }
.btn-now:hover .ns-a { transform: rotate(-7deg) translateY(-2px); }
.btn-now:hover .ns-b { transform: rotate(6deg) translateY(-2px); }
@media (max-width: 480px) {
  .ns-card { width: 50px; padding: 4px; }
  .ns-card b { display: none; }
  .ns-b { margin-left: -8px; }
  .ns-vs { width: 30px; height: 30px; font-size: .62rem; top: 50%; }
  .btn-primary.btn-now { padding: 16px 14px 16px 24px; font-size: 1.25rem; gap: 6px; }
  .btn-now .now-text { white-space: nowrap; }
  .btn-now .btn-sub { font-size: .88rem; margin-top: 6px; }
  .sp-hide { display: none; }
}
.cond-more > summary { list-style: none; cursor: pointer; text-align: center; padding: 6px 0; }
.cond-more > summary::-webkit-details-marker { display: none; }
.cm-link { display: inline-block; font-weight: 700; font-size: 1.05rem; color: var(--ai); border-bottom: 1.5px solid var(--ai); }
.cm-link::after { content: " ▾"; font-size: .8em; }
.cond-more[open] .cm-link::after { content: " ▴"; }
.cond-more > summary small { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.cond-body { display: grid; gap: 22px; padding: 18px 16px 20px; background: var(--washi); border: 1px solid var(--rule); }
.cond-more { border-top: 1px dashed var(--rule); padding-top: 12px; }
.cond-when { margin-top: 14px; }
/* 日程・予算・食事は1段にまとめる（間延びしないように） */
.when { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; align-items: start; }
.when legend { margin-bottom: 8px; }
.when label { display: grid; gap: 2px; font-size: .74rem; color: var(--muted); }
.when input, .when select { width: 100%; min-width: 0; height: 42px; padding: 0 8px; font-size: .95rem; background: #fff; }
.cond-body > .note { margin-top: -14px; font-size: .74rem; }
.when .note { grid-column: 1 / -1; margin: 2px 0 0; font-size: .74rem; line-height: 1.6; }
@media (max-width: 480px) {
  .when { grid-template-columns: 1fr 1fr; }
  .when label:first-of-type { grid-column: 1 / -1; }
}

.loading { color: var(--muted); }

/* 対決：二枚の暖簾。上に暖簾（見出しを縦書き）、下に向こうの景色 */
#duel { padding-top: 22px; }
.duel-head { display: flex; align-items: center; gap: 14px; }
.counter { font-family: var(--latin); font-weight: 700; margin: 0; font-size: 1.5rem; color: var(--shu); }
.counter .of { font-size: .9rem; color: var(--muted); margin-left: 4px; }
.progress { flex: 1; height: 4px; background: var(--rule); --seg: repeating-linear-gradient(90deg, #000 0 calc(100% / 15 - 4px), transparent calc(100% / 15 - 4px) calc(100% / 15)); -webkit-mask-image: var(--seg); mask-image: var(--seg); }
#progress-bar { height: 100%; width: 0; background: var(--shu); transition: width .3s; }
.duel-q { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin: 18px 0 14px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vs { display: none; }
.card { position: relative; background: #000; border: 0; padding: 0; overflow: hidden; text-align: left; display: block; color: var(--kinari); transition: transform .15s, box-shadow .15s; }
.card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; opacity: .94; }
.card .body { position: static; }
/* 見出し＝短い暖簾：写真の上の方にかかる布。裾の中央に切れ目 */
.card .lead { position: absolute; top: 0; left: 0; right: 0; margin: 0; padding: 8px 10px 16px; background: var(--ai); font-family: var(--display); font-size: clamp(.85rem, 3.4vw, 1.05rem); line-height: 1.45; clip-path: polygon(0 0, 100% 0, 100% 100%, calc(50% + 1px) 100%, calc(50% + 1px) calc(100% - 9px), calc(50% - 1px) calc(100% - 9px), calc(50% - 1px) 100%, 0 100%); transition: transform .25s ease; transform-origin: top center; }
#card-b .lead { background: var(--bengara); }
.card ul { position: absolute; left: 6px; right: 6px; bottom: 6px; list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 3px; }
.card li { font-size: .72rem; font-weight: 700; background: rgba(243, 237, 224, .94); color: var(--sumi); padding: 1px 6px; }
.card li.common { background: rgba(243, 237, 224, .62); color: #555; font-weight: 400; }
/* 指を乗せると暖簾が少しめくれる */
.card:hover, .card:focus-visible { box-shadow: 0 0 0 2px var(--shu); outline: none; }
.card:hover .lead, .card:focus-visible .lead { transform: perspective(500px) rotateX(-18deg); }
.both { display: flex; justify-content: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
@media (min-width: 521px) { .card img { aspect-ratio: 4 / 3; } .card .lead { padding: 10px 14px 18px; } }

/* 結果：宿帳 */
.result-head { background: var(--ai); color: var(--kinari); margin: 0 -20px; padding: 26px 20px 22px; }
.result-head .eyebrow { color: #f1d7a8; }
.result-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 6.4vw, 2.2rem); margin: 0 0 12px; line-height: 1.45; text-wrap: balance; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid rgba(243, 237, 224, .5); padding: 2px 10px; font-size: .8rem; }
.chip.minus { opacity: .6; text-decoration: line-through; }
.block { margin-top: 30px; }
.inn { position: relative; background: var(--washi); border: 1.5px solid var(--sumi); padding: 0; display: grid; }
.inn > * { margin: 0; padding: 10px 14px; }
.inn > * + * { border-top: 1px solid var(--rule); }
.inn h3 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.4; border-top: 0; }
.inn .meta { font-size: .78rem; color: var(--muted); }
.inn .label { font-size: .72rem; color: #5a4a35; font-weight: 700; margin: 0 0 4px; padding: 0; border: 0; }
.inn ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.inn li { font-size: .8rem; font-weight: 700; }
.inn .why li { background: #e6eaf2; color: var(--ai); padding: 1px 8px; }
.inn .caution li { background: var(--tan); color: var(--muted); padding: 1px 8px; font-weight: 400; }
.inn .summary { font-size: .92rem; color: var(--sub); }
.plan { background: var(--tan); font-size: .88rem; }
.plan b { font-family: var(--latin); font-size: 1.3rem; color: var(--shu); }
.plan small { color: var(--muted); }
/* 空きがあれば、料金の欄に朱の「空室あり」の印 */
.plan { position: relative; padding-right: 76px !important; }
.plan::after { content: "空室\A あり"; white-space: pre; position: absolute; right: 12px; top: 10px; width: 52px; height: 52px; border: 2px solid var(--shu); color: var(--shu); border-radius: 4px; display: grid; place-items: center; text-align: center; font-size: .72rem; line-height: 1.2; font-weight: 700; transform: rotate(-8deg); background: rgba(251, 248, 241, .6); }
.skipped { font-size: .78rem; color: var(--muted); background: var(--kinari); }
.video { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.inn .buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-book { background: var(--shu); color: #fff; text-decoration: none; padding: 11px 20px; font-weight: 700; }
.btn-book:hover { filter: brightness(1.06); }
.btn-other { border: 1.5px solid var(--ai); color: var(--ai); text-decoration: none; padding: 9px 16px; font-weight: 700; background: var(--washi); }
.btn-other:hover { background: var(--kinari); }
.error { color: var(--shu); }
.badge { justify-self: stretch; background: var(--ai); color: var(--kinari); font-size: .74rem; font-weight: 700; padding: 3px 14px !important; }
/* SNS の声：要約・注意点・代表の投稿をひとまとめに */
.inn .sns { display: grid; gap: 6px; background: #f6f1e6; }
.inn .sns .label { margin: 4px 0 0; }
.inn .sns .label:first-child { margin-top: 0; color: var(--ai); font-size: .78rem; }
.post { display: grid; gap: 4px; margin-top: 4px; }
.post-why { margin: 0; font-size: .86rem; color: var(--sub); }
.post-why::before { content: "選んだ理由："; color: var(--muted); font-size: .78rem; }
.inn .sns p, .inn .sns ul { margin: 0; }

/* 結果のシェア（ふるさと、どっちと同じ並び。画像は端末のシェアか保存） */
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-buttons a, .share-buttons button { display: inline-block; text-decoration: none; background: var(--washi); color: var(--ai); border: 1.5px solid var(--ai); padding: 8px 16px; font-weight: 700; font-size: .9rem; line-height: 1.4; }
.share-buttons a:hover, .share-buttons button:hover { color: var(--shu); border-color: var(--shu); }
.share-buttons #share-image { background: var(--ai); color: var(--kinari); }
.share-buttons #share-image:hover { background: var(--shu); border-color: var(--shu); color: var(--washi); }
@media (max-width: 359px) { .btn-primary.btn-now { font-size: 1.08rem; padding-left: 18px; } }
/* PC は本文より狭く、高さも控えめに（2026-11-21 堀江さん「大きくて下品」→ ふるさとの PC の見本のサイズ感。丸みはそのまま） */
@media (min-width: 481px) {
  .btn-primary.btn-now { justify-self: center; width: min(100%, 540px); font-size: 1.2rem; padding: 10px 22px 10px 32px; box-shadow: 0 4px 0 #8a2a1b; }
  .btn-now:hover { box-shadow: 0 6px 0 #8a2a1b; }
  .btn-now .btn-sub { font-size: .78rem; margin-top: 4px; }
  .btn-now .ns-card { width: 64px; padding: 4px; }
  .btn-now .ns-card b { font-size: .55rem; }
  .btn-now .ns-vs { width: 30px; height: 30px; font-size: .6rem; }
}

/* トップの最初の画面の「温泉地から旅館を選ぶ」（2026-11-24、build_guides.py --footer が中身を入れる） */
.top-onsen { margin: 14px 0 6px; padding: 10px 12px; background: var(--washi); border: 1px solid var(--rule); }
.top-onsen h2 { font-size: .86rem; font-weight: 700; margin: 0 0 6px; color: var(--sumi); }
.top-onsen p { margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; line-height: 1.5; }
.top-onsen .area-tag { display: inline-block; font-size: .66rem; padding: 0 6px; border: 1px solid var(--ai); color: var(--ai); }
.top-onsen .area-tag[data-area="kcs"] { border-color: var(--bengara); color: var(--bengara); }
.top-onsen a { font-size: .8rem; color: var(--ai); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* トップの「いま、おすすめの旅館」の帯（scripts/top_slides.py・js/top-slides.js、2026-11-28、ふるさと、どっちの写真帯と同じ形）。
   写真は楽天の宿の画像を切らずに枠へ収める（object-fit: contain、文字は重ねない） */
.tslides { margin: 14px 0 6px; --ts-pw: 112px; --ts-ph: 84px; min-width: 0; }
.ts-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 8px; }
.ts-title { font-family: var(--display); font-size: 1.25rem; font-weight: 400; margin: 0; white-space: nowrap; color: var(--sumi); }
.ts-pr { font-family: var(--latin); font-size: .58rem; color: var(--muted); border: 1px solid var(--rule); border-radius: 999px; padding: 0 6px; line-height: 1.6; }
.ts-ctrl { margin-left: auto; display: flex; gap: 4px; }
.ts-btn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule); background: var(--washi); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: .95rem; line-height: 1; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.ts-btn:hover { color: var(--sumi); border-color: var(--muted); }
.ts-play { font-size: .5rem; letter-spacing: -.1em; }
.ts-ic-play { display: none; }
.ts-stopped .ts-ic-pause { display: none; }
.ts-stopped .ts-ic-play { display: inline; letter-spacing: 0; }
.ts-track { list-style: none; margin: 0 -20px; padding: 1px 20px 4px; display: flex; gap: 10px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
.ts-track::-webkit-scrollbar { display: none; }
.ts-track:focus-visible { outline: 2px solid var(--shu); outline-offset: 2px; }
.ts-track.ts-dragging { scroll-snap-type: none; cursor: grabbing; }
.ts-card { flex: 0 0 262px; scroll-snap-align: start; position: relative; background: var(--washi); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.ts-main { display: flex; align-items: stretch; color: var(--sumi); text-decoration: none; min-height: var(--ts-ph); }
.ts-photo { flex: 0 0 var(--ts-pw); display: flex; align-items: center; background: #fff; border-right: 1px solid var(--rule); }
.ts-photo img { display: block; width: var(--ts-pw); height: var(--ts-ph); object-fit: contain; }
.ts-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; padding: 6px 8px 22px 10px; }
.ts-kicker { font-size: .66rem; color: var(--muted); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-hook { font-family: var(--display); font-weight: 400; font-size: .84rem; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.ts-main:hover .ts-hook { text-decoration: underline; text-underline-offset: 3px; }
.ts-detail { position: absolute; left: calc(var(--ts-pw) + 11px); bottom: 5px; font-size: .68rem; color: var(--ai); text-decoration: underline; text-underline-offset: 2px; line-height: 1.4; }
.ts-detail:hover { color: var(--shu); }
.ts-note { font-size: .62rem; color: var(--muted); margin: 4px 0 0; line-height: 1.6; }
@media (min-width: 481px) {
  .ts-track { margin: 0; padding: 1px 0 4px; scroll-padding: 0; }
  .tslides { --ts-pw: 124px; --ts-ph: 93px; }
  .ts-card { flex-basis: 286px; }
  .ts-kicker { font-size: .7rem; }
  .ts-hook { font-size: .9rem; }
  .ts-detail { font-size: .7rem; left: calc(var(--ts-pw) + 11px); }
}
@media (prefers-reduced-motion: reduce) { .ts-track { scroll-behavior: auto; } }
