/* モーダル */
.modal__overlay {
  position: fixed;
  z-index: 101;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 31, 91, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal__open {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer!important;
  background: #fff;
}
.modal__open span:last-child {
  position: relative;
  padding: 24px 16px 24px 48px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  color: #2C438A;
}
.modal__open span:last-child::before {
  position: absolute;
  content: "";
  display: block;
  margin-right: 8px;
  width: 24px;
  height: 24px;
  top: 50%;
  left: 16px;
  transform: translate(0, -50%);
  background: url(/shared/img/icon_movie.svg) no-repeat center/cover;
}
.modal__container {
  position: fixed;
  z-index: 101;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 40px;
  width: 100%;
  max-width: 1000px;
  max-height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
}
.modal__header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 12px;
}
.modal__title {
  font-weight: 500;
  font-size: 1.8rem;
}
/* タイトル非表示 */
.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.modal__close {
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  background: transparent;
  border: 0;
}
.modal__close:hover,
.modal__open:hover {
  cursor: pointer;
}
.modal__open:hover > div::after {
  opacity: 0.8;
}
.modal__header .modal__close:after {
  content: "";
  display: block;
  margin-left: 8px;
  width: 32px;
  height: 32px;
  background: url(/shared/img/icon_close.svg) no-repeat center/cover;
}
.movie_area iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
/**************************\
 Animation Style
\**************************/
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.micromodal-slide {
  display: none;
}
.micromodal-slide.is-open {
  display: block;
}
.micromodal-slide[aria-hidden="false"] .modal__overlay,
.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmfadeIn 0.3s;
}
.micromodal-slide[aria-hidden="true"] .modal__overlay,
.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmfadeOut 0.3s;
}
.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}
@media screen and (max-width: 959px) {
  .modal__header {
    flex-direction: column-reverse;
    align-items: end;
  }
  .modal__title {
    width: 100%;
  }
  .modal__container {
    padding: 16px 48px;
  }
  .modal__open > div::before {
    width: 48px;
    height: 48px;
  }
}
@media screen and (max-width: 560px) {
  .modal__container {
    padding: 16px;
  }
  .modal__open > div::before {
    width: 60px;
    height: 60px;
  }
}