/* サムネイル */
.movie_thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.movie_thumb:hover {
  filter: blur();
}

.movie_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie_play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 36px;
  pointer-events: none;
  height: 64px;
  width: 64px;
  background-color: rgba(229, 0, 18, 0.8);
  line-height: 60px;
  border-radius: 50%;
}

/* モーダル */
.movie_modal {
  position: fixed;
  inset: 0;
  width: min(90%, 1000px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.movie_modal::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.movie_modal_inner {
  position: relative;
  width: 100%;
}

.movie_player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.movie_player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 閉じるボタン */
.movie_close {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
