/* 共通書籍ランキングSwiperスタイル（ptnXX-book-swiperと同じ内容） */
/* MT等からfor_mt/common/book_ranking.htmlで使用 */

.c-book-swiper-section {
  overflow: hidden;
}
@media screen and (min-width: 834px) {
  .c-book-swiper-section .container {
    position: relative;
  }
  .c-book-swiper-section .container::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 100%;
    max-width: 188.0rem;
    border-radius: 1.0rem;
    height: 1.5rem;
    background: #f3f3f3;
  }
  .c-book-swiper-wrap {
    overflow: visible;
    max-width: 176.8rem;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    position: relative;
    margin-top: 6.8rem;
  }
  .c-book-swiper {
    overflow: visible;
    max-width: 43.6rem;
    margin: 0 auto 0 0;
    width: 100%;
    height: 100%;
    padding-left: 0.4rem;
    padding-right: 5.1rem;
    padding-bottom: 5.7rem;
  }
  .c-book-swiper .swiper-slide {
    padding: 0 5.0rem 5.0rem 0;
  }
  .c-book-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    overflow: visible;
  }
  .c-book-swiper .book {
    background: #f3f3f3;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 1.5rem;
    position: relative;
    border: solid 1px #fff;
    transition: box-shadow 200ms 0s ease,
                border 200ms 0s ease;
  }
  .c-book-swiper .book::before {
    content: "";
    display: block;
    border-right: solid 0.2rem #666;
    border-bottom: solid 0.2rem #666;
    width: 0.9rem;
    height: 0.9rem;
    position: absolute;
    bottom: 1.0rem;
    right: 1.0rem;
  }
  .c-book-swiper a:hover .book {
    box-shadow: -0.4rem -0.3rem 0 0 #ccc;
    border: solid 1px #666;
  }
  .c-book-swiper .book .num {
    position: absolute;
    top: 0;
    right: 1.5rem;
    width: 3.4rem;
  }
  .c-book-swiper .book .num img {
    width: 100%;
    height: auto;
  }
  .c-book-swiper .book .image {
    height: 33.0rem;
    padding-top: 1.9rem;
    padding-bottom: 1.2rem;
  }
  .c-book-swiper .book .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .c-book-swiper .title {
    padding-top: 1.2rem;
    line-height: 1.7;
  }
  .c-book-swiper .author {
    line-height: 1.7;
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 833px) {
  .c-book-swiper-section .container {
    position: relative;
    margin-bottom: 15.0rem;
  }
  .c-book-swiper-section .c-button-more {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
  }
  .c-book-swiper-section .c-section-title {
    margin-bottom: 8.7rem;
  }
  .c-book-swiper-wrap {
    overflow: visible;
    width: 59.0rem;
    margin: 0 auto;
  }
  .c-book-swiper .swiper-slide {
    width: 100%;
    padding: 0 2.0rem;
    margin-bottom: 0.5rem;
  }
  .c-book-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    overflow: hidden;
    border: solid 1px #fff;
    position: relative;
  }
  .c-book-swiper .book {
    background: #f3f3f3;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 1.5rem;
    position: relative;
    border: solid 1px #fff;
  }
  .c-book-swiper .book::before {
    content: "";
    display: block;
    border-right: solid 0.4rem #666;
    border-bottom: solid 0.4rem #666;
    width: 1.2rem;
    height: 1.2rem;
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  .c-book-swiper .book .num {
    position: absolute;
    top: 0;
    right: 2.5rem;
    width: 5.7rem;
  }
  .c-book-swiper .book .image {
    height: 54.8rem;
    padding-top: 2.7rem;
    padding-bottom: 2.7rem;
  }
  .c-book-swiper .book .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .c-book-swiper .title {
    padding-top: 1.4rem;
    line-height: 1.7;
    font-size: 3.2rem;
  }
  .c-book-swiper .author {
    line-height: 1.7;
    font-size: 2.7rem;
  }
}
