/* below 1200px */
@media (max-width: 75em) {
  html {
    font-size: 56.25%;
  }
  .hero {
    padding-left: 3.2rem;
    padding-right: 3.2rem;
  }
}

/* below 944px */
@media (max-width: 59em) {
  html {
    font-size: 50%;
  }
  .section-box {
    margin-left: 3.2rem;
    margin-right: 3.2rem;
    padding-left: 3.2rem;
    padding-right: 3.2rem;
  }
  .chapter-grid {
    gap: 3.2rem;
    margin-left: 3.2rem;
    margin-right: 3.2rem;
  }
  .chapter-title-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
  }
}

/* below 784px */
@media (max-width: 49em) {
  .chapter-title-01-img {
    width: 40rem;
  }
  .chapter-title-02-img {
    height: 24rem;
  }
  .chapter-title-pic-02-img {
    height: 40rem;
  }
  .chapter-title-03-img {
    height: 40rem;
    margin-top: 3.2rem;
    margin-bottom: 4.6rem;
  }
  .chapter-title-pic-05-img {
    height: 35rem;
  }
  .chapter-title-05-img {
    height: 28rem;
  }
  .book-lg-img {
    height: 45rem;
  }
  .book-lg-img-2 {
    height: 43rem;
    padding-left: 4rem;
  }
  .book-horizontal-img {
    height: 23rem;
  }
}

/* below 704px */
@media (max-width: 44em) {
  .hero-title-flex {
    justify-content: center;
  }
  .hero-title-img {
    height: 50rem;
  }

  .chapter-title-01 {
    left: 50%;
    transform: translateX(-50%);
  }
  .chapter-pic {
    display: none;
  }
  .book-flex-end {
    justify-content: center;
    margin-top: 48rem;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    row-gap: 4.6rem;
  }
  .chapter-grid {
    grid-template-columns: 1fr;
    gap: 0;
    row-gap: 15rem;
  }
  .chapter-title-grid {
    grid-template-columns: 1fr;
  }
  .chapter-title-02 {
    justify-self: center;
    padding-top: 1rem;
  }
  .book-grid {
    grid-template-columns: 1fr;
    row-gap: 4.6rem;
  }
}

/* below 544px */
@media (max-width: 34em) {
  .main-container {
    padding-left: 2.4rem;
    padding-right: 2.4rem;
  }
  .section-hero {
    padding-top: 6.4rem;
    padding-bottom: 9rem;
  }
  .hero {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .section-box {
    margin-bottom: 8rem;
  }
  .hero-title-img {
    display: none;
  }
  .hero-title-img-sm {
    display: block;
    width: 100%;
  }
  .chapter-tag-img {
    height: 4.6rem;
  }
  .chapter-grid {
    row-gap: 8rem;
    margin-bottom: 8rem;
  }
  .chapter-title-01-img {
    width: 33rem;
  }
  .book-flex-end {
    margin-top: 40rem;
    margin-bottom: 6.4rem;
  }
  .chapter-title-pic-02-img {
    height: auto;
    width: 100%;
  }
  .chapter-title-02-img {
    height: 20rem;
  }
  .chapter-title-03-img {
    height: 36rem;
    margin-top: 2.4rem;
    margin-bottom: 3.2rem;
  }
  .chapter-title-pic-05-img {
    height: 28rem;
  }
  .chapter-title-05-img {
    height: 23rem;
  }
  .book-grid-2 {
    margin-top: 2.4rem;
  }
  .book-lg-img {
    height: 40rem;
  }
  .book-lg-img-2 {
    height: 40rem;
    padding-left: 1rem;
  }
  .book-horizontal-img {
    height: 22rem;
  }
  .margin-top-md {
    margin-top: auto;
  }
}
