/* ============================================================
   NOLIVA デザインシステム v1 — CREA web TOP 実測準拠のデザイン
   フレーム（CIZZ プロジェクトの site-php から框架を継承し、
   電動アシスト自転車メディアとして再構成）
   work/raw/crea/ の本家CSS（top.css / module.css / global.css /
   article-block.css / header.css）から抽出した実測値で再構成:
   - 固定透過ヘッダー＋巨大ロゴ（ヒーロー写真に掛かる）→スクロールで白帯
   - main-visual: スライド89.6vw・比1224/620・右端NEXT帯（blur24px）・
     カウンターは写真上右下・下に280px白箱サムネ帯（無限スクロール）
   - PICKUP帯 #D5E0EB＋白パネル＋番号カード（白三角+ Figtree数字）
   - KEYWORD 2列マーキー（#ピル、対方向120s）
   - 新着記事テキストリスト（342pxレール+日付列）
   - カテゴリ2分割帯 #DDE9EE / #EEDEDD
   - セクション見出し: Baskervville 2.9vw + 和文 span 1.0vw serif 500
   - ホバー: 画像 scale(1.2)/0.3s、画像ボックス角丸→50%、下線 background-size
   ============================================================ */

:root {
  /* color（CREA variables.css / module.css 実測トークン） */
  --ink: #212121;
  --ink-soft: #4a4a4a;
  --gray: #6d6d6d;
  --gray1: #e7e7e7;
  --line: #e7e7e7;
  --paper: #ffffff;
  --band-blue: #D5E0EB;   /* module-ranking */
  --band-blue2: #DDE9EE;  /* magazine */
  --band-pink: #EEDEDD;   /* mook */
  --cream: #f8f0eb;
  --taupe: #c9bab0;
  --mint: #e8f3f2;
  --mauve: #887474;
  --blush: #f7ecec;
  --sage: #edf0e4;
  --green: #4d8a5b;       /* NEW ドット */

  /* typography（CREA fonts.css 実測スタック） */
  --font-latin: "Baskervville", "Bodoni MT", Georgia, serif;
  --font-ui: "Figtree", "Lato", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-serif: "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "游明朝", "Yu Mincho", "Noto Serif JP", serif;
  --font-sans: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo, メイリオ, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --pad-x: 56px; /* 本家の横パディング実測値（4.1vw） */
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.8rem; /* 本家どおり18px */
  line-height: 2;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "palt";
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* 本家式: background-sizeで伸びる下線ホバー */
.u-line,
.u-line:hover { -webkit-tap-highlight-color: transparent; }
.u-line {
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0% 1px;
  transition: background-size .4s ease;
  padding-bottom: 2px;
}
.u-line:hover { background-size: 100% 1px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 1200; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--mauve); outline-offset: 2px; }

/* ── ヘッダー（本家 header.css 実測）────────────────────
   TOP: fixed・透明・巨大ロゴがヒーローに掛かる（padding 20px 56px 0）
   スクロール後/下層: 白80%+blur(20px)・padding 12px 56px・小ロゴ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  width: 100%;
  padding: 12px var(--pad-x);
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: padding .3s ease, background .3s ease;
}
.site-header.is-top {
  position: fixed;
  padding: 20px var(--pad-x) 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.is-top.is-scrolled {
  padding: 12px var(--pad-x);
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.header-inner {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
}
.brand { margin: 0; line-height: 1; }
.brand a {
  display: block;
  font-family: var(--font-latin);
  font-size: 3rem; font-weight: 400;
  letter-spacing: .04em; line-height: 1;
  color: var(--ink);
  transition: opacity .3s ease, font-size .3s ease;
}
.brand a:hover { opacity: .6; }
.is-top .brand a { font-size: clamp(45px, 6vw, 86px); }
.is-top.is-scrolled .brand a { font-size: 3rem; }
.global-nav ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; align-items: center;
  column-gap: 8px;
}
.is-top:not(.is-scrolled) .global-nav ul { margin-top: 14px; }
.global-nav a {
  display: block; padding: 8px 12px;
  font-family: var(--font-serif);
  font-size: 1.4rem; letter-spacing: .04em; line-height: 160%;
  white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0% 1px;
  transition: background-size .35s ease;
  padding-bottom: 3px;
}
.global-nav a:hover { background-size: 100% 1px; }

/* メニューボタン（本家式: 飾りなしアイコン） */
.menu-btn {
  width: 44px; height: 40px; flex: 0 0 40px;
  margin-top: 6px;
  border: none; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu-btn span {
  display: block; width: 22px; height: 1px; background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 全画面メニューオーバーレイ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(255, 255, 255, .96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-overlay ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu-overlay li {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s ease, transform .5s var(--ease);
}
.menu-overlay.open li { opacity: 1; transform: none; }
.menu-overlay.open li:nth-child(1) { transition-delay: .1s; }
.menu-overlay.open li:nth-child(2) { transition-delay: .16s; }
.menu-overlay.open li:nth-child(3) { transition-delay: .22s; }
.menu-overlay.open li:nth-child(4) { transition-delay: .28s; }
.menu-overlay.open li:nth-child(5) { transition-delay: .34s; }
.menu-overlay.open li:nth-child(6) { transition-delay: .4s; }
.menu-overlay a {
  display: block; padding: 10px 0;
  font-family: var(--font-serif); font-size: 24px; letter-spacing: .2em;
  color: var(--ink);
}
.menu-overlay a:hover { color: var(--mauve); }

/* ── パンくず ─────────────────────────────────────────── */
/* 本家 breadcrumbs-list 式: #F6F6F6帯・10px Figtree */
.crumbs { background: #f6f6f6; }
.crumbs-inner {
  max-width: 1254px; margin: 0 auto; padding: 15px 24px;
  font-family: var(--font-ui); font-size: 1rem; color: #4f4f4f;
  display: flex; align-items: center;
  overflow-x: auto; white-space: nowrap;
}
.crumbs a { color: #4f4f4f; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-hidden] { margin: 0 10px; color: var(--gray); }

/* ── コンテナ ─────────────────────────────────────────── */
.container { max-width: 1366px; margin: 0 auto; padding: 0 var(--pad-x) 120px; }
.article-container { max-width: 1246px; } .article-inner { max-width: 858px; }

/* ── セクション見出し（本家 global.css .headline 実測）── */
.headline {
  position: relative;
  margin: 0 0 2.3vw; padding: 0 var(--pad-x);
  font-family: var(--font-latin); font-weight: 400;
  font-size: clamp(26px, 2.9vw, 44px);
  line-height: 100%; text-align: left; color: var(--ink);
}
.headline h2, .headline-sub h2 { margin: 0; font-weight: 400; font-size: inherit; font-family: inherit; line-height: inherit; }
.headline span, .headline-sub span {
  display: block; padding-top: 8px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(14px, 1.0vw, 16px);
  line-height: 160%; letter-spacing: .04em;
}
.headline-sub {
  position: relative;
  margin: 0 0 2.343vw; padding: 0 var(--pad-x);
  font-family: var(--font-latin); font-weight: 400;
  font-size: clamp(20px, 2.05vw, 30px);
  line-height: 100%; color: var(--ink);
}
.headline__link--text {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 1.4rem; line-height: 1.6;
  position: absolute; right: var(--pad-x); bottom: 0;
}
.headline__link--text::after {
  content: ""; width: 6px; height: 6px; transform: rotate(45deg);
  position: relative; top: -2px; display: inline-block;
  border-top: solid 1px var(--ink); border-right: solid 1px var(--ink);
  margin: 0 0 0 17px;
}

/* ピルボタン（本家 headline__link 実測: 228×42・serif） */
.pill-btn {
  display: inline-flex; justify-content: center; align-items: center;
  min-width: 228px; height: 42px; padding: 8px 24px;
  border: 1px solid var(--ink); border-radius: 50px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.4rem; line-height: 160%; letter-spacing: .04em;
  text-align: center; white-space: nowrap;
  transition: opacity .3s ease;
}
.pill-btn:hover { opacity: .6; }

/* ── main-visual（本家 top.css 実測）──────────────────── */
.mv {
  position: relative;
  width: 100%;
  margin: 0 auto 160px;
  padding-top: 91px;
  font-family: var(--font-serif);
}
.mv-bgwrap { position: relative; overflow: hidden; }
/* 右端のブラー帯（blur 24px / white 20%） */
.mv-bgwrap::after {
  content: " ";
  width: 121px; height: 101%;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(255, 255, 255, .2);
  position: absolute; top: -1px; right: 0;
  overflow: hidden; pointer-events: none; z-index: 2;
}
.mv-track { display: flex; transition: transform 1.3s ease; }
.mv-slide {
  flex: 0 0 auto;
  width: 1224px; /* 本家: 1366px未満は1224px固定（右が見切れる） */
  margin-right: 28px;
  aspect-ratio: 1224 / 620;
  overflow: hidden;
  position: relative;
  z-index: 1; /* スライド内要素をブラー帯(::after z2)の下へ */
}
@media (min-width: 1366px) {
  .mv-slide { width: 89.605vw; margin-right: 2.05vw; }
  .mv-box { bottom: 2.343vw; left: 4.1vw; }
  .mv-bgwrap::after { width: 8.858vw; }
  .mv-next { width: 8.346vw; }
  .mv-pagination-vw { display: none; }
}
.mv-link { display: block; position: relative; width: 100%; height: 100%; }
.mv-bg { position: absolute; inset: 0; overflow: hidden; }
.mv-bg::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .6) 100%);
}
.mv-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .6s ease;
}
.mv-link:hover .mv-bg img { transform: scale(1.04); }
.mv-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-latin); font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: .3em; color: rgba(33, 33, 33, .14);
  background: var(--cream);
}
/* キャプション（本家: 左4.1vw・下2.343vw・幅569/1366） */
.mv-box {
  position: absolute; z-index: 3;
  bottom: 32px; left: 56px;
  width: 41.66%;
}
.mv-date {
  margin: 0; color: #fff;
  font-family: var(--font-ui); font-weight: 500;
  font-size: clamp(12px, 0.878vw, 14px); line-height: 100%;
}
.mv-title {
  margin: 12px 0 0; color: #fff;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(22px, 1.9vw, 28px); line-height: 160%;
}
/* ページネーション（PC: 右端NEXT帯＋右下カウンター / SP: カウンター＋円形ボタン） */
/* NEXT帯（右端・幅114px・白字Figtree） */
.mv-next {
  position: absolute; z-index: 3;
  top: 50%; right: 0; transform: translateY(-50%);
  width: 114px; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  color: #fff; font-family: var(--font-ui); font-weight: 500;
  font-size: 1.2rem; line-height: 100%; letter-spacing: .04em;
  transition: opacity .3s ease;
  user-select: none;
}
.mv-next:hover { opacity: .5; }
.mv-next:active { transform: translateY(-50%) scale(.95); }
/* SP用の円形NEXT（PCでは非表示） */
.mv-next-circle { display: none; }
/* カウンター（写真上・右下・白字Figtree） */
.mv-fraction {
  position: absolute; z-index: 3;
  bottom: 32px; right: 45px;
  margin: 0;
  color: #fff; font-family: var(--font-ui); font-weight: 500;
  font-size: clamp(12px, 0.878vw, 14px); line-height: 100%;
}
/* サムネイル帯（280px白箱・無限スクロール） */
.mv-thumbwrap { overflow: hidden; background: var(--paper); }
.mv-thumblist {
  display: flex; width: max-content;
  animation: mvInfiniteScroll 40s linear infinite;
}
.mv-thumbset { display: flex; }
.mv-thumb {
  flex: 0 0 280px; width: 280px; height: 76px;
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center;
  padding: 0 24px;
  background: var(--paper); border: none; border-right: 1px solid var(--gray1);
  cursor: pointer; text-align: left;
  opacity: .75; transition: opacity .3s ease;
}
.mv-thumb:hover, .mv-thumb.is-active { opacity: 1; }
.mv-thumb-img {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gray1);
  overflow: hidden; display: block; background: var(--cream);
}
.mv-thumb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mv-thumb-text {
  font-size: 1.2rem; line-height: 160%; color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; text-overflow: ellipsis;
}
@keyframes mvInfiniteScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── PICKUP帯（本家 module-ranking 実測）──────────────── */
.pk-band {
  position: relative;
  display: flex; align-items: center;
  margin: 70px auto; padding: 56px 0;
  background: var(--band-blue);
  overflow: hidden;
}
.pk-rail { flex: 0 0 25vw; min-width: 280px; }
.pk-rail .headline { padding-right: 0; }
.pk-main { flex: 1; min-width: 0; }
.pk-head {
  display: flex; justify-content: flex-end;
  padding: 0 var(--pad-x); margin: 0 0 24px;
}
.pk-panel { background: var(--paper); overflow: hidden; }
.pk-track {
  display: flex;
  counter-reset: pk;
  transition: transform .5s var(--ease);
}
/* ── 記事カード（本家 article-block 実測）─────────────── */
.acard-link { display: block; height: 100%; }
.acard-imgwrap { position: relative; }
.acard-imgbox {
  position: relative; aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.acard-imgbox img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .3s ease .03s;
}
.acard-link:hover .acard-imgbox img { transform: scale(1.2); }
/* 本家式: ホバーで画像ボックスが角丸→円形にモーフ */
.acard-imgbox { border-radius: 0; transition: border-radius .5s ease .03s; }
.acard-link:hover .acard-imgbox { border-radius: 50%; }
.acard-time {
  position: absolute; top: 0; left: -8px; z-index: 1;
  transform: rotate(90deg); transform-origin: left top;
  font-family: var(--font-ui); font-weight: 500;
  font-size: 1.0rem; line-height: 100%;
}
.acard.is-new .acard-time::before { content: "\025CF"; color: var(--green); padding-right: 4px; font-size: .8em; }
.acard-content { margin-top: 16px; }
.acard-title {
  margin: 0; font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(13px, 1.025vw, 15px); line-height: 160%;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; text-overflow: ellipsis;
}
.acard-title span {
  background-image: linear-gradient(90deg, var(--ink), var(--ink));
  background-position: left bottom; background-repeat: no-repeat;
  background-size: 0 1px; padding-bottom: 3px;
  transition: background-size .5s ease;
}
.acard-link:hover .acard-title span { background-size: 100% 1px; }

/* PICKUP内: 番号（白三角+Figtree数字）＋罫線区切り＋白地 */
.acard--ranking { flex: 0 0 25%; min-width: 0; counter-increment: pk; }
.acard--ranking .acard-link {
  background: var(--paper);
  border-right: 1px solid var(--gray1);
  margin: 0 0 6px;
}
.acard--ranking .acard-imgwrap::before {
  content: ""; position: absolute; bottom: -1px; left: -1px; z-index: 1;
  border-top: 40px solid transparent; border-left: 40px solid var(--paper);
}
.acard--ranking .acard-imgwrap::after {
  content: counter(pk);
  position: absolute; bottom: 0; left: 0; z-index: 1;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 500;
  font-size: clamp(18px, 1.464vw, 22px); line-height: 100%;
  color: var(--ink);
}
.acard--ranking .acard-content { margin: 0; padding: 0 14px 14px; }

/* スライダーページャー（本家 slider-pagination 実測） */
.slider-pagination {
  position: relative;
  display: flex; align-items: center;
  margin-top: 20px; padding: 0 0 0 var(--pad-x); gap: 16px;
}
.slider-pagination__inner { display: flex; align-items: center; gap: 16px; }
.slider-pagination__arrow {
  width: 40px; height: 40px; padding: 0;
  border: none; background: transparent; color: var(--ink);
  cursor: pointer; opacity: .7;
  transition: opacity .2s ease;
  display: inline-block; user-select: none;
}
.slider-pagination__arrow svg { width: 100%; height: 100%; display: block; }
.slider-pagination__arrow:hover { opacity: 1; }
.slider-pagination__arrow:disabled { opacity: .3; pointer-events: none; }
.slider-pagination__fraction {
  font-family: var(--font-ui); font-weight: 500;
  font-size: 1.2rem; width: 44px;
}
.slider-pagination__scrollbar {
  flex: 1; height: 1px; margin-right: var(--pad-x);
  background: #dedede; position: relative;
}
.slider-pagination__scrollbar i {
  position: absolute; left: 0; top: -1px; height: 2px; width: 0;
  background: var(--ink);
  transition: width .3s ease, transform .3s ease;
}
/* SPで下部に出す全記事ピル（PCでは上部ピルのみ） */
.pk-all { display: none; }

/* ── KEYWORD（本家 module-keyword 実測）───────────────── */
.kw-module { background: var(--paper); margin: 0 0 160px; overflow: hidden; }
.kw-module .headline { margin-bottom: 32px; }
.kw-track { display: flex; width: max-content; }
.kw-track--top { animation: kwLtoR 120s linear infinite; }
.kw-track--bottom { animation: kwRtoL 120s linear infinite; margin-top: 16px; }
.kw-list {
  display: flex; gap: 1.75vw; flex-shrink: 0;
  list-style: none; padding: 1px 0; margin: 0 .87vw;
}
.kw-list a {
  position: relative; display: inline-block; padding: 8px 16px;
  font-weight: 500; font-size: clamp(1.4rem, 1.025vw, 1.6rem); line-height: 160%;
  white-space: nowrap;
  border: 1px solid var(--gray1); border-radius: 50px;
}
.kw-list a::before { content: "#"; color: var(--gray); position: relative; padding-right: 3px; }
.kw-list a:hover {
  background-image: linear-gradient(var(--ink), var(--ink));
  background-position: left bottom; background-repeat: no-repeat;
  background-size: 100% 1px;
}
@keyframes kwLtoR { from { transform: translateX(-25%); } to { transform: translateX(0); } }
@keyframes kwRtoL { from { transform: translateX(0); } to { transform: translateX(-25%); } }

/* ── カテゴリ2分割帯（本家 module-magazine-and-mook 実測）*/
.cat-band { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 160px; }
.cat-band-col { padding: 46px 0 64px; }
.cat-band-col:first-child { border-right: 1px solid var(--paper); }
.cat-band-col .headline-sub { padding: 0 var(--pad-x); }
.cat-band-covers { padding: 8px var(--pad-x) 0; }
.cat-band-card { width: min(300px, 82%); }
.cat-band-cover {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--paper);
}
.cat-band-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.cat-band-cover:hover img { transform: scale(1.08); }
.cat-band-title {
  margin: 16px 0 20px;
  font-family: var(--font-serif); font-weight: 400;
  font-size: 1.4rem; line-height: 160%;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; text-overflow: ellipsis;
}
.cat-band-btns { display: flex; flex-direction: column; gap: 12px; }
.cat-band-btns .pill-btn { width: 100%; min-width: 0; }

/* ── 下層ページのセクション見出し（RELATED/POPULAR等）─── */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin: 96px 0 44px;
}
.section-head:first-child { margin-top: 72px; }
.section-title { margin: 0; line-height: 1; }
.section-title .en {
  display: block;
  font-family: var(--font-latin); font-weight: 400;
  font-size: clamp(26px, 2.9vw, 44px);
  letter-spacing: .04em; line-height: 1.05;
}
.section-title .jp {
  display: block; margin-top: 8px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(12px, 1vw, 14px); line-height: 160%; letter-spacing: .04em; color: var(--ink);
}

/* カードグリッド（カテゴリ・関連記事） */
.card-grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(4, 1fr); }

/* ── NEW POSTS（本家 module-new-posts 式）──────────────── */
.np-cards { margin: 0 0 160px; }
.np-grid { padding: 0 var(--pad-x); }

/* ── CATEGORY（本家 module-category 式: 円形画像タイル横スクロール）*/
.cat-module { margin: 0 0 160px; }
.cat-row {
  list-style: none; margin: 0; padding: 8px var(--pad-x) 24px;
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat-tile { flex: 0 0 313px; scroll-snap-align: start; } /* 本家: 313px / 22.914vw */
.cat-tile a {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 313 / 264;
  background: var(--tint, var(--cream));
  overflow: hidden;
}
/* 本家式: カテゴリ画像をblur(150px)の背景に敷く */
.cat-tile a::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: var(--cat-bg-url, none);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: blur(150px);
}
.cat-tile-circle {
  position: relative; z-index: 2;
  width: 200px; height: 200px; border-radius: 50%;
  overflow: hidden; display: block; background: rgba(255, 255, 255, .55);
}
.cat-tile-circle img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); transition: transform .3s ease .03s; }
.cat-tile a:hover .cat-tile-circle img { transform: scale(1.2); }
.cat-tile-en {
  position: absolute; z-index: 3; top: 15px; right: 24.5px;
  font-family: var(--font-latin); font-size: 1.2rem; letter-spacing: .1em;
  color: var(--ink);
}
.cat-tile-name {
  position: absolute; z-index: 3; bottom: 15px; left: 24.5px;
  font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; line-height: 1;
}

/* カテゴリ tint（config と対応） */
.tint-mint   { --tint: var(--mint); }
.tint-cream  { --tint: var(--cream); }
.tint-taupe  { --tint: #efe8e3; }
.tint-blush  { --tint: var(--blush); }
.tint-sage   { --tint: var(--sage); }
.acard-imgbox { background: var(--tint, var(--cream)); }
.acard-imgbox .cover-en {
  font-family: var(--font-latin);
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  letter-spacing: .22em; color: rgba(33, 33, 33, .2);
}
/* 車輪モチーフ（画像がない記事のフォールバック） */
.wheel {
  width: 46%; aspect-ratio: 1/1; border-radius: 50%;
  border: 1px solid rgba(33, 33, 33, .18);
  position: absolute; right: 10%; bottom: 10%;
}
.wheel::before {
  content: ""; position: absolute; inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(33, 33, 33, .14);
}
.wheel::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 60%; aspect-ratio: 1/1;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(rgba(33, 33, 33, .28), rgba(33, 33, 33, .28)) 50% 50% / 100% 1px no-repeat,
    linear-gradient(rgba(33, 33, 33, .28), rgba(33, 33, 33, .28)) 50% 50% / 1px 100% no-repeat,
    linear-gradient(45deg, transparent 49.4%, rgba(33, 33, 33, .28) 49.4%, rgba(33, 33, 33, .28) 50.6%, transparent 50.6%),
    linear-gradient(135deg, transparent 49.4%, rgba(33, 33, 33, .28) 49.4%, rgba(33, 33, 33, .28) 50.6%, transparent 50.6%);
}

/* ── スクロールフェードイン ───────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .mv-thumblist, .kw-track { animation: none; }
}

/* ── 記事ページ（本家 article.css 実測値）──────────────── */
/* article-head: 幅1246・上下40px・下罫線。タイトル32px明朝500/1.6 */
.article-head {
  max-width: 1246px; margin: 40px auto; padding: 0 24px 48px;
  border-bottom: 1px solid var(--line);
}
.article-head__top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-weight: 500;
}
.article-head__related-links { font-size: 1.4rem; color: #1c5dd6; }
.article-head__related-links:hover { opacity: .6; }
.article-head__date {
  margin-left: auto; text-align: right; font-size: 1.2rem;
  font-family: var(--font-ui); color: var(--ink);
}
.article-head__title {
  margin: 21px 0 24px;
  font-family: var(--font-serif); font-size: 3.2rem; font-weight: 500;
  line-height: 1.6; color: var(--ink); letter-spacing: .04em;
}
.article-head__subtitle { margin-top: 20px; font-size: 1.4rem; font-weight: 400; color: #999; }
.article-head__author { margin-top: 24px; }
.author { display: inline-flex; align-items: center; gap: 8px; font-size: 1.8rem; }
.icon-author { width: 24px; height: 24px; border-radius: 50vh; background: var(--taupe); }
.author a:hover { opacity: .6; }

/* 2カラム: 本文810px＋右サイドバー300px（内側1246px） */
.content__col {
  display: flex; gap: 30px; align-items: flex-start;
  max-width: 1246px; margin: 0 auto; padding: 0 24px;
}
.content__left { flex: 1 1 auto; min-width: 0; max-width: 858px; }
.content__aside { flex: 0 0 300px; }
.content__left .headline-sub, .content__aside .headline-sub { padding: 0; }

/* 本文: 810px・16px・行間1.8・字間0.05em・段落間30px。h2=28px/h3=20px ゴシック500・罫線なし */
.article-body { max-width: 810px; margin: 0 0 40px; font-size: 1.6rem; line-height: 1.8; letter-spacing: 0.05em; color: var(--ink); }
.article-hero { margin: 0 0 40px; }
.article-hero img { width: 100%; height: auto; display: block; }
.article-body p { margin: 0 0 30px; }
.article-body > h2, .faq-block > h2, .sources > h2 {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 2.8rem; line-height: 1.6; letter-spacing: .04em;
  margin: 40px 0; scroll-margin-top: 80px;
}
.article-body > h3 { font-size: 2rem; font-weight: 500; line-height: 1.6; margin: 40px 0; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.article-body ul, .article-body ol { padding-left: 1.5em; margin: 0 0 30px; }
.article-body li { margin: .4em 0; }
.article-body strong { font-weight: 600; }
.article-body a {
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0% 1px;
  transition: background-size .35s ease; padding-bottom: 2px;
}
.article-body a:hover { background-size: 100% 1px; }
figure figcaption { padding-top: 6px; color: #6d6d6d; font-size: 1.2rem; }

/* 目次（本家に無い機能のため最小のグレーボックス） */
.toc { margin: 0 0 40px; padding: 20px 24px; background: #f6f6f6; }
.toc-head { margin: 0 0 8px; font-family: var(--font-latin); font-size: 1.4rem; letter-spacing: .1em; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li { font-size: 1.4rem; line-height: 2; }
.toc a { background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0% 1px; transition: background-size .35s ease; padding-bottom: 2px; }
.toc a:hover { background-size: 100% 1px; }

/* 比較テーブル */
.article-body table.cmp {
  width: 100%; border-collapse: collapse;
  margin: 2em 0 2.4em; font-size: 1.4rem; line-height: 1.9;
}
/* 狭い画面: 表は本文幅に収めて折り返し、min-contentでも収まらないものだけ横スクロール。
   width:max-content にすると折り返しが消えて列幅が極端になるため使わない */
@media (max-width: 700px) {
  .article-body table.cmp { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .article-body table.cmp th { white-space: normal; }
}
.article-body table.cmp th, .article-body table.cmp td { border: 1px solid var(--line); padding: 10px 14px; vertical-align: top; text-align: left; }
/* th・td.numのnowrapは解除（長い見出し・金額文が列幅を食い、他列が細切れになるため） */
.article-body table.cmp th { background: #f6f6f6; font-weight: 600; }
.article-body table.cmp td.num { text-align: right; }

/* ボックス（本家 box-normal 式: 1px罫線） */
.box { margin: 2.6em 0; padding: 20px 24px; font-size: 1.5rem; background: #fff; border: 1px solid var(--line); }
.box-label { margin: 0 0 10px; font-family: var(--font-latin); font-weight: 500; letter-spacing: .26em; font-size: 1.3rem; color: var(--mauve); }
.box-point .box-label::before { content: "POINT — "; }
.box-warn .box-label::before { content: "NOTE — "; }
.box ul, .box ol { margin: 0; }
.box-warn { background: #f6f6f6; }

/* FAQ */
.faq-block { margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-item summary { cursor: pointer; font-weight: 500; font-size: 1.6rem; line-height: 1.8; position: relative; padding-right: 30px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%) rotate(0deg);
  font-family: var(--font-latin); font-size: 2rem; color: var(--mauve);
  transition: transform .35s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 10px 2px 4px; font-size: 1.5rem; color: var(--ink-soft); }

/* 情報源 */
.sources { margin-top: 40px; font-size: 1.4rem; }
.sources ol { color: var(--gray); }

/* article-info（本家式: 上80px）+ 開示 */
.article-info { margin: 80px 0 40px; }
.article-info__dates { font-size: 1.3rem; color: var(--gray); }
.article-info__dates a { text-decoration: underline; text-underline-offset: 3px; }
.article-info__category { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 8px; }
.article-info__category a { font-size: 1.1rem; color: var(--ink); }
.disclosure { margin: 24px 0 0; padding: 16px 20px; background: #f6f6f6; font-size: 1.2rem; color: var(--gray); line-height: 1.9; }
.disclosure p { margin: 0; }

/* SNSシェア（本家 module-sns-share 実測: title幅86px・セル35px・gap24・margin40） */
.module-sns-share { display: flex; align-items: center; column-gap: 24px; margin-block: 40px; }
.module-sns-share__title {
  width: 86px; font-size: 1.4rem; font-weight: 500;
  font-family: var(--font-ui); line-height: 1; letter-spacing: .04em;
}
.module-sns-share__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; column-gap: 16px; }
.module-sns-share__item { width: 35px; height: 35px; }
.module-sns-share__link { display: grid; place-items: center; width: 100%; height: 100%; transition: opacity .3s ease; }
.module-sns-share__link:hover { opacity: .5; }
.sicon { width: 20px; height: 20px; fill: var(--ink); }
.sicon--text text { fill: var(--ink); font-family: var(--font-sans); }
/* -02式（タイトル上・アイコン下。一覧ページ用） */
.module-sns-share-02 { display: flex; flex-direction: column; row-gap: 24px; }
.module-sns-share-02__title { margin: 0; font-size: 1.4rem; font-weight: 500; font-family: var(--font-ui); line-height: 1; letter-spacing: .04em; }
.module-sns-share-02__list { list-style: none; margin: 0; padding: 0; display: flex; column-gap: 8px; }
.module-sns-share-02 .module-sns-share__item { width: 35px; height: 35px; }

/* 関連記事（本文カラム内・2カラム） */
.related { margin-top: 80px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }

/* 右サイドバー（本家 content__aside 式 300px） */
.aside-ranking { list-style: none; margin: 0; padding: 0; }
.aside-ranking li { border-bottom: 1px solid var(--line); }
.aside-ranking a { display: flex; gap: 12px; align-items: baseline; padding: 16px 0; }
.aside-rank { font-family: var(--font-ui); font-weight: 500; font-size: 2rem; line-height: 1.4; }
.aside-title {
  font-size: 1.4rem; line-height: 1.6; min-width: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.aside-ranking a:hover .aside-title { text-decoration: underline; text-underline-offset: 3px; }
.aside-cat-head { margin-top: 40px; }
.aside-cats { list-style: none; margin: 0; padding: 0; }
.aside-cats li { border-bottom: 1px solid var(--line); }
.aside-cats a { display: block; padding: 12px 0; font-size: 1.4rem; }
.aside-cats a:hover { opacity: .6; }

/* ── カテゴリ一覧（本家 list page 実測値）──────────────── */
.list-inner { max-width: 1246px; margin: 0 auto; padding: 0 24px; }
.list-headline { margin-block: 40px 48px; }
.list-headline__title {
  margin: 0; font-family: var(--font-serif); font-weight: 500;
  font-size: 3.2rem; line-height: 1.6; color: var(--ink); letter-spacing: .04em;
}
.list-headline__sub-title { margin-top: 8px; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500; line-height: 1.6; color: var(--gray); }

.list-top-info {
  display: flex; justify-content: space-between; align-items: flex-end;
  column-gap: 96px; padding-block: 32px;
  border-bottom: 1px solid var(--ink);
}
.list-top-info__content { display: flex; column-gap: 32px; min-width: 0; }
.list-top-info__image { flex: 0 0 280px; }
.list-top-info__image img { width: 100%; height: auto; display: block; }
.list-top-info__summary { margin: 0 0 20px; font-size: 1.5rem; line-height: 2; }
.list-top-info__summary p { margin: 0; }
.list-top-info__label p {
  display: inline-block; padding: 4px 16px;
  font-size: 1.2rem; line-height: 1.8;
  border: 1px solid var(--line); border-radius: 50px;
}

.list-count {
  margin: 40px 0 16px; padding-bottom: 16px;
  font-family: var(--font-ui); font-size: 1.3rem; color: var(--ink);
  border-bottom: 1px solid var(--line);
}

/* 行型カード（画像左＋縦書き日付＋タイトル＋カテゴリ） */
.list-rows { list-style: none; margin: 0; padding: 0; }
.list-row__link { position: relative; display: flex; gap: 24px; padding: 32px 0 32px 28px; }
.list-row__time {
  position: absolute; top: 36px; left: 0;
  transform: rotate(90deg); transform-origin: left top;
  font-family: var(--font-ui); font-weight: 500;
  font-size: 1rem; line-height: 100%; color: var(--ink);
}
.list-row__img {
  flex: 0 0 200px; aspect-ratio: 1 / 1;
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: var(--tint, var(--cream));
}
.list-row__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .3s ease .03s; }
.list-row__link:hover .list-row__img img { transform: scale(1.2); }
.list-row__content { flex: 1; min-width: 0; }
.list-row__title {
  margin: 0 0 20px; font-family: var(--font-sans); font-weight: 500;
  font-size: 1.8rem; line-height: 1.8; color: var(--ink);
}
.list-row__link:hover .list-row__title { text-decoration: underline; text-underline-offset: 4px; }
.list-row__cat p, .list-row__cat {
  display: inline-block; padding: 3px 14px;
  font-size: 1.2rem; line-height: 1.8;
  border: 1px solid var(--line); border-radius: 50px;
  color: var(--ink-soft);
}
.list-empty { margin: 40px 0; font-size: 1.5rem; color: var(--ink-soft); }

/* ── 固定ページ・404 ─────────────────────────────────── */
.page-note { font-size: 12.2px; color: var(--gray); border-top: 1px solid var(--line); padding-top: 12px; }
.contact-mail strong { font-family: var(--font-latin); font-size: 16.8px; letter-spacing: .06em; background: var(--cream); padding: 6px 20px; border-radius: 999px; }
.notfound { text-align: center; padding: 110px 0 48px; }
.notfound-code { margin: 0; font-family: var(--font-latin); font-size: clamp(72px, 15vw, 144px); line-height: 1; color: var(--taupe); }
.notfound-title { font-family: var(--font-serif); font-weight: 600; font-size: 20px; margin: 18px 0 8px; }
.notfound p { color: var(--ink-soft); font-size: 14.1px; }
.notfound-home { margin-top: 28px; }
.btn {
  display: inline-block; padding: 13px 52px;
  border: 1px solid var(--ink); border-radius: 999px;
  font-size: 12.8px; letter-spacing: .22em;
  transition: background .3s ease, color .3s ease;
}
.btn:hover { background: var(--ink); color: #fff; }

/* ── フッター ─────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #f5f2ef; margin-top: 140px; }
.footer-inner { max-width: 1366px; margin: 0 auto; padding: 72px var(--pad-x) 48px; display: grid; gap: 48px; grid-template-columns: 1.2fr 2fr; }
.footer-logo { margin: 0; font-family: var(--font-latin); font-size: clamp(32px, 4vw, 45px); letter-spacing: .1em; line-height: 1; }
.footer-tag { margin: 14px 0 0; font-size: 11.8px; color: #b8b3ae; letter-spacing: .1em; }
.footer-cols { display: grid; gap: 40px; grid-template-columns: repeat(2, 1fr); }
.footer-head { margin: 0 0 14px; font-family: var(--font-latin); font-size: 11.8px; letter-spacing: .3em; font-weight: 400; color: var(--taupe); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin: 8px 0; font-size: 12.8px; }
.footer-cols a { color: #ddd8d3; background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0% 1px; transition: background-size .35s ease; padding-bottom: 2px; }
.footer-cols a:hover { background-size: 100% 1px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom-inner {
  max-width: 1366px; margin: 0 auto; padding: 18px var(--pad-x);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 10.9px; color: #9d9893; letter-spacing: .08em;
}
.footer-bottom-inner p { margin: 0; }

/* ── タブレット ───────────────────────────────────────── */
@media (max-width: 1000px) {
  :root { --pad-x: 24px; }
  .global-nav { display: none; }
  .site-header, .site-header.is-top { padding: 12px var(--pad-x); }
  .pk-band { margin: 48px 0; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 var(--pad-x) 90px; }
  .crumbs-inner { padding: 8px var(--pad-x); }
  .footer-inner { padding: 56px var(--pad-x) 40px; }
  .footer-bottom-inner { padding: 16px var(--pad-x); }
}

/* ── SP（本家 /v1/sp/css 実測値。390px設計）───────────────── */
@media (max-width: 700px) {
  :root { --pad-x: 16px; }

  /* 見出し・ピル（本家SP: headline 8.205vw=32px・span 14px・pill 228x42） */
  .headline { font-size: 40px; margin: 0 0 24px; padding: 0 var(--pad-x); }
  .headline span { font-size: 14px; padding-top: 8px; }
  .headline-sub { font-size: 28px; margin: 0 0 24px; padding: 0 var(--pad-x); }
  .headline__link--text { font-size: 14px; right: var(--pad-x); }
  .pill-btn { min-width: 228px; height: 42px; font-size: 14px; padding: 8px 16px; }

  /* ヘッダー（本家SP: 上部は透明＋白ロゴ、スクロールで白帯・下向きスクロールで隠す） */
  .site-header.is-top { padding: 14px var(--pad-x); }
  .is-top .brand a { color: #fff; font-size: clamp(24px, 7.7vw, 30px); }
  .is-top:not(.is-scrolled) .menu-btn span { background: #fff; }
  .site-header { transition: translate .3s ease, padding .3s ease, background .3s ease; }
  .site-header.is-top.is-hidden { translate: 0 -100%; }
  .is-top.is-scrolled .brand a { color: var(--ink); }

  /* main-visual（本家SP: 全幅・比390/610・写真は最上部から・右下カウンター+円形NEXT） */
  .mv { padding-top: 0; margin-bottom: 96px; }
  .mv-slide { width: 100%; max-width: none; margin-right: 0; aspect-ratio: 390 / 610; }
  .mv-bgwrap::after { display: none; }
  .mv-box { width: 72%; left: 15px; bottom: 24px; }
  .mv-date { font-size: 1.2rem; }
  .mv-title { font-size: 28px; margin-top: 12px; }
  .mv-next { display: none; }
  .mv-fraction { bottom: 35px; right: 66px; font-size: 1.2rem; }
  .mv-next-circle {
    display: flex; align-items: center; justify-content: center;
    position: absolute; z-index: 3;
    bottom: 24px; right: 16px;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: none; color: #fff; cursor: pointer;
  }
  .mv-next-circle svg { width: 16px; height: 16px; display: block; }
  .mv-thumb { flex-basis: 240px; width: 240px; height: 64px; padding: 0 16px; }

  /* NEW POSTS（2カラム・日付は画像下横書き: 本家SP article__time式） */
  .np-cards { margin: 0 0 96px; }
  .np-grid { padding: 0 var(--pad-x); grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .acard-time {
    position: static; transform: none;
    display: block; margin: 12px 0 0;
    font-size: 1rem;
  }
  .acard-content { margin-top: 8px; }
  .acard-title { font-size: 1.4rem; }

  /* CATEGORY（タイル約72vw・円形画像） */
  .cat-module { margin: 0 0 96px; }
  .cat-row { padding: 8px var(--pad-x) 16px; gap: 16px; }
  /* 本家SP: タイル66.154vw・比258/242・ラベルは16px(4.1vw/6.3vw)インセット */
  .cat-tile { flex-basis: 66.154vw; }
  .cat-tile a { aspect-ratio: 258 / 242; }
  .cat-tile-circle { width: 42vw; height: 42vw; }
  .cat-tile-en { top: 16px; right: 16px; font-size: 1.1rem; }
  .cat-tile-name { font-size: 1.5rem; bottom: 16px; left: 16px; }

  /* PICKUP帯（本家SP: 積み上げ・カード80vw・日付は画像下・ピルは下部中央） */
  .pk-band { display: block; padding: 64px 0; margin: 0 0 96px; }
  .pk-rail { min-width: 0; }
  .pk-rail .headline { padding: 0 var(--pad-x); }
  .pk-main { padding-left: var(--pad-x); }
  .pk-head { display: none; }
  .pk-track { padding: 32px 0; }
  .acard--ranking { flex-basis: 80%; }
  .acard--ranking .acard-imgwrap::before, .acard--ranking .acard-imgwrap::after { content: none; }
  .acard--ranking .acard-imgbox::before {
    content: ""; position: absolute; bottom: 0; left: -1px; z-index: 1;
    border-top: 40px solid transparent; border-left: 40px solid var(--paper);
  }
  .acard--ranking .acard-imgbox::after {
    content: counter(pk);
    position: absolute; bottom: 6px; left: 4px; z-index: 1;
    font-family: var(--font-ui); font-weight: 500;
    font-size: 1.8rem; line-height: 100%; color: var(--ink);
  }
  .acard--ranking .acard-content { padding: 0 14px 14px; }
  .acard--ranking .acard-time { margin: 12px 14px 0; }
  .slider-pagination { display: block; padding: 0 var(--pad-x); margin-top: 24px; }
  .slider-pagination__scrollbar { display: block; margin: 0 0 24px; }
  .slider-pagination__arrow { width: 40px; height: 40px; }
  .pk-all { display: flex; margin: 32px auto 0; }

  /* KEYWORD（本家SPどおり） */
  .kw-module { margin: 0 0 96px; }
  .kw-list { gap: 16px; margin: 0 12px; }
  .kw-list a { padding: 8px 16px; font-size: 1.4rem; }
  .kw-track--bottom { margin-top: 16px; }

  /* カテゴリ2分割帯（縦積み） */
  .cat-band { grid-template-columns: 1fr; margin: 0 0 96px; }
  .cat-band-col { padding: 40px 0 48px; }
  .cat-band-col:first-child { border-right: none; border-bottom: 1px solid var(--paper); }
  .cat-band-covers { padding: 8px var(--pad-x) 0; }
  .cat-band-card { width: 100%; max-width: 320px; }

  .container { padding: 0 var(--pad-x) 64px; }
  .crumbs-inner { padding: 8px var(--pad-x); }
  .footer-inner { padding: 48px var(--pad-x) 36px; grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { padding: 16px var(--pad-x); }
  .section-head { margin: 64px 0 32px; }
  .list-inner { padding: 0 var(--pad-x); }
  .list-headline { margin-block: 24px 32px; }
  .list-headline__title { font-size: 2.2rem; }
  .list-top-info { flex-direction: column; align-items: stretch; row-gap: 24px; }
  .list-top-info__content { flex-direction: column; }
  .list-top-info__image { flex: none; }
  .list-row__link { gap: 16px; padding: 24px 0; }
  .list-row__img { flex-basis: 120px; }
  .list-row__title { font-size: 1.6rem; margin-bottom: 12px; }
  .article-head { margin: 24px auto; padding: 0 var(--pad-x) 32px; }
  .article-head__title { font-size: 2.2rem; margin: 24px 0; } /* 本家SP記事タイトル22px */
  .content__col { flex-direction: column; padding: 0 var(--pad-x); }
  /* 縦積みflexでデスクトップの align-items:flex-start が残ると
     本文カラムが fit-content（画像の intrinsic 幅など）に広がって
     画面からはみ出すため、SPでは幅を100%に固定する */
  .content__col { align-items: stretch; }
  .content__left { width: 100%; max-width: 100%; }
  .content__aside { display: none; }
}
@media (max-width: 540px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 本家SP: 391px以上はvwスケール（top.css / global.css の media 391 相当） */
@media (min-width: 391px) and (max-width: 700px) {
  .headline { font-size: clamp(32px, 8.2vw, 40px); }
  .headline-sub { font-size: clamp(24px, 6.15vw, 28px); }
  .mv-title { font-size: min(5vw, 28px); }
}

/* ============================================================
   歌みた大全 拡張 v2 — 動画コンテンツ型まわりのデザイン
   （フレームは CIZZ/NOLIVA の site-php から継承。ベースの
     CREA実測トークンは上の v1 ブロックにすべて残す）
   - 動画カード .vcard（16:9サムネ＋再生アイコン＋種別チップ）
   - PICKUP帯の番号付き動画カード .vcard--ranking
   - YouTube埋め込み .yt-embed（16:9）＋出典注記
   - 動画情報テーブル・タグチップ
   - カテゴリtint（ホロライブ/にじさんじ/ぶいすぽ/ほか/特集）
   ============================================================ */

:root {
  /* 追加トークン（カテゴリtint・帯の淡色） */
  --lilac: #e9e4f5;
  --peach: #fdeee4;
  --aqua: #e2f1f0;
  --sand: #f2ecdf;
  --rose: #f7e8ef;
  --rose-soft: #f7eef3;
  --aqua-soft: #eaf3f2;
  --accent: #6d5d9c;   /* 焦げ紫。NEWドットや強調に */
}

/* ブランドロゴは和文＝明朝。巨大TOPロゴにもそのまま効く */
.brand a {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: .08em;
}
.footer-logo {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: .12em;
}

/* カテゴリtint（config.php の categories.tint と対応） */
.tint-lilac  { --tint: var(--lilac); }
.tint-peach  { --tint: var(--peach); }
.tint-aqua   { --tint: var(--aqua); }
.tint-sand   { --tint: var(--sand); }
.tint-rose   { --tint: var(--rose); }

/* 記事フォールバックの音符モチーフ（v1の車輪 .wheel は不使用） */
.note-mark {
  position: absolute; right: 12%; bottom: 8%;
  font-family: var(--font-latin);
  font-size: clamp(2.4rem, 4vw, 4rem);
  color: rgba(33, 33, 33, .16);
  line-height: 1;
}

/* ── 動画カード ───────────────────────────────────────── */
.vcard-link { display: block; height: 100%; }
.vcard-imgwrap { position: relative; }
.vcard-imgbox {
  position: relative; aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--tint, var(--cream));
}
.vcard-imgbox img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .3s ease .03s;
}
.vcard-link:hover .vcard-imgbox img { transform: scale(1.06); }
.vcard-kind {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  padding: 2px 10px;
  background: rgba(255, 255, 255, .88);
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1rem; line-height: 1.8; letter-spacing: .08em;
  color: var(--ink);
}
.vcard-play {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.vcard-play i {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  display: block; position: relative;
}
.vcard-play i::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-38%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--ink);
}
.vcard-link:hover .vcard-play { opacity: 1; }
.vcard-time {
  position: absolute; top: 0; left: -8px; z-index: 1;
  transform: rotate(90deg); transform-origin: left top;
  font-family: var(--font-ui); font-weight: 500;
  font-size: 1.0rem; line-height: 100%;
}
.vcard.is-new .vcard-time::before { content: "\025CF"; color: var(--accent); padding-right: 4px; font-size: .8em; }
.vcard-content { margin-top: 12px; }
.vcard-cat {
  margin: 0 0 4px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.1rem; line-height: 1.6; letter-spacing: .06em;
  color: var(--gray);
}
.vcard-title {
  margin: 0; font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.4rem, 1.15vw, 1.6rem); line-height: 160%;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; text-overflow: ellipsis;
}
.vcard-title span {
  background-image: linear-gradient(90deg, var(--ink), var(--ink));
  background-position: left bottom; background-repeat: no-repeat;
  background-size: 0 1px; padding-bottom: 3px;
  transition: background-size .5s ease;
}
.vcard-link:hover .vcard-title span { background-size: 100% 1px; }
.vcard-song {
  margin: 4px 0 0;
  font-size: 1.2rem; line-height: 1.7; color: var(--ink-soft);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
  overflow: hidden; text-overflow: ellipsis;
}

/* PICKUP内: 番号（白三角+Figtree数字）＋罫線区切り。v1のカウンター pk を共用 */
.vcard--ranking { flex: 0 0 25%; min-width: 0; counter-increment: pk; }
.vcard--ranking .vcard-link {
  background: var(--paper);
  border-right: 1px solid var(--gray1);
  margin: 0 0 6px;
  padding: 0 14px 14px;
}
.vcard--ranking .vcard-imgwrap::before {
  content: ""; position: absolute; bottom: -1px; left: -1px; z-index: 2;
  border-top: 40px solid transparent; border-left: 40px solid var(--paper);
}
.vcard--ranking .vcard-imgwrap::after {
  content: counter(pk);
  position: absolute; bottom: 0; left: 0; z-index: 2;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 500;
  font-size: clamp(18px, 1.464vw, 22px); line-height: 100%;
  color: var(--ink);
}
.vcard--ranking .vcard-content { margin: 12px 0 0; }

/* ── YouTube埋め込み ──────────────────────────────────── */
.yt-embed {
  margin: 0 0 12px;
  aspect-ratio: 16 / 9;
  background: #111;
}
.yt-embed iframe {
  display: block; width: 100%; height: 100%; border: 0;
}
.yt-notice {
  margin: 0 0 40px;
  font-size: 1.2rem; color: var(--gray);
}

/* 動画情報テーブル（.cmp を動画ページ向けに調整） */
.video-facts { margin: 40px 0 30px; }
.video-facts th { width: 9em; }

/* タグチップ */
.video-tags {
  list-style: none; margin: 0 0 8px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.video-tags li {
  padding: 3px 14px;
  font-size: 1.2rem; line-height: 1.8;
  border: 1px solid var(--line); border-radius: 50px;
  color: var(--ink-soft);
}

/* ── 一覧の行型カード（動画用） ────────────────────────── */
.list-row__img--video {
  aspect-ratio: 16 / 9;
  background: var(--tint, var(--cream));
}
.list-row__meta {
  margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.list-row__vtuber {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.3rem; color: var(--ink);
}
.list-count--articles { margin-top: 64px; }

/* 2分割帯のカバーは動画サムネ想定の16:9 */
.cat-band-cover { aspect-ratio: 16 / 9; }

/* NEW VIDEOSの動画カードは4列グリッドを共用（.card-grid を使用） */

/* ── SP調整（動画まわりのみ。v1のSP指定を継承） ────────── */
@media (max-width: 700px) {
  .vcard-title { font-size: 1.4rem; }
  .vcard-time {
    position: static; transform: none;
    display: block; margin: 10px 0 0;
    font-size: 1rem;
  }
  .vcard-content { margin-top: 8px; }
  .vcard-play i { width: 40px; height: 40px; }
  .vcard-play i::after { border-width: 7px 0 7px 12px; }
  .vcard--ranking { flex-basis: 80%; }
  .vcard--ranking .vcard-link { padding: 0 14px 14px; }
  .vcard--ranking .vcard-imgwrap::before,
  .vcard--ranking .vcard-imgwrap::after { content: none; }
  .vcard--ranking .vcard-imgbox::before {
    content: ""; position: absolute; bottom: 0; left: -1px; z-index: 2;
    border-top: 40px solid transparent; border-left: 40px solid var(--paper);
  }
  .vcard--ranking .vcard-imgbox::after {
    content: counter(pk);
    position: absolute; bottom: 6px; left: 4px; z-index: 2;
    font-family: var(--font-ui); font-weight: 500;
    font-size: 1.8rem; line-height: 100%; color: var(--ink);
  }
  .list-row__img--video { flex-basis: 160px; }
}

/* ============================================================
   歌みた大全 拡張 v3 — ダークテーマ
   v1（CREA実測）・v2（動画まわり）は変更せず、この層でトークンと
   ハードコードされた淡色を上書きする。常にダーク（メディアクエリなし）。
   ============================================================ */

:root {
  /* ベース（暖色みのあるチャコール × 温白の文字） */
  --ink: #ece7e0;        /* 文字（v1では黒。反転して「明色」になる） */
  --ink-soft: #c6bfb4;
  --gray: #968f85;
  --gray1: #3b3835;      /* 罫線・ボーダー */
  --line: #3b3835;
  --paper: #1b1917;      /* 背景 */

  /* 帯・パネル */
  --band-blue:  #22252c; /* PICK UP帯 */
  --band-blue2: #202329;
  --band-pink:  #2a2226;

  /* カテゴリtint（フォールバック背景。濃色に再定義） */
  --cream: #262220;
  --taupe: #6f625a;
  --mint:  #1f2a29;
  --mauve: #a896a0;      /* アクセント文字（box-label・FAQ＋） */
  --blush: #2a2224;
  --sage:  #242822;
  --lilac: #2a2733;
  --peach: #33291f;
  --aqua:  #1f2c2b;
  --sand:  #2c2820;
  --rose:  #2e2529;
  --rose-soft: #251f23;
  --aqua-soft: #1d2423;

  /* 強調 */
  --accent: #b3a1e3;
  --green: #7fb08a;      /* NEW ドット（v1は濃緑 → 暗地用に明緑） */
}

/* ヘッダー: 白80% → 暗色80% */
.site-header,
.site-header.is-top.is-scrolled {
  background: rgba(27, 25, 23, .82);
}

/* 全画面メニュー */
.menu-overlay { background: rgba(27, 25, 23, .96); }

/* パンくず帯 */
.crumbs { background: #222023; }
.crumbs-inner { color: #b3aba1; }
.crumbs a { color: #b3aba1; }
.crumbs a:hover { color: var(--ink); }

/* 目次・ボックス・テーブル・開示（#f6f6f6 / #fff を暗色へ） */
.toc { background: #222023; }
.box { background: #211e21; }
.box-warn { background: #222023; }
.article-body table.cmp th { background: #232024; }
.disclosure { background: #222023; }

/* カテゴリタイルの円形画像台 */
.cat-tile-circle { background: rgba(255, 255, 255, .07); }

/* 画像なしフォールバックの文字色（黒半透明 → 明色半透明） */
.acard-imgbox .cover-en { color: rgba(236, 231, 224, .18); }
.note-mark { color: rgba(236, 231, 224, .18); }
.mv-fallback { color: rgba(236, 231, 224, .14); }

/* 動画カードのチップ・再生アイコン */
.vcard-kind { background: rgba(20, 18, 21, .85); color: var(--ink); }
.vcard-play i { background: rgba(255, 255, 255, .88); }
.vcard-play i::after { border-color: transparent transparent transparent #1b1917; }

/* スクロールバー進捗の溝 */
.slider-pagination__scrollbar { background: #3b3835; }

/* 記事ヘッダーのカテゴリリンク（#1c5dd6 → 暗地で読める青） */
.article-head__related-links { color: #8fb0f2; }

/* 反転していたホバー・(skip)を正しく戻す（明地＝--ink に暗文字） */
.btn:hover { background: var(--ink); color: var(--paper); }
.skip { background: var(--ink); color: var(--paper); }

/* フッターは「さらに深い夜」で階層を分ける。文字色はv1のまま（明色系） */
.site-footer { background: #121114; }
.footer-head { color: #8d7f76; }

/* ヒーロー下のサムネ帯・白箱まわりはトークン（--paper/--gray1）に追従済み */

/* ── v4: ページャー・サイト内検索（大量収録対応） ───────── */
.pager {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin: 48px 0 0; padding: 8px 0 0;
}
.pager-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 132px; height: 42px; padding: 8px 20px;
  border: 1px solid var(--ink); border-radius: 50px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.4rem; line-height: 160%; letter-spacing: .04em;
  transition: opacity .3s ease;
}
.pager-btn:hover { opacity: .6; }
.pager-state {
  font-family: var(--font-ui); font-weight: 500;
  font-size: 1.3rem; color: var(--gray);
}
.list-count__search {
  margin-left: 16px; font-size: 1.3rem; color: var(--ink);
}
.search-box { margin: 0 0 8px; }
.search-input {
  width: 100%; max-width: 560px; padding: 14px 20px;
  font-family: var(--font-sans); font-size: 1.6rem; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--gray1); border-radius: 50px;
}
.search-input:focus { outline: 2px solid var(--mauve); outline-offset: 2px; }
.search-note {
  margin: 12px 0 24px; font-size: 1.2rem; color: var(--gray);
}

/* ── v5: VTuberページ・目次・動画モーダル ─────────────── */
/* VTuber個別ページの収録リスト（行型・サムネ左） */
.vlist { list-style: none; margin: 0; padding: 0; }
.vrow { border-bottom: 1px solid var(--line); }
.vrow__link { display: flex; gap: 20px; padding: 18px 0; align-items: center; }
.vrow__imgwrap {
  flex: 0 0 200px; position: relative; aspect-ratio: 16 / 9;
  overflow: hidden; background: var(--tint, var(--cream));
}
.vrow__imgwrap img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .3s ease .03s;
}
.vrow__link:hover .vrow__imgwrap img { transform: scale(1.06); }
.vrow__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
.vrow__play i {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .88); display: block; position: relative;
}
.vrow__play i::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-38%, -50%);
  border-style: solid; border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #1b1917;
}
.vrow__link:hover .vrow__play { opacity: 1; }
.vrow__content { flex: 1; min-width: 0; display: block; }
.vrow__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; text-overflow: ellipsis;
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.6rem; line-height: 1.7;
}
.vrow__link:hover .vrow__title { text-decoration: underline; text-underline-offset: 4px; }
.vrow__meta { margin-top: 8px; display: flex; gap: 12px; align-items: center; }
.vrow__kind {
  display: inline-block; padding: 2px 12px;
  font-size: 1.1rem; line-height: 1.8;
  border: 1px solid var(--line); border-radius: 50px; color: var(--ink-soft);
}
.vrow__date { font-size: 1.2rem; color: var(--gray); }
.vt-focus-label { font-size: .55em; font-weight: 400; color: var(--gray); margin-left: .4em; }

/* VTuber目次グリッド */
.vdir-groups { display: grid; gap: 56px; }
.vdir-head {
  margin: 0 0 20px; font-family: var(--font-latin); font-weight: 400;
  font-size: clamp(20px, 2.05vw, 30px); line-height: 1.2;
}
.vdir-head a { color: var(--ink); }
.vdir-head span {
  margin-left: 14px;
  font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; color: var(--gray);
}
.vdir-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 20px 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.vdir-item__link { display: block; height: 100%; }
.vdir-item__thumb {
  display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--tint, var(--cream)); position: relative;
}
.vdir-item__thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .3s ease .03s;
}
.vdir-item__link:hover .vdir-item__thumb img { transform: scale(1.06); }
.vdir-item__name {
  display: block; margin-top: 8px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.4rem; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
  overflow: hidden; text-overflow: ellipsis;
}
.vdir-item__link:hover .vdir-item__name { text-decoration: underline; text-underline-offset: 3px; }
.vdir-item__count { display: block; font-size: 1.1rem; color: var(--gray); }
.vdir-item__group { display: none; }

/* 動画モーダル（<dialog>） */
.video-modal {
  width: min(920px, 94vw); max-height: 90vh;
  padding: 0; border: 1px solid var(--gray1); border-radius: 6px;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column;
  overflow: visible;
}
.video-modal::backdrop { background: rgba(0, 0, 0, .78); }
.video-modal__inner {
  padding: 20px 22px 18px;
  overflow-y: auto;            /* 枠内スクロール。はみ出し防止 */
  flex: 1 1 auto; min-height: 0;
}
.video-modal__player { aspect-ratio: 16 / 9; background: #000; }
.video-modal__player iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-modal__meta { margin-top: 14px; }
.video-modal__title {
  margin: 0; font-family: var(--font-serif); font-weight: 500;
  font-size: 1.7rem; line-height: 1.6;
}
.video-modal__sub { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: 1.2rem; color: var(--gray); }
.video-modal__actions {
  margin-top: 14px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; flex-wrap: wrap;
}
.video-modal__nav { display: inline-flex; align-items: center; gap: 14px; }
.video-modal__navbtn {
  padding: 8px 16px; border: none; background: transparent; cursor: pointer;
  color: var(--ink); font-family: var(--font-sans); font-size: 1.3rem;
}
.video-modal__navbtn:hover { text-decoration: underline; text-underline-offset: 4px; }
.video-modal__pos { font-family: var(--font-ui); font-size: 1.2rem; color: var(--gray); }
.video-modal__close {
  position: absolute; top: -14px; right: -14px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gray1); background: var(--paper); color: var(--ink);
  font-size: 2rem; line-height: 1; cursor: pointer;
  z-index: 2;
}
.video-modal__close:hover { background: var(--ink); color: var(--paper); }

/* 同曲カバー（モーダル内） */
.video-modal__same { margin-top: 16px; }
.video-modal__same-head {
  margin: 0 0 8px; font-family: var(--font-latin); font-weight: 500;
  font-size: 1.1rem; letter-spacing: .14em; color: var(--gray);
}
.video-modal__same-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
/* PCは1行4枚。SPは3×3の9枚に戻す（JSは最大9枚描画） */
.video-modal__same-row .video-modal__same-thumb:nth-child(n+5) { display: none; }
.video-modal__same-thumb {
  padding: 0; border: none; background: transparent;
  cursor: pointer; text-align: left; color: var(--ink);
  min-width: 0;
}
.video-modal__same-thumb img {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; background: var(--cream);
  transition: transform .3s ease .03s;
}
.video-modal__same-thumb:hover img { transform: scale(1.05); }
.video-modal__same-thumb span {
  display: block; margin-top: 4px; font-size: 1.1rem; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.video-modal__same-thumb:hover span { text-decoration: underline; text-underline-offset: 3px; }
.video-modal__more {
  display: inline-block; margin-top: 12px; padding: 7px 22px;
  border: 1px solid var(--ink); border-radius: 50px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.3rem; line-height: 1.6;
  transition: opacity .3s ease;
}
.video-modal__more:hover { opacity: .6; }

/* ── v6: 人気ランキング ──────────────────────────────── */
.rank-note { margin: 20px 0 0; font-size: 1.2rem; color: var(--gray); }
.rank-note a { color: var(--ink); }
.vrow__views { font-size: 1.2rem; color: var(--gray); }
.rank-tabs { list-style: none; margin: 0 0 8px; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.rank-tabs a {
  display: inline-block; padding: 6px 18px;
  border: 1px solid var(--line); border-radius: 50px;
  font-size: 1.3rem; line-height: 1.8; color: var(--ink-soft);
}
.rank-tabs a:hover { color: var(--ink); }
.rank-tabs a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rank-list { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.rank-row { border-bottom: 1px solid var(--line); }
.rank-row__link { display: flex; gap: 18px; padding: 18px 0; align-items: center; }
.rank-row__no {
  flex: 0 0 44px; text-align: center;
  font-family: var(--font-ui); font-weight: 600;
  font-size: 2.2rem; line-height: 1; color: var(--gray);
}
.rank-row__no.is-top { color: var(--accent); }
.rank-row__imgwrap {
  flex: 0 0 200px; position: relative; aspect-ratio: 16 / 9;
  overflow: hidden; background: var(--cream);
}
.rank-row__imgwrap img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .3s ease .03s;
}
.rank-row__link:hover .rank-row__imgwrap img { transform: scale(1.06); }
.rank-row__content { flex: 1; min-width: 0; display: block; }
.rank-row__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; text-overflow: ellipsis;
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.6rem; line-height: 1.7;
}
.rank-row__link:hover .rank-row__title { text-decoration: underline; text-underline-offset: 4px; }
.rank-row__meta { margin-top: 6px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.rank-row__views { font-family: var(--font-ui); font-weight: 600; font-size: 1.3rem; }
.rank-row__channel { display: block; margin-top: 4px; font-size: 1.2rem; color: var(--gray); }

@media (max-width: 700px) {
  .rank-row__no { flex-basis: 28px; font-size: 1.8rem; }
  .rank-row__imgwrap { flex-basis: 128px; }
  .rank-row__title { font-size: 1.4rem; }
}

/* ── v7: アーティストページ ──────────────────────────── */
.artist-song { margin: 0 0 48px; }
.artist-song__head {
  margin: 0 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.7rem, 1.6vw, 2rem); line-height: 1.6;
}
.artist-song__head a { color: var(--ink); }
.artist-song__head a:hover { color: var(--gray); }
.artist-song__count {
  margin-left: 12px; font-family: var(--font-ui); font-weight: 500;
  font-size: 1.2rem; color: var(--gray);
}
.adir-grid {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.adir-item__link {
  display: block; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .3s ease;
}
.adir-item__link:hover { border-color: var(--gray); }
.adir-item__name {
  display: block; font-family: var(--font-serif); font-weight: 500;
  font-size: 1.5rem; line-height: 1.6;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.adir-item__link:hover .adir-item__name { text-decoration: underline; text-underline-offset: 3px; }
.adir-item__meta { display: block; font-size: 1.1rem; color: var(--gray); }

/* ── v11: トップのARTIST帯（カバーの多いアーティスト） ── */
.home-artist { margin: 0 0 160px; }
.home-artist .headline { margin-bottom: 2.3vw; }
.home-artist-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  padding: 0 var(--pad-x);
}
.home-artist-item__link {
  display: block; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .3s ease;
}
.home-artist-item__link:hover { border-color: var(--gray); }
.home-artist-item__name {
  display: block; font-family: var(--font-serif); font-weight: 500;
  font-size: 1.5rem; line-height: 1.6;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-artist-item__link:hover .home-artist-item__name { text-decoration: underline; text-underline-offset: 3px; }
.home-artist-item__meta { display: block; margin-top: 2px; font-size: 1.1rem; color: var(--gray); }

@media (max-width: 700px) {
  .home-artist { margin: 0 0 96px; }
  .home-artist-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .home-artist-item__name { font-size: 1.3rem; }
}

/* ── v9: ブランド VUTA（欧文ロゴ＋サブタイトル「歌みた大全」） ── */
/* list-top-info の下線と本文の間隔を全ページで統一（v1では .list-count が
   40px の上マージンを担っていたが、新ビューでは存在しないページがあるため） */
.list-top-info { margin-bottom: 40px; }
.list-count { margin-top: 0; }
.brand a { font-family: var(--font-latin); font-weight: 400; letter-spacing: .18em; }
.brand-sub {
  display: inline-block; margin-left: 14px; padding-top: 8px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.2rem, 1.1vw, 1.6rem); letter-spacing: .3em;
  color: var(--gray); vertical-align: baseline;
}
.is-top .brand .brand-sub { color: inherit; }
.footer-logo { font-family: var(--font-latin); font-weight: 400; letter-spacing: .18em; }
.footer-sub {
  margin: 6px 0 0; font-family: var(--font-serif);
  font-size: 1.3rem; letter-spacing: .3em; color: #b8b3ae;
}
@media (max-width: 700px) {
  .brand-sub { margin-left: 8px; font-size: 1.1rem; letter-spacing: .2em; }
}

/* ── v10: 字間（曲タイトル 0.1em / 平文 0.05em） ── */
/* 曲タイトル（一覧・カード・ランキング・モーダル・ヒーロー・原曲見出し） */
.vrow__title,
.vcard-title,
.vcard-title span,
.rank-row__title,
.home-rank-row__title,
.home-rank-hero__title,
.list-row__title,
.video-modal__title,
.artist-song__head,
.artist-song__grid .vdir-item__name,
.mv-title {
  letter-spacing: 0.1em;
}
/* 平文（本文・説明・注記） */
body,
.article-body,
.list-top-info__summary,
.faq-a,
.yt-notice,
.rank-note,
.search-note,
.video-modal__sub,
.vdir-item__name,
.list-empty {
  letter-spacing: 0.05em;
}

/* ── v8: トップページのRANKING帯（1位ヒーロー＋2〜8位リスト） ── */
.home-rank { margin: 0 0 160px; }
.home-rank .headline { margin-bottom: 2.3vw; }
.home-rank .rank-note { padding: 0 var(--pad-x); }
.home-rank-grid {
  display: grid; grid-template-columns: 5fr 4fr;
  gap: 40px; align-items: stretch;
  padding: 0 var(--pad-x);
}
.home-rank-hero { display: block; position: relative; }
.home-rank-hero__imgwrap {
  display: block; aspect-ratio: 16 / 9; overflow: hidden;
  position: relative; background: var(--cream);
}
.home-rank-hero__imgwrap img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .4s ease .03s;
}
.home-rank-hero:hover .home-rank-hero__imgwrap img { transform: scale(1.04); }
.home-rank-badge {
  position: absolute; left: 0; top: 0; z-index: 1;
  padding: 6px 18px;
  background: var(--accent); color: #fff;
  font-family: var(--font-ui); font-weight: 600;
  font-size: 1.4rem; line-height: 1.6; letter-spacing: .1em;
}
.home-rank-hero__title {
  display: block; margin-top: 14px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.7rem, 1.6vw, 2rem); line-height: 1.6;
}
.home-rank-hero:hover .home-rank-hero__title { text-decoration: underline; text-underline-offset: 4px; }
.home-rank-hero__meta { margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 1.3rem; color: var(--gray); }
.home-rank-hero__meta .rank-row__views { color: var(--ink); }
.home-rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.home-rank-list li { flex: 1; border-bottom: 1px solid var(--line); }
.home-rank-list li:first-child { border-top: 0; }
.home-rank-row__link { display: flex; gap: 14px; align-items: center; height: 100%; padding: 10px 0; }
.home-rank-no {
  flex: 0 0 34px; text-align: center;
  font-family: var(--font-ui); font-weight: 600;
  font-size: 1.9rem; line-height: 1; color: var(--gray);
}
.home-rank-row__imgwrap {
  flex: 0 0 108px; position: relative; aspect-ratio: 16 / 9;
  overflow: hidden; background: var(--cream);
}
.home-rank-row__imgwrap img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .3s ease .03s;
}
.home-rank-row__link:hover .home-rank-row__imgwrap img { transform: scale(1.08); }
.home-rank-row__content { flex: 1; min-width: 0; display: block; }
.home-rank-row__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; text-overflow: ellipsis;
  font-size: 1.35rem; line-height: 1.6; color: var(--ink);
}
.home-rank-row__link:hover .home-rank-row__title { text-decoration: underline; text-underline-offset: 3px; }
.home-rank-row__views { display: block; font-size: 1.15rem; color: var(--gray); }

@media (max-width: 1000px) {
  .home-rank-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-rank { margin: 0 0 96px; }
}
@media (max-width: 700px) {
  .home-rank-list li:first-child { border-top: 1px solid var(--line); }
  .home-rank-no { flex-basis: 24px; font-size: 1.6rem; }
  .home-rank-row__imgwrap { flex-basis: 104px; }
  .home-rank-hero__title { font-size: 1.5rem; }
}

@media (max-width: 700px) {
  .video-modal { width: 96vw; }
  .video-modal__inner { padding: 12px 12px 14px; }
  .video-modal__title { font-size: 1.4rem; }
  .video-modal__same-row { grid-template-columns: repeat(3, 1fr); }
  .video-modal__same-row .video-modal__same-thumb:nth-child(n+5) { display: block; }
  .vrow__imgwrap { flex-basis: 132px; }
  .vrow__title { font-size: 1.4rem; }
  .vdir-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
}





/* ─────────────────────────────────────────────
   v4 コラム強化（2026-09-22）: サムネカードグリッド
   ・article-body 内の .col-cards / .col-card
   ・ダークテーマ（v3のトークン）前提
────────────────────────────────────────────── */
.article-body .col-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 24px; }
.article-body .col-card {
  display: flex; flex-direction: column;
  color: var(--ink); text-decoration: none;
  background: #232024; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; transition: border-color .2s ease, transform .2s ease;
}
.article-body .col-card:hover { border-color: var(--accent, #8f7bd8); transform: translateY(-2px); }
.article-body .col-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; flex: none; }
.article-body .col-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.article-body .col-card:hover .col-card__img img { transform: scale(1.05); }
.article-body .col-card__body { display: contents; }
.article-body .col-card__title {
  font-weight: 600; font-size: 1.35rem; line-height: 1.5; padding: 2px 13px 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-body .col-card__meta { font-size: 1.18rem; color: #a49d93; padding: 0 13px 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 700px) {
  .article-body .col-cards { grid-template-columns: 1fr; gap: 12px; margin: 16px 0 20px; }
  .article-body .col-card { flex-direction: row; }
  .article-body .col-card__img { width: 44%; }
  .article-body .col-card__body { display: flex; flex: 1; min-width: 0; flex-direction: column; justify-content: center; padding: 11px 12px 11px 0; }
  .article-body .col-card__title { font-size: 1.28rem; padding: 0 0 0 12px; -webkit-line-clamp: 3; }
  .article-body .col-card__meta { padding: 7px 0 0 12px; }
}

/* ─────────────────────────────────────────────
   v5 記事内インライン埋め込み（2026-09-23）
   ・.col-embeds / .col-embed / .yt-lite
   ・クリックまで iframe を読まない lite-youtube 方式
────────────────────────────────────────────── */
.article-body .col-embeds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; margin: 24px 0 28px; }
.article-body .col-embed { margin: 0; }
.article-body .yt-lite {
  position: relative; display: block; aspect-ratio: 16 / 9;
  background: #000; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line);
}
.article-body .yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; transition: opacity .2s ease, transform .25s ease; }
.article-body .yt-lite:hover img, .article-body .yt-lite:focus-visible img { opacity: 1; transform: scale(1.03); }
.article-body .yt-lite__play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 44px; border-radius: 12px;
  background: rgba(30, 30, 30, .82);
}
.article-body .yt-lite__play::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0; border-style: solid;
  border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff;
  left: 3px;
}
.article-body .yt-lite:hover .yt-lite__play { background: #f00; }
.article-body .yt-lite__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.article-body .col-embed figcaption { display: block; margin-top: 9px; }
.article-body .col-embed__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-weight: 600; font-size: 1.32rem; line-height: 1.5; color: var(--ink);
}
.article-body .col-embed__meta { display: block; margin-top: 3px; font-size: 1.16rem; color: #a49d93; }
@media (max-width: 700px) {
  .article-body .col-embeds { grid-template-columns: 1fr; gap: 18px; margin: 18px 0 22px; }
}

/* ─────────────────────────────────────────────
   v6 アーティストページのカード文言（2026-09-23）
   ・原曲ごとのセクションのため動画タイトルは省略し、チャンネル名を主文言に
   ・（markup: view-artist.php の vdir-item__name = チャンネル名）
────────────────────────────────────────────── */
.artist-song__grid .vdir-item__name { color: var(--ink); }

/* ─────────────────────────────────────────────
   v7 記事のランキング構成（2026-09-24）
   ・.rank-item: 1エントリー=順位見出し＋解説＋埋め込み1本。文字と動画が交互に並ぶ
   ・.col-embed--inline: 1本ずつ全幅のインライン埋め込み（表＋塊埋め込み廃止に伴う新形）
────────────────────────────────────────────── */
.article-body .rank-item { margin: 0; padding: 30px 0 6px; border-top: 2px solid var(--line); }
.article-body .rank-item:first-child { border-top: 0; padding-top: 6px; }
.article-body .rank-item__title {
  margin: 0 0 12px; font-size: 2.05rem; line-height: 1.5; font-weight: 700;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.article-body .rank-item__no {
  flex: none; display: inline-block; min-width: 60px; padding: 3px 12px 4px;
  border-radius: 7px; background: var(--accent); color: #16141f; text-align: center;
  font-size: 1.66rem; font-weight: 700; letter-spacing: .02em; line-height: 1.5;
}
.article-body .rank-item--1 .rank-item__no { background: #e8b64c; color: #201804; }
.article-body .rank-item--2 .rank-item__no { background: #c0c6d4; color: #191c22; }
.article-body .rank-item--3 .rank-item__no { background: #cf8a52; color: #211206; }
.article-body .rank-item .col-embed { margin: 18px 0 8px; }
.article-body .col-embed--inline .yt-lite { border-radius: 10px; overflow: hidden; background: #000; }
.article-body .col-embed--inline figcaption { margin-top: 10px; }
@media (max-width: 700px) {
  .article-body .rank-item { padding: 24px 0 4px; }
  .article-body .rank-item__title { font-size: 1.78rem; gap: 10px; }
  .article-body .rank-item__no { min-width: 52px; font-size: 1.5rem; }
  .article-body .rank-item .col-embed { margin: 14px 0 4px; }
}
