.top--modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999999;
  overflow-y: scroll;
}
.top--modal a {
  display: block;
}
.top--modal--bg {
  background: rgba(0, 0, 0, 0.8);
  height: 120vh;
  position: absolute;
  width: 100%;
}
.top--modal--box {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 75%;
}
.top--modal--close {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
}
.top--modal--close img {
  width: 100%;
}
.top--modal--img {
  width: 800px;
  margin: 0 auto;
}
.top--modal--img img {
  width: 100%;
}
.top--modal--youtube {
  position: relative;
  width: 490px;
  height: 280px;
  border: 2px solid #2157ce;
  margin: 30px auto 0;
}
.top--modal--youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .top--modal {
    overflow-y: auto;
  }
  .top--modal--bg {
    height: 100vh;
  }
  .top--modal--box {
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
  }
  .top--modal--close {
    top: -50px;
  }
  .top--modal--img {
    width: 100%;
  }
  .top--modal--youtube {
    width: 100%;
    height: auto;
    padding-top: 56.25%;
    margin-top: 30px;
  }
}
