/* 花火特集の本文だけ。ヘッダー・左ペイン・フッターは style.css と spot-page-shared.js の共通部品。
   2026-09-22に hanabi.html のインラインstyleから切り出した（日英2ファイルに同じCSSが重複していた）。 */
.hanabi-page main { padding-bottom: 40px; }
.hb-hero { position: relative; isolation: isolate; background: var(--night); color: #fff; padding: 108px 20px 76px; overflow: hidden; }
${t.copy11}
.hb-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,28,44,.62) 0%, rgba(16,28,44,.74) 55%, rgba(16,28,44,.92) 100%); }
.hb-hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.hb-hero .eyebrow { color: var(--accent-soft); }
.hb-hero h1 { font-family: var(--font-serif); font-size: clamp(30px, 6.4vw, 46px); line-height: 1.4; margin: 0 0 20px; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hb-hero-lead { color: rgba(255,255,255,.9); font-size: 15px; line-height: 1.95; margin: 0 auto; max-width: 620px; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hb-hero-stat { margin: 26px 0 0; color: rgba(255,255,255,.66); font-size: 12px; letter-spacing: .04em; }
.hb-jump { max-width: 960px; margin: 0 auto; padding: 40px 20px 0; }
.hb-jump-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hb-jump-links a { border: 1px solid var(--line); border-radius: 999px; background: var(--card); padding: 7px 14px; font-size: 12.5px; color: var(--ink); text-decoration: none; }
.hb-jump-links a:hover, .hb-jump-links a:focus-visible { border-color: var(--accent); color: var(--accent); }
.hb-section { max-width: 960px; margin: 0 auto; padding: 62px 20px 0; }
.hb-section-head { text-align: center; margin-bottom: 28px; }
.hb-section-head h2 { font-family: var(--font-serif); font-size: clamp(21px, 4.2vw, 29px); margin: 0 0 12px; }
.hb-section-lead { max-width: 600px; margin: 0 auto; font-size: 14px; line-height: 1.9; color: var(--ink-soft); }
.hb-event { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 26px 22px; margin-bottom: 26px; scroll-margin-top: 88px; }
.hb-event-head { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 16px; }
.hb-event-head h3 { font-family: var(--font-serif); font-size: clamp(19px, 3.6vw, 25px); margin: 0 0 6px; }
.hb-place { margin: 0; font-size: 12px; letter-spacing: .04em; color: var(--ink-soft); }
.hb-event-body p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.95; }
.hb-related { margin: 0 0 12px !important; font-size: 13px !important; }
.hb-related a { color: var(--accent); text-underline-offset: 3px; }
.hb-official { border-radius: 12px; background: var(--paper-deep); padding: 14px 16px; margin: 4px 0 22px; }
.hb-official-label { margin: 0 0 8px; font-size: 11px; letter-spacing: .1em; color: var(--ink-soft); font-weight: 700; }
.hb-official-links { display: grid; gap: 6px; }
.hb-official-links a { font-size: 13.5px; color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.hb-official-links a:hover, .hb-official-links a:focus-visible { color: var(--accent); }
.hb-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.hb-embed { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.hb-media-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #101d2c; }
/* 縦動画の投稿。X が返すプレイヤーの高さは動画ごとに違うため、
   比率を決め打ちせず、描画されたウィジェットの高さにフレーム側を合わせる。 */
.hb-embed[data-aspect="portrait"] .hb-media-frame { aspect-ratio: auto; min-height: 220px; }
.hb-media-frame::after { content: attr(data-placeholder); position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; padding: 14px; color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: .06em; text-align: center; }
.hb-media-frame > *:not(template) { position: relative; z-index: 1; }
.hb-media-frame > blockquote.twitter-tweet { position: absolute; inset: 0; width: 100%; margin: 0 !important; padding: 0; visibility: hidden; }
.hb-media-frame > .twitter-tweet-rendered { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; visibility: visible; }
.hb-media-frame iframe { display: block; width: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; border: 0; }
/* 16:9が実測で一致する横向き動画とYouTubeだけ、枠いっぱいに引き伸ばす */
.hb-embed:not([data-aspect="portrait"]) .hb-media-frame > .twitter-tweet-rendered { height: 100% !important; }
.hb-embed:not([data-aspect="portrait"]) .hb-media-frame iframe { height: 100% !important; }
.hb-embed.is-loading .hb-media-frame::after { background: linear-gradient(100deg, #16273a 20%, #24405c 45%, #16273a 70%); background-size: 220% 100%; animation: hb-shimmer 1.25s ease-in-out infinite; }
@keyframes hb-shimmer { 0% { background-position: 140% 0; } 100% { background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) { .hb-embed.is-loading .hb-media-frame::after { animation: none; } }
.hb-facade { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; gap: 10px; width: 100%; height: 100%; padding: 16px; border: 0; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.hb-facade:hover .hb-facade-play, .hb-facade:focus-visible .hb-facade-play { background: var(--accent); }
.hb-facade-play { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.22); position: relative; transition: background .2s ease; }
.hb-facade-play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.hb-facade-label { font-size: 11.5px; line-height: 1.6; letter-spacing: .04em; color: rgba(255,255,255,.8); text-align: center; }
.hb-credit { margin: 0; min-height: 52px; padding: 10px 12px 12px; color: var(--ink-soft); font-size: 11px; line-height: 1.6; text-align: left; overflow-wrap: anywhere; }
.hb-credit a { color: inherit; text-underline-offset: 3px; }
.hb-credit a:hover, .hb-credit a:focus-visible { color: var(--ink); }
.hb-tips { max-width: 760px; margin: 0 auto; padding: 62px 20px 0; }
.hb-tips h2 { font-family: var(--font-serif); font-size: clamp(21px, 4.2vw, 29px); margin: 0 0 18px; text-align: center; }
.hb-tip-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.hb-tip-list li { border-left: 3px solid var(--accent-soft); padding: 2px 0 2px 16px; font-size: 14.5px; line-height: 1.95; }
.hb-tip-list strong { display: block; font-family: var(--font-serif); font-size: 16px; margin-bottom: 4px; }
.hb-disclaimer { max-width: 760px; margin: 0 auto; padding: 56px 20px 0; }
.hb-disclaimer-card { border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px 22px; }
.hb-disclaimer-card h2 { font-size: 14px; letter-spacing: .08em; margin: 0 0 10px; }
.hb-disclaimer-card p { margin: 0 0 9px; font-size: 12.5px; line-height: 1.9; color: var(--ink-soft); }
.hb-disclaimer-card p:last-child { margin-bottom: 0; }
.hb-article > .hb-jump,
.hb-article > .hb-section,
.hb-article > .hb-tips,
.hb-article > .hb-disclaimer { max-width: none; padding-left: 0; padding-right: 0; }
.hb-article > .hb-jump { padding-top: 30px; }
@media (max-width: 1099px) {
  .hb-article > .hb-jump,
  .hb-article > .hb-section,
  .hb-article > .hb-tips,
  .hb-article > .hb-disclaimer { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 620px) {
  .hb-hero { padding: 76px 20px 56px; }
  .hb-event { padding: 22px 16px; }
  .hb-media-grid { grid-template-columns: 1fr; }
}
