@charset "UTF-8";

.EN_fontRed {
  color: #EC081F;
}

.EN_small {
  font-size: 15px;
}

main {
  font-size: 18px;
  padding-bottom: 30px;
}

.bg_white {
  background: #fff;
}

.bg_gray {
  background: #f8f8f8;
}


@media screen and (max-width: 768px) {
  main {
    font-size: 16px;
  }

  .small {
    font-size: 0.85rem;
  }
}




/*-- 読書感想文を書こう --*/


.summer_book h2 {
  margin-bottom: 50px;
}

.summer_book section:first-of-type {
  background: inherit;
  text-align: center;
  line-height: 1.8em;
}

.summer_book section {
  padding: 30px;
  background: #fff;
  max-width: 800px;
  border-radius: 3vh;
  margin: 25px auto;
}

.category {
  max-width: 400px;
  margin: 0 auto;
}



a.book_btn {
  color: #470800;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
  display: block;
  padding: 20px;
  max-width: 300px;
  border-radius: 10vh;
  margin-top: 5px;
  background: #f9c019;
}


.book_item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 25px 35px 30px;
  flex-wrap: wrap;
}

.book_item li {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 5px;
  max-width: 300px;
  height: 205px;
  width: 100%;
  padding: 26px;
  border-radius: 1vh;
  justify-content: flex-start;
}


.book_item img {
  margin-bottom: 15px;
}


.book_item p {
  margin: 0;
  font-size: 1rem;
}

.banner {
    display: block;
    text-align: center;
}

@media screen and (max-width: 768px) {
  .category {
    max-width: 300px;
  }

  .summer_book section:first-of-type {
    text-align: left;
  }

  .summer_book section {
    margin: 18px auto;
    padding: 20px 15px;
  }


  .summer_book h3 {
    margin: 0px auto;
  }




  .book_item {
    display: flex;
    padding: 16px 35px 10px;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
  }

  .book_item li {
    padding: 0 0 20px 0;
    height: fit-content;
  }

  .book_item a {
    margin: 0 10px 10px;
    max-width: 300px;
  }

}