/* トップのバナー（src/views/v2/trust-banner.tsx・public/v2/tbn.js）。説明つきの版は docs/css-notes/v2-tbn.css.txt（速度の予算のため、ここには説明を書かない） */
.dz2 .v2-tbn { --tbn-w: min(840px, calc(100vw - 64px)); width: 100vw; margin: 8px 0 0 calc(50% - 50vw); }
html.dz2:has(.v2-tbn) { overflow-x: clip; }
.dz2 .v2-tbn-track { position: relative; display: flex; gap: 10px; padding: 4px calc((100% - var(--tbn-w)) / 2) 14px; scroll-padding-inline: calc((100% - var(--tbn-w)) / 2); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dz2 .v2-tbn-track::-webkit-scrollbar { display: none; }
.dz2 .v2-tbn-track > div { position: relative; flex: 0 0 var(--tbn-w); min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.dz2 .v2-tbn-track > div.is-on { z-index: 1; }
.dz2 .v2-tbn-track.is-jump > div > a { transition: none; }
.dz2 .v2-tbn-track > div > a { display: block; aspect-ratio: 3 / 1; border-radius: var(--v2-r-s, 14px); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); transform: translateX(-6%) scale(0.88); transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.45s; -webkit-tap-highlight-color: transparent; -webkit-user-drag: none; }
.dz2 .v2-tbn-track > div.is-l > a { transform: translateX(6%) scale(0.88); }
.dz2 .v2-tbn-track > div.is-on > a { transform: none; box-shadow: 0 8px 22px rgba(30, 20, 50, 0.18), 0 2px 6px rgba(30, 20, 50, 0.08); }
.dz2 .v2-tbn img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--v2-r-s, 14px); -webkit-user-select: none; user-select: none; }
.dz2 .v2-tbn-view { position: relative; }
.dz2 .v2-tbn-track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.dz2 .v2-tbn-ctl { display: flex; justify-content: center; align-items: center; margin: -14px 0 -12px; position: relative; z-index: 1; }
.dz2 .v2-tbn-arw { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #33333b; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.dz2 .v2-tbn-arw svg { box-sizing: content-box; width: 14px; height: 14px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22); }
.dz2 .v2-tbn-arw:active svg { background: #fff; transform: scale(0.94); }
.dz2 .v2-tbn-dots { display: flex; }
.dz2 .v2-tbn-num { min-width: 3.4em; text-align: center; font-size: 13px; color: #5a5a64; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dz2 .v2-tbn-num b { color: #33333b; }
.dz2 .v2-tbn-dots button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.dz2 .v2-tbn-dots button::before { content: ''; width: 9px; height: 9px; border-radius: 999px; background: #a3a3ad; transition: width 0.2s, background-color 0.2s; }
.dz2 .v2-tbn-dots button[aria-current='true']::before { width: 26px; background: var(--th); }
@media (min-width: 1024px) {
  .dz2 .v2-tbn { --tbn-w: clamp(630px, 54vw, 700px); margin-top: 0; }
  .dz2 .v2-tbn-track { gap: 24px; cursor: pointer; }
  .dz2 .v2-tbn { position: relative; }
  .dz2 .v2-tbn-ctl { position: static; }
  .dz2 .v2-tbn-arw { position: absolute; z-index: 2; top: calc(4px + var(--tbn-w) / 6 - 28px); width: 56px; height: 56px; }
  .dz2 .v2-tbn-arw.is-prev { left: calc(50% - var(--tbn-w) / 2 - 40px); }
  .dz2 .v2-tbn-arw.is-next { right: calc(50% - var(--tbn-w) / 2 - 40px); }
  .dz2 .v2-tbn-arw svg { width: 22px; height: 22px; padding: 11px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
  .dz2 .v2-tbn-arw:hover svg { box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28); }
}
@media (prefers-reduced-motion: reduce) { .dz2 .v2-tbn-dots button::before, .dz2 .v2-tbn-track > div > a { transition: none; } .dz2 .v2-tbn-arw:active svg { transform: none; } }
