@charset "utf-8";

/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  font-family: "M PLUS 1p", sans-serif;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ここから本体 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

main {
  padding-top: 50px;
  background-image: url(../img/haikei4.png);
  background-size: 100%;
  padding-bottom: 35px;
}

h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px auto;
}

header {
  background-color: #6dd2e0;
  width: 100%;
  position: fixed;
  z-index: 1;
}

header nav {
  background-image: url(../img/book_icon.png);
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: center;
}

header nav a {
  transition: all 1s;
  font-weight: bold;
}

header ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 50px;
}

header li {
  color: #fff;
}




/*********** 真ん中のスライドを大きく見せる設定 */
/* liにクラス名”slick-center”がついたらscaleは1 */
.book-slide .slick-center img {
  transform: scale(1);
}

/* それ以外はscaleは0.8 */
.book-slide img {
  transform: scale(0.8);
  width: 40%;
  height: auto;
}

.book-intro {
  display: flex;
  width: 80%;
  background-color: #fff;
  margin: 0 auto 30px auto;
  padding: 30px;
  align-items: center;
  border: solid 3px #000;
}

.book {
  width: 200px;
  object-fit: contain;
  padding: 0 30px 0 0;
}

h3 {
  border-bottom: 5px solid #ffce00;
  margin-bottom: 10px;
  font-size: 1.7em;
}

.intro-text {
  line-height: 1.8em;
}

.intro-text h4 {
  font-size: 1.1em;
}


.qr {
  width: 100px;
  height: 100px;
}

/* figure {
    float: right;
} */

.read p {
  background-color: #ffce00;
  line-height: 30px;
  border-radius: 20px;
  font-weight: bold;
}

.point {
  background-color: #6dd2e0;
  line-height: 30px;
  border-radius: 20px;
  width: 130px;
  padding: 0 10px;
  margin-top: 15px;
}

.point-text .point-min {
  font-size: 0.8em;
  line-height: 1.5em;
}

/* 並べて紹介 */
.book-list {
  margin: 0 auto;
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;

}

.book-list li {
  background-color: #fff;
  border: solid 2px #000;
  width: calc(100vw / 4);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  margin: 10px auto;
}

.book-list img {
  width: 160px;
}

.book-list li img {
  display: block;
  transition: 0.2s;
}

.book-list li img:hover {
  transform: scale(1.1);
}

.book-list dl {
  margin-top: 20px;
}

.book-list dt {
  font-weight: bold;
  border-bottom: 3px solid #ffce00;
}

.book-list dd {
  font-size: 13px;
  line-height: 20px;
  margin-top: 10px;

}

/* フッター */
footer {
  background-color: #6dd2e0;
  color: #fff;
  font-size: 0.9em;
  font-weight: bold;
  line-height: 2em;
  width: 100%;
  height: 200px;
  padding-top: 25px;

  background-image: url(../img/book_icon.png);
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: center 150px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

footer nav a {
  transition: all 1s;
}

footer .copyright {
  margin-top: 50px;
  font-size: 0.7em;
}

/* ここからスマホ */
@media (max-width:800px) {
  h1 img {
    width: 70%;
  }

  header nav {
    background-image: url(../img/book_icon.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
  }

  header ul {
    font-size: 0.8em;
    justify-content: space-around;
  }

  .read {
    display: none;
  }

  .book-intro {
    flex-direction: column;
  }

  .intro-text {
    margin-top: 10px;
  }
}