* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: #ffffff; }
body { font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; }
.lp { max-width: 1366px; margin: 0 auto; background: #fff; }
.lp img { display: block; width: 100%; height: auto; vertical-align: bottom; }

/* 静的スライス（画像をぴったり連結） */
.slice { display: block; width: 100%; }

/* 決済ボタン（画像クリックで決済ページへ） */
a.cta { display: block; width: 100%; transition: opacity .15s, transform .15s; }
a.cta:hover { opacity: .9; transform: translateY(-1px); }

/* フッター特商法ホットスポット */
.footer-wrap { position: relative; display: block; width: 100%; }
.footer-wrap a.tokushoho {
  position: absolute; left: 38%; top: 20%; width: 24%; height: 34%;
  display: block; cursor: pointer;
}

/* カラムボタン（1枚画像内の複数ボタンをクリック領域化） */
.hotspot-wrap { position: relative; display: block; width: 100%; line-height: 0; }
.hotspot-wrap a.spot {
  position: absolute; display: block; cursor: pointer; border-radius: 6px;
  transition: transform .12s, box-shadow .12s, background .12s;
}
.hotspot-wrap a.spot:hover {
  background: rgba(255,255,255,.18);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transform: translateY(-2px);
}

/* 動画埋め込み（個別添削=Loom / グループ添削=YouTube） */
.video-block { width: 100%; background: #fff; padding: 4px 6% 22px; }
.video-frame {
  position: relative; width: 100%; padding-top: 56.25%; /* 16:9 */
  border-radius: 12px; overflow: hidden; background: #000;
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* 音声をオンにするボタン */
.unmute-btn {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: none; border-radius: 999px; cursor: pointer;
  background: rgba(17,17,17,.78); color: #fff; font: 700 13px/1 inherit;
  font-family: inherit; box-shadow: 0 3px 10px rgba(0,0,0,.3);
  transition: background .15s, transform .15s;
}
.unmute-btn svg { display: block; }
.unmute-btn:hover { background: rgba(17,17,17,.92); transform: translateY(-1px); }
.video-frame.sound-on .unmute-btn { display: none; }
@media (max-width: 640px) { .unmute-btn { padding: 7px 11px; font-size: 12px; } }

/* ===== カルーセル ===== */
.carousel { position: relative; width: 100%; background: #fff; }
/* 画像/動画が流れる窓（ここだけ overflow:hidden。高さはJSで設定） */
.carousel .viewport { position: relative; width: 100%; overflow: hidden; }
.carousel .track { display: flex; transition: transform .5s ease; will-change: transform; }
.carousel .slide { flex: 0 0 100%; width: 100%; }
.carousel .slide img { width: 100%; display: block; }
/* 動画カルーセル（BEFORE→AFTER） */
.carousel[data-mode="video"] .track,
.carousel[data-mode="video"] .slide { height: 100%; }
.carousel .slide video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }

/* 矢印（窓の中央・画像の上に重ねる） */
.carousel .arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(0,0,0,.4); color: #fff; font-size: 22px; line-height: 44px;
  cursor: pointer; z-index: 3; transition: background .2s; user-select: none;
}
.carousel .arrow:hover { background: rgba(0,0,0,.65); }
.carousel .arrow.prev { left: 12px; }
.carousel .arrow.next { right: 12px; }

/* ドット（画像の下の独立した帯。デザインに被らない） */
.carousel .dots {
  display: flex; justify-content: center; gap: 8px;
  padding: 14px 0 6px; background: #fff;
}
.carousel .dots .dot {
  width: 9px; height: 9px; border-radius: 50%; border: none;
  background: rgba(0,0,0,.25); cursor: pointer; padding: 0; transition: background .2s, transform .2s;
}
.carousel .dots .dot.active { background: rgba(0,0,0,.7); transform: scale(1.2); }

@media (max-width: 640px) {
  .carousel .arrow { width: 34px; height: 34px; font-size: 17px; line-height: 34px; }
  .carousel .arrow.prev { left: 6px; }
  .carousel .arrow.next { right: 6px; }
}
