.dialog-open {
  border: none;
  background-color: transparent;
  cursor: pointer;

  -webkit-appearance: none;
}
.dialog-btn {
  display: block;
  margin: 0 auto 24px ;
  width: 320px;
  transition: .2s;
}

.hero-copy02 + .dialog-btn {
  margin: 24px auto 0;
}
.dialog-open:hover {
  opacity: .7;
}

.dialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  border: 0;
  background: none;
  transition: .2s;
  transform: translateY(20px);
}
.dialog[open] {
  animation: modal-slide .5s forwards;
}
#video {
}
.dialog::backdrop {
  background: rgba(0, 0, 0, .5);
  animation: modal-open .4s forwards;
}
.dialog-body {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  max-width: 360px;
  max-height: calc(100% - 40px);
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
}
.dialog-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;

  -webkit-appearance: none;
}
.dialog-close::before,.dialog-close::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: block;
  margin: auto;
  width: 16px;
  height: 2px;
  background-color: #333;
}
.dialog-close::before {
  transform: rotate(-45deg);
}
.dialog-close::after {
  transform: rotate(45deg);
}

@media (max-width: 413px) {
  .dialog-body {
    max-width: none;
    max-height: none;
  }
  .dialog-close {
    position: fixed;
    top: 8px;
    right: 8px;
  }
}
@keyframes modal-slide {
  0% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes modal-open {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}