@charset "utf-8";
/* CSS Document */

/* ===============================
   PC用モーダル video-pc.css
   =============================== */
.movie-rt, .movie-lt {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.movie-rt .thumb, .movie-lt .thumb {
  cursor: pointer;
  text-align: center;
}
.movie-rt .thumb img, .movie-lt .thumb img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.movie-rt .thumb p, .movie-lt .thumb p {
  font-size: 14px;
  margin-top: 6px;
  color: #333;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  place-items: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1000;
}
.modal.open {
  display: grid;
  opacity: 1;
}
.dialog { position: relative; }
.modal video {
  max-width: 80vw;
  max-height: 80vh;
}
.close:hover { opacity: 0.75;}
.close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,.3);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}