/* ご当地ページ（scripts/cityPages.mjs が作る）の見た目。土台は /legal.css */
h1 small { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--muted); }
.shot { display: block; width: 100%; height: auto; margin: 12px 0; border-radius: 12px; }
.lead { font-size: 16px; }
.en { font-size: 13px; color: var(--muted); }
.play { margin: 20px 0; text-align: center; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; color: #fff; background: var(--accent); font-size: 18px; font-weight: 900; text-decoration: none; box-shadow: 0 4px 0 #a3122f; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #a3122f; }
.spots { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.spots a { display: inline-block; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.cards a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.cards img { display: block; width: 100%; height: auto; }
.cards b { display: block; padding: 8px 10px 0; }
.cards span { display: block; padding: 0 10px 10px; font-size: 12px; color: var(--muted); }
dt { margin-top: 12px; font-weight: 800; }
dd { margin: 4px 0 0; }
.langs a { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; font-size: 13px; color: #fff; text-decoration: none; }
.langs a[aria-current='page'] { color: var(--ink); background: #fff; border-color: #fff; }
@media (prefers-color-scheme: dark) { .langs a[aria-current='page'] { color: #16182a; } }
.facts { font-weight: 700; color: var(--muted); }
.also { margin: -8px 0 20px; text-align: center; font-size: 13px; color: var(--muted); }
/* 紹介動画：押すまでは画像、押すと YouTube の再生に変わる */
.trailer { position: relative; display: block; margin: 12px 0; border-radius: 12px; overflow: hidden; }
.trailer img { display: block; width: 100%; height: auto; }
.trailer .play-ic { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(232, 35, 63, 0.92); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); }
.trailer .play-ic::after { content: ''; position: absolute; left: 33px; top: 24px; border-style: solid; border-width: 18px 0 18px 30px; border-color: transparent transparent transparent #fff; }
.trailer:hover .play-ic { transform: scale(1.06); }
.trailer-frame { display: block; width: 100%; aspect-ratio: 16 / 9; margin: 12px 0; border: 0; border-radius: 12px; }
/* テーマのめぐり（城めぐりなど）：城のページの案内の枠と、一覧の入口 */
.tour { margin: 24px 0; padding: 4px 16px 8px; border: 1px solid var(--line); border-radius: 12px; }
.tour h2 { margin-top: 12px; }
.tours { text-align: center; margin: 16px 0; }
.tours .btn { margin: 4px; font-size: 16px; padding: 10px 22px; }
/* 動画（YouTube）：押すまで表紙の画像だけ。ショートは縦長 */
.videos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 12px 0 20px; }
.videos figure { margin: 0; width: 150px; text-align: center; }
.videos figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }
a.video { position: relative; display: block; width: 100%; max-width: 640px; border-radius: 12px; overflow: hidden; }
a.video img { display: block; width: 100%; height: auto; }
a.video.short { max-width: 300px; }
.videos.shorts a.video.short { max-width: 150px; }
a.video .play-ic { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(232, 35, 63, 0.92); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); }
a.video .play-ic::after { content: ''; position: absolute; left: 25px; top: 18px; border-style: solid; border-width: 14px 0 14px 23px; border-color: transparent transparent transparent #fff; }
iframe.video-frame { display: block; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; margin: 0 auto; }
iframe.video-frame.short { max-width: 300px; aspect-ratio: 9 / 16; }
