.modal_open {
  cursor: pointer;
}

.modal_box {
  position: fixed;
  z-index: 99999;
  display: none;
  width: 600px;
  box-sizing: border-box;
  height: 85vh;
  background: #fff;
}

.modal_box .box {
  margin: 65px auto;
  width: 500px;
  height: calc(85vh - 130px);
  overflow: scroll;
  position: relative;
}
.modal_box .box::-webkit-scrollbar{
  display: none;
}
.modal_box .box .circle{
  width: 220px;
  height: 20px;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 20px;
  position: absolute;
  top: 350px;
  left: calc(50% - 110px);
  background-color: #003F98;
  border-radius: 20px;
  color: #fff;
}
.modal_box .box .color-box {
  background-color: #EA5404;
  width: 100%;
  height: 56px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  padding-top: 20px;
}

.modal_box p {
  text-align: left;
  padding: 10px 50px;
  width: calc(100% - 100px);
  font-size: 14px;
}
.modal_box .close-button {
  display: inline-block;
  width: 95px;
  height: 30px;
  position: absolute;
  right: calc(50% - 47.5px);
  cursor: pointer;
  z-index: 1000000;
  cursor: pointer;
}
.modal_box .close-button.top{
  top: 15px;
}
.modal_box .close-button.bottom{
  bottom: 15px;
}

.modal_box .next-button {
  display: inline-block;
  width: 27px;
  height: 47px;
  position: absolute;
  top: calc(50% - 23px);
  right: -60px;
  cursor: pointer;
  margin: 0;
  z-index: 1000000;
  background-image: url(../img/button_next_modal.svg);
  background-size: cover;
}

.modal_box .prev-button {
  display: inline-block;
  width: 27px;
  height: 47px;
  position: absolute;
  top: calc(50% - 23px);
  left: -60px;
  cursor: pointer;
  margin: 0;
  z-index: 1000000;
  background-image: url(../img/button_prev_modal.svg);
  background-size: cover;
}

.modal_bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 98999;
  display: none;
  width: 100%;
  height: 120%;
  background-color: rgba(0, 0, 0, 0.8);
}

a.modal_switch {
  cursor: pointer;
}

@media (min-width:640px) and (max-width:1049px) {}

@media (max-width: 639px) {
  .modal_box{
    width: 100%;
  }
  .modal_box .box {
    margin: 65px auto;
    width: 300px;
    height: calc(85vh - 130px);
    overflow: scroll;
    position: relative;
  }
  .modal_box .box .color-box{
    width: calc(100% - 40px);
    padding: 20px 20px 0;
  }
  .modal_box p{
    width: calc(100% - 40px);
    padding: 10px 20px;
  }
  .modal_box .box .circle{
    top: 206px;
  }
  .modal_box .next-button{
    right: 0;
  }
  .modal_box .prev-button{
    left: 0;
  }
}
