/*Base*/
/* CSS Document */
.modal-on {
  pointer-events: none;
}

.modal__btn {
  cursor: pointer;
}

.modalContainer {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 20px;
  opacity: 0;
  box-sizing: border-box;
  justify-content: center;
  justify-items: center;
  align-items: center;
}

.modalContainer.is-active {
  display: flex;
  animation: .5s ease-in-out 0s modalOpen forwards;
}

.modalContainer.is-close {
  display: flex;
  animation: .5s ease-in-out 0s modalClose forwards;
}

.modalContents {
  position: relative;
  max-width: 600px;
  width: 90%;
  height: auto;
  padding: 30px;
  background: #FFF;
  z-index: 200;
}

@media screen and (max-width: 750px) {
  .modalContents {
    padding: 5vw;
  }
}

.modalContentsInner {
  height: auto;
  max-height: 80vh;
  overflow-y: auto;
}

.modal__close {
  position: absolute;
  width: 9.3vw;
  height: 9.3vw;
  max-width: 50px;
  max-height: 50px;
  top: -20px;
  right: -20px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 50%;
  cursor: pointer;
}

@media screen and (max-width: 750px) {
  .modal__close {
    top: -4vw;
    right: -5.5vw;
  }
}

.modal__close::before, .modal__close::after {
  position: absolute;
  content: "";
  display: block;
  background: #fff;
  width: 60%;
  height: 1px;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0 auto;
  pointer-events: none;
}

.modal__close::before {
  transform: rotate(45deg);
}

.modal__close::after {
  transform: rotate(-45deg);
}

.modal__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

@keyframes modalOpen {
  0% {
    z-index: 100;
    opacity: 0;
    pointer-events: auto;
  }
  100% {
    z-index: 100;
    opacity: 1;
    pointer-events: auto;
  }
}

@keyframes modalClose {
  0% {
    display: block;
    z-index: 100;
    opacity: 1;
    pointer-events: auto;
  }
  99% {
    z-index: 100;
    opacity: 0;
  }
  100% {
    z-index: -1;
    opacity: 0;
    pointer-events: none;
  }
}
/*# sourceMappingURL=modal.css.map */