.modal {
  color: black;
  font-family: Arial;
  font-size: 26px;
  font-weight: 700;
  background-color: white;
  border: 1.5px solid #acacac;
}

.reveal-modal-bg {
  position: fixed;
  height: 100%;
  width: 100%;
  background: #000;
  z-index: 100;
  display: none;
  top: 0;
  left: 0;
}

.reveal-modal-bg.open {
  opacity: 0.8;
  display: block;
  cursor: pointer;
}

.modal-product .modal-product--image {
  width: 50%;
  background: white !important;
  padding: 20px 0;
  border-radius: 5px;
}

.modal-product .modal-product--desc {
  width: 50%;
  padding: 40px 0px 20px;
  background: #eee;
  border-radius: 5px;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.modal-product--image img {
  max-width: 100%;
  height: auto;
}

.modal-product--headline,
.modal-product--info {
  font-size: 15px;
  font-weight: 400;
}

.modal-product--info {
  margin-bottom: 10px;
  margin-left: 15px;
}

.modal-product--title {
  margin-bottom: 30px;
  font-size: 26px;
  font-weight: 700;
  line-height: 35px;
  margin-left: 15px;
}

.modal-product--num {
  margin-bottom: 30px;
  margin-left: 15px;
}

.modal-product--headline,
.modal-product--info {
  font-size: 15px;
  font-weight: 400;
}

.modal-product--date p,
.modal-product--term p,
.modal-product--num--title {
  margin-bottom: 14px;
}

.modal-product--num--data {
  font-size: 20px;
  font-weight: 700;
}

.modal-product--date {
  margin-right: 25px;
}

.modal-product--date {
  margin-bottom: 20px;
  margin-left: 15px;
}

.modal-product--headline,
.modal-product--info {
  font-size: 15px;
  font-weight: 400;
}

.modal-product--date p,
.modal-product--term p,
.modal-product--num--title {
  margin-bottom: 14px;
}

.modal-product--term time,
.modal-product--date time {
  font-size: 20px;
  font-weight: 700;
}

.modal-product--help {
  clear: both;
  margin-bottom: 20px;
  margin-left: 15px;
}

.modal-product--help a {
  color: #004efe;
  font-size: 15px;
  font-weight: 400;
  text-decoration: underline;
}

.layer-close {
  font-size: 22px;
  line-height: 0.5;
  position: absolute;
  top: 7px;
  right: 7px;
  color: #aaa;
  font-weight: bold;
  cursor: pointer;
  z-index: -1;
}

.close-reveal-modal {
  z-index: 9999 !important;
}

.modal--error-content {
  background: #eee;
  clear: both;
  display: table;
  width: 100%;
}

.modal--error-content p,
.modal--error-content--img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
}

.modal--error-content--img {
  padding: 50px 0;
  background: white;
  float: left;
  width: 50%;
  text-align: center;
}

.modal--error-content--img img {
  width: 145px;
  height: 145px;
}

.modal--error-content .wrap_text {
  float: left;
  width: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 30px 25px;
  height: 249px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.modal--error-content p {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  margin-bottom: 15px;
  position: relative;
  text-align: center;
}

.modal--error-content span {
  font-size: 14px;
  font-weight: 500;
}

.modal--error-content .wrap_text span {
  width: 100%;
  text-align: center;
}

.modal--error-content a {
  color: #40aae1;
}

.modal--error-content a:hover {
  color: #45ae1f;
  text-decoration: underline;
}
@keyframes bapf_loader {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.bapf_loader_page {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 9999;
}
.bapf_lcontainer {
  position: absolute;
  top: 50%;
  margin: 0;
  margin-top: -20px;
  left: 50%;
  margin-left: -20px;
  width: 30px;
  height: 30px;
  padding: 0;
}
.bapf_lcontainer .bapf_loader {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(0deg);
  animation: 1s linear 0s infinite bapf_loader;
  position: relative;
}
.bapf_lcontainer .bapf_loader .bapf_lfirst,
.bapf_lcontainer .bapf_loader .bapf_lsecond {
  position: absolute;
  width: 10px;
  height: 10px;
  background: black;
  background: linear-gradient(45deg, black, transparent);
  display: block;
  border-radius: 6px;
}
.bapf_lcontainer .bapf_loader .bapf_lfirst {
  bottom: 0;
  right: 0;
}
.bapf_lcontainer .bapf_loader .bapf_lsecond {
  top: 0;
  left: 0;
  transform: rotate(180deg);
}
.bapf_lcontainer .bapf_labove,
.bapf_lcontainer .bapf_lbelow {
  position: absolute;
  display: block;
  text-align: center;
  width: 600px;
  left: -285px;
  width: 80vw;
  left: calc(15px - 40vw);
}
.bapf_lcontainer .bapf_labove {
  bottom: 120%;
}
.bapf_lcontainer .bapf_lbelow {
  top: 120%;
}
.bapf_lcontainer .bapf_lbefore,
.bapf_lcontainer .bapf_lafter {
  position: absolute;
  top: 50%;
  margin-top: -15px;
  height: 30px;
  line-height: 30px;
  vertical-align: middle;
  white-space: nowrap;
}
.bapf_lcontainer .bapf_lbefore {
  right: 120%;
}
.bapf_lcontainer .bapf_lafter {
  left: 120%;
}
.bapf_lcontainer .bapf_limg {
  width: 100%;
  height: 100%;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}
@media only screen and (min-width: 1600px) {
  div#modal-success {
    max-width: 1021px;
    margin: 0 auto;
  }

  div#modal-error {
    max-width: 1021px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 1024px) {
  div#modal-success {
    margin: 0 10px;
  }

  div#modal-error,
  div#modal-error-new,
  div#modal-confirm {
    margin: 0 10px;
  }
}

@media only screen and (max-width: 719px) {
  .modal-product .modal-product--image {
    width: 100%;
    position: relative;
    height: 300px;
  }

  .modal-product--image img {
    max-width: 100%;
    height: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
  }

  .modal-product .modal-product--desc {
    width: 100%;
    padding: 20px 0;
  }

  .modal--error-content--img {
    width: 100%;
    text-align: center;
  }

  .modal--error-content .wrap_text {
    width: 100%;
  }

  .modal--error-content span {
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
    left: 0;
  }
}

@media only screen and (max-width: 480px) {
  .modal--error-content span {
    font-size: 22px;
  }
}
