/* =====================================================
   IR動画モーダル
===================================================== */

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.8);
}

.video-modal.is-open {
  display: block;
}

.video-modal__content {
  position: relative;
  width: 75%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin: 5vh auto;
  background: #000;
}

.video-modal__content iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  z-index: 10001;
}

.video-modal__close:hover {
  opacity: 0.7;
}

.video-modal__close:focus {
  outline: 2px solid #fff;
}

@media screen and (max-width: 767px) {

  .video-modal__content {
    width: 95%;
    margin: 10vh auto;
  }

  .video-modal__close {
    top: -40px;
    font-size: 32px;
  }

}