.lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  height: 100%;
  width: 100%;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.8);
}
small{
  line-height: 1;
}
.coupon_item{
  margin-bottom: 5px;
  padding: 10px;
}
.text-center{
  text-align: center;
}
.mt-5{
  margin-top: 50px;
}
.lightbox.is-active {
  display: -webkit-box;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.box_modal {
  position: fixed;
  width: 35%;
  min-width: 500px;
  max-height: 80%;
  height: 90%;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  border-radius: 1.5rem;
  background: #ffffff;
  display: none;
  color: #000;
  border: 5px solid #ff447d; 

}

.box_modal.is-active {
  display: block;
}

.box_modal .btn_close {
  width: 1.5rem;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.box_modal .modal_content {
  position: relative;
  height: 100%;
  padding: 1rem;
  display: -webkit-box;
  display: flex;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.box_modal .modal_content .content {
  color: #676767;
  height: 100%;
  width: 100%;
  overflow: auto;
  display: -webkit-box;
  display: flex;
  display: -ms-flexbox;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.box_modal .container{
  width: 95%;
}
.box_modal .modal_content ul {
  font-size: 1rem;
  line-height: 1.5rem;
  padding-left: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0;
}
.box_modal .modal_content ul ol{
  margin-left: 1.1em;
}

.box_modal .modal_content h3.title {
  width: 90%;
  margin: auto;
  margin-bottom: 1rem;
  text-align: center;
  color: #000000;
}

.box_modal .modal_content .code {
  /* color: #FFF3B9; */
}

.box_modal .modal_content .code>span {
  color: #fff;
  font-size: 18px;
  background-color: black;
  display: inline-block;
  padding: 5px 10px;
}

.box_modal .modal_content .point {
  color: #ac0039;
}

.box_modal.info_modal {
  width: 80%;
}

.box_modal.info_modal h2.title .sub_title::before,
.box_modal.info_modal h2.title .sub_title::after {
  display: none;
}

.box_modal.info_modal h4 {
  margin-bottom: 0.5rem;
}

.box_modal.coupon_modal .list_row {
  padding: 1rem 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.box_modal.coupon_modal .list_row~.list_row {
  border-top: 1px solid #e4e4e4;
}

.box_modal.coupon_modal .list_row p {
  letter-spacing: 0.05em;
}

.box_modal.coupon_modal .list_row .price {
  color: #EA4846;
}

.box_modal.coupon_modal .list_row .arrow {
  background: transparent;
  border-color: #fff;
}

.box_modal.coupon_modal .list_row .arrow svg {
  stroke: #fff;
}

.box_modal.achive_modal {
  text-align: center;
}

.box_modal.achive_modal .disc_area {
  position: relative;
  margin-bottom: 1rem;
}

.box_modal.achive_modal .disc_area .disc_point {
  position: absolute;
  width: 33%;
  bottom: 0;
}

.box_modal.achive_modal .disc_area .disc_point:nth-of-type(1) {
  -webkit-transform: rotate(15deg);
  transform: rotate(15deg);
  left: 11%;
}

.box_modal.achive_modal .disc_area .disc_point:nth-of-type(2) {
  -webkit-transform: rotate(-4deg);
  transform: rotate(-4deg);
  right: 11%;
}

.box_modal.achive_modal p {
  margin: 1rem 0;
}

.box_modal.achive_modal .channel_area {
  display: -webkit-box;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.box_modal.achive_modal .channel_area a {
  width: 32%;
  margin: 0.5%;
  display: block;
}
.code_area p.title{
  font-size: 30px;
  font-weight: bold;
  color: #000;

}
.box_modal.code_modal .code_area .code_area {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.box_modal .btn_popup .arrow{
  background: transparent;
}

.box_modal .btn_popup .arrow svg{
  stroke: #fff;
}

.box_modal .btn_popup.yallow .arrow svg{
  stroke: #E8B542;
}

/* coding by melody */
.box_modal .btn_popup {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding-right: 0.23rem;
  padding-bottom: 0.386rem;
  border-radius: 30px;
  border-width: 2px;
  border-style: solid;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 1.73rem;
  color: #fff;
  font-weight: bold;
  background-color: #676767;
  padding: 0.3846rem 1.15rem 0.3846rem 1.15rem;
}

.box_modal .btn_popup .btn_inside {
  display: -webkit-box;
  display: flex;
  display: -ms-flexbox;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: -2px 0 0 -2px;
  padding: 0.3846rem 1.15rem 0.3846rem 1.15rem;
  font-weight: 600;
  border-radius: 1000px;
}

.box_modal .btn_popup .btn_inside {
  border-width: 2px;
  border-style: solid;
}

.box_modal .btn_popup.dark{
  color: #fff;
  background-color: #000;
}

.box_modal .btn_warp {
  margin-top: 25px;
}

.box_modal .login_area img {
  max-width: 50%;
  margin: 0 auto;
  margin-bottom: 25px;
  margin-top: 25px;
}

.box_modal .phone_number {
  margin-bottom: 25px;
  margin-top: 25px;
}

.box_modal .phone_number input {
  width: 90%;
  height: 50px;
  border-radius: 10px;
  padding: 10px 20px;
  text-align: center;
  color: #6B6DA6;
  border: 1px solid #9b9b9b;

}

.box_modal .phone_number input::placeholder {
  color: #6B6DA6;
}

.box_modal.small_modal {
  text-align: center;
  height: 65%;
}

.box_modal .btn_close {
  z-index: 99999;
}

.popup_list>li,
.popup_list_2row>li {
  width: 100%;
  list-style: none;
  padding: 25px 20px;
  box-sizing: border-box;
  float: left;
}

.popup_list_2row>li {
  width: 50%;
}

.popup_list img {
  margin-bottom: 15px;

}

.popup_list {
  overflow: hidden;
  padding-left: 0 !important;
}

.box_modal .code_title {
  max-width: 70%;
  margin: 0 auto;
  position: relative;
  bottom: -20px;
}

.box_modal .code_content {
  background-color: #252525;
  color: #ffffff;
  padding: 5px 10px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 5px 50px;
  display: inline-block;
  font-size: 30px;
}
.box_modal .info_area {
  background-color: #fff;
  border-radius: 25px;
  text-align: left;
  color: #0E2B64;
  padding: 20px;
  margin-top: 50px;
}

.box_modal .info_title {
  text-align: center;
  margin-bottom: 25px;
}

.box_modal .info_area ul,
.box_modal .info_area p {
  font-size: 0.9rem;
  font-weight: normal;
}

.box_modal .info_area ul>li {
  margin-bottom: 10px;
}

.box_modal .info_area ul>li span {
  color: #BC131A;
}

.box_modal.red_modal {
  background-color: #EA4846;
}

.box_modal .title_area img {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 50px;
  margin-top: 30px;
}

.box_modal.red_modal .btn_warp {
  text-align: center;
}

.box_modal.red_modal .ch_logo {
  display: inline-block;
  max-width: 150px;
}

.box_modal .pic_gam {
  margin-bottom: 25px;
}

/*melody end */

@media screen and (max-width: 767px) {
  .box_modal {
    width: 90%;
    height: 90%;
  }

  .box_modal .btn_close {
    width: 4.5rem;
    top: 0.1rem;
    right: 0.1rem;
  }

  .box_modal .modal_content {
    padding: 1rem 0.5rem;
  }

  .box_modal .modal_content h3.title {
    width: 70%;
  }
}

@media screen and (max-width: 528px) {
  .box_modal.is-active {
    min-width: 90%;
  }
}