body.no-scroll {
  overflow: hidden;
}
.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}
.modal__bg {
  background: rgba(0,0,0,0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}
.modal__content {
  background: #fff;
  left: 50%;
  padding: 0;
  position: absolute;
  top: 50vh;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 50vh;
  font-size: 16px;
  box-sizing: border-box;
}
.modal-header {
  display: flex;
  overflow: hidden;
  justify-content: flex-end;
  background-color: #6698a1;
  color: #fff;
}
.header-title, .escape {
  box-sizing: border-box;
  text-align: center;
  font-size: 18px;
}
.header-title {
  width: 95%;
  padding: 10px;
  font-weight: bold;
}
.escape {
  width:5%;
  padding: 10px 5px;
  cursor: pointer;
}
.modal-content-inner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: calc(100% - 40px);
}
.modal-content-inner ol {
  list-style-type: decimal !important;
}
.modal-content-inner li {
  line-height: 1.8em;
}
.modal-content-inner h4 {
  display: block;
  font-weight: bold;
  margin: 30px 0 20px 0;
}
.modal-content-inner p {
  width: 100%;
  text-align: center;
}
.modal-content-inner p a {
  display: inline-block;
  min-width: 80%;
  height: 50px;
  line-height: 50px;
  background-color: #6698a1;
  box-shadow: 4px 4px 2px rgba(70,105,111,0.8);
  padding: 0 20px;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  border-radius: 10px;
  font-weight: 700;
}
.modal-content-inner p span {
  color: #6698a1;
  font-size:15px;
  line-height: 2.5;
  font-weight: 700;
}
.modal-content-inner .info {
  color: #6698a1;
  font-weight: 700;
}

@media screen and (max-width:1280px) {
  .modal {
    z-index: 10000;
  }
  .header-title {
    width: 85%;
  }
  .escape {
    width:10%;
  }
}

@media screen and (max-width:480px) {
  .modal {
    z-index: 10000;
	overflow: auto;
  }

  .modal_reserve .modal__bg {
    height: 175vh;
  }

  .modal__content {
    transform: translate(-50%, -40vh);
    width: 90%;
    height: 50%;
	overflow: auto;
    top: 60vh;
  }

  .modal-content-inner p span {
    line-height: 2;
  }

  .header-title, .escape {
    font-size: 14px;
  }
}

@media screen and (max-width:379px) {
  .modal_reserve .modal__bg {
    height: 200vh;
  }
  .modal__content {
    height: 50%;
  }
}

@media screen and (max-width:320px) {
  .modal_reserve .modal__bg {
    height: 270vh;
  }
}
