#bonban {
  position: relative;
}

#bonban .bonban-link img {
  max-width: 100%;
}

#bonban .bonban-wave-top,
#bonban .bonban-wave-bottom {
  position: absolute;
  left: 0;
}

#bonban .bonban-wave-bottom {
  bottom: 0;
}

#bonban ul {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

#bonban li:focus {
  outline: none;
}

#bonban .box-ban {
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

#bonban .bonban-item-description {
  position: absolute;
  text-align: left;
}

#bonban p.h1 {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  color: RGB(var(--brand-primary));
  line-height: 145%;
  margin-bottom: 2px;
}

#bonban p.h2 {
  font-weight: 400;
  text-transform: none;
  color: #3a3a3a;
  line-height: 150%;
  margin-bottom: 9px;
}

#bonban p.h3 {
  font-size: 14px;
  line-height: 150%;
  text-transform: none;
  color: #3a3a3a;
  border-bottom: 1px solid RGB(var(--brand-primary));
}

#bonban .bonban-star:not(:last-child) {
  margin-right: 5px;
}

#bonban .bonban-star::after {
  content: '\e056';
  font-family: "bonicon";
  font-size: 16px;
  color: RGB(var(--brand-primary));
}

#bonban .bonban-price {
  color: #d20000;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 145%;
}

#bonban .bonban-title {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  color: RGB(var(--brand-primary));
  line-height: 93%;
}

#bonban .bonban-subtitle {
  font-weight: 400;
  color: #3a3a3a;
  line-height: 1;
  margin-bottom: 0;
}

#bonban .box-ban a:focus,
#bonban .box-ban a:active {
  outline: none;
  text-decoration: none;
}

#bonban .bonban-cover-img {
  position: relative;
}

#bonban .bonban-cover-img::before {
  content: '';
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

#bonban .bonban-video-link {
  width: 100%;
  height: 20px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  text-align: center;
  z-index: 2;
  cursor: pointer;
}

#bonban .bonban-video-link {
  background: url('../img/play.png');
  background-size: contain;
  transition: all 0.3s ease;
  width: 130px;
  height: 130px;
  transition: all 0.3s ease;
  opacity: 0.7;
}

#bonban .bonban-cover-img:hover .bonban-video-link {
  opacity: 1;
}

#bonban .modal-dialog {
  max-width: 1200px;
}

#bonban .modal-content {
  background: transparent;
  border: none;
}

#bonban #video-element {
  width: 100%;
}

#bonban .bonban-item {
  padding-left: 0;
  padding-right: 0;
}

#bonban .bonban-item {
  margin-bottom: 20px;
}

#bonban .bonban-link {
  display: block;
  position: relative;
  transition: all 0.3s ease;
}

#bonban .bonban-content-wrapper {
  align-items: center;
}

#bonban .bonban-scroll {
  writing-mode: vertical-lr;
  font-size: 22px;
  display: inline-block;
  letter-spacing: 0.13em;
  font-weight: 400;
  margin-bottom: 30px;
  color: RGB(var(--brand-primary));
}

#bonban  .bonban-scroll-wrapper {
  cursor: pointer;
}

@media screen and (min-width: 1881px) {
  #bonban {
    margin-bottom: 76px;
  }

  #bonban .bonban-wave-top,
  #bonban .bonban-wave-bottom {
    width: 100%;
  }

  #bonban p.h1 {
    font-size: 42px;
  }

  #bonban p.h2 {
    font-size: 22px;
  }

  #bonban p.h3 {
    padding-bottom: 15px;
    margin-bottom: 15px;
    max-width: 150px;
  }
  
  #bonban .bonban-stars {
    margin-bottom: 25px;
  }

  #bonban .bonban-price {
    font-size: 35px;
  }

  #bonban .bonban-title {
    font-size: 62px;
    margin-bottom: 30px;
  }

  #bonban .bonban-subtitle {
    font-size: 28px;
  }

  #bonban .bonban-item-description {
    top: 123px;
  }
}

@media screen and (max-width: 1880px) {
  #bonban {
    margin-bottom: calc(30px + (76 - 30) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonban p.h1 {
    font-size: calc(25px + (42 - 25) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonban p.h2 {
    font-size: calc(14px + (22 - 14) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonban p.h3 {
    max-width: calc(130px + (150 - 130) * ((100vw - 320px) / (1880 - 320)));
  }
  
  #bonban .bonban-price {
    font-size: calc(18px + (35 - 18) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonban .bonban-title {
    font-size: calc(35px + (62 - 35) * ((100vw - 320px) / (1880 - 320)));
    margin-bottom: calc(10px + (30 - 10) * ((100vw - 320px) / (1880 - 320)));
  }

  #bonban .bonban-subtitle {
    font-size: calc(20px + (28 - 20) * ((100vw - 320px) / (1880 - 320)));
  }
}

@media screen and (min-width: 992px) {
  #bonban .bonban-link:hover {
    transform: translateY(-20px);
  }
}

@media (min-width: 992px) and (max-width: 1880px) {
  #bonban .bonban-item-description {
    top: calc(45px + (123 - 45) * ((100vw - 992px) / (1880 - 992)));
  }

  #bonban p.h3 {
    padding-bottom: calc(5px + (15 - 5) * ((100vw - 992px) / (1880 - 992)));
    margin-bottom: calc(5px + (15 - 5) * ((100vw - 992px) / (1880 - 992)));
  }

  #bonban .bonban-stars {
    margin-bottom: calc(5px + (25 - 5) * ((100vw - 992px) / (1880 - 992)));
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #bonban .bonban-item-description {
    top: calc(55px + (75 - 55) * ((100vw - 768px) / (991 - 768)));
  }

  #bonban p.h3 {
    padding-bottom: calc(10px + (15 - 10) * ((100vw - 768px) / (991 - 768)));
    margin-bottom: calc(10px + (15 - 10) * ((100vw - 768px) / (991 - 768)));
  }

  #bonban .bonban-stars {
    margin-bottom: calc(5px + (25 - 5) * ((100vw - 768px) / (991 - 768)));
  }
}

@media screen and (max-width: 991px) {
  #bonban .bonban-content-wrapper .bonban-images:first-child {
    order: 2;
  }

  #bonban .bonban-content-wrapper .bonban-title-wrapper:last-child {
    order: 1;
  }
}

@media screen and (min-width: 768px) {
  #bonban .bonban-item:nth-child(odd) .bonban-item-description {
    left: 25%;
  }

  #bonban .bonban-item:nth-child(even) .bonban-item-description {
    left: 9%;
  }
}

@media screen and (max-width: 767px) {
  .bonban-link {
    text-align: center;
  }

  #bonban .bonban-item-description {
    top: 20%;
  }

  #bonban .bonban-item:nth-child(odd) .bonban-item-description {
    left: calc(70px + (221 - 70) * ((100vw - 320px) / (767 - 320)));
  }

  #bonban .bonban-item:nth-child(even) .bonban-item-description {
    left: calc(26px + (132 - 26) * ((100vw - 320px) / (767 - 320)));
  }

  #bonban .bonban-item-description {
    top: 20%;
  }

  #bonban p.h3 {
    padding-bottom: calc(10px + (15 - 10) * ((100vw - 320px) / (767 - 320)));
    margin-bottom: calc(10px + (15 - 10) * ((100vw - 320px) / (767 - 320)));
  }

  #bonban .bonban-stars {
    margin-bottom: calc(5px + (25 - 5) * ((100vw - 320px) / (767 - 320)));
  }
}

@media screen and (max-width: 575px) {
  #bonban .bonban-price {
    display: none;
  }
}