/* below 1200px */
@media (max-width: 75em) {
  html {
    font-size: 56.25%;
  }
  .main-container {
    letter-spacing: 1.2;
    line-height: 1.6;
  }
  .hero-title-img {
    width: 50rem;
  }
  .promotion-img {
    width: 100%;
  }
  .toplist-cata-nav {
    grid-template-columns: repeat(3, 1fr);
  }
  .toplist-cata-item:nth-child(5),
  .toplist-cata-item:nth-child(6) {
    grid-column: auto;
    justify-self: auto;
  }
  .toplist-box,
  .teacher-recommend-box {
    width: 100rem;
  }
  .toplist-no1-grid {
    align-items: start;
  }
  .toplist-no1-img {
    width: 30rem;
  }
  .book {
    height: 35rem;
  }
  .toplist-3-grid {
    column-gap: 0;
  }
  .toplist-pic-img {
    width: 70rem;
  }
  .blank {
    height: 4.8rem;
  }
  .teacher-thumbnail-img {
    width: 100%;
  }
  .new-header-box {
    padding-left: 3rem;
  }
  .new-header-img,
  .new-more-img {
    width: 35rem;
  }
  .new-book-pic {
    right: 3rem;
  }
  .hot-header-box {
    text-align: right;
    padding-top: 14rem;
    padding-right: 4rem;
    padding-bottom: 9rem;
  }
}

/* below 944px */
@media (max-width: 59em) {
  html {
    font-size: 50%;
  }
  .hero-title-img {
    width: 47rem;
  }
  .dot {
    padding-top: 1rem;
  }
  .toplist-cata-item-img {
    width: 100%;
  }
  .toplist-box,
  .teacher-recommend-box {
    width: 100%;
  }
  .grid-3-columns,
  .toplist-3-grid {
    grid-template-columns: repeat(2, auto);
    column-gap: 2.4rem;
  }
  .grid-4-columns {
    grid-template-columns: repeat(2, auto);
    column-gap: 2.4rem;
    row-gap: 4.8rem;
  }
  .book,
  .teacher-book {
    height: 38rem;
  }
  .book-author {
    font-size: 2.2rem;
  }
  .book-title-small {
    font-size: 2.4rem;
  }
  .book-author-small {
    font-size: 2.2rem;
  }
  .toplist-pic-img {
    right: -10rem;
  }
  .teacher-header-img {
    width: 80%;
  }
  .new-title {
    font-size: 2.4rem;
  }
  .recommend-book02:nth-child(3) {
    grid-column: span 2;
  }
  .recommend-author {
    font-size: 2.2rem;
  }
}

/* below 830px */
@media (max-width: 52em) {
  .promotion {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .promotion-text-box {
    text-align: center;
    padding-bottom: 7.4rem;
  }
  .promotion-img {
    display: none;
  }
  .toplist-subheader-img {
    width: 70%;
  }
  .teacher-header-img {
    width: 90%;
  }
  .teacher-recommend-box {
    padding: 9.6rem 6.4rem;
  }
  .teacher-recommend-books {
    column-gap: 6.4rem;
    row-gap: 6.4rem;
  }
  .teacher-recommend-books {
    column-gap: 6.4rem;
    row-gap: 6.4rem;
  }
}

/* below 704px */
@media (max-width: 44em) {
  .section-hero {
    background-image: url(images/bg_hero-sm.jpg);
    padding: 6.4rem 0 6.4rem 0;
  }
  .hero-title-img {
    width: 38rem;
  }
  .toplist-cata-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .toplist-header-img {
    display: none;
  }
  .toplist-header-img-sm {
    display: block;
    width: 100%;
  }
  .toplist-pic-img {
    width: 60rem;
  }
  .toplist-content {
    padding: 3.2rem 3.2rem 9rem 3.2rem;
  }
  .toplist-no1-grid {
    grid-template-columns: 1fr;
  }
  .book,
  .teacher-book {
    height: 33rem;
  }
  .blank {
    height: 3.2rem;
  }
  .toplist-rest-img {
    width: 25rem;
  }
  .book-title-small {
    margin-top: 0.6em;
  }
  .toplist-more-img {
    width: 90%;
  }
  .toplist-pic07-img {
    height: 45rem;
  }
  .toplist-subheader-img {
    width: 80%;
  }
  .teacher-header-img {
    width: 100%;
  }
  .teacher-info-box {
    grid-template-columns: 1fr;
  }
  .teacher-thumbnail {
    text-align: center;
  }
  .teacher-thumbnail-img {
    width: 50%;
  }
  .teacher-info-box {
    text-align: center;
  }
  .teacher-info-name {
    justify-content: center;
  }
  .teacher-recommend-books {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }
  .recommend-content-box {
    grid-column: auto;
    padding-bottom: 4.8rem;
  }
  .recommend-content-box:nth-child(7) {
    padding-bottom: 0;
  }
  .recommend-text {
    color: #fff;
    padding-top: 2rem;
  }
  .section-new-header {
    background-image: url(images/new-header-bg-sm.jpg);
  }
  .new-header-box {
    padding-top: 8rem;
    padding-left: 0;
    padding-bottom: 8rem;
  }
  .new-header-img,
  .new-more-img {
    width: 33rem;
  }
  .new-book-selection {
    padding: 4.8rem;
  }
  .new-book-pic {
    height: 53rem;
  }
  .section-hot-header {
    background-image: url(images/hot-header-bg-sm.jpg);
  }
  .hot-header-box {
    padding-top: 9rem;
    padding-right: 0;
  }
}

/* below 544px */
@media (max-width: 34em) {
  html {
    font-size: 44%;
  }
  .hero-title-img {
    width: 30rem;
  }
  .dot {
    padding-top: 0.6rem;
  }
  .section-toplist {
    padding-bottom: 4rem;
  }
  .toplist-content,
  .grid-3-columns {
    padding: 2.4rem 2.4rem 6.4rem 2.4rem;
  }
  .blank {
    height: 2rem;
  }
  .toplist-3-grid {
    column-gap: 2.4rem;
    row-gap: 2.8rem;
  }
  .book,
  .teacher-book {
    height: 28rem;
  }
  .book-no1 {
    height: 33rem;
  }
  .toplist-rest-img {
    width: 20rem;
  }
  .toplist-pic-img,
  .toplist-pic07-img,
  .new-book-pic {
    display: none;
  }
  .toplist-book-select:last-child {
    grid-column: span 2;
  }
  .span2 {
    grid-column: span 2;
  }
  .book-title-small {
    font-size: 2.2rem;
    margin-top: 0.6em;
  }
  .book-author-small {
    font-size: 1.9rem;
  }
  .toplist-more {
    padding-top: 3.2rem;
  }
  .toplist-subheader-img {
    width: 90%;
  }
  .margin-bottom-md-6-1 {
    margin-bottom: 0;
  }
  .section-teacher-header01 {
    background-image: url(images/teacher-header-bg01-sm.jpg);
  }
  .teacher-info-box {
    gap: 2.4rem;
  }
  .teacher-info-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .teacher-recommend-box {
    padding: 9.6rem 3.2rem 6.4rem 3.2rem;
  }
  .teacher-book-selection {
    padding: 0;
  }
  .teacher-book-selection .book {
    height: 27rem;
  }
  .section-teacher-content02 {
    padding-top: 3.2rem;
  }
  .section-new-header {
    background-image: url(images/new-header-bg-xs.jpg);
  }
  .section-hot-header {
    background-image: url(images/hot-header-bg-xs.jpg);
  }
  .new-header-img,
  .new-more-img {
    width: 28rem;
  }
  .new-book-selection {
    padding: 6.4rem 0 6.4rem 0;
    row-gap: 4.8rem;
  }
  .new-book:last-child {
    grid-column: span 2;
  }
  .new-header-box {
    padding-top: 10rem;
    padding-bottom: 6.4rem;
  }
  .hot-header-box {
    padding-top: 16rem;
    padding-bottom: 0;
  }
}

/* below 462px */
@media (max-width: 29em) {
  .promotion-list-giveaway {
    grid-template-columns: 1fr;
  }
  .promotion-giveaway-pic {
    width: 28rem;
    padding-top: 2rem;
  }
}
