:root {
  /* ===== Brand Colors ===== */
  --color-red: #e60012;
  --color-blue: #1e50a2;
  --color-yellow: #fff100;
  --color-yellow2: #efdf80;
  --color-black1: #333333;
  --color-black2: #444444;
  --color-gray: #999999;
  --color-white: white;
}

body {
  font-family:
    "Zen Kaku Gothic Antique",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Meiryo", Verdana, "Roboto",
    sans-serif,
    "Helvetica Neue", Helvetica,
    Arial;
  overflow-x: hidden;
  font-weight: 500;
  box-sizing: border-box;
  position: relative;
  background-color: #dfebef;
  /* ← ベース色だけにしておく */
}

/* 外側の太い実線フレーム */
body::before {
  content: "";
  position: fixed;
  inset: 13px;
  border: 9px solid #b8ccd2;
  box-sizing: border-box;
  pointer-events: none;
  z-index: -3;
}

/* その内側の薄いカスタム破線フレーム */
body::after {
  content: "";
  position: fixed;
  inset: 14px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: -2;
  background:
    /* 上側 */
    repeating-linear-gradient(to right,
      #dfebef 0 16px,
      transparent 16px 28px) top left / 100% 4px no-repeat,
    /* 下側 */
    repeating-linear-gradient(to right,
      #dfebef 0 16px,
      transparent 16px 28px) bottom left / 100% 4px no-repeat,
    /* 左側 */
    repeating-linear-gradient(to bottom,
      #dfebef 0 16px,
      transparent 16px 28px) top left / 4px 100% no-repeat,
    /* 右側 */
    repeating-linear-gradient(to bottom,
      #dfebef 0 16px,
      transparent 16px 28px) top right / 4px 100% no-repeat;
}


h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-red);
}


main.grid-bg {
  position: relative;
  min-height: 100vh;
  /* 画面全体に広がるように */
  z-index: 0;
}

main.grid-bg::before {
  content: "";
  position: fixed;
  inset: 20px;
  /* 内側余白 */
  background-color: #dfebef;
  background-image:
    linear-gradient(#b8ccd2 1px, transparent 1px),
    linear-gradient(90deg, #b8ccd2 1px, transparent 1px);
  background-size: 24px 24px;
  background-repeat: repeat;
  background-position:
    center center,
    center center;

  pointer-events: none;
  z-index: -1;
}



a {
  text-decoration: none;
  color: inherit;
}

a,
h2,
h3,
p,
li,
dd,
dt {
  transform: rotate(0.05deg);
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  margin: auto;
}

p,
li {
  color: var(--color-black1);
}

.ptn-bg {
  position: relative;
  overflow: hidden;
}

.info-separator {
  border: 1px solid var(--color-black1);
  height: 1px;
  width: 100%;
  margin: 10px auto;
}



section {
  padding: 2rem 0;
  margin-bottom: 20px;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
}



.h2-wrap {
  position: relative;
  display: inline-block;
  margin: auto;
  display: block;
  width: 320px;
  height: 50px;
}



/* 既存 */
.h2_img {
  height: 50px;
  padding: 4px;
  width: auto;
  display: block;
  margin: auto;
}


/* ヘッダー */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  /* サイトの最大幅を設定 */
  margin: 0 auto;
  position: absolute;
}

.book-info-area a:hover {
  opacity: 0.6;
}

html {
  scroll-behavior: smooth;
}

.hero-section {
  padding: unset;
  margin: unset;
  background: black;
}


/* メイン画像（ぽよん） */
.hero_img {
  max-width: 1920px;
  width: 100%;
  margin: auto;
}


/* =======================================
   ハンバーガー
   ======================================= */


.global-nav {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
}

/* ハンバーガー本体 */
.hamburger-menu {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background-color: unset;
  position: fixed;
  top: 20px;
  right: 25px;
  z-index: 1000;
  mix-blend-mode: exclusion;
}

.hamburger-menu span {
  width: 60px;
  height: 2px;
  background: var(--color-white);
  display: block;
  transition:
    transform 0.35s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.25s ease,
    background-color 0.3s ease;
  transform-origin: center;
}

.hamburger-menu.is-open span:nth-child(1) {
  transform: translateY(20px) rotate(45deg);
}

.hamburger-menu.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.is-open span:nth-child(3) {
  transform: translateY(-20px) rotate(-45deg);
}

/* スライドパネル */
.menu-panel {
  position: fixed;
  top: 10px;
  right: -45px;
  width: 280px;
  padding: 70px 20px 20px 20px;
  box-sizing: border-box;
  background: var(--color-white);
  border: 1px solid var(--color-black1);
  overflow: auto;
  z-index: 999;
  transform: translateX(120%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease,
    visibility 0s 0.5s;
}

/* 開いている状態 */
.menu-panel.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease,
    visibility 0s;
}




/* =======================================
   スライダー
   ======================================= */

.start_top,
.slider {
  overflow: hidden;
}

.start_top {
  margin: 30px auto 30px;
}

.topKvSlider {
  position: relative;
  overflow: hidden;
}

.start_top,
.slider li {
  height: auto;
}

.start_top,
.start_list_series {
  overflow: hidden;
}


.slick-initialized .slick-slide {
  margin: 25px 25px 0 25px;
  width: 720px;
}


.slide_new {
  position: absolute;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.6);
  width: 100%;
  display: flex;
  align-items: center;
}

.top_slider .background_l {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 500px;
  background: var(--color-black2);
  z-index: 998;
}

.top_slider .background_r {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 500px;
  background: var(--color-black2);
  z-index: 998;
}

.slick-dots {
  padding: 5px;
}

.slick-dots li {
  width: 15px;
  height: 15px;
  margin: 10px;
}

.start_list_box li button {
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  color: rgba(255, 255, 255, 0);
  background-color: var(--color-gray);
}

.slick-dots li.slick-active button {
  background-color: var(--color-blue);
}

.slick-list {
  z-index: 40;
}

.start_list_box ul {
  justify-content: center;
  display: flex;
}

.slick-arrow {
  top: 48%;
  width: 15px;
  height: auto;
  position: absolute;
  z-index: 1000;
  cursor: pointer;
}

.slick-prev {
  left: calc(50% - (min(700px, 100vw) / 2) - 50px);
  transform: translateX(50%);
}

.slick-next {
  right: calc(50% - (min(700px, 100vw) / 2) - 35px);
  transform: translateX(50%);
}

.slick-slide img {
  display: block;
  transition: opacity .2s ease;
  border: 2px solid var(--color-black1);
}




/* 画像エリア：とにかく横幅を使う */
.point-media {
  position: relative;
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 1 / 0.594;
  margin: 50px auto 0;
  overflow: visible;
  border: 1px solid var(--color-black1);
  box-sizing: border-box;
}

/* ページ画像：はみ出しなく全体にフィット */
.book-page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.book-page.active {
  opacity: 1;
  z-index: 1;
}

/* 1. ボタン本体の基本設定とテキストの非表示 */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;

  line-height: 1;
  color: var(--color-white);
  /* 矢印の線色 */
  background: var(--color-blue);

  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  left: auto;
  right: auto;
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* 2. ホバー時 */
.nav-btn:hover {
  transform: translateY(-50%) scale(1.1);
  filter: brightness(1.1);
}

/* 3. 左右のボタン配置 */
.prev-btn {
  left: -32px;
}

.next-btn {
  right: -32px;
}


/* 4. 矢印（擬似要素）の共通スタイル */
.nav-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  border-top-right-radius: 2px;
  /* 線の先端を丸く見せる */
}

.nav-btn.next-btn::after {
  transform: translate(-50%, -50%) rotate(45deg);
  left: 40%;
}

.nav-btn.prev-btn::after {
  transform: translate(-50%, -50%) rotate(-135deg);
  left: 60%;
}


.point_img {
  width: 100%;
  max-width: 720px;
}

/* リスト */
.menu-panel ul {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-panel a {
  display: block;
  padding: 10px 12px;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--color-black1);
  font-weight: 800;
  background: transparent;
  border-radius: 6px;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Meiryo", Verdana, "Roboto",
    sans-serif,
    "Helvetica Neue", Helvetica,
    Arial;
  transition:
    background-color .25s ease,
    color .25s ease;
}


/* ホバー/キーボードフォーカス時：背景白＆画像フェード */
.menu-panel a:hover,
.menu-panel a:focus-visible {
  background: var(--color-yellow);
}


/* アニメ苦手設定の配慮 */
@media (prefers-reduced-motion: reduce) {
  .menu-panel {
    transition: none;
  }

  .hamburger-menu span {
    transition: none;
  }
}






/* セクション1: 書影 */
.book-cover-list {
  --item-width: 8vw;
  --item-gap: 24px;
  --shift: calc(var(--item-width) * 22 + var(--item-gap) * 21);

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--item-gap);

  animation: book-scroll 95s linear infinite;
  will-change: transform;
}

.book-item {
  flex: 0 0 var(--item-width);
  max-width: none;

}

.book-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 1px solid black;
}

.book-item:hover img,
.book-item:focus-within img {
  opacity: 1;
  transform: none;
}

@keyframes book-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    /* 22冊ぶんスクロール */
    transform: translateX(calc(-1 * var(--shift)));
  }
}



.book-txt {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 20px;
}



.book-info-sab-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: auto;
}

.book-sab-area {
  display: flow;
  width: 100%;
  max-width: 200px;
  margin: auto;
}

.cover-sab {
  width: 100%;
  max-width: 200px;
}

.book-sab-box {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.button-detail {
  width: 165px;
  height: 35px;
  background: var(--color-blue);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  margin: auto;
  transition: background-color 0.25s ease;
}

.button-detail:hover {
  background-color: color-mix(in srgb, var(--color-blue) 80%, white 20%);
}


.button-detail-sab {
  margin: auto 20px;
}

.title {
  margin: auto;
  width: 80%;
  max-width: 540px;
}



.title img {
  margin: auto;
  width: 80%;
  max-width: 540px;
}


/* セクション2: 書籍の特徴 */

.features-section {
  position: relative;
  text-align: center;
  margin: auto;
}

/* セクションタイトル */
.features-section h2 {
  color: var(--color-blue);
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* カード全体：横並び */
.feature-cards-container {
  display: flex;
  gap: 30px;
  width: 80%;
  max-width: 1080px;
  margin: auto;
  flex-direction: column;
}

/* 各カード */
.feature-card {
  flex: 1;
  padding: 20px 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  z-index: 0;
  gap: 15px;
}



/* 中身を前面に */
.feature-card>* {
  position: relative;
  z-index: 1;
}


/* 中央テキスト（2行を想定した高さ確保） */
.feature-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 10px;
  min-height: 3.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}


.feature-card h3 {
  color: var(--color-red);
  text-align: center;
  margin-bottom: 5px;
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 800;
  font-feature-settings: "palt" 1;
}

/* 本文（白・両端揃え） */
.feature-card p {
  font-size: 1.125rem;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 1px;
  margin: 0;
  font-weight: 500;
  color: var(--color-black1);
}

.feature-text {
  grid-area: text;
  margin: auto;
}


/* セクション3: ポイント */
.points-section {
  text-align: center;
  padding: 3rem 0;
}

.point-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}


/* =======================================
  カルーセル
   ======================================= */

.slider {
  --peek: 8vw;
  --gap: 16px;
  position: relative;
  margin: 0 auto;
}

.viewport {
  overflow: hidden;
  padding: 0 var(--peek);
  scroll-snap-type: x mandatory;
}

.track {
  display: flex;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.slide {
  flex: 0 0 calc(100% - 2*var(--peek));
  /* 表示幅＝ビューポート幅からpeek×2を引く */
  scroll-snap-align: center;
  border-radius: 12px;
  overflow: hidden;
}

.slide img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inline-size: 44px;
  block-size: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .4);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.nav:hover {
  background: rgba(0, 0, 0, .55);
}

.prev {
  left: 6px;
}

.next {
  right: 6px;
}

/* セクション4: 全巻リスト */

.sales-links-sab {
  margin-top: 0px;
}

.book-title {
  color: var(--color-black1);
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 900;
}

.book-text {
  font-size: 0.75rem;
  color: var(--color-black2);
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: -0.5px;
  font-feature-settings: "palt" 1;
}

.book-title-sab {
  color: var(--color-black1);
  font-size: 1.25rem;
  font-weight: 600;
}

.book-entry {
  position: relative;
  display: flex;
  gap: 25px;
  align-items: flex-start;
  padding: 26px;
  width: 95%;
  max-width: 1080px;
  margin: 0 auto 30px;
  box-sizing: border-box;
  color: var(--color-black1);
  background: var(--color-white);
  border-radius: 8px;
  border: 1px solid var(--color-black1);
}

/* 中身を前面に */
.book-entry>* {
  position: relative;
  z-index: 2;
}

.book-cover-area {
    width: 320px;
  text-align: justify;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.book-cover-img {
  border: 1px solid var(--color-black1);
  transition: opacity 0.3s ease;
}

.book-cover-btn-area {
  gap: 10px;
  display: flex;
  max-width: 920px;
  flex-direction: column;
}

.list-book-cover {
  width: 165px;
  height: auto;
  margin: auto auto 10px auto;
  border: 1px solid var(--color-black1);
  transition: opacity 0.3s ease;
}

/* ホバー時：少し薄く（80%の不透明度） */
.book-cover-img:hover,
.list-book-cover:hover {
  opacity: 0.7;
}

.book-info-area {
  flex: 1;
}

.sales-links {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  row-gap: 7px;
  width: 100%;
  justify-content: center;
}

.sales-link {
  font-weight: 500;
  line-height: 1.125;
  padding: 5px 10px;
  font-size: 0.85rem;
  width: 32%;
    height: 55px;
  color: var(--color-black1);
  background-color: var(--color-white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  transition: opacity .15s ease;
  position: relative;
  box-sizing: border-box;
  z-index: 0;
  border: 1px solid black;
}

/* ホバー時 */
.sales-link:hover {
  opacity: 0.8;
}

.sales-link img {
    width: 100%;
}

.sales-links-sab a {
  width: 195px;
}

.no_border {
  border: unset;
    width: 320px;
}

.lineup-txt {
  text-align: center;
  font-size: 1.125rem;
  margin: 20px 0;
  font-weight: 600;
  line-height: 1.5;
}

.marker {
  background: linear-gradient(to bottom,
      transparent 65%,
      var(--color-yellow) 65%,
      var(--color-yellow) 100%);
  padding: 0 0.2em;
  box-decoration-break: clone;
}


/* =======================================
  書影アコーディオン  
   ======================================= */
.cp_box1 {
  position: relative;
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

.cp_box1 input {
  display: none;
}

.cp_container_box {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;

}

.cp_container {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5%;
  row-gap: 15PX;
  justify-content: flex-start;
  padding: 20px;
  box-sizing: border-box;
}


.cp_container li {
  width: 18%;
  padding: 5px;
  display: flex;
  gap: 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.cp_container li img {
  width: 100%;
  border: 1px solid var(--color-black1);
  margin: auto;
  transition: opacity 0.3s ease;
}


.cp_container li img:hover {
  opacity: 0.7;
}

.cp_container li a {
  width: 100%;
  text-align: center;
}

.cp_toggle_btn {
  display: block;
  width: 100%;
  max-width: 1080px;
  margin: 20px auto 0;
  text-align: center;
  line-height: 2.5rem;
  background: var(--color-blue);
  color: var(--color-white);
  border-radius: 6px;
  cursor: pointer;
  padding: 5px;
}

/* 矢印だけ薄く */
.cp_toggle_btn .arrow {
  opacity: 0.4;
  margin-right: 6px;
}

/* 閉じているとき：下ボタン非表示 */
.cp_toggle_btn.bottom {
  display: none;
}

/* 開いたとき：下ボタン表示 */
#toggle:checked~.bottom {
  display: block;
}

.label-text {
  font-size: 1.5rem;
  font-weight: 700;
  padding: 5px;
}

.title-circle {
  width: 180px;
  height: 180px;
  border-radius: 100px;
  margin: auto;
  background-color: var(--color-blue);
  text-align: center;
}

.title-circle p {
  color: var(--color-white);
  line-height: 1.25;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 800;
  justify-content: center;
  align-items: center;
}



/* =======================================
  バナー  
   ======================================= */

.serekiBanner {
  display: block;
  margin: auto;
  width: 100%;
  max-width: 620px;
}
.serekiBanner img{
  transition:
    transform 0.09s linear,
    opacity 0.09s linear;
}


.serekiBanner img:hover {
  opacity: 0.75;
  transform: scale(1.02);
}



/* =======================================
 追従するボタン
   ======================================= */

/* 追従するボタン（固定表示） */
.js-float-main {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 表示状態 */
.js-float-main.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-button {
  display: block;
  padding: 15px;
  margin-top: 10px;
  text-align: center;
  font-weight: bold;
  color: var(--color-white);
}

.to-top-button {
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
  /* ← opacity のみ */
}

.to-top-button:hover {
  opacity: 0.7;
  /* ← 薄くする */
}


/* ボタン本体 */
.purchase-button {
  width: 150px;
  height: 150px;
  position: relative;
  margin: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1.25;
  cursor: pointer;
  border-radius: 100px;
  overflow: hidden;
  background: var(--color-red);
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease;
}

.purchase-button:hover {
  transform: scale(1.08);
  /* ふわっと大きく */
  opacity: 0.8;
}


/* 中の画像 */
.purchase-button img {
  display: block;
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}



/* =======================================
  シェア  
   ======================================= */

/* 全体のレイアウト */
.social-share-buttons {
  text-align: center;
  padding: 10px 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* アイコン横並び */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* 丸いアイコン共通設定 */
.share-button img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* 丸くする */
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* ホバーで少し薄く */
.share-button:hover img {
  opacity: 0.7;
}

/* テキスト部分 */
.share-text {
  font-size: 1.25rem;
  color: var(--color-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* 「シェア」アイコン（小さめ） */
.share-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin: unset;
}


/* =======================================
  footer
   ======================================= */

#index-footer {
  background: var(--color-white);
  padding: 60px 0px 30px 0px;
  text-align: center;
  display: flex;
  flex-flow: column;
  gap: 5px;
  z-index: 5;
  position: relative;
}

.infoLINK {
  color: #5d5d5d;
  text-align: center;
  text-decoration: underline;
  font-size: 0.75rem;
}


#shogakukan {
  padding: 10px;
}

#shogakukan a {
  color: #5d5d5d;
  padding: 4px 6px;
  font-size: 0.825rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  border: 1px solid #5d5d5d;
}


.copy {
  color: #5d5d5d;
  font-size: 0.625rem;
  line-height: 1.5;
  font-family: 'Noto Sans JP';
}




/* =======================================
  スクロールアニメーション
   ======================================= */


.js-scroll {
  opacity: 0;
  transition: opacity 0.8s, transform 0.8s;
}


/* --- 初期位置の定義 --- */
.js-scroll[data-animation="up"] {
  transform: translateY(30px);
}

/* --- 表示時の状態 (アニメーション完了) --- */
.js-scroll.is-active {
  opacity: 1;
  transform: translate(0, 0);
}

/* --- メイン画像用の特別なアニメーション --- */
.js-scroll[data-animation="zoom"] {
  transform: scale(0.95);
}

.js-scroll[data-animation="zoom"].is-active {
  opacity: 1;
  transform: scale(1);
  /* 重厚感を出すため、時間を長く、緩急をつける */
  transition-duration: 1.5s;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 横並びカード3枚を左から順番に */
.feature-cards-container .js-scroll {
  transition: opacity 1.1s, transform 1.1s;
}

/* 1枚目：ディレイなし */
.feature-cards-container .js-scroll:nth-child(1) {
  transition-delay: 0s;
}

/* 2枚目：0.25秒遅れ */
.feature-cards-container .js-scroll:nth-child(2) {
  transition-delay: 0.25s;
}

/* 3枚目：0.5秒遅れ */
.feature-cards-container .js-scroll:nth-child(3) {
  transition-delay: 0.5s;
}


.note {
    font-size: 0.725rem;
    color: var(--color-black2);
    margin: 0.5rem auto 1.5rem;
    letter-spacing: -1.25px;
}

/* 横方向スクロールアニメーション */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* 全体
	--------------------------------- */
.PC {
  display: block;
}

.SP {
  display: none;
}


/* =======================================
   レスポンシブ対応 (Max-width: 767px)
   ======================================= */
@media (max-width: 767px) {



  .top-band img {
    height: 20px;
  }

  /* --- 共通設定 --- */
  .section {
    padding: 20px 0px;
    margin-bottom: 10px;
  }

  .section h2 {
    margin-bottom: 10px;
    font-size: 1.5em;
    /* タイトルを小さく */
  }


  .h2_img {
    height: 40px;
  }


  .sales-links {
    gap: 5px;
  }

  .book-text {
    font-size: 0.6875rem;
    line-height: 1.25;
  }


  .menu-panel {
    right: -60px;
    width: 260px;
    padding: 40px 15px 15px 15px;
  }

  .book-cover-btn-area {
    flex-flow: nowrap;
    width: 280px;
    margin: 0 auto;
  }

  .acd {
    width: 95%;
    margin: auto;
  }

  .start_list_box li button {
    width: 10px;
    height: 10px;
  }

  .point-media {
    border-radius: 5px;
  }

  /* --- セクション 1: 書影 --- */
  .read {
    width: 60%;
    margin-bottom: 5px;
  }

  .hamburger-menu {
    width: 40px;
    height: 40px;
    top: 15px;
    right: 20px;
  }

  .hamburger-menu span {
    width: 40px;
    height: 2px;
  }

  .hamburger-menu.is-open span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
  }

  .hamburger-menu.is-open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.is-open span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
  }

  .menu-panel img {
    height: 25px;
  }


  .book-cover-list {
    gap: 20px;
  }



  /* --- セクション 2: 書籍の特徴 --- */


  .button-purchase {
    width: 100%;
  }


  .upcoming-card {
    width: 95%;
    max-width: unset;
  }

  .feature-cards-container {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin: 1rem auto;
  }

  .feature-card {
    max-width: 100%;
  }

  .feature-text {
    grid-area: text;
  }



  /* --- セクション 3: ポイント --- */
  .point-item {
    flex-direction: column;
    /* 縦並びにする */
    text-align: center;
    gap: 20px;
  }

  .point-media {
    gap: 5px;
    flex: auto;
  }

  .point-description {
    font-size: 0.75rem;
  }

  .prev-btn {
    left: -30px;
  }

  .next-btn {
    right: -30px;
  }


  .nav-btn {
    font-size: 0.75rem;
    width: 40px;
    height: 40px;
  }

  /* --- セクション 4: 全巻リスト --- */
  .book-entry-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .book-entry {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    max-width: 95%;
    text-align: center;
    padding: 20px 0;
    border-radius: 6px;
    margin-bottom: 0px;
  }


  .book-cover-area {
    flex: none;
    width: 100%;
    margin: auto;
    gap: 10px;
  }

  .list-book-cover {
    margin: auto;
    width: 140px;
  }

  .book-sab-box {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }


  .book-title {
    font-size: 1.25rem;
  }

  .sales-link {
    width: 45%;
    font-size: 0.75rem;
    border-radius: 5px;
    height: 40px;
  }

  .book-title-sab {
    font-size: 1rem;
  }

  .series-badge {
    height: 80px;
    margin-top: -20px;
  }

  .series-hex {
    padding: 12px 24px;
  }

  .js-float-main {
    position: fixed;
    right: 0px;
    bottom: 0px;
  }

  .title {
    font-size: 1rem;
  }

  .upcoming-cards-container {
    gap: 15px;
  }

  .purchase-button {
    position: relative;
    width: 90px;
    height: 90px;
    margin-top: 0px;
    font-size: 1.5rem;
  }

  .purchase-button::before {
    inset: 6px;
  }


  .upcoming-card_last {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .upcoming_img {
    width: 110px;
  }

  .to-top-button {
    width: 75px;
    height: 75px;
  }


  .about-section p {
    font-size: 0.75rem;
  }

  .feature-card p {
    font-size: 0.875rem;
    line-height: 1.25;
  }

  .feature-card h3 {
    font-size: 1.5rem;
  }

  .book-hajimete-area {
    flex-direction: column;
    gap: 10px;
  }

  .acd-header {
    height: 70px;
  }

  .book-sab-box {
    flex-direction: column;
  }

  .book-txt {
    font-size: 1.25rem;
  }

  .cover-sab {
    max-width: 120px;
  }

  .label-text {
    font-size: 1rem;
    font-weight: 700;
  }

  /* 既存PCレイアウトそのまま */
  .book-cover-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
  }

  .cp_box1 {
    width: 95%;
  }

  .cp_container {
    gap: 3.5%;
    row-gap: 10px;
    padding: 10px;
  }

  .cp_container li {
    width: 31%;
    gap: 10px;
    padding: unset;
  }


  .book-item img {
    display: block;
    margin: auto;
    transition: transform .25s ease, opacity .25s ease;
    transform-origin: center center;
  }

  /* ホバー/フォーカスで薄く＆拡大（PC想定） */
  .book-item:hover img,
  .book-item:focus-within img {
    opacity: .8;
    transform: scale(1.05);
  }


  #book-covers {
    overflow: hidden;
    /* はみ出しを隠す */
  }

  .book-cover-list {
    --item-width: 40vw;
    --item-gap: 16px;
    --shift: calc(var(--item-width) * 5 + var(--item-gap) * 4);

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--item-gap);

    animation: book-scroll 16s linear infinite;
    will-change: transform;
  }

  .book-item {
    flex: 0 0 var(--item-width);
    max-width: none;
    margin: auto auto 10px auto;
    width: 65%;
  }

  .book-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  .book-item:hover img,
  .book-item:focus-within img {
    opacity: 1;
    transform: none;
  }

.slick-slide img {
    border: 1px solid var(--color-black1);
}

  .sales-links-sab a {
    width: 49%;
  }

  .slick-initialized .slick-slide {
    margin: 5px 5px 0 5px;
  }

  .slick-dots li {
    margin: 5px;
  }

  .slick-prev {
    left: 0px;
  }

  .slick-next {
    right: 15px;
  }

  .title-circle {
    width: 105px;
    height: 105px;
  }


  .button-detail {
    font-size: 0.875rem;
    width: 50%;
    height: 30px;
  }

  .lineup-txt {
    font-size: 0.875rem;
  }

  .title-circle p {
    font-size: 1rem;
  }


  .h2-wrap {
    width: 240px;
    height: 40px;
  }

  .book-cover-list {
    --item-width: 20vw;
    /* 20vw = 画面幅の20% でさらに小さめ */
    --item-gap: 10px;
  }


  .serekiBanner {
    width: 90%;
  }

  section {
    padding: 0.5rem 0;
    margin-bottom: 0;
  }

  .menu-panel a {
    padding: 5px 5px;
    font-size: 1.25rem;
  }

  .no_border {
    width: 280px;
}

.info-separator {
    width: 95%;
}


  /* スクロールアニメーション解除
   ======================================= */

  .feature-cards-container .js-scroll {
    transition-delay: 0s !important;
  }


  /* footer
   ======================================= */

  #index-footer {
    padding: 60px 0px 150px 0px;
  }

  @keyframes book-scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      /* ちょうど1セット分だけ左へ */
      transform: translateX(calc(-1 * var(--shift)));
    }
  }

  /* 全体
	--------------------------------- */
  .PC {
    display: none;
  }

  .SP {
    display: block;
  }

}