/* 行先ページ（scripts/build-destinations.cjs が生成）専用のスタイル */
/* .article-body と .destination-cover はトップのダイアログ用で、幅はダイアログ側が決めている。
   単独ページでは制限が効かず画面いっぱいに広がるので、記事ページと同じ幅に揃える。 */
.travel-article .destination-cover,.travel-article .article-body{max-width:1100px;margin-left:auto;margin-right:auto;padding-left:30px;padding-right:30px}
.travel-article .destination-cover{margin-bottom:38px}
.travel-article .destination-cover>img{height:380px}
.travel-article .article-body{padding-top:0;padding-bottom:70px}
@media(max-width:760px){
.travel-article .destination-cover,.travel-article .article-body{padding-left:6%;padding-right:6%}
.travel-article .destination-cover>img{height:240px}
.travel-article .article-body{padding-bottom:48px}
}
/* 関連リンクと都道府県別の一覧。
   下地を灰色にして1pxの隙間を線に見せる作りだと、説明文の行数が違う項目が並んだときに、
   背の低いカードの下へ下地が帯になって出る。カードごとに枠線を持たせ、高さを揃える。 */
.related-destinations,.prefecture-group{margin:36px 0}
.related-destinations>h2,.prefecture-group>h2{border-top:3px solid var(--ink);padding-top:12px;margin-bottom:0}
.related-destinations ul,.prefecture-group ul{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:12px}
.related-destinations li,.prefecture-group li{display:flex;margin:0}
.related-destinations a,.prefecture-group a{display:flex;flex-direction:column;gap:7px;flex:1;padding:18px 20px;background:var(--paper);border:1px solid var(--line);border-left:3px solid var(--ink);text-decoration:none;font-weight:700;color:var(--ink);line-height:1.55;transition:background .15s}
.related-destinations a span,.prefecture-group a span{display:block;font-weight:400;font-size:13px;color:var(--muted);line-height:1.75}
.related-destinations a:hover,.prefecture-group a:hover,.related-destinations a:focus-visible,.prefecture-group a:focus-visible{background:var(--lime)}
.destination-cover figcaption{overflow-wrap:anywhere}
@media(min-width:720px){.related-destinations ul,.prefecture-group ul{grid-template-columns:1fr 1fr}}

/* まとめページ（scripts/build-themes.cjs が生成）の比較表だけの規則。罫線と色は記事の表と共通で article.css にある。
   列の幅は themes.json の columns[].width を <colgroup> で指定するので、table-layout:fixed にして指定どおりに割り付ける。
   列が多いので、はみ出す幅では横スクロールさせ、行先の列は折り返さない。 */
.theme-table{min-width:760px;table-layout:fixed}
.theme-table th[scope=row]{word-break:keep-all;overflow-wrap:anywhere;font-weight:700}
.theme-table th[scope=row] span{display:block;font-weight:400;font-size:12px;color:var(--muted)}
.theme-table td:first-child{width:auto;font-weight:400}
.theme-picks{font-weight:700;margin-bottom:4px}
.theme-picks{font-weight:700;margin-bottom:4px}
/* まとめページ末尾の「ほかの日帰り旅を探す」。記事と同じボタンのまま、上の旅行記カードの欄と幅をそろえる。 */
.theme-back{padding:40px 4.5% 70px}
.theme-back .story-back{max-width:1360px;margin:0 auto}
@media(max-width:700px){.theme-back{padding:32px 6% 48px}}
/* 記事の末尾から、その記事が載っているまとめページへ。 */
.theme-links{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:12px}
/* まとめページの各行先の節：比較表の値（出典付き）と、記事から引いた一日の目安を分けて見せる。 */
.theme-spot{margin:34px 0 0;padding-top:6px}
.theme-facts{display:grid;gap:0;margin:16px 0 10px;border-top:1px solid var(--line)}
.theme-facts>div{display:grid;grid-template-columns:9em minmax(0,1fr);gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}
.theme-facts dt{font-weight:700;font-size:14px}
.theme-facts dd{margin:0;font-size:14px;line-height:1.8}
.theme-plan{margin:18px 0 6px;padding:18px 20px;background:#edf0e8;border-left:3px solid var(--ink)}
.theme-plan-label{font-weight:700;font-size:14px;margin:0 0 8px}
.theme-plan dl{margin:0;display:grid;gap:6px}
.theme-plan dl>div{display:grid;grid-template-columns:6em minmax(0,1fr);gap:12px;font-size:13px;line-height:1.75}
.theme-plan dt{font-weight:700}.theme-plan dd{margin:0}
@media(max-width:760px){.theme-facts>div{grid-template-columns:1fr;gap:2px}.theme-plan dl>div{grid-template-columns:1fr;gap:0}}
/* まとめページの目次で、温泉地などの小項目を一段下げる。 */
.theme-page .story-content>p{margin:0 0 1.1em}
/* 比較表の見出し行を固定する。表が横にはみ出す幅では、枠の中で縦横にスクロールさせ、見出し行と「行先」の列を固定する。
   はみ出さない幅では枠を外し、見出し行をページの上端に固定する（overflow のある枠の中では、ページのスクロールに追従しないため）。 */
.theme-page .table-scroll{max-height:75vh;overflow:auto}
.theme-table thead th{position:sticky;top:0;z-index:2}
.theme-table tbody th[scope=row]{position:sticky;left:0;z-index:1}
.theme-table thead th:first-child{left:0;z-index:3}
@media(min-width:1140px){.theme-page .table-scroll{max-height:none;overflow:visible}.theme-table thead th{top:var(--header-h)}.theme-table tbody th[scope=row]{position:static}}/* まとめページの行先ごとの「編集メモ」（どんな日に向くか・ほかとの違い・注意） */
.theme-memo{margin:26px 0;padding:18px 22px 16px;background:#f7fae6;border:1px solid #dfe7a8;border-left:6px solid var(--lime)}.theme-memo .theme-memo-label{display:inline-block;margin:0 0 8px;padding:3px 10px;background:var(--ink);color:#fff;font-size:12px;font-weight:700;letter-spacing:.08em;line-height:1.6}.theme-memo p{margin:0}.theme-memo p+p{margin-top:0}
