@charset "UTF-8";

.modal-webinar-video {
    display: flex;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0);
}
.modal-webinar-video.show {
  display: flex;
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.8);
}

    .modal-content {
      max-width: 960px;
      width: 90%;
      position: relative;
    }

    .video-iframe-contents {
      position: relative;
      width: 100%;
      padding-bottom: 56.25%;
      height: 0;
    }

    .video-iframe-inner {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .video-iframe-inner iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    .close-button {
      position: absolute;
      top: -70px;
      right: 0;
      font-size: 40px;
      color: #fff;
      cursor: pointer;
    }
    @media (max-width: 767px){
      .close-button{
        top: -50px;
        right: -6px;
        font-size: 30px;
      }
    }

    /* サムネイル */
    .video-thumbnail-wrapper{
      margin-top: 60px;
      text-align: center;
      padding: 60px;
      background-color: #f4f4f4;
    
    }
    @media (max-width: 767px){
      .video-thumbnail-wrapper{
        margin-top: 30px;
        padding:30px 15px;
      }
    }

    .video-thumbnail-modal {
      cursor: pointer;
      display: inline-block;
      max-width: 750px;
      transition: opacity 0.3s ease;
    }
    .video-thumbnail-modal:hover{
      opacity: 0.6;
    }

    .video-thumbnail-modal img {
      width: 100%;
      height: auto;
    }
    .video-thumbnail-modal .mv_sum-wrapper{
      position: relative;
    }
    .video-thumbnail-modal .mv_sum-wrapper::before{
      content: "";
      position: absolute;
      width: 80px;
      height: 80px;
      background-image: url(/library/medical/clinic/example/mv/arrow.png);
      background-size: contain;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      
    }
    @media (max-width: 767px){
      .video-thumbnail-modal .mv_sum-wrapper::before{
        width: 50px;
        height: 50px;
      }
    }

    .video-thumbnail-modal h3{
      text-align: left;
      margin: 0;
      margin-top: 15px;
      font-size: 18px;
      font-weight: 700;
    }
    @media (max-width: 767px){
      .video-thumbnail-modal h3{
        margin-top: 10px;
        font-size: 15px;
      }
    }
    .video-thumbnail-modal p{
      text-align: left;
      margin: 0;
      /* margin-top: 15px; */
      font-size: 15px;
      font-weight: 400;
    }
    /* @media (max-width: 767px){
      .video-thumbnail-modal p{
        margin-top: 10px;
      }
    } */