/* 見本を次々見るページ（/swipe・2026-11-14）。style.css の色の変数を使う */
.sw-h1 { font-size: 17px; margin: 8px 0 4px; line-height: 1.4; }
.sw-lead { color: var(--sub); font-size: 13px; margin: 0 0 4px; }
.sw-age { font-size: 12px; color: var(--sub); margin: 0 0 8px; }
.sw-tabs { display: flex; gap: 6px; margin: 0 0 8px; }
.sw-tab { flex: 1; padding: 8px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--sub); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.sw-tab small { margin-left: 4px; font-weight: 400; font-size: 11px; }
.sw-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #111; }
.sw-feed { position: relative; height: 520px; min-height: 360px; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 10px; background: #000; scrollbar-width: none; }
.sw-feed::-webkit-scrollbar { display: none; }
.sw-slide { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; background: var(--bg); }
.sw-player { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 60%; background: #000 center / contain no-repeat; flex: none; }
.sw-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sw-player .sw-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; background: rgba(0, 0, 0, .45); }
.sw-info { flex: 1; min-height: 0; overflow: hidden; padding: 10px 12px 8px; display: flex; flex-direction: column; gap: 4px; }
.sw-pos { font-size: 11px; color: var(--sub); }
.sw-t { font-size: 15px; font-weight: 700; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-m { font-size: 12px; color: var(--sub); margin: 0; }
.sw-price { margin: 2px 0 0; font-size: 14px; }
.sw-price s { color: var(--sub); }
.sw-price b { color: var(--accent); font-size: 20px; }
.sw-off { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 4px; background: #c0392b; color: #fff; font-size: 13px; font-weight: 800; }
.sw-since { display: block; font-size: 11px; color: var(--sub); }
.sw-btns { display: flex; gap: 8px; margin-top: auto; }
.sw-btns .cta-main { flex: 2; margin: 0; padding: 12px 8px; font-size: 16px; }
.sw-btns .sw-detail { flex: 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; font-size: 14px; }
.sw-ctl { display: none; }
@media (min-width: 768px) {
  .sw-feed, .sw-tabs { max-width: 720px; }
  .sw-ctl { top: 340px; left: 740px; right: auto; }
  .sw { position: relative; }
  .sw-ctl { display: flex; flex-direction: column; gap: 8px; position: absolute; right: 0; top: 50%; }
  .sw-ctl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 16px; cursor: pointer; }
}
@media (max-width: 767px) {
  .sw-h1 { font-size: 15px; margin-top: 4px; }
  .sw-lead { display: none; }
  .sw-tab { padding: 6px; }
}
.sw-end { height: 100%; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; color: var(--sub); background: var(--bg); }
.sw-about { margin-top: 18px; }
