/* サンプル動画を縦スワイプで次々見る（/swipe・2026-11-14）。このページだけが読む */
html.sw-open, html.sw-open body { overflow: hidden; }
.sw-start-wrap { text-align: center; margin: 1.2rem 0; }
.sw-start { font: inherit; font-weight: 700; font-size: 1.05rem; color: #fff; border: 0; border-radius: 999px; padding: .85rem 1.6rem; cursor: pointer;
  background: linear-gradient(135deg, #ec4370, #b52a5e); box-shadow: 0 6px 18px rgba(236, 67, 112, .35); }
.sw-counts { list-style: none; padding: 0; }
.sw-counts li { margin: .25rem 0; }
.sw-counts b { display: inline-block; min-width: 4.5em; color: #ec4370; }
.sw-list li { margin: .45rem 0; }
.sw-list small { display: block; color: #9b9bb0; font-size: .82rem; }

.sw { position: fixed; inset: 0; z-index: 2000; background: #000; color: #fff; }
.sw[hidden] { display: none !important; }
.sw-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); padding-bottom: .6rem; pointer-events: none; }
.sw-top > * { pointer-events: auto; }
.sw-pr { margin: 0; padding: .25rem .6rem; font-size: .68rem; color: #c9c9d6; text-align: center; }
.sw-bar { display: flex; align-items: center; gap: .4rem; padding: 0 .5rem; }
.sw-x, .sw-snd { font: inherit; color: #fff; background: rgba(255, 255, 255, .14); border: 0; border-radius: 999px; padding: .4rem .75rem; cursor: pointer; flex: none; }
.sw-x { font-size: 1.1rem; line-height: 1; padding: .4rem .65rem; }
.sw-snd { font-size: .8rem; }
.sw-snd[aria-pressed="true"] { background: #ec4370; }
.sw-tabs { flex: 1; display: flex; justify-content: center; gap: .3rem; }
.sw-tabs button { font: inherit; font-size: .88rem; color: #ddd; background: none; border: 0; border-bottom: 2px solid transparent; padding: .35rem .5rem; cursor: pointer; }
.sw-tabs button.is-on { color: #fff; font-weight: 700; border-bottom-color: #ec4370; }

.sw-feed { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; outline: none; scrollbar-width: none; }
.sw-feed::-webkit-scrollbar { display: none; }
.sw-slide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sw-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .55; }
.sw-v { position: relative; width: 100%; max-height: 100%; object-fit: contain; background: transparent; }
.sw-slide.is-playing .sw-cover { opacity: 0; }
.sw-err { position: absolute; top: 45%; left: 1rem; right: 1rem; text-align: center; margin: 0; font-size: .9rem; background: rgba(0, 0, 0, .6); padding: .6rem; border-radius: 8px; }
.sw-err[hidden] { display: none; }

.sw-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2.2rem .9rem calc(1rem + env(safe-area-inset-bottom)); background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .82) 45%); }
.sw-sale { margin: 0 0 .3rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .8rem; }
.sw-ct { background: #ec4370; color: #fff; border-radius: 4px; padding: .1rem .45rem; font-weight: 700; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-left { color: #ffd36b; font-weight: 700; font-variant-numeric: tabular-nums; }
.sw-left.is-urgent { color: #ff8f8f; }
.sw-price { margin: 0 0 .3rem; display: flex; align-items: baseline; gap: .5rem; }
.sw-price s { color: #a9a9b8; font-size: .85rem; }
.sw-price b { font-size: 1.35rem; color: #fff; }
.sw-price em { font-style: normal; font-weight: 700; color: #ffd36b; font-size: .95rem; }
.sw-t { margin: 0 0 .25rem; font-size: .95rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-m { margin: 0 0 .6rem; font-size: .78rem; color: #c9c9d6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-btns { display: flex; gap: .5rem; }
.sw-buy { flex: 1; text-align: center; font-weight: 700; color: #fff; text-decoration: none; border-radius: 999px; padding: .75rem 1rem;
  background: linear-gradient(135deg, #ec4370, #b52a5e); }
.sw-more { flex: none; color: #fff; text-decoration: none; border-radius: 999px; padding: .75rem 1rem; background: rgba(255, 255, 255, .16); }

.sw-nav { position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); z-index: 3; display: none; flex-direction: column; gap: .6rem; }
.sw-nav button { font: inherit; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 0; color: #fff; background: rgba(255, 255, 255, .16); cursor: pointer; }
.sw-hint { position: absolute; left: 50%; bottom: 40%; transform: translateX(-50%); z-index: 3; margin: 0; background: rgba(0, 0, 0, .65); padding: .5rem .9rem; border-radius: 999px; font-size: .85rem; }
.sw-hint[hidden] { display: none; }
.sw-empty { position: absolute; top: 45%; left: 0; right: 0; text-align: center; color: #ccc; }

/* パソコン：真ん中に縦長の枠（左右は暗く）。次へ・前へのボタンを出す */
@media (min-width: 768px) {
  .sw-feed, .sw-top { left: 50%; right: auto; width: min(100vw, 56.25vh, 520px); transform: translateX(-50%); }
  .sw-feed { width: min(100vw, 56.25vh, 520px); min-width: 420px; }
  .sw-top { min-width: 420px; }
  .sw-nav { display: flex; right: calc(50% - min(56.25vh, 520px) / 2 - 4rem); }
  .sw-hint { display: none !important; }
}
