@charset "UTF-8";

/* =========================================================
   スタイルノート 新刊LP  共通スタイルシート
   - このファイル1枚で 3ページ（index / cubase / ongakuka）を賄います
   - 色や余白は「変数」で管理しています（--で始まる名前）
   ========================================================= */

/* ---------- 1. リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; }

/* ---------- 2. 共通トークン ---------- */
:root {
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --lat: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --gut: clamp(20px, 5vw, 40px);
  --r-lg: 20px;
  --r-md: 12px;
  --r-pill: 999px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 3. テーマ ---------- */

/* 3-1. Cubase（ダーク／レッド×シアン） */
.theme-cubase {
  --bg:        #0b0d12;
  --bg-2:      #11141c;
  --bg-3:      #171b26;
  --line:      rgba(255,255,255,.12);
  --line-soft: rgba(255,255,255,.07);
  --fg:        #f2f4f8;
  --fg-2:      #a8b0c0;
  --fg-3:      #6e7789;
  --acc:       #e5142b;   /* 表紙の赤 */
  --acc-2:     #5fc8de;   /* 表紙の水色 */
  --acc-ink:   #ffffff;
  --card:      rgba(255,255,255,.045);
  --card-hover:rgba(255,255,255,.075);
  --shadow:    0 30px 80px rgba(0,0,0,.6);
  --head-font: var(--sans);
}

/* 3-2. 音楽科教員（ライト／藍×若草） */
.theme-edu {
  --bg:        #f7f6f2;
  --bg-2:      #ffffff;
  --bg-3:      #eef2f2;
  --line:      rgba(27,42,51,.16);
  --line-soft: rgba(27,42,51,.08);
  --fg:        #1b2a33;
  --fg-2:      #4c6069;
  --fg-3:      #82949c;
  --acc:       #2e6c86;   /* 表紙の藍 */
  --acc-2:     #8fb09a;   /* 表紙の若草 */
  --acc-ink:   #ffffff;
  --card:      #ffffff;
  --card-hover:#ffffff;
  --shadow:    0 24px 60px rgba(27,42,51,.14);
  --head-font: var(--serif);
}

/* 3-3. トップ（ハブ）：ダークをベースに中間色 */
.theme-hub {
  --bg:        #0c0e13;
  --bg-2:      #12151d;
  --bg-3:      #181c26;
  --line:      rgba(255,255,255,.13);
  --line-soft: rgba(255,255,255,.07);
  --fg:        #f4f5f8;
  --fg-2:      #aab2c2;
  --fg-3:      #737c8e;
  --acc:       #e5142b;
  --acc-2:     #5fc8de;
  --acc-ink:   #ffffff;
  --card:      rgba(255,255,255,.05);
  --card-hover:rgba(255,255,255,.08);
  --shadow:    0 30px 80px rgba(0,0,0,.6);
  --head-font: var(--sans);
}

/* ---------- 4. ベース ---------- */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  letter-spacing: .02em;
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }
.section--alt { background: var(--bg-2); }

.eyebrow {
  font-family: var(--lat);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--acc-2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  flex: none;
}

.h2 {
  font-family: var(--head-font);
  font-size: clamp(26px, 4.4vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
  margin-top: 18px;
}
.theme-cubase .h2, .theme-hub .h2 { font-weight: 900; }

.lead {
  color: var(--fg-2);
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 2.1;
  margin-top: 20px;
  max-width: 62ch;
}

.accent { color: var(--acc); }
.accent-2 { color: var(--acc-2); }

/* ---------- 5. ヘッダー ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.site-head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity .25s var(--ease);
}
.brand:hover { opacity: .72; }
.brand img {
  display: block;
  height: 19px;
  width: auto;
}
.brand--foot img { height: 26px; }
.head-nav { display: flex; align-items: center; gap: 8px; }
.head-link {
  font-size: 13px;
  color: var(--fg-2);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.head-link:hover { color: var(--fg); background: var(--card); }
@media (max-width: 640px) { .head-link--hide-sp { display: none; } }

/* ---------- 6. ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn__arrow { transition: transform .3s var(--ease); flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--acc);
  color: var(--acc-ink);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--acc) 35%, transparent);
}
.btn--primary:hover { box-shadow: 0 16px 40px color-mix(in srgb, var(--acc) 45%, transparent); }

.btn--amazon {
  background: #ff9900;
  color: #10161c;
  box-shadow: 0 10px 30px rgba(255,153,0,.28);
}
.btn--amazon:hover { box-shadow: 0 16px 40px rgba(255,153,0,.4); }

.btn--ghost {
  border-color: var(--line);
  color: var(--fg);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--fg-2); background: var(--card); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
@media (max-width: 560px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

.btn-note {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 14px;
  line-height: 1.7;
}

/* ---------- 7. ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 104px) 0 clamp(64px, 10vw, 120px);
}
.hero__in {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .cover { max-width: 320px; margin-inline: auto; perspective: none; }
  .cover__img,
  .cover:hover .cover__img { transform: none; }
  .cover::after,
  .cover:hover::after { transform: none; }
  .theme-edu .cover__img,
  .theme-edu .cover:hover .cover__img { transform: none; }
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--fg-2);
}
.tag--hot {
  background: var(--acc);
  border-color: transparent;
  color: var(--acc-ink);
}

.hero__title {
  font-family: var(--head-font);
  font-size: clamp(30px, 5.6vw, 48px);
  line-height: 1.3;
  letter-spacing: -.005em;
  margin-top: 22px;
  font-weight: 700;
}
.theme-cubase .hero__title, .theme-hub .hero__title { font-weight: 900; letter-spacing: -.02em; }

.hero__sub {
  font-size: clamp(15px, 2.1vw, 20px);
  font-weight: 700;
  line-height: 1.8;
  color: var(--acc-2);
  margin-top: 18px;
}
.theme-edu .hero__sub { color: var(--acc); font-family: var(--serif); }

.hero__lead {
  color: var(--fg-2);
  margin-top: 22px;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2.1;
  max-width: 50ch;
}
.hero__author {
  margin-top: 26px;
  font-size: 14px;
  color: var(--fg-3);
  letter-spacing: .06em;
}
.hero__author b {
  color: var(--fg);
  font-size: 18px;
  letter-spacing: .1em;
  margin-right: 8px;
}

/* 書影 */
.cover {
  position: relative;
  perspective: 1400px;
  padding: 10px;
}
.cover__img {
  width: 100%;
  border-radius: 4px;
  transform: rotateY(-13deg) rotateX(3deg) rotateZ(-1deg);
  transform-origin: 60% 50%;
  box-shadow: var(--shadow), 0 2px 0 rgba(255,255,255,.14);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.cover:hover .cover__img { transform: rotateY(-4deg) rotateX(1deg) translateY(-8px); }
.cover::after {
  /* 背表紙の陰影
     2026-09-20 修正：もとは 100deg（少し斜め）だったが、書影の高さが570pxほどあるため
     上と下で影の位置が100pxほどずれ、左上に三角形の影が見えていた。
     90deg（まっすぐ）にして、左端の細い帯だけにしている。 */
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 4px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.30) 0 1.8%, rgba(255,255,255,.14) 1.8% 3%, transparent 7%);
  transform: rotateY(-13deg) rotateX(3deg) rotateZ(-1deg);
  transform-origin: 60% 50%;
  transition: transform .8s var(--ease);
}
.cover:hover::after { transform: rotateY(-4deg) rotateX(1deg) translateY(-8px); }

.cover__glow {
  position: absolute;
  inset: -14% -10%;
  z-index: -1;
  filter: blur(60px);
  opacity: .55;
  background:
    radial-gradient(45% 45% at 30% 30%, var(--acc) 0, transparent 70%),
    radial-gradient(45% 45% at 72% 68%, var(--acc-2) 0, transparent 70%);
}
.theme-edu .cover__glow { opacity: .3; filter: blur(70px); }

/* 明るいテーマでは「背表紙の陰影」を使わない。
   書影の傾き（-8deg）と陰影の傾き（-13deg）が食い違い、
   左上に灰色の三角形がはみ出して見えてしまうため。 */
.theme-edu .cover::after,
.theme-edu .cover:hover::after { display: none; }

.theme-edu .cover__img { transform: rotateY(-8deg) rotateX(2deg); }
.theme-edu .cover:hover .cover__img { transform: rotateY(-2deg) translateY(-8px); }

/* ヒーロー背景（ダーク系） */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(50% 45% at 18% 12%, color-mix(in srgb, var(--acc) 26%, transparent) 0, transparent 70%),
    radial-gradient(45% 45% at 84% 28%, color-mix(in srgb, var(--acc-2) 20%, transparent) 0, transparent 70%);
  filter: blur(10px);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 0, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 0, transparent 100%);
  opacity: .8;
}

/* 五線譜（ライト系ヒーロー背景） */
.hero__staff {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--line-soft) 0 1px,
    transparent 1px 18px
  );
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 62%, transparent 100%);
  opacity: .9;
}
.hero__wash {
  position: absolute;
  right: -12%;
  top: -22%;
  width: 62vw;
  max-width: 780px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    color-mix(in srgb, var(--acc-2) 55%, transparent) 0,
    color-mix(in srgb, var(--acc) 22%, transparent) 55%,
    transparent 72%);
  filter: blur(30px);
  opacity: .5;
}

/* イコライザー帯（Cubase用） */
.eq {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 92px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding-inline: 4px;
  opacity: .5;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.eq i {
  flex: 1 1 auto;
  min-width: 3px;
  background: linear-gradient(to top, var(--acc), var(--acc-2));
  border-radius: 2px 2px 0 0;
  height: 20%;
  animation: eqbeat 1.6s var(--ease) infinite alternate;
}
@keyframes eqbeat { to { height: 90%; } }
@media (prefers-reduced-motion: reduce) {
  .eq i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 8. カード ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(32px, 5vw, 54px);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(32px, 5vw, 54px);
}
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--acc) 45%, transparent);
  background: var(--card-hover);
}
.card__num {
  font-family: var(--lat);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--acc);
}
.card__title {
  font-family: var(--head-font);
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 700;
  line-height: 1.6;
  margin-top: 12px;
}
.card__body {
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 2;
  margin-top: 12px;
}

/* チェックリスト */
.checks { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 12px; }
.check {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line-soft);
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.8;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.check:hover { border-color: color-mix(in srgb, var(--acc) 40%, transparent); transform: translateX(4px); }
.check__mark {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--acc) 16%, transparent);
  color: var(--acc);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  margin-top: 4px;
}

/* 引用（帯コピー） */
.pull {
  font-family: var(--head-font);
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: .01em;
}
.theme-edu .pull { font-weight: 600; }
.pull small {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--fg-3);
  margin-bottom: 18px;
}

/* ---------- 9. 書誌情報 ---------- */
.spec {
  margin-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.spec tr { border-bottom: 1px solid var(--line-soft); }
.spec th, .spec td {
  text-align: left;
  padding: 16px 8px;
  font-size: 14.5px;
  vertical-align: top;
}
.spec th {
  width: 132px;
  color: var(--fg-3);
  font-weight: 500;
  letter-spacing: .08em;
}
.spec td { color: var(--fg); }
.spec .price {
  font-family: var(--lat);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
}
@media (max-width: 520px) {
  .spec th { width: 96px; font-size: 13px; }
  .spec td { font-size: 14px; }
}

/* ---------- 10. CTA帯 ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(36px, 6vw, 72px);
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
}
.cta::before {
  content: "";
  position: absolute;
  inset: -60% -20% auto -20%;
  height: 200%;
  background:
    radial-gradient(40% 50% at 15% 30%, color-mix(in srgb, var(--acc) 30%, transparent) 0, transparent 70%),
    radial-gradient(40% 50% at 85% 60%, color-mix(in srgb, var(--acc-2) 26%, transparent) 0, transparent 70%);
  pointer-events: none;
}
.cta__in { position: relative; z-index: 1; }
.cta__title {
  font-family: var(--head-font);
  font-size: clamp(24px, 3.8vw, 38px);
  font-weight: 900;
  line-height: 1.45;
}
.theme-edu .cta__title { font-weight: 700; }

/* ---------- 11. もう1冊 / フッター ---------- */
.crossbook {
  display: flex;
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--card);
  text-decoration: none;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.crossbook:hover {
  border-color: color-mix(in srgb, var(--acc) 45%, transparent);
  transform: translateY(-3px);
  background: var(--card-hover);
}
.crossbook img {
  width: clamp(74px, 12vw, 104px);
  flex: none;
  border-radius: 3px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.crossbook__label {
  font-family: var(--lat);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--acc-2);
  font-weight: 600;
}
.crossbook__title {
  font-family: var(--head-font);
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 8px;
}
.crossbook__sub {
  color: var(--fg-3);
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.7;
}

.site-foot {
  border-top: 1px solid var(--line-soft);
  padding: clamp(40px, 6vw, 64px) 0 clamp(32px, 5vw, 48px);
  background: var(--bg);
}
.site-foot__in {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a {
  font-size: 13.5px;
  color: var(--fg-2);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.foot-links a:hover { color: var(--acc-2); text-decoration: underline; text-underline-offset: 4px; }
.copyright {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 26px;
  letter-spacing: .04em;
}

/* ---------- 12. スクロール表示アニメーション ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 13. トップページ（2冊並列） ---------- */
.hub-hero {
  padding: clamp(64px, 11vw, 132px) 0 clamp(24px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hub-hero .eyebrow { justify-content: center; position: relative; z-index: 2; }
.hub-hero__title {
  font-size: clamp(30px, 5.6vw, 60px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.02em;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}
.hub-hero__lead {
  color: var(--fg-2);
  margin: 22px auto 0;
  max-width: 46ch;
  font-size: clamp(14px, 1.7vw, 16.5px);
  line-height: 2.1;
  position: relative;
  z-index: 2;
}

/* 冊数が増えても自動で並び替わる。2冊なら2列、3冊以上なら3列。 */
.books {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(18px, 2.6vw, 30px);
  align-items: stretch;
}

.book {
  position: relative;
  border-radius: clamp(18px, 2.6vw, 28px);
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.book:hover { transform: translateY(-6px); }
.book--a { --acc: #e5142b; --acc-2: #5fc8de; }
.book--b { --acc: #6ea6c0; --acc-2: #9dc0a8; }
.book:hover { border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.book::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto -20%;
  height: 150%;
  background: radial-gradient(45% 40% at 50% 12%, color-mix(in srgb, var(--acc) 26%, transparent) 0, transparent 70%);
  pointer-events: none;
  opacity: .8;
}
.book__in { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.book__cover {
  width: min(232px, 62%);
  margin: 0 auto clamp(22px, 3vw, 32px);
  border-radius: 4px;
  box-shadow: 0 26px 60px rgba(0,0,0,.55);
  transform: rotate(-2deg);
  transition: transform .5s var(--ease);
}
.book:hover .book__cover { transform: rotate(0deg) translateY(-6px) scale(1.02); }
.book__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--acc) 20%, transparent);
  color: var(--acc-2);
  align-self: flex-start;
}
.book__title {
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 900;
  line-height: 1.4;
  margin-top: 16px;
  letter-spacing: -.01em;
}
.book__sub {
  color: var(--acc-2);
  font-size: clamp(13.5px, 1.7vw, 15.5px);
  font-weight: 700;
  line-height: 1.7;
  margin-top: 12px;
}
.book__meta {
  color: var(--fg-3);
  font-size: 13px;
  margin-top: 16px;
  line-height: 1.9;
}
.book__actions { margin-top: auto; padding-top: 26px; display: grid; gap: 10px; }
.book__actions .btn { width: 100%; padding: 14px 20px; font-size: 14.5px; }

/* ---------- 14. ライトテーマ（音楽科教員）の微調整 ---------- */
.hero__bg--light::before { display: none; }
.theme-edu .cover__img { border: 1px solid var(--line-soft); }
.theme-edu .crossbook img { box-shadow: 0 10px 26px rgba(27,42,51,.18); border: 1px solid var(--line-soft); }
.theme-edu .eyebrow { color: var(--acc); }
.theme-edu .card__num { color: var(--acc-2); }
.theme-edu .check__mark { background: color-mix(in srgb, var(--acc-2) 30%, transparent); color: #2f5a44; }
.theme-edu .site-head { background: color-mix(in srgb, var(--bg) 82%, transparent); }

/* 縦組みの引用（帯コピー用） */
.vquote {
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-lg);
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: clamp(17px, 2.4vw, 23px);
  line-height: 2.1;
  font-weight: 600;
  letter-spacing: .04em;
}
.vquote small {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--fg-3);
  margin-bottom: 16px;
}

/* ---------- 15. 2部構成（Basic / Advanced） ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 2.4vw, 28px);
  align-items: stretch;
  margin-top: clamp(32px, 5vw, 54px);
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps__arrow { transform: rotate(90deg); margin: -6px auto; }
}
.step {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  position: relative;
  overflow: hidden;
}
.step--adv { border-color: color-mix(in srgb, var(--acc) 35%, transparent); }
.step__label {
  font-family: var(--lat);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--acc);
}
.step--adv .step__label { color: var(--acc-2); }
.step__len {
  font-family: var(--lat);
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin-top: 10px;
  letter-spacing: -.01em;
}
.step__len small { font-size: .42em; font-weight: 600; margin-left: 6px; color: var(--fg-3); letter-spacing: .04em; }
.step__body { color: var(--fg-2); font-size: 14.5px; line-height: 2; margin-top: 14px; }
.step__days {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.8;
}
.steps__arrow {
  align-self: center;
  color: var(--fg-3);
  flex: none;
}

/* ---------- 16. 目次 ---------- */
.toc {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
@media (max-width: 800px) { .toc { grid-template-columns: 1fr; } }
.toc__part {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 30px);
  background: var(--card);
}
.toc__head {
  font-family: var(--lat);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--acc);
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.toc__list { display: grid; gap: 2px; }
.toc__list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  font-size: 14.5px;
  line-height: 1.7;
  border-bottom: 1px solid var(--line-soft);
}
.toc__list li:last-child { border-bottom: 0; }
.toc__no {
  flex: none;
  font-family: var(--lat);
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-3);
  min-width: 2.6em;
  letter-spacing: .04em;
}
.toc__note { margin-top: 18px; font-size: 12.5px; color: var(--fg-3); line-height: 1.8; }

/* ---------- 17. 著者プロフィール ---------- */
.author {
  margin-top: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--card);
  padding: clamp(24px, 3.4vw, 40px);
}
.author__name {
  font-family: var(--head-font);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: .06em;
}
.author__name span {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--fg-3);
  margin-left: 12px;
}
.author__body {
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 2.05;
  margin-top: 16px;
}
.author__books {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.9;
}
.author__books b { color: var(--fg-2); font-weight: 700; }

/* 目次：2枚目のカードだけ見出し色を変えて対にする */
.toc__part:nth-child(2) .toc__head { color: var(--acc-2); }
.theme-edu .toc__part:nth-child(2) .toc__head { color: #6f9a80; }

/* ---------- 18. イラスト・アイコン ---------- */

/* 特長カードの上に置く線画アイコン（Cubaseページ） */
.card__icon {
  height: 60px;
  width: auto;
  max-width: 184px;
  margin: 14px 0 4px;
}
@media (max-width: 860px) { .card__icon { height: 48px; } }

/* 見出しの横にイラストを置くセクション */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.sec-head__art {
  width: min(310px, 32vw);
  flex: none;
}
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head__art { width: min(280px, 74%); margin-inline: auto; order: -1; }
}

/* 大きく見せるイラスト */
.ill-wide {
  width: min(580px, 94%);
  margin: clamp(26px, 4vw, 48px) auto 0;
}

/* ヒーローの背景画像（Cubase／トップ） */
.hero__photo {
  position: absolute;
  inset: 0;
  background: url("img/common/hero-bg.jpg") center top / cover no-repeat;
}
.hero__bg--photo::before { display: none; }

/* ---------- 19. 追加イラスト（2部構成・目次・トップ） ---------- */

/* トップ：ヒーローと書籍カードのあいだの帯 */
.band {
  display: block;
  width: min(900px, 88%);
  margin: clamp(18px, 3vw, 34px) auto 0;
  opacity: .92;
}

/* 2部構成カードの中の図 */
.step__fig {
  width: 100%;
  margin: 4px 0 18px;
}

/* 目次の上に敷く道のり */
.toc-road {
  display: block;
  width: min(1000px, 100%);
  margin: clamp(24px, 3.5vw, 40px) auto clamp(4px, 1vw, 10px);
  opacity: .9;
}


/* 3冊目以降の書籍カードのアクセント色。増えたら --c, --d … と足していけます */
.book--c { --acc: #c2703f; --acc-2: #e0b089; }
.book--d { --acc: #6c5ab8; --acc-2: #a897e0; }
.book--e { --acc: #3f8f7a; --acc-2: #8fcbb9; }

/* =========================================================
   20. 0228『中国人音大生・音楽家のための日本語でステップアップ』用
   - 日本語と中国語を併記するページのための追加分です
   - 表紙から色を拾っています（朱色・金色・生成り）
   ========================================================= */

/* 20-1. テーマ（ライト／朱×金） */
.theme-cn {
  --bg:        #f8f4ea;   /* 表紙の生成り */
  --bg-2:      #fffdf7;
  --bg-3:      #f1e9d7;
  --line:      rgba(45,32,26,.18);
  --line-soft: rgba(45,32,26,.09);
  --fg:        #241c17;
  --fg-2:      #5d4f45;
  --fg-3:      #8e7f73;
  --acc:       #b3271e;   /* 表紙の朱 */
  --acc-2:     #a8720c;   /* 表紙の金（文字に使える濃さ） */
  --acc-gold:  #e8a020;   /* 面で使う明るい金 */
  --acc-ink:   #ffffff;
  --card:      #fffdf7;
  --card-hover:#ffffff;
  --shadow:    0 24px 60px rgba(45,32,26,.18);
  --head-font: var(--serif);
  /* 中国語用のフォント。中国の端末では PingFang SC などが使われます */
  --sc: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", var(--sans);
}
.theme-cn .hero__title,
.theme-cn .h2,
.theme-cn .cta__title { font-weight: 700; }
.theme-cn .pull { font-weight: 600; }
.theme-cn .eyebrow { color: var(--acc-2); }
.theme-cn .card__num { color: var(--acc-2); }
.theme-cn .check__mark { background: color-mix(in srgb, var(--acc) 12%, transparent); color: var(--acc); }
.theme-cn .site-head { background: color-mix(in srgb, var(--bg) 86%, transparent); }
.theme-cn .cover__img { border: 1px solid var(--line-soft); transform: rotateY(-8deg) rotateX(2deg); }
.theme-cn .cover:hover .cover__img { transform: rotateY(-2deg) translateY(-8px); }
.theme-cn .cover::after, .theme-cn .cover:hover::after { display: none; }
.theme-cn .cover__glow { opacity: .34; filter: blur(70px); }
.theme-cn .crossbook img { box-shadow: 0 10px 26px rgba(45,32,26,.2); border: 1px solid var(--line-soft); }

/* 20-2. 中国語の文（.zh）と日本語の文（.ja）
   - 中国語はすこし小さく、色を落として、日本語の下にそえる形にします */
.zh {
  display: block;
  font-family: var(--sc);
  color: var(--fg-2);
  letter-spacing: .01em;
  font-weight: 400;
}
.zh--sm { font-size: .84em; line-height: 1.85; }
.ja + .zh, .zh { margin-top: .5em; }

/* 見出しの下につく中国語 */
.h2 .zh, .hero__title .zh, .cta__title .zh, .card__title .zh, .pull .zh {
  font-size: .5em;
  font-weight: 400;
  line-height: 1.7;
  color: var(--fg-2);
  margin-top: .7em;
}
.hero__title .zh { font-size: .44em; }

/* 本文の下につく中国語（左に細い線を引いて区別する） */
.lead .zh, .card__body .zh, .check .zh, .step__body .zh, .author__body .zh, .toc__note .zh {
  font-size: .92em;
  line-height: 1.95;
  color: var(--fg-3);
  margin-top: .85em;
  padding-left: 14px;
  border-left: 2px solid color-mix(in srgb, var(--acc) 26%, transparent);
}

/* 20-3. 表示言語の切り替えボタン */
.langbar {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.langbar button {
  border: 0;
  background: transparent;
  color: var(--fg-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
  font-family: var(--sc);
}
.langbar button:hover { color: var(--fg); }
.langbar button[aria-pressed="true"] {
  background: var(--acc);
  color: var(--acc-ink);
}
/* 「日本語だけ」「中文のみ」を選んだときの表示 */
body.lang-ja .zh { display: none; }
body.lang-zh .ja { display: none; }
body.lang-zh .zh { margin-top: 0; padding-left: 0; border-left: 0; color: var(--fg); font-size: 1em; }
body.lang-zh .h2 .zh, body.lang-zh .hero__title .zh,
body.lang-zh .cta__title .zh, body.lang-zh .card__title .zh,
body.lang-zh .pull .zh { font-size: 1em; font-weight: inherit; color: inherit; }

/* 20-4. 日中の音楽用語 対照表 */
.terms {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}
.term {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.term:hover { border-color: color-mix(in srgb, var(--acc) 40%, transparent); transform: translateY(-3px); }
.term__cn {
  font-family: var(--sc);
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  color: var(--acc);
  line-height: 1.5;
  flex: none;
  min-width: 4.5em;
}
.term__arrow { color: var(--fg-3); flex: none; }
.term__ja {
  font-size: clamp(15px, 1.9vw, 17px);
  font-weight: 700;
  line-height: 1.5;
}
.term__ja small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--fg-3);
  margin-top: 4px;
  letter-spacing: .02em;
}
.term--quiz { background: color-mix(in srgb, var(--acc-gold) 10%, var(--card)); border-style: dashed; }
.term--quiz .term__ja { color: var(--acc-2); }

/* 20-5. 40シーンの流れ */
.flow {
  margin-top: clamp(32px, 5vw, 54px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(186px, 100%), 1fr));
  gap: clamp(12px, 1.8vw, 18px);
  counter-reset: flow;
}
.flow__item {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 24px 22px 22px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.flow__item:hover { border-color: color-mix(in srgb, var(--acc) 40%, transparent); transform: translateY(-4px); }
.flow__no {
  font-family: var(--lat);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--acc);
}
.flow__ttl {
  font-family: var(--head-font);
  font-size: clamp(16px, 2vw, 18.5px);
  font-weight: 700;
  line-height: 1.6;
  margin-top: 10px;
}
.flow__ttl .zh { font-size: .78em; font-weight: 400; margin-top: .55em; }
.flow__txt { color: var(--fg-2); font-size: 13.5px; line-height: 1.95; margin-top: 12px; }
.flow__txt .zh { font-size: .92em; color: var(--fg-3); margin-top: .7em; }

/* 20-6. 図（四声とアクセント） */
.figure {
  margin-top: clamp(30px, 4vw, 48px);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.2vw, 38px);
}
.figure svg { width: 100%; height: auto; display: block; }
.figure__cap {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--fg-3);
}
.figure__cap .zh { font-size: .95em; margin-top: .6em; }

/* 20-7. 著者を2人ならべる */
.authors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(30px, 4vw, 48px);
}
.authors .author { margin-top: 0; height: 100%; }

/* 20-8. 書誌情報の項目名に中国語をそえる */
.spec th .zh { font-size: 11.5px; margin-top: 2px; color: var(--fg-3); letter-spacing: 0; }
.spec td .zh { font-size: 13px; margin-top: 4px; }
.theme-cn .spec th { width: 150px; }
@media (max-width: 520px) { .theme-cn .spec th { width: 108px; } }

/* 20-9. 図をならべる枠と、図の見出し */
.figure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(30px, 4vw, 48px);
}
.figure-grid .figure { margin-top: 0; }
.figure__ttl {
  font-family: var(--head-font);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
}
.figure__ttl .zh { font-size: .8em; font-weight: 400; color: var(--fg-3); margin-top: .5em; }
.figure svg { font-family: var(--sans); }
.figure svg text { letter-spacing: .02em; }

/* 20-10. 0228ページの小さな調整 */
.theme-cn .hero__sub { color: var(--acc); font-family: var(--serif); }
.theme-cn .pull small { letter-spacing: .16em; }
@media (max-width: 900px) {
  .theme-cn .cover__img,
  .theme-cn .cover:hover .cover__img { transform: none; }
}
/* ヘッダーが狭いときは、言語切り替えだけを残す */
@media (max-width: 720px) {
  .theme-cn .head-nav { gap: 4px; }
  .langbar button { padding: 6px 10px; font-size: 11.5px; }
}
.hero__author .zh { font-size: .92em; color: var(--fg-3); margin-top: .4em; }
.btn-note .zh { margin-top: .35em; }

/* 20-11. 目次（日本語の章タイトルを入れるので、字間をつめる） */
.toc__head--jp {
  font-family: var(--head-font);
  font-size: clamp(15px, 1.9vw, 17px);
  letter-spacing: .02em;
  text-transform: none;
}
.toc__head--jp .zh {
  font-family: var(--sc);
  font-size: .82em;
  font-weight: 400;
  color: var(--fg-3);
  margin-top: .35em;
}
.toc__list .zh {
  font-size: .86em;
  line-height: 1.75;
  color: var(--fg-3);
  margin-top: .3em;
}
.toc__list li { align-items: flex-start; }
.theme-cn .toc__part .toc__head { color: var(--acc); }
.theme-cn .toc { align-items: start; }

/* =========================================================
   21. 0224『目からウロコのポイントチェック３』用
   - 表紙から色を拾っています（深緑・朱色・山吹）
   - 深い緑の背景に、朱色を差し色にした落ち着いた配色です
   ========================================================= */

/* 21-1. テーマ（ダーク／深緑×朱） */
.theme-violin {
  --bg:        #0d1a12;   /* 表紙の緑をぐっと暗くした地色 */
  --bg-2:      #112318;
  --bg-3:      #16301f;
  --line:      rgba(244,243,234,.14);
  --line-soft: rgba(244,243,234,.08);
  --fg:        #f4f3ea;   /* 表紙の生成り */
  --fg-2:      #b9c6b8;
  --fg-3:      #81927f;
  --acc:       #ec6b43;   /* 表紙の朱 */
  --acc-2:     #fedb5b;   /* 表紙の山吹 */
  --acc-3:     #6fbf7d;   /* 表紙の緑を明るくしたもの */
  --acc-ink:   #1a0d06;
  --card:      rgba(244,243,234,.045);
  --card-hover:rgba(244,243,234,.075);
  --shadow:    0 30px 80px rgba(0,0,0,.6);
  --head-font: var(--sans);
}
.theme-violin .hero__title,
.theme-violin .h2,
.theme-violin .cta__title,
.theme-violin .pull { font-weight: 900; letter-spacing: -.015em; }
.theme-violin .site-head { background: color-mix(in srgb, var(--bg) 84%, transparent); }
.theme-violin .card__num { color: var(--acc-2); }
.theme-violin .check__mark { background: color-mix(in srgb, var(--acc) 20%, transparent); color: var(--acc); }

/* 公式ページ用のボタンは生成り色に。
   Amazonのボタン（オレンジ）と色が近くならないようにするためです */
.theme-violin .btn--primary {
  background: var(--fg);
  color: #0d1a12;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.theme-violin .btn--primary:hover { box-shadow: 0 16px 40px rgba(0,0,0,.6); }

/* 21-2. ヒーローの弦（4本線がゆっくり光る） */
.strings {
  position: absolute;
  left: 0; right: 0; top: 18%;
  height: 46%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}
.strings i {
  display: block;
  height: 1px;
  background: linear-gradient(to right,
    transparent, color-mix(in srgb, var(--acc-2) 55%, transparent), transparent);
  opacity: .28;
  animation: stringglow 5.5s var(--ease) infinite alternate;
}
.strings i:nth-child(2) { height: 1.4px; animation-delay: -1.4s; }
.strings i:nth-child(3) { height: 1.9px; animation-delay: -2.8s; }
.strings i:nth-child(4) { height: 2.6px; animation-delay: -4.1s; }
@keyframes stringglow { to { opacity: .62; } }
@media (prefers-reduced-motion: reduce) { .strings i { animation: none; } }

/* 21-3. 「ヴァイオリンと似ているもの」7つ */
.simil {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}
.simil__item {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 26px 24px 24px;
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.simil__item:hover {
  border-color: color-mix(in srgb, var(--acc) 45%, transparent);
  background: var(--card-hover);
  transform: translateY(-4px);
}
.simil__no {
  font-family: var(--lat);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--acc);
}
.simil__ttl {
  font-family: var(--head-font);
  font-size: clamp(17px, 2.1vw, 20px);
  font-weight: 700;
  line-height: 1.55;
  margin-top: 10px;
}
.simil__sub {
  color: var(--fg-3);
  font-size: 13px;
  line-height: 1.9;
  margin-top: 10px;
}
/* 右上にうっすら数字を敷く */
.simil__item::after {
  content: attr(data-n);
  position: absolute;
  right: 14px;
  top: 2px;
  font-family: var(--lat);
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  color: var(--fg);
  opacity: .05;
  pointer-events: none;
}

/* 21-4. シリーズ3冊をならべる */
.series {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
@media (max-width: 860px) { .series { grid-template-columns: 1fr; } }

.series__item {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.6vw, 28px);
  text-decoration: none;
  color: inherit;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
a.series__item:hover {
  border-color: color-mix(in srgb, var(--acc) 50%, transparent);
  background: var(--card-hover);
  transform: translateY(-5px);
}
.series__item--current {
  border-color: color-mix(in srgb, var(--acc) 55%, transparent);
  background: color-mix(in srgb, var(--acc) 9%, transparent);
}
.series__cover {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 16px 34px rgba(0,0,0,.45);
}
.series__vol {
  font-family: var(--lat);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--acc);
  margin-top: 20px;
}
.series__item--current .series__vol { color: var(--acc-2); }
.series__title {
  font-family: var(--head-font);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  line-height: 1.6;
  margin-top: 8px;
}
.series__title b {
  color: var(--acc-2);
  font-size: 1.14em;
  letter-spacing: .01em;
}
.series__meta {
  color: var(--fg-3);
  font-size: 12.5px;
  line-height: 1.95;
  margin-top: 12px;
}
.series__go {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
a.series__item:hover .series__go { color: var(--acc); }
.series__go svg { transition: transform .3s var(--ease); }
a.series__item:hover .series__go svg { transform: translateX(4px); }
.series__now {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--acc-2);
}

/* 21-5. 目次まわりの小さな調整（1列で長いリストを読ませる） */
.toc--case .toc__list li { align-items: flex-start; }
.toc--case .toc__no {
  font-family: var(--lat);
  letter-spacing: .06em;
  min-width: 5.4em;
}
.toc__sub {
  display: block;
  color: var(--fg-3);
  font-size: .88em;
  line-height: 1.8;
  margin-top: .3em;
}
/* 目次の2枚は、それぞれの高さで止める（右側に空白ができないように） */
.toc--case { align-items: start; }

/* 21-6. ヒーローの背景画像（0224）
   画像のほうに弦と光が描かれているので、CSSで描いていた光は消します */
.hero__photo--violin {
  position: absolute;
  inset: 0;
  background: url("img/0224/hero-bg.jpg") center center / cover no-repeat;
}
.hero__bg--violin::before {
  /* 文字が乗る左側を、地色でうっすら暗くする */
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  filter: none;
  background: linear-gradient(100deg,
    color-mix(in srgb, var(--bg) 84%, transparent) 0 38%,
    color-mix(in srgb, var(--bg) 34%, transparent) 60%,
    transparent 78%);
}
.hero__bg--violin::after {
  /* 下端を地色になじませる */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
@media (max-width: 900px) {
  /* スマホでは書影の背面になるので、背景はもう少し暗く */
  .hero__bg--violin::before {
    background: linear-gradient(to bottom,
      color-mix(in srgb, var(--bg) 55%, transparent),
      color-mix(in srgb, var(--bg) 80%, transparent));
  }
}

/* 21-7. 「似ているもの」のイラスト */
.afig-row {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
@media (max-width: 760px) { .afig-row { grid-template-columns: 1fr; } }

.afig { margin: 0; }
.afig img {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.afig:hover img {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(0,0,0,.55);
}
.afig figcaption { margin-top: 16px; }
.afig--wide { margin-top: clamp(26px, 3.4vw, 42px); }

/* 残り4つの言葉だけのカードの上に置く小見出し */
.simil-head {
  margin-top: clamp(34px, 4.5vw, 54px);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--fg-3);
}
.simil-head + .simil { margin-top: 16px; }

/* 21-8. 書影の左上に出ていた三角の影について
   このテーマだけの対処だったが、0229（Cubase）でも同じ影が出ていたため、
   2026-09-20に「7. ヒーロー」の .cover::after 本体を直した（100deg → 90deg）。
   そのため、ここでの上書きは不要になり削除した。 */

/* =========================================================
   22. トップページ（index.html）── 4冊ならべ
   2026年9月21日 追加。
   「新刊」と「注目の既刊」に分けて、刊行日の新しい順にならべています。
   本が増えて1グループ3冊以上になると、自動で3列に並びます。
   ========================================================= */

/* 22-1. 刊行順のミニ目次（ヒーローの下の丸いリンク） */
.release-nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: clamp(26px, 4vw, 38px) auto 0;
  max-width: 940px;
}
.release-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 17px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  background: var(--card);
  color: var(--fg-2);
  font-size: 13px;
  text-decoration: none;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.release-nav a:hover {
  color: var(--fg);
  border-color: color-mix(in srgb, var(--acc-2) 55%, transparent);
  background: var(--card-hover);
}
.release-nav b {
  font-family: var(--lat);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--acc-2);
}

/* 22-1b. ヒーローの説明文の幅
   もとの指定は 46ch。これは半角「0」46個ぶんの幅なので、
   日本語（1文字≒1em）だと23文字しか入らず、2行目が折り返してしまう。
   日本語の字数に合わせて広げておく。 */
.hub-hero__lead { max-width: 34em; }

/* 22-2. グループの見出し（新刊／注目の既刊） */
.group-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px clamp(14px, 2.4vw, 22px);
  margin-bottom: clamp(24px, 3.4vw, 36px);
}
.group-head__title {
  font-family: var(--head-font);
  font-size: clamp(21px, 2.9vw, 30px);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.3;
}
.group-head__note {
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--fg-3);
}
.group-head__line {
  flex: 1 1 60px;
  height: 1px;
  background: var(--line-soft);
}

/* 22-3. 書籍カードの色。それぞれの紹介ページの配色に合わせています。
   本を足すときは、ここに1行足すか、既存の book--a〜e を使ってください。 */
.book--edu    { --acc: #6ea6c0; --acc-2: #9dc0a8; }  /* 音楽科教員（藍×若草） */
.book--cubase { --acc: #e5142b; --acc-2: #5fc8de; }  /* Cubase（赤×水色） */
.book--cn     { --acc: #c9412f; --acc-2: #e8a020; }  /* 日本語でステップアップ（朱×金） */
.book--violin { --acc: #ec6b43; --acc-2: #fedb5b; }  /* ポイントチェック３（朱×山吹） */

/* 22-4. 「新刊」側の日付タグは、少し濃くして目立たせる */
.book__tag--new {
  background: color-mix(in srgb, var(--acc) 34%, transparent);
  color: var(--fg);
}

/* =========================================================
   23. 各ページ下部の「ほかの3冊」
   2026年9月21日 追加。0224 / 0228 / 0229 / 0230 の4ページ共通です。
   .crossbook 本体の見た目は「11. もう1冊 / フッター」にあります。
   ========================================================= */
.crossbooks {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 32px);
}
@media (min-width: 860px) {
  .crossbooks { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  /* 3列のときは、書影を上・文字を下にして縦に積む */
  .crossbooks .crossbook {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .crossbooks .crossbook img { width: 104px; }
}
/* 「4冊まとめて見る」へのリンク */
.crossbooks-more {
  margin-top: clamp(18px, 2.6vw, 26px);
  font-size: 13.5px;
}
.crossbooks-more a {
  color: var(--fg-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.crossbooks-more a:hover { color: var(--acc); border-color: var(--acc); }
/* 0228ページ用：「ほかの3冊」の中国語は、日本語より一段小さく */
.crossbook__sub .zh { font-size: .92em; color: var(--fg-3); margin-top: .5em; }
