@charset "UTF-8";
/*----------------------------------------
	@media breakpoint
----------------------------------------*/
/*----------------------------------------
	color
----------------------------------------*/
/*----------------------------------------
	parts
----------------------------------------*/
/*----------------------------------------
	splide 詳細カバー画像
----------------------------------------*/
.splide-container {
  margin: 0 auto;
  container: splide-change/inline-size;
}

#main-carousel .splide__arrows, #main-carousel .splide__pagination,
#thumbnail-carousel .splide__arrows,
#thumbnail-carousel .splide__pagination {
  display: none;
  opacity: 0;
  height: 0;
}

#thumbnail-carousel .splide-wrapper {
  width: 100%;
  margin-top: 8%;
}
#thumbnail-carousel .splide__list {
  display: flex;
  justify-content: center;
}
#thumbnail-carousel .splide__slide:last-child {
  width: 16.13% !important;
}
#thumbnail-carousel .is-active .cv-item {
  border: 1px solid #000;
}

#thumbnail-carousel .flex-layout {
  display: flex;
  justify-content: center;
}

#thumbnail-carousel .grid-layout {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px 0;
}
@container splide-change (max-width: 450px) {
  #thumbnail-carousel .grid-layout {
    gap: 10px 0;
  }
}

.cv-item {
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
}
#thumbnail-carousel .cv-item {
  width: 80px;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 5px;
  cursor: pointer;
}

@container splide-change (max-width: 450px) {
  #thumbnail-carousel .cv-item {
    width: 73px;
  }
  #thumbnail-carousel .splide__slide:last-child {
    width: 18.1% !important;
  }
}
@container splide-change (max-width: 400px) {
  #thumbnail-carousel .cv-item {
    width: 60px;
  }
  #thumbnail-carousel .splide__slide:last-child {
    width: 20%;
  }
}
img.object-fit-img {
  max-width: 100%; /* 最大幅を親要素の幅に合わせる */
  max-height: 100%; /* 最大高さを親要素の高さに合わせる */
  width: auto; /* アスペクト比を保持しつつ最大幅に合わせる */
  height: auto; /* アスペクト比を保持しつつ最大高さに合わせる */
  display: block; /* インライン要素の余白をなくす */
  margin: auto; /* 水平方向に中央寄せ */
  border: 1px solid #ccc;
  -o-object-fit: cover;
     object-fit: cover; /* 画像が親要素を覆うように表示 */
}

/* ----------------------------------
    splide 関連書籍
---------------------------------- */
.card01 .l-inner {
  max-width: 1156px;
  margin: 1rem auto 2.5rem;
  position: relative;
  margin-top: 1rem;
  padding: 0 4rem;
}
.card01 .splide {
  z-index: 0;
}
.card01 .splide-wrapper {
  position: relative;
}
.card01 .splide__arrow > svg {
  display: none;
}
.card01 :focus:not(:focus-visible) {
  outline: 0;
  /* キーボード操作"以外"でフォーカスされた際はoutlineを消す */
}

.card01 .splide__arrow--prev,
.card01 .splide__arrow--next {
  display: grid;
  place-content: center;
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  transition: 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}
.card01 .splide__arrow--prev:hover,
.card01 .splide__arrow--next:hover {
  opacity: 0.7;
}
.card01 .splide__arrow--prev::before,
.card01 .splide__arrow--next::before {
  content: "";
  background-color: #99CCEE;
}
@media only screen and (min-width: 750px) {
  .card01 .splide__arrow--prev::before,
.card01 .splide__arrow--next::before {
    -webkit-mask: url(../img/arrow5.svg) center no-repeat;
            mask: url(../img/arrow5.svg) center no-repeat;
    width: 36px;
    height: 36px;
  }
}
@media only screen and (max-width: 749px) {
  .card01 .splide__arrow--prev::before,
.card01 .splide__arrow--next::before {
    -webkit-mask: url(../img/arrow4.svg) no-repeat;
            mask: url(../img/arrow4.svg) no-repeat;
    -webkit-mask-position: calc(50% + 4px) center;
            mask-position: calc(50% + 4px) center;
    width: 16px;
    height: 16px;
    background-color: #fff;
  }
}
.card01 .splide__arrow--prev::before {
  transform: scale(-1, 1);
}
.card01 .splide__arrow:disabled {
  pointer-events: none;
  opacity: 0;
}
.card01 .splide__arrow:focus-visible {
  outline: 3px solid #99CCEE;
  outline-offset: 3px;
  z-index: 1;
  transition: none;
}
.card01 .splide__arrow--prev,
.card01 .splide__arrow--next {
  position: absolute;
  z-index: 10;
  top: 38%;
  margin: auto;
}
.card01 .splide__arrow--prev {
  right: calc(100% + 20px);
}
.card01 .splide__arrow--next {
  left: calc(100% + 20px);
}

@media only screen and (min-width: 1025px) {
  .card01 .splide__track {
    padding-top: 16px;
  }
  .card01 .item, .card01 .item img {
    transition: 0.8s cubic-bezier(0.2, 1, 0.2, 1);
  }
  .card01 .item:hover {
    transform: translateY(-16px);
  }
  .card01 .item:hover img {
    transform: translateY(0);
  }
}
@media only screen and (max-width: 749px) {
  .card01 .l-inner {
    padding: 0;
  }
  .card01 .splide__arrow--prev {
    right: calc(100% - 10px);
  }
  .card01 .splide__arrow--next {
    left: calc(100% - 10px);
  }
  .card01 .splide__arrow--prev,
.card01 .splide__arrow--next {
    top: 30%;
    width: 25px;
    height: 60px;
    background-color: rgba(153, 204, 238, 0.8);
  }
}
.card01 .splide-b:not(.is-active) {
  padding: 0;
  visibility: visible;
}
.card01 .splide-b:not(.is-active) .splide__arrow--prev,
.card01 .splide-b:not(.is-active) .splide__arrow--next {
  display: none;
}
.card01 .splide-b:not(.is-active) .splide__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}
@media only screen and (max-width: 749px) {
  .card01 .splide-b:not(.is-active) .splide__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

.card01 .item__tmb {
  display: flex;
  justify-content: center;
}
.card01 .item__tmb img {
  width: 100%;
}
.card01 .item__title {
  font-size: clamp(0.938rem, 0.887rem + 0.22vw, 1.063rem);
  font-weight: 500;
  margin-top: 0.35em;
  line-height: 1.4;
}
.card01 .item__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.5;
  max-height: 3em; /* 2 lines * 1.5 line-height */
}
.card01 .item__bookPub, .card01 .item__price {
  font-size: clamp(0.813rem, 0.79rem + 0.11vw, 0.875rem);
  font-weight: 500;
  margin-top: 0.5em;
}
.card01 .item__magVol {
  font-size: clamp(0.813rem, 0.762rem + 0.22vw, 0.938rem);
  font-weight: 500;
  margin-top: 0;
}
/*# sourceMappingURL=splide.css.map */