:root {
  /* ===== Brand Colors ===== */
  --color-red: #e60012;
  /* 鮮やかな赤 */
  --color-blue: #00a0e1;
  /* 青 */
  --color-yellow: #fabe00;
  /* 明るい黄色 */
  --color-green: #009f41;
  /* ===== Neutral / Gray Scale ===== */
  --color-black1: #000000;
  /* 黒1*/
  --color-black2: #333333;
  /* 黒2 */
  --color-gray: #777777;
  /* 黒2 */
  --color-white: white;
  /* 白 */
}

body {
  font-family:
    "M PLUS 1p",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Meiryo", Verdana, "Roboto",
    sans-serif,
    "Helvetica Neue", Helvetica,
    Arial;
  overflow-x: hidden;
  font-weight: 500;
  padding: 10px;
  box-sizing: border-box;
  background: var(--color-white);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  border: 10px solid #fff;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 9999;
}

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;
}

p,
li {
  color: var(--color-black1);
}

/* =======================================
   ロゴ
   ======================================= */

.site-logos {
  display: flex;
  align-items: center;
  gap: 5px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 15px;
  box-sizing: border-box;
  z-index: 995;
}

.logo-item img {
  display: block;
  height: 35px;
}

/* =======================================
   背景
   ======================================= */


.ptn-bg {
  position: relative;
  overflow: hidden;
}

.ptn-bg::before,
.ptn-bg::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
}

.ptn-bg::before {
  left: 0;
  width: 50%;
  background-image: url("../img/denki.jpg");
  background-repeat: repeat;
  background-position: top right;
  background-size: 20px;
}

.ptn-bg::after {
  right: 0;
  width: 50%;
  background-image: url("../img/mizu.jpg");
  background-repeat: repeat;
  background-position: top left;
  background-size: 20px;
}


.info-separator {
  border: 0;
  height: 2px;
  width: 95%;
  margin: 10px auto;

  background: linear-gradient(to right,
      var(--color-green) 0px,
      var(--color-green) 10px,
      var(--color-red) 10px,
      var(--color-red) 20px,
      var(--color-yellow) 20px,
      var(--color-yellow) 30px,
      var(--color-blue) 30px,
      var(--color-blue) 40px,
      var(--color-black1) 40px,
      var(--color-black1) 100%);
}



/* 共通セクションスタイル */
.section {
  padding: 3.5rem 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-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-black1);
  z-index: -1;
  clip-path: polygon(12px 0,
      calc(100% - 12px) 0,
      100% 12px,
      100% calc(100% - 12px),
      calc(100% - 12px) 100%,
      12px 100%,
      0 calc(100% - 12px),
      0 12px);
}

.h2-wrap::after {
  content: "";
  position: absolute;
  inset: 4px;
  pointer-events: none;
  z-index: 3;
  clip-path: inherit;
  background:
    /* 左上：緑 */
    linear-gradient(135deg,
      transparent calc(50% - 1px),
      var(--color-green) calc(50% - 1px),
      var(--color-green) calc(50% + 1px),
      transparent calc(50% + 1px)) top left / 10px 10px no-repeat,
    /* 右上：赤 */
    linear-gradient(45deg,
      transparent calc(50% - 1px),
      var(--color-red) calc(50% - 1px),
      var(--color-red) calc(50% + 1px),
      transparent calc(50% + 1px)) top right / 10px 10px no-repeat,
    /* 右下：青 */
    linear-gradient(315deg,
      transparent calc(50% - 1px),
      var(--color-blue) calc(50% - 1px),
      var(--color-blue) calc(50% + 1px),
      transparent calc(50% + 1px)) bottom right / 10px 10px no-repeat,
    /* 左下：黄色 */
    linear-gradient(225deg,
      transparent calc(50% - 1px),
      var(--color-yellow) calc(50% - 1px),
      var(--color-yellow) calc(50% + 1px),
      transparent calc(50% + 1px)) bottom left / 10px 10px no-repeat;
}

/* 既存 */
.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 {
  color: var(--color-black1);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.book-info-area a:hover {
  opacity: 0.6;
}

html {
  scroll-behavior: smooth;
}

.book-covers-section {
  padding: 0;
}


/* メイン画像（ぽよん） */
.hero_img {
  max-width: 680px;
  width: 100%;
  margin: auto;
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  animation: mv-pop-img 1.25s cubic-bezier(.25, .75, .35, 1.3) forwards;
}

/* タイトル（ふわっと登場） */
.logo {
  width: 95%;
  margin: -10rem auto -2rem auto;
  display: block;
  max-width: 350px;
  position: relative;
  z-index: 995;
  opacity: 0;
  transform: translateY(10px);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
  animation: mv-pop-title 1.25s ease-out 0.15s forwards;
}

/* ぽよんアニメーション */
@keyframes mv-pop-img {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }

  60% {
    opacity: 1;
    transform: scale(1.05) translateY(-6px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* タイトルの浮上 */
@keyframes mv-pop-title {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.levelup {
  max-width: 620px;
  width: 100%;
  margin: auto;
}

.levelup img {
  margin: auto;
  display: block;
}



/* =======================================
   ハンバーガー
   ======================================= */


.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;
}

.hamburger-menu span {
  width: 60px;
  height: 6px;
  background: var(--color-black1);
  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: #000;
  border: none;
  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;
  clip-path: polygon(20px 0,
      calc(100% - 20px) 0,
      100% 20px,
      100% calc(100% - 20px),
      calc(100% - 20px) 100%,
      20px 100%,
      0 calc(100% - 20px),
      0 20px);
}

/* 内側：黄色の八角形（黒線4px想定） */
.menu-panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--color-yellow);
  z-index: -1;
  clip-path: polygon(16px 0,
      calc(100% - 16px) 0,
      100% 16px,
      100% calc(100% - 16px),
      calc(100% - 16px) 100%,
      16px 100%,
      0 calc(100% - 16px),
      0 16px);
}

.menu-panel::after {
  content: "";
  position: absolute;
  inset: 2px;
  pointer-events: none;
  z-index: 3;
  clip-path: inherit;
  background:
    /* 左上：緑 */
    linear-gradient(135deg,
      transparent calc(50% - 1.5px),
      var(--color-green) calc(50% - 1.5px),
      var(--color-green) calc(50% + 1.5px),
      transparent calc(50% + 1.5px)) top left / 21px 21px no-repeat,
    /* 右上：赤 */
    linear-gradient(45deg,
      transparent calc(50% - 1.5px),
      var(--color-red) calc(50% - 1.5px),
      var(--color-red) calc(50% + 1.5px),
      transparent calc(50% + 1.5px)) top right / 21px 21px no-repeat,
    /* 右下：青 */
    linear-gradient(315deg,
      transparent calc(50% - 1.5px),
      var(--color-blue) calc(50% - 1.5px),
      var(--color-blue) calc(50% + 1.5px),
      transparent calc(50% + 1.5px)) bottom right / 21px 21px no-repeat,
    /* 左下：黄色 */
    linear-gradient(225deg,
      transparent calc(50% - 1.5px),
      var(--color-yellow) calc(50% - 1.5px),
      var(--color-yellow) calc(50% + 1.5px),
      transparent calc(50% + 1.5px)) bottom left / 21px 21px no-repeat;
}

.menu-panel img {
  max-width: 100%;
  height: 30px;
}

/* 開いている状態 */
.menu-panel.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease,
    visibility 0s;
}


.read {
  margin: 10px auto;
  max-width: 420px;
  width: 80%;
}

.pair-block {
  display: flex;
  gap: 24px;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
}

.pair-item {
  display: flex;
  flex-direction: row;
  gap: 0;
}


.pair-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 縦長画像をトリミングして面で見せる */
  object-position: center;
  border: 1px solid var(--color-black1);
}

.pair-body {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  box-sizing: border-box;
  background: #fff;
  gap: 15px;
}

.pair-text {
  margin: auto;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 800;
  text-align: center;
}

.pair-text span {
  font-size: 2rem;
  font-weight: 900;
}

.pair-item--a {
  flex-direction: row-reverse;

}



/* =======================================
   スライダー
   ======================================= */

.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: 15px;
  height: 15px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0);
  background-color: var(--color-gray);
}

.slick-dots li.slick-active button {
  background-color: var(--color-yellow);
}

.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%);
  filter: grayscale(1) brightness(0);
}

.slick-next {
  right: calc(50% - (min(700px, 100vw) / 2) - 35px);
  transform: translateX(50%);
  filter: grayscale(1) brightness(0);
}

.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%;
}




/* リスト */
.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;
  text-decoration: none;
  color: var(--color-black1);
  font-weight: 600;
  background: transparent;
  border-radius: 6px;
  transition:
    background-color .25s ease,
    color .25s ease;
}

/* 画像のフェード用トランジション */
.menu-panel a img {
  display: block;
  transition: transform .25s ease, opacity .25s ease;
  will-change: transform, opacity;
}

/* ホバー/キーボードフォーカス時：背景白＆画像フェード */
.menu-panel a:hover,
.menu-panel a:focus-visible {
  background: #fff;
}

.menu-panel a:hover img,
.menu-panel a:focus-visible img {
  opacity: .78;
  transform: scale(1.05);
}




/* アニメ苦手設定の配慮 */
@media (prefers-reduced-motion: reduce) {
  .menu-panel {
    transition: none;
  }

  .hamburger-menu span {
    transition: none;
  }
}




/* 画像（中央配置） */
.banner-image {
  max-width: 600px;
  height: auto;
  display: block;
  z-index: 1;
  width: 95%;
}


/* セクション1: 書影 */
.book-cover-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  text-align: center;
}

.book-item {
  max-width: 200px;
}

.book-item img {
  display: block;
  margin: auto;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center center;
  border: 2px solid var(--color-black1);
}

/* ホバー/フォーカスで薄く＆拡大 */
.book-item:hover img,
.book-item:focus-within img {
  opacity: .8;
  /* 0.6〜0.9で調整 */
  transform: scale(1.05);
  /* 1.03〜1.08が無難 */
}





.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-red);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  margin: auto;
  transition: background-color 0.25s ease, transform 0.1s ease;
  clip-path: polygon(6% 0%, 94% 0%, 100% 50%, 94% 100%, 6% 100%, 0% 50%);
}

.button-detail:hover {
  background-color: color-mix(in srgb, var(--color-red) 80%, white 20%);
  transform: translateY(2px);
  /* 少し下に移動 */
}

.button-detail:active {
  transform: translateY(3px);
  /* クリック中はさらに押し込む感じ（任意） */
}


.button-detail-sab {
  margin: auto 20px;
}

.title {
  margin: auto;
  width: 80%;
  max-width: 540px;
}

.about-section {
  background-color: var(--color-yellow);
  text-align: center;
  margin: auto;
}

.title img {
  margin: auto;
  width: 80%;
  max-width: 540px;
}

.about-section p {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.75;
}


/* セクション2: 書籍の特長 */

.features-section {
  position: relative;
  text-align: center;
  margin: auto;
}

/* セクションタイトル */
.features-section h2 {
  color: var(--color-red);
  font-size: 2rem;
  margin-bottom: 3rem;
}

/* リード文 */
.lead {
  max-width: 940px;
  margin: 0 auto 2rem;
  color: var(--color-black2);
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 700;
}

/* カード全体：横並び */
.feature-cards-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 80%;
  max-width: 1080px;
  margin: 2rem auto;
}

/* 各カード */
.feature-card {
  flex: 1;
  max-width: 320px;
  padding: 20px 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  position: relative;
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  clip-path: polygon(20px 0,
      calc(100% - 20px) 0,
      100% 20px,
      100% calc(100% - 20px),
      calc(100% - 20px) 100%,
      20px 100%,
      0 calc(100% - 20px),
      0 20px);
  z-index: 0;
}

/* 内側の白い八角形（黒線2px相当） */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: #fff;
  clip-path: polygon(18px 0,
      calc(100% - 18px) 0,
      100% 18px,
      100% calc(100% - 18px),
      calc(100% - 18px) 100%,
      18px 100%,
      0 calc(100% - 18px),
      0 18px);
  z-index: -1;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 3px;
  pointer-events: none;
  z-index: 1;
  clip-path: inherit;
  background:
    /* 左上：緑 */
    linear-gradient(135deg,
      transparent calc(50% - 2px),
      var(--color-green) calc(50% - 2px),
      var(--color-green) calc(50% + 2px),
      transparent calc(50% + 2px)) top left / 20px 20px no-repeat,
    /* 右上：赤 */
    linear-gradient(45deg,
      transparent calc(50% - 2px),
      var(--color-red) calc(50% - 2px),
      var(--color-red) calc(50% + 2px),
      transparent calc(50% + 2px)) top right / 20px 20px no-repeat,
    /* 右下：青 */
    linear-gradient(315deg,
      transparent calc(50% - 2px),
      var(--color-blue) calc(50% - 2px),
      var(--color-blue) calc(50% + 2px),
      transparent calc(50% + 2px)) bottom right / 20px 20px no-repeat,
    /* 左下：黄色 */
    linear-gradient(225deg,
      transparent calc(50% - 2px),
      var(--color-yellow) calc(50% - 2px),
      var(--color-yellow) calc(50% + 2px),
      transparent calc(50% + 2px)) bottom left / 20px 20px no-repeat;
}


/* 中身を前面に */
.feature-card>* {
  position: relative;
  z-index: 1;
}


/* 上部レベル画像 */
.feature-img--top img {
  display: block;
  max-width: 160px;
  height: auto;
  margin: 0 auto 5px;
}

/* 中央テキスト（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-img--bottom {
  margin-top: 10px;
  position: relative;
}

.feature-img--bottom img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid black;
  transition: opacity .25s ease;
}

.feature-img--bottom img:hover {
  opacity: 0.7;
}



/* 右下に小さい別画像を重ねる */
.feature-img--bottom::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 13px;
  width: 25px;
  height: 25px;
  background-image: url("../img/magnifier.png");
  /* 差し替え */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}



.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.5rem;
  text-align: center;
  line-height: 1.25;
  margin: 0;
  font-weight: 800;
  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: ムービー */
.movie-box {
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16/9;
  margin: auto;
}

.movie-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* 余白対策 */
}



/* セクション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;
  max-width: 850px;
  margin: 0 auto 30px;
  box-sizing: border-box;
  color: var(--color-black1);
  background: var(--color-black1);
  clip-path: polygon(20px 0,
      calc(100% - 20px) 0,
      100% 20px,
      100% calc(100% - 20px),
      calc(100% - 20px) 100%,
      20px 100%,
      0 calc(100% - 20px),
      0 20px);
}

/* 内側の白い八角形 */
.book-entry::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--color-white);
  clip-path: polygon(18px 0,
      calc(100% - 18px) 0,
      100% 18px,
      100% calc(100% - 18px),
      calc(100% - 18px) 100%,
      18px 100%,
      0 calc(100% - 18px),
      0 18px);
  z-index: 0;
}

/* 角ライン（各色はお好みで変更） */
.book-entry::after {
  content: "";
  position: absolute;
  inset: 3px;
  pointer-events: none;
  z-index: 1;
  clip-path: inherit;
  background:
    /* 左上：緑 */
    linear-gradient(135deg,
      transparent calc(50% - 2px),
      var(--color-green) calc(50% - 2px),
      var(--color-green) calc(50% + 2px),
      transparent calc(50% + 2px)) top left / 20px 20px no-repeat,
    /* 右上：赤 */
    linear-gradient(45deg,
      transparent calc(50% - 2px),
      var(--color-red) calc(50% - 2px),
      var(--color-red) calc(50% + 2px),
      transparent calc(50% + 2px)) top right / 20px 20px no-repeat,
    /* 右下：青 */
    linear-gradient(315deg,
      transparent calc(50% - 2px),
      var(--color-blue) calc(50% - 2px),
      var(--color-blue) calc(50% + 2px),
      transparent calc(50% + 2px)) bottom right / 20px 20px no-repeat,
    /* 左下：黄色 */
    linear-gradient(225deg,
      transparent calc(50% - 2px),
      var(--color-yellow) calc(50% - 2px),
      var(--color-yellow) calc(50% + 2px),
      transparent calc(50% + 2px)) bottom left / 20px 20px no-repeat;
}



/* 中身を前面に */
.book-entry>* {
  position: relative;
  z-index: 2;
}


.book-cover-area {
  text-align: justify;
  display: flex;
  flex-direction: column;
}

.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, #222);
  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: 10px;
  width: 100%;
  justify-content: center;
}

.sales-link {
  font-weight: 500;
  line-height: 1.125;
  padding: 5px 10px;
  font-size: 0.85rem;
  width: 32%;
  height: 50px;
  color: var(--color-black1, #222);
  background-color: var(--color-black1, #222);
  /* 外側：黒 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  transition: opacity .15s ease;

  position: relative;
  box-sizing: border-box;
  /* 外側の黒い八角形（角5px） */
  clip-path: polygon(5px 0,
      calc(100% - 5px) 0,
      100% 5px,
      100% calc(100% - 5px),
      calc(100% - 5px) 100%,
      5px 100%,
      0 calc(100% - 5px),
      0 5px);
  z-index: 0;
}

/* 内側の白い八角形（黒フチ1pxぶん内側） */
.sales-link::before {
  content: "";
  position: absolute;
  inset: 2px;
  background-color: var(--color-white, #fff);
  clip-path: polygon(4px 0,
      calc(100% - 4px) 0,
      100% 4px,
      100% calc(100% - 4px),
      calc(100% - 4px) 100%,
      4px 100%,
      0 calc(100% - 4px),
      0 4px);
  z-index: -1;
}


/* ホバー時 */
.sales-link:hover {
  opacity: 0.8;
}

.sales-link img {
  height: 38px;
}

.sales-links-sab a {
  width: 195px;
}

/* =======================================
 追従するボタン
   ======================================= */



/* 追従するボタン（固定表示） */
.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: 65px;
  height: 65px;
  background-color: var(--color-yellow);
  color: var(--color-white);
  border-radius: 50%;
  /* 丸ボタン */
  display: flex;
  flex-direction: column;
  /* 矢印の下にテキスト */
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 2px solid #fff;
  font-size: 0.825rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.35s ease,
    color 0.35s ease;
}

/* 上矢印をテキストの上に表示 */
.to-top-button::before {
  content: "▲";
  font-size: 0.75rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
}

.to-top-button:hover {
  background-color: color-mix(in srgb, var(--color-yellow) 85%, white 15%);
}

.to-top-button:active {
  transform: scale(0.98) translateY(1px);
}

/* ラッパー：光演出担当 */
.purchase-button-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  clip-path: polygon(30% 0%, 70% 0%,
      100% 30%, 100% 70%,
      70% 100%, 30% 100%,
      0% 70%, 0% 30%);
  animation: purchase-attention 1.8s ease infinite;
  transform-origin: center center;
}

/* ずっと「押して」とアピールする揺れアニメ */
@keyframes purchase-attention {
  0% {
    transform: translateY(0) scale(1);
  }

  20% {
    transform: translateY(-4px) scale(1.02);
  }

  40% {
    transform: translateY(0) scale(1);
  }

  60% {
    transform: translateY(-2px) scale(1.03);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}



/* 光のスライド＋外側グロー */
.purchase-button-wrap::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.8) 18%,
      rgba(255, 255, 255, 0.0) 55%);
  transform: translateX(-140%) rotate(20deg);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
  z-index: 1;
}

.purchase-button-wrap:hover::before {
  transform: translateX(140%) rotate(20deg);
  opacity: 1;
}

/* ボタン本体：八角形＋フチ＋四隅ライン担当 */
.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;
  overflow: hidden;

  background: #000;
  clip-path: polygon(30% 0%, 70% 0%,
      100% 30%, 100% 70%,
      70% 100%, 30% 100%,
      0% 70%, 0% 30%);

  transform: scale(1);
  transition:
    filter 0.2s ease,
    background-color 0.35s ease,
    color 0.35s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* 内側：赤い八角形（黒フチ用） */
.purchase-button::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: var(--color-red);
  clip-path: inherit;
  z-index: -1;
}

/* 四隅の斜めライン（3px） */
.purchase-button::after {
  content: "";
  position: absolute;
  inset: 4px;
  pointer-events: none;
  z-index: 3;
  clip-path: inherit;
  background:
    /* 左上：緑 */
    linear-gradient(135deg,
      transparent calc(50% - 1px),
      var(--color-green) calc(50% - 1px),
      var(--color-green) calc(50% + 1px),
      transparent calc(50% + 1px)) top left / 45px 45px no-repeat,
    /* 右上：赤 */
    linear-gradient(45deg,
      transparent calc(50% - 1px),
      var(--color-red) calc(50% - 1px),
      var(--color-red) calc(50% + 1px),
      transparent calc(50% + 1px)) top right / 45px 45px no-repeat,
    /* 右下：青 */
    linear-gradient(315deg,
      transparent calc(50% - 1px),
      var(--color-blue) calc(50% - 1px),
      var(--color-blue) calc(50% + 1px),
      transparent calc(50% + 1px)) bottom right / 45px 45px no-repeat,
    /* 左下：黄色 */
    linear-gradient(225deg,
      transparent calc(50% - 1px),
      var(--color-yellow) calc(50% - 1px),
      var(--color-yellow) calc(50% + 1px),
      transparent calc(50% + 1px)) bottom left / 45px 45px no-repeat;
}

/* 中身を前面に */
.purchase-button>* {
  position: relative;
  z-index: 2;
}

/* ホバー時の動き＋外側グロー */
.purchase-button-wrap:hover .purchase-button {
  transform: translateY(-3px) scale(1.08);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(255, 80, 80, 0.9);
  filter: brightness(1.05);
}

/* 中の画像 */
.purchase-button img {
  display: block;
  max-width: 75%;
  max-height: 75%;
  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;
}


/* =======================================
  footer
   ======================================= */

.site-footer {
  padding: 20px;
  text-align: center;
}


#index-footer {
  background: var(--color-white);
  padding: 60px 0px 30px 0px;
  text-align: center;
  display: flex;
  flex-flow: column;
  gap: 5px;
}

.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.5s;
}

/* 3枚目：0.5秒遅れ */
.feature-cards-container .js-scroll:nth-child(3) {
  transition-delay: 1s;
}


/* =======================================
   モーダル
   ======================================= */

/* モーダル背景のスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

/* モーダルコンテンツのスタイル */
.modal-content {
  margin: 50px auto;
  padding: 20px;
  width: 100%;
  height: auto;
  max-width: 1080px;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.close {
  color: white;
  font-size: 100px;
  position: absolute;
  top: -33px;

  z-index: 1000;
  right: 25px;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
}

#ph-img {
  width: 100%;
  height: 100%;
}

#ph-img img {
  border: 2px solid var(--color-black1);
}

/* 全体
	--------------------------------- */
.PC {
  display: block;
}

.SP {
  display: none;
}


/* =======================================
   レスポンシブ対応 (Max-width: 767px)
   ======================================= */
@media (max-width: 767px) {

  .site-logos {
    gap: 5px;
    position: absolute;
  }

  .logo-item img {
    height: 24px;
  }

  .hero_img {
    margin: 40px auto auto auto;
  }

  /* --- 共通設定 --- */
  .section {
    padding: 20px 0px;
    margin-bottom: 10px;
  }

  .section h2 {
    margin-bottom: 10px;
    font-size: 1.5em;
    /* タイトルを小さく */
  }

  .logo {
    width: 60%;
    margin: -5rem auto -1rem auto;
  }

  .h2_img {
    height: 40px;
  }

  .lead {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
  }

  .sales-links {
    gap: 5px;
  }

  .book-text {
    font-size: 0.6875rem;
    line-height: 1.25;
  }


  .menu-panel {
    right: -60px;
    width: 255px;
    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: 12px;
    height: 12px;
  }

  .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: 4px;
  }

  .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;
    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: 100%;
    text-align: center;
    padding: 20px 0;
    border-radius: 10px;
    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.5rem;
  }

  .sales-link {
    width: 45%;
    font-size: 0.75rem;
    border-radius: 5px;
    height: 40px;
  }

  .sales-link img {
    height: 30px;
  }

  .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;
  }

  .purchase-button::after {
    inset: 2px;
    background:
      /* 左上：緑 */
      linear-gradient(135deg, transparent calc(50% - 1px),
        var(--color-green) calc(50% - 1px),
        var(--color-green) calc(50% + 1px), transparent calc(50% + 1px)) top left / 27px 27px no-repeat,
      /* 右上：赤 */
      linear-gradient(45deg, transparent calc(50% - 1px),
        var(--color-red) calc(50% - 1px),
        var(--color-red) calc(50% + 1px), transparent calc(50% + 1px)) top right / 27px 27px no-repeat,
      /* 右下：青 */
      linear-gradient(315deg, transparent calc(50% - 1px),
        var(--color-blue) calc(50% - 1px),
        var(--color-blue) calc(50% + 1px), transparent calc(50% + 1px)) bottom right / 27px 27px no-repeat,
      /* 左下：黄色 */
      linear-gradient(225deg, transparent calc(50% - 1px),
        var(--color-yellow) calc(50% - 1px),
        var(--color-yellow) calc(50% + 1px), transparent calc(50% + 1px)) bottom left / 27px 27px no-repeat;
  }

  .upcoming-card_last {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .upcoming_img {
    width: 110px;
  }

  .to-top-button {
    width: 55px;
    height: 55px;
    margin-bottom: 5px;
  }

  .mh-sub {
    font-size: 0.875rem;
  }

  .dora_link {
    width: 95%;
  }

  .top-band {
    height: 10px;
  }

  .book-page,
  .book-page.active {
    border-radius: 5px;
  }

  .about-section p {
    font-size: 0.75rem;
  }

  .feature-card p {
    font-size: 1.25rem;
    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;
  }

  .cover-sab {
    max-width: 120px;
  }




  .book-item img {
    display: block;
    margin: auto;
    transition: transform .25s ease, opacity .25s ease;
    transform-origin: center center;
    width: 100%;
    height: auto;
  }



  #book-covers {
    overflow: hidden;
    /* はみ出しを隠す */
  }

  .book-cover-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
    --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: 80%;
  }


  .book-item:hover img,
  .book-item:focus-within img {
    opacity: 1;
    transform: none;
  }



  .sales-links-sab a {
    width: 49%;
  }

  .slick-initialized .slick-slide {
    margin: 5px 5px 0 5px;
  }

  .slick-dots li {
    margin: 5px;
  }

  .slick-prev {
    left: -7px;
  }

  .slick-next {
    right: 7px;
  }


  .button-detail {
    font-size: 1rem;
    width: 100%;
    height: 30px;
  }

  /* トップ書影
   ======================================= */

  .pair-block {
    flex-direction: row;
    gap: 10px;
    padding: 0px;
    margin: 20px 0;
  }

  .pair-item {
    flex-direction: column;
    width: 50%;
  }



  .pair-text span {
    font-size: 0.75rem;
  }

  .pair-body {
    padding: 0px;
    gap: 5px;
  }

  .pair-text {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .h2-wrap {
    width: 240px;
    height: 40px;
  }

  .feature-img--top img {
    margin: 0 auto 2px;
  }

  .feature-img--bottom {
    margin-top: 5px;
  }

  .flx-clm {
    flex-direction: column;
    width: 100%;
    max-width: 150px;
    gap: 5px;
  }


  /* モーダル
   ======================================= */

  .modal-content {
    width: 100%;
    height: 70%;
    border-radius: 0;
    padding: 15px;
    margin: 15px auto;
  }

  .mdl-nav {
    top: unset;
    bottom: 0;
    transform: unset;
  }

  .close {
    color: white;
    font-weight: bold;
    top: unset;
    right: unset;
    left: 50%;
    transform: translateX(-50%);
  }

  /* スクロールアニメーション解除
   ======================================= */

  .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;
  }

}