/* ルート集（/routes/）の見た目。ガイドの guide.css の上に足す */
.yt { position: relative; aspect-ratio: 16 / 9; max-width: 720px; background: #1e293b; border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #e2e8f0; text-align: center; padding: 16px; }
.yt.portrait { aspect-ratio: 9 / 16; max-width: 340px; }
.yt button { font: inherit; font-size: 17px; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 0; background: #fff; color: #0f172a; cursor: pointer; }
.yt p { margin: 0; font-size: 13px; color: #cbd5e1; }
.yt p a { color: #e2e8f0; }
.yt.playing { padding: 0; }
/* ルートのページの動画は h1 のすぐ下に、横幅いっぱいで置く（縦の動画は画面の高さに収まる大きさまで） */
.yt.hero { max-width: none; width: 100%; margin: 4px 0 16px; gap: 14px; }
.yt.hero.portrait { max-width: min(100%, 480px, calc((100vh - 120px) * 9 / 16)); margin-left: auto; margin-right: auto; }
.yt.hero button { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; padding: 14px 28px 14px 18px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35); }
.yt.hero button .play { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #dc2626; color: #fff; font-size: 18px; padding-left: 3px; }
.yt.hero button:hover, .yt.hero button:focus-visible { transform: scale(1.04); }
.yt.hero .yt-title { max-width: 32em; font-size: 16px; font-weight: 700; color: #f8fafc; line-height: 1.5; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius-lg); }
.notice { margin: 0 0 20px; padding: 12px 16px; border-left: 4px solid #d97706; background: #fffbeb; border-radius: var(--radius); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0; }
dl.facts dt { font-weight: 700; }
dl.facts dd { margin: 0; }
ul.route-list { list-style: none; padding: 0; }
ul.route-list li { padding: 14px 0; border-bottom: var(--rule); }
ul.route-list a.name { font-weight: 700; font-size: 18px; }
ul.route-list .sub { font-size: 14px; color: var(--ink-faint); }
tr.total th, tr.total td { font-weight: 700; }
nav.cats, nav.region-filter { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 0 0 12px; font-size: 15px; }
nav.cats > span, nav.region-filter > span { font-weight: 700; margin-right: 4px; }
nav.cats a, nav.region-filter a { display: inline-block; padding: 4px 12px; border: 1px solid var(--accent); border-radius: 999px; text-decoration: none; }
nav.region-filter a { border-color: #cbd5e1; color: var(--ink); font-size: 14px; }
nav.region-filter a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
nav.cats a[hidden], ul.route-list li[hidden], .cat-group[hidden] { display: none; }
.cat-group h2 { scroll-margin-top: 16px; }
p.cat-links { font-size: 15px; }
p.category { margin: -6px 0 18px; font-size: 14px; color: var(--ink-faint); }
/* 旅のしおりの見た目（LP の案B にそろえる。2026-11-27）: 動画は白い縁の写真のように、一覧の区切りは破線 */
.yt { border: 8px solid #fff; border-radius: 3px; box-shadow: 0 14px 30px -16px rgba(70, 50, 20, 0.5); }
.yt.playing { padding: 0; }
.yt iframe { border-radius: 0; }
ul.route-list li { border-bottom: 1px dashed #cdbf9f; }
nav.region-filter a { background: #fffdf7; border-color: #d8cbad; }
@media (max-width: 640px) { .yt { border-width: 5px; } }
/* 実験カード E59: 動画のすぐ下の「このルートで作る」（下の「このルートで動画を作る」のボタンと同じリンク） */
.make-top { margin: 0 0 18px; text-align: center; }
