@charset "UTF-8";
/**
* 動画モーダル再生用スクリプト CSS
*
*/
button.js-movie {
  border: none;
  background-color: transparent;
}

.modal_overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.modal_container {
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
}

.modal_title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #00449e;
  box-sizing: border-box;
}

.modal_header .modal_close:before {
  transform: rotate(45deg)
}
.modal_close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: inline-block;
  width: 35px;
  height: 35px;
  overflow: hidden;
  border: none;
  background: transparent
}
.modal_close:after {
  transform: rotate(-45deg)
}

.modal_close:before,
.modal_close:after {
  content: '';
  position: absolute;
  height: 2px;
  width: 100%;
  top: 60%;
  left: 0;
  margin-top: -1px;
  background: #fff;
  border-radius: 5px;
  margin-top: -6px
}

.modal_content {
  position: relative;
  padding-bottom: 56.23%;
  max-width: 970px;
  max-height: 100vh;
  width: 95vw !important;
  border-radius: 4px;
  box-sizing: border-box;
}
.modal_content iframe,
.modal_content .modal_video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.modal_footer {
  text-align: center;
  padding-bottom: .5rem;
}
.modal_btn {
  font-size: .875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background-color: #e6e6e6;
  color: rgba(0,0,0,.8);
  border-radius: .25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 10px 0 0 5px;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform .25s ease-out;
  transition: transform .25s ease-out;
  transition: transform .25s ease-out,-webkit-transform .25s ease-out;
}

.modal_btn:focus, .modal_btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

/* アニメーション */
@keyframes mmfadeIn {
  from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mmfadeOut {
  from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
  from { transform: translateY(0%); }
    to { transform: translateY(15%); }
}

.micromodal_wrapper {
  display: none;
}
.micromodal_wrapper.is-open {
  display: block;
}

.micromodal_wrapper[aria-hidden="false"] .modal_overlay {
  animation: mmfadeIn .5s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal_wrapper[aria-hidden="false"] .modal_container {
  animation: mmslideIn .5s cubic-bezier(0, 0, .2, 1);
}

.micromodal_wrapper[aria-hidden="true"] .modal_overlay {
  animation: mmfadeOut .5s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal_wrapper[aria-hidden="true"] .modal_container {
  animation: mmslideOut .5s cubic-bezier(0, 0, .2, 1);
}

.micromodal_wrapper .modal_container,
.micromodal_wrapper .modal_overlay {
  will-change: transform;
}
