.hidden {
  overflow: hidden;
}

.modal-container {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 208001;
  -webkit-transition: all 0.5s 0s ease;
  -o-transition: all 0.5s 0s ease;
  transition: all 0.5s 0s ease;
}

.modal-wrap {
  height: 96vh;
  position: relative;
  width: 100%;
}

.modal-content {
  background-color: transparent;
  border: none;
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  height: 100%;
  width: 100%;
}

.modal-content.show .modal-item {
  display: block;
}

.modal-item {
  display: none;
}

.modal-content__image img {
  height: auto;
  width: 100%;
}

.modal-close {
  cursor: pointer;
  height: 32px;
  position: absolute;
  right: 55px;
  top: 25px;
  width: 60px;
  z-index: 99;
}

.modal-close::before,
.modal-close::after {
  background-color: #000;
  content: "";
  height: 200%;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
}

.modal-close::before {
  -webkit-transform: translate(-50%, -50%) rotate(65deg);
  -ms-transform: translate(-50%, -50%) rotate(65deg);
  transform: translate(-50%, -50%) rotate(65deg);
}

.modal-close::after {
  -webkit-transform: translate(-50%, -50%) rotate(-65deg);
  -ms-transform: translate(-50%, -50%) rotate(-65deg);
  transform: translate(-50%, -50%) rotate(-65deg);
}

.modal-content__text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 2.125;
  letter-spacing: 0.15em;
  margin-top: 40px;
  margin-inline: auto;
  width: 410px;
}

.modal-content__image {
  margin-left: auto;
  margin-right: auto;
  max-width: 590px;
}

@media not all and (min-width: 768px) {
  .modal-wrap {
    height: 80vh;
    width: 90%;
  }

  .modal-close {
    height: 16px;
    right: 30px;
    top: 15px;
    width: 30px;
  }

  .modal-content__text {
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-top: 30px;
    width: 90%;
  }

  .modal-content__image {
    max-width: 80%;
  }
}
