
.pre-modal{
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 40px 20px;
  background: rgba(0,0,0,.7);
  z-index: 10000;
  display: none;
}

.pre-modal .contents{
  position: relative;
  padding: 60px 40px;
  width: min(680px, 100%);
  margin: 0 auto;
}

.pre-modal .check-area{
  margin-top: 10px;
  display: flex;
  color: #fff;
  justify-content: center;
}

.pre-modal .check-area span{
  padding-left: 0.5em;
  font-size: 1.6rem;
}

.pre-modal .modal-close{
  position: absolute;
  width: 48px;
  right:0;
  top:0;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
  z-index: 100;
}

.pre-modal .modal-close::before,
.pre-modal .modal-close::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 3px;
  background: #fff;
  transform-origin: center;
  border-radius: 3px;
}

.pre-modal .modal-close::before{
  transform: translate(-50%, -50%) rotate(45deg);
}

.pre-modal .modal-close::after{
  transform: translate(-50%, -50%) rotate(-45deg);
}

.pre-modal .modal-close:hover{
  background: #333;
}
