/* below 1300px */
@media (max-width: 81em) {
  .hero-title-pic-img {
    width: 100%;
  }
}

/* below 1200px */
@media (max-width: 75em) {
  html {
    font-size: 56.25%;
  }

  .hero-title-img {
    width: 100%;
  }
  .book-grid2 {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem;
    row-gap: 6.4rem;
    align-items: center;
    justify-content: center;
  }
  .span-22 {
    grid-column: span 2;
  }
}

/* below 1152px */
@media (max-width: 72em) {
  .book-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 4.6rem;
  }
}

/* below 944px */
@media (max-width: 59em) {
  html {
    font-size: 50%;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-pic {
    display: none;
  }
  .hero-intro {
    text-align: center;
  }
  .hero-promotion-flex {
    justify-content: center;
  }
  .chapter-title-img {
    max-width: 60rem;
  }
  .book-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
  }
  .span-2 {
    grid-column: span 2;
  }
}

/* below 752px */
@media (max-width: 47em) {
  .main-container {
    padding: 0 3.2rem;
    font-size: 1.8rem;
  }
  .hero-intro {
    font-size: 1.6rem;
  }
  .chapter-title-img {
    max-width: 48rem;
  }
  .book-descrip {
    font-size: 1.6rem;
    line-height: 1.6;
  }
  .book-img {
    height: 26rem;
  }
  .book-img-horizontal {
    height: 19rem;
  }
  .section-genre {
    padding: 4.6rem 0;
  }
  .genre-box {
    padding: 0;
    padding-bottom: 2.4rem;
  }
}

/* below 544px */
@media (max-width: 34em) {
  .main-container {
    padding: 0 2rem;
  }
  .hero-promotion {
    line-height: 2.5rem;
  }
  .chapter-title-img {
    max-width: 32rem;
  }
  .span-22 {
    grid-column: auto;
  }
  .book-grid2 {
    grid-template-columns: 1fr;
  }
  .book-img {
    height: 18rem;
  }
  .book-img-horizontal {
    height: 14rem;
  }
  .section-genre {
    padding: 3.2rem 0;
  }
}
