@charset "UTF-8";
/* ============================================================
   トップページ固有（SHOWROOM の動画サムネイル・動画モーダル・おすすめ在庫）
   ============================================================ */

/* SHOWROOM：ボタン横の動画サムネイル */
.showroom__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.showroom__body .showroom__actions .btn-round { margin: 0; }
.movie-thumb {
  position: relative;
  flex: none;
  width: 160px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  transition: transform .3s;
}
.movie-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.movie-thumb__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
}
.movie-thumb__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--green);
}
.movie-thumb:hover { transform: translateY(-2px); }

/* 動画モーダル */
.movie-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .8);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.movie-modal.is-open { opacity: 1; visibility: visible; }
.movie-modal__inner { position: relative; width: min(960px, 100%); }
.movie-modal__inner video { width: 100%; max-height: 80vh; display: block; border-radius: 8px; background: #000; }
.movie-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 40px;
  line-height: 40px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .showroom__actions { margin-top: 20px; gap: 16px; }
  .movie-thumb { width: 128px; }
}
