/* below 1440px */
@media (max-width: 90em) {
  .hero-subtitle {
    margin-right: 6.4rem;
  }
  .ebook-title-pic {
    left: 15rem;
  }
}

/* below 1200px */
@media (max-width: 75em) {
  html {
    font-size: 56.25%;
  }
  .hero-title {
    margin-left: 4.6rem;
  }
  .hero-subtitle {
    margin-right: 8rem;
  }
  .promotion-box {
    background-image: url("images/promotion-bg-md.png");
  }
  .hero-intro {
    max-width: 75rem;
  }
  .side-bar {
    width: 6rem;
    bottom: 9rem;
  }
  .sb-01 {
    width: 5.5rem;
    height: 6rem;
  }
  .sb-02 {
    width: 5.5rem;
    height: 7rem;
  }
  .sb-03 {
    width: 5.5rem;
    height: 7rem;
  }
  .sb-04 {
    width: 5.5rem;
    height: 5.9rem;
  }
  .sb-05 {
    width: 5.5rem;
    height: 8.2rem;
  }
  .sb-06 {
    width: 5.5rem;
    height: 7rem;
  }
  .sb-07 {
    width: 5.5rem;
    height: 8.2rem;
  }
  .sb-08 {
    width: 5.5rem;
    height: 8.2rem;
  }
}

/* below 1040px */
@media (max-width: 65em) {
  .promotion-box {
    background-image: url("images/promotion-bg-sm.png");
    padding-top: 9rem;
    padding-bottom: 10rem;
  }
  .dot-1 {
    top: 7rem;
  }
  .dot-2 {
    top: 31rem;
  }
  .dot-3 {
    top: 50rem;
  }
  .hero-subtitle {
    margin-right: 10rem;
  }
  .hero-intro {
    margin-right: 9rem;
  }
  .content-box {
    max-width: 80rem;
    margin: 0 auto;
  }
  .book-grid {
    max-width: 70rem;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
  }
  .book-box {
    justify-self: center;
  }
  .bn-grid-2 {
    max-width: 80rem;
    grid-template-columns: 1fr;
    row-gap: 6.4rem;
    margin: 0 auto;
    margin-top: 4.6rem;
  }
  .bn-pic {
    display: none;
  }
}

/* below 944px */
@media (max-width: 59em) {
  html {
    font-size: 50%;
  }
  .promotion-box {
    padding-top: 14rem;
    padding-bottom: 12rem;
  }
  .dot-1 {
    top: 12rem;
  }
  .dot-2 {
    top: 36rem;
  }
  .dot-3 {
    top: 55rem;
  }
  .side-bar {
    width: 7rem;
    bottom: 12rem;
  }
  .sb-01 {
    width: 6.2rem;
    height: 6.4rem;
  }
  .sb-02 {
    width: 6.2rem;
    height: 7.6rem;
  }
  .sb-03 {
    width: 6.2rem;
    height: 7.6rem;
  }
  .sb-04 {
    width: 6.2rem;
    height: 6.5rem;
  }
  .sb-05 {
    width: 6.2rem;
    height: 8.8rem;
  }
  .sb-06 {
    width: 6.2rem;
    height: 7.6rem;
  }
  .sb-07 {
    width: 6.2rem;
    height: 8.8rem;
  }
  .sb-08 {
    width: 6.2rem;
    height: 8.8rem;
  }
}

/* below 848px */
@media (max-width: 53em) {
  .hero-flex-end {
    display: flex;
    justify-content: center;
  }
  .hero-intro {
    margin-right: 0;
  }
  .ebook-title-pic {
    left: 5%;
  }
}

/* below 752px */
@media (max-width: 47em) {
  .section-hero {
    padding-bottom: 9rem;
  }
  .hero-subtitle {
    margin-right: 3.2rem;
  }
  .side-bar {
    display: none;
  }
  .w3-button,
  .w3-xxlarge {
    display: block;
  }
  .promotion-box {
    background-image: url("images/promotion-bg-ss.png");
    padding-top: 6.4rem;
    padding-bottom: auto;
    margin-bottom: 6.4rem;
  }
  .dot-1 {
    top: 5rem;
    left: 10rem;
  }
  .dot-2 {
    top: 28rem;
    left: 10rem;
  }
  .dot-3 {
    top: 47rem;
    left: 10rem;
  }
  .hero-intro {
    margin-right: auto;
  }
  .hero-intro-pic {
    display: none;
  }
  .new-title-pic,
  .usedbook-title-pic,
  .goods-title-pic {
    left: auto;
    right: 5%;
  }
  .new-title,
  .usedbook-title,
  .goods-title {
    margin-left: 5%;
  }
  .ebook-title-pic,
  .magazine-title-pic {
    right: auto;
    left: 0;
  }
  .ebook-title,
  .magazine-title {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
  }
  .wecollect-title-pic {
    left: auto;
    transform: translateX(0);
  }
  .wecollect-title-pic-img {
    width: 100%;
  }
  .wecollect-title {
    text-align: center;
    margin-left: auto;
    margin-top: 5.2rem;
  }
  .activity {
    margin: 0 3.2rem;
    margin-top: 12rem;
  }
}

/* below 624px */
@media (max-width: 39em) {
  .section-hero {
    background-position: center top;
  }
  .hero-flex {
    flex-direction: column;
    align-items: center;
    gap: 5.2rem;
  }
  .hero-title {
    margin-left: 0;
    margin-top: 6.4rem;
  }
  .hero-subtitle {
    display: none;
  }
  .hero-subtitle-hori {
    display: block;
  }
  .hero-subtitle-img-hori {
    width: 44rem;
  }
  .promotion-box {
    background-image: url("images/promotion-bg-sss.png");
    padding-top: 4.2rem;
  }
  .promotion-line-img {
    width: 37rem;
  }
  .dot-1,
  .dot-2,
  .dot-3 {
    display: none;
  }
}

/* below 560px */
@media (max-width: 35em) {
  .hero-title-pic-img {
    width: 30rem;
  }
  .hero-intro {
    margin-bottom: 6.4rem;
  }
  .hero-intro-pic {
    left: -2rem;
    top: -15rem;
  }
  .hero-intro-pic-img {
    width: 18rem;
  }
  .promotion-box {
    width: 100%;
    margin-bottom: 3.2rem;
  }
  .promotion-date-vip {
    display: none;
  }
  .promotion-date-vip-sm {
    display: block;
  }
  .promotion-date-vip-img {
    width: 36rem;
    margin-bottom: 1rem;
  }
  .promotion-lottery-grid {
    grid-template-columns: 1fr;
    row-gap: 1.4rem;
  }
  .promotion-lottery-pic {
    width: 23rem;
  }
}

/* below 544px */
@media (max-width: 34em) {
  .main-container {
    padding: 0 2.4rem;
  }
  .hero-flex {
    margin-bottom: 6.4rem;
  }
  .hero-title-img {
    width: 90%;
  }
  .promotion-box {
    background-image: url("images/promotion-bg-ssss.png");
  }
  .promotion-content {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-intro {
    padding: 4.6rem 2rem;
    transform: rotate(0deg);
    margin-bottom: 4.6rem;
  }
  .new-title {
    text-align: center;
    margin-top: 4.6rem;
  }
  .ebook-title {
    margin-top: 5.2rem;
  }
  .new-title-pic-img-md,
  .ebook-title-pic-img,
  .usedbook-title-pic-img,
  .magazine-title-pic-img {
    width: 100%;
  }
  .usedbook-title {
    text-align: center;
    margin-left: auto;
    margin-top: 4.6rem;
  }
  .new-title-img,
  .ebook-title-img,
  .usedbook-title-img,
  .magazine-title-img,
  .goods-title-img,
  .wecollect-title-img,
  .pay-title-img {
    width: 100%;
  }
  .new-title,
  .usedbook-title,
  .goods-title {
    margin-left: auto;
  }
  .magazine-title {
    margin-right: auto;
    margin-top: 8rem;
  }
  .goods-title-pic-img {
    width: 80%;
  }
  .goods-title {
    margin-top: 12rem;
  }
  .title-bottom {
    margin-bottom: 3.2rem;
  }
  .content-box {
    padding: 2.4rem 1rem;
    padding-bottom: 4.6rem;
  }
  .book-grid,
  .bn-grid-2,
  .bn-grid-4 {
    row-gap: 1rem;
  }
  .bn-grid-2 {
    margin-top: 3.2rem;
    margin-left: 1rem;
    margin-right: 1rem;
    gap: 3.2rem;
  }
  .book-box {
    width: 100%;
    padding: 1rem 0;
  }
  .book-img {
    height: 24rem;
  }
  .good-img {
    height: 20rem;
  }
  .wecollect-title {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .content-box-wecollect {
    padding: 2rem;
  }
  .activity {
    padding-top: 4.6rem;
    padding-bottom: 4.6rem;
    margin-top: 6.4rem;
  }
  .activity-header {
    margin-bottom: 3.2rem;
  }
  .activity-item-context {
    margin-left: 2.4rem;
  }
}
