.l-wrapper {
  max-width: 100%;
  width: 1280px;
  margin: 0 auto;
}

.l-border-bottom {
  margin: 10px 0;
  border-bottom: 1px dashed #ccc;
}

.item_right .marknshare--limited {
  margin: 15px 45px 0 0;
}
.item_right .marknshare__icon {
  width: 10px;
  height: 10px;
  margin: 0 5px 0 0;
}
.item_right .marknshare__icon--polly {
  background-image: url(../images/icon_polly.svg);
}
.item_right .marknshare__icon--gift {
  background-image: url(../images/icon_gift.svg);
}
.item_right mark.marknshare__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.item_right mark.marknshare__item--promote {
  background-color: #f6629f;
}
.item_right mark.marknshare__item--warning {
  background-color: #c31919;
}
.item_right mark.marknshare__item--last {
  background-color: #f17870;
}
.item_right mark.marknshare__item--a {
  background-color: #f6629f;
}
.item_right mark.marknshare__item--other {
  background-color: #7670f1;
}

.reward__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 5px 15px;
  background-color: #fff1f1;
}
.reward__body {
  margin: 0 15px;
}
.reward__footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 5px 15px;
  margin: -5px 0 0 0;
}
.reward__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 10px 0;
  font-size: 14px;
}
.reward__item-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.reward__item .marknshare__item {
  max-width: 71px;
  width: 13vw;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.reward__name {
  margin: 0 0 0 10px;
}

.purchase__control {
  width: calc(50% - 20px);
}
.purchase__control.pdquantity {
  margin: 10px 10px 0 0;
}
.purchase--quantity {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.purchase--lottery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.purchase--lottery .lottery {
  width: 100%;
  margin: 10px 0 0 0;
  border: 1px solid #c31919;
  text-align: center;
  color: #c31919;
  text-decoration: none;
  line-height: 50px;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
.purchase--lottery .lottery:hover {
  border: 1px solid #c31919;
  background-color: #c31919;
  color: #fff;
}

@media (max-width: 1170px) {
  .purchase {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .purchase__control {
    width: 100%;
  }
  .purchase__control.pdquantity {
    margin: 10px 0;
  }
  .item_right .buy {
    margin: 0;
  }
}
.soldout {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
}
.modal.is-active {
  display: block;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.modal__container {
  position: relative;
  max-width: 520px;
  width: calc(100% - 32px);
  height: 80vh;
  max-height: 60vh;
  margin: 0 auto;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background: #111;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 0px 5px #eee;
          box-shadow: 0px 0px 0px 5px #eee;
}
.modal__header {
  padding: 16px;
}
.modal__title {
  font-size: 1.25rem;
  color: #111;
  margin: 0;
  text-align: center;
}
.modal__title--red {
  color: #c31919;
  font-weight: 600;
  line-height: 26px;
}
.modal__body {
  padding: 16px;
  overflow-y: auto;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #333;
}
.modal__body ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.modal__body li {
  margin: 12px 0 0 0;
}
.modal__body--terms li {
  margin: 5px;
  line-height: 20px;
}
.modal__check {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.modal__check svg {
  width: 12px;
  height: 12px;
}
.modal__check path {
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
}
.modal__line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 1px;
  margin: 15px 0;
  background-color: #ccc;
}

.modal__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.modal__btn--scrollDown {
  border: 1px solid #c31919;
  color: #c31919;
}
.modal__btn--scrollDown p {
  margin: 0;
  padding: 12px;
}
.modal__btn--confirm {
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  background: #ccc;
  color: #fff;
  padding: 12px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.modal__btn--sure {
  border: 1px solid #c31919;
  padding: 12px;
  margin: 5px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}

.modal__icon {
  width: 10px;
  margin: 0 5px 0 0;
}

body.modal-open {
  overflow: hidden;
}

.modal.is-read .modal__btn--confirm {
  opacity: 0.4;
  cursor: not-allowed;
}

.modal.is-read.is-agreed .modal__btn--confirm {
  opacity: 1;
  cursor: pointer;
}
.modal.is-read.is-agreed .modal__btn--confirm .modal__check path {
  -webkit-animation: checkDraw 0.4s ease forwards;
          animation: checkDraw 0.4s ease forwards;
}

.modal.is-read .modal__btn--scrollDown {
  display: none;
}
.modal.is-read .modal__btn--confirm {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.modal.is-read .modal__btn--confirm {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-animation: fadeUp 0.4s ease forwards;
          animation: fadeUp 0.4s ease forwards;
}

.modal__btn--sure .modal__check {
  border: 1px solid #c31919;
}
.modal__btn--sure .modal__check path {
  stroke: #fff;
}
.modal__btn--sure.is-sure {
  color: #c31919;
}
.modal__btn--sure.is-sure .modal__check {
  background-color: #c31919;
}
.modal__btn--sure.is-sure .modal__check path {
  -webkit-animation: checkDraw 0.4s ease forwards;
          animation: checkDraw 0.4s ease forwards;
}

@-webkit-keyframes fadeUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-webkit-keyframes checkDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes checkDraw {
  to {
    stroke-dashoffset: 0;
  }
}