@charset "UTF-8";
/* ===============================
   Video Styles
   =============================== */
/* --- Collectionセクションのせり上がり --- */
.video-area {
  width: 100%;
  background-color: #4B4F52;
  margin: 0 auto;
  padding: 200px 0;
}

.video-container {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.video-wrapper {
  position: relative;
  max-width: 1000px;
  width: 100%;
  aspect-ratio: 1000/680;
  overflow: hidden;
}
.video-wrapper .poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 1000/680;
  z-index: 1;
}

.play-btn {
  display: flex;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  margin: 0 5%;
  opacity: 0.7;
  transition: all 0.3s ease;
}
@media screen and (max-width: 1400px) {
  .play-btn {
    font-size: 1rem;
    margin: 0 0 0 8%;
  }
}
@media screen and (max-width: 1280px) {
  .play-btn {
    margin: 0 0 0 5%;
  }
}
.play-btn:hover {
  opacity: 1;
}
.play-btn:hover span {
  opacity: 1;
}
.play-btn:hover span::before {
  opacity: 1;
}
.play-btn:hover span::after {
  width: 100%;
}
.play-btn span {
  display: flex;
  align-items: center;
  padding: 1em 0;
  text-align: center;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  position: relative;
  border-bottom: 1px solid #fff;
}
.play-btn span::before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin: 0 0.5em 0 0;
  background-image: url(./../images/play.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.play-btn span::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  border-bottom: 2px solid #fff;
  opacity: 1;
  transition: width 0.5s ease;
}

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(75, 79, 82, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal.active {
  display: flex;
}
.modal-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}
.modal iframe {
  display: block;
  width: min(80vw, 1420px);
  height: min(45vw, 798.75px);
  max-height: 80vh;
  border: none;
}

.close-btn {
  position: absolute;
  top: 40px;
  right: 50px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border: none;
  background-color: transparent;
  background-image: url(./../images/close.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition: opacity 0.5s linear;
  z-index: 1001;
}
.close-btn:hover {
  opacity: 0.5;
}

/* ===============================
   Responsive
   =============================== */
@media screen and (max-width: 768px) {
  .video-area {
    margin: 10vw 0 15vw 0;
    padding: 35vw 0 4vw 0;
    flex-direction: column;
    max-width: auto;
  }
  .video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
  }
  .video-container {
    display: block;
    width: 100%;
  }
  .play-btn {
    display: flex;
    margin: 10vw auto 20vw auto;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
  }
  .play-btn span {
    padding: 1em 0;
    text-align: center;
    color: #fff;
    letter-spacing: 0.1em;
    line-height: 1em;
    border-bottom: 1px solid #fff;
  }
  .play-btn span::before {
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    margin: 0 0.5em 0 0;
    background-image: url(./../images/play.svg);
    background-repeat: no-repeat;
    background-size: 100%;
  }
  .modal iframe {
    width: 82.5vw;
    height: 46.40625vw;
    max-height: none;
  }
  .modal .close-btn {
    top: 8.9vw;
    right: 8.9vw;
    width: 38px;
    height: 38px;
  }
}
