@charset "UTF-8";
/* CSS Document */

.book-swiper {
  padding: 40px 0;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.book-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  letter-spacing: .1em;
  margin-top: 20px;
}

.book-nav button {
  background: none;
  border: 1px solid #333;
  padding: 6px 12px;
  cursor: pointer;
}

#page {
  min-width: 80px;
  text-align: center;
}
.swiper-slide {
  display: flex;
  justify-content: center;
}

.swiper-slide img {
  max-width: 767px; /* 表紙の最大幅 */
}

@media (min-width: 768px) {
  .swiper-slide img {
    max-width: 560px; /* PCは少し大きく */
  }
}
@media (min-width: 768px) {
  .book-swiper {
    position: relative;
  }
  }

/*.book-swiper::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 24px;
    transform: translateX(-50%);
    background: linear-gradient(
      to right,
      rgba(0,0,0,.08),
      rgba(255,255,255,.6),
      rgba(0,0,0,.08)
    );
    pointer-events: none;
    
  
}*/
.book-nav.willtic {
  margin-top: 8%;
  gap: 24px;
  font-size: 12px;
  letter-spacing: .18em;
  color: #222;
padding-bottom: 2%;
}

.book-nav.willtic button {
  border: none;
  background: none;
  padding: 4px 6px;
  font-family: "Helvetica Neue", "Noto Sans JP", sans-serif;
  opacity: .6;
}

.book-nav.willtic button:hover {
  opacity: 1;
}

#page {
  font-weight: 300;
  opacity: .8;
}
.swiper-slide-active img {
  animation: pageFocus .4s ease;
}

@keyframes pageFocus {
  from { box-shadow: 0 30px 60px rgba(0,0,0,.2); }
  to   { box-shadow: 0 20px 50px rgba(0,0,0,.15); }
}
@media (min-width: 768px) {
  .swiper-slide img {
    background: #fff;
  }

  /* 左ページ */
  .swiper-slide:nth-child(even) img {
    box-shadow: -10px 0 30px rgba(0,0,0,.08);
  }

  /* 右ページ */
  .swiper-slide:nth-child(odd) img {
    box-shadow: 10px 0 30px rgba(0,0,0,.08);
  }
}

.book-wrap{
position: relative;
}
.swiper-wrapper {
position: relative;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}
.header{
padding: 10%;
width: 80%;
}
.tap-nav{
position: absolute;
width: 50%;
height: 90vh;
bottom:0;
z-index: 101;
}
.tap-nav:hover {
  background: rgba(255,255,255,0);
}
/*.tap-nav {
  position: absolute;
  display: block;
  top: 40%;
  width: 20%;
  height: 20%;
  background-image: url("../images/arrow-bk.svg");
  background-position: left top;
  background-repeat: repeat;
  background-size: auto;
  z-index: 9;
}*/

.tap-nav.left {
  left: 0;
}

.tap-nav.right {
  right: 0;
}