/*
 * 10-12 ジャンル・シーズン・キーワード一覧（tx- / ts-）/ 17 サイト内検索（ss-）/ 18-23 固定ページ・404（st- / nf-）
 * 正本: renewal_design「10-12 …」「17 サイト内検索」「18-23 固定ページ・404」。値はデザインの指定をそのまま使う。スマホは 767px 以下。
 */

/* ============================================================ 10-12 一覧: 濃色の頭 */
.tx-head { background: var(--c-dark); color: #fff; }
.tx-head__in { max-width: var(--wrap); margin: 0 auto; padding: 22px 24px 26px; }
.tx-head__crumb, .ss-head__crumb, .st-head__crumb { font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.tx-head__crumb a, .ss-head__crumb a, .st-head__crumb a,
.tx-head__crumb [aria-current], .ss-head__crumb [aria-current], .st-head__crumb [aria-current] { color: rgba(255,255,255,.7); }
.tx-head__crumb a:hover, .ss-head__crumb a:hover, .st-head__crumb a:hover { color: #fff; }
.tx-head h1 { margin: 0 0 16px; font-size: 28px; font-weight: 900; line-height: 1.4; }
.tx-head h1 small { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75); margin-left: 8px; }
.tx-head__lead { margin: 0; font-size: 14px; color: rgba(255,255,255,.75); }
#season .tx-head h1 { margin-bottom: 6px; }
.tx-find { max-width: 560px; display: flex; align-items: center; height: 52px; border-radius: 999px; background: #fff; padding: 0 6px 0 18px; }
.tx-find svg { flex: none; }
.tx-find input { flex: 1; min-width: 0; border: 0; outline: 0; height: 100%; padding: 0 12px; font-size: 15px; color: var(--c-ink); background: none; }
.tx-find:focus-within { box-shadow: 0 0 0 2px var(--c-accent); }

/* 本文 */
.tx-main { max-width: var(--wrap); margin: 0 auto; padding: 32px 24px 56px; display: flex; flex-direction: column; gap: 40px; }
.tx-main > * { min-width: 0; }
.tx-h2 { margin: 0 0 14px; font-size: 20px; font-weight: 900; line-height: 1.4; }
.tx-h2 small { font-size: 12px; color: var(--c-sub); font-weight: 500; }

/* 語のチップ */
.tx-chip { display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none; color: var(--c-ink); font-weight: 700; white-space: nowrap; }
.tx-chip:hover { color: var(--c-accent); }
.tx-n { font-size: 12px; color: var(--c-sub); font-weight: 500; }
.tx-chip--line { height: 44px; padding: 0 16px; border: 1.5px solid var(--c-line); gap: 8px; font-size: 15px; }
.tx-chip--line:hover { border-color: var(--c-accent); }
.tx-chip--soft { height: 40px; padding: 0 14px; background: var(--c-soft); gap: 8px; font-size: 14px; }
.tx-chip--soft .tx-n { font-size: 11px; }
.tx-chip--soft:hover { background: var(--c-accent-soft); }
.tx-chip--kw { height: 38px; padding: 0 12px; background: var(--c-soft); gap: 5px; font-size: 13px; font-weight: 500; }
.tx-chip--kw .tx-n { font-size: 10px; font-weight: 400; }
.tx-chip--kw:hover { background: var(--c-accent-soft); }
.tx-chip--mini { height: 32px; padding: 0 12px; border: 1px solid var(--c-line); font-size: 12px; font-weight: 400; color: var(--c-text); }
.tx-chip--mini .tx-n { display: none; }
.tx-chip--mini:hover { border-color: var(--c-accent); }
.tx-top { display: flex; gap: 8px; flex-wrap: wrap; }
.tx-top--kw { gap: 6px; }
.tx-more { display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 700; color: var(--c-accent); cursor: pointer; }

/* 50 音順 */
.tx-kana__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; position: sticky; top: 0; background: #fff; padding: 10px 0; z-index: 2; }
.tx-kana__head .tx-h2 { margin: 0; }
.tx-kana__nav { display: flex; gap: 4px; }
.tx-kana__nav a, .tx-kana__nav span { flex: none; min-width: 34px; height: 34px; padding: 0 4px; display: grid; place-items: center; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--c-text); text-decoration: none; background: var(--c-soft); }
.tx-kana__nav a:hover { background: var(--c-accent-soft); color: var(--c-accent); }
.tx-kana__nav span { opacity: .4; }
.tx-groups { display: flex; flex-direction: column; gap: 22px; }
.tx-group { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; scroll-margin-top: 64px; }
.tx-group__k { font-size: 28px; font-weight: 900; color: var(--c-accent); line-height: 1; padding-top: 6px; }
.tx-group__items { display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: flex-start; }
.tx-item { display: inline-flex; flex-direction: column; gap: 4px; max-width: 100%; }
.tx-item[hidden] { display: none; }
.tx-alias { font-size: 11px; color: var(--c-sub); padding-left: 14px; line-height: 1.5; max-width: 260px; }
.tx-alias a { color: var(--c-sub); text-decoration: none; }
.tx-alias a:hover { color: var(--c-accent); text-decoration: underline; }

/* キーワード: 頭文字ごとの折りたたみ */
.tx-folds { display: flex; flex-direction: column; gap: 6px; }
.tx-fold { border: 1px solid var(--c-line); border-radius: 12px; padding: 0 14px; scroll-margin-top: 64px; }
.tx-fold > summary { list-style: none; cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; }
.tx-fold > summary::-webkit-details-marker { display: none; }
.tx-fold__k { color: var(--c-accent); font-size: 18px; margin-right: 8px; }
.tx-fold__n { font-size: 11px; color: var(--c-sub); font-weight: 500; flex: none; }
.tx-fold__items { display: flex; gap: 6px 8px; flex-wrap: wrap; align-items: flex-start; padding: 4px 0 16px; }
.tx-chip--sm { height: 36px; padding: 0 12px; font-size: 13px; gap: 6px; }
.tx-chip--sm .tx-n { font-size: 10px; }

/* 1 作品だけの語 */
.tx-single { border: 1px solid var(--c-line); border-radius: 14px; padding: 0 20px; }
.tx-single > summary { list-style: none; cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--c-text); }
.tx-single > summary::-webkit-details-marker { display: none; }
.tx-single summary small { font-size: 12px; color: var(--c-sub); font-weight: 500; }
.tx-single__arrow { color: var(--c-sub); font-size: 12px; }
.tx-single[open] .tx-single__arrow { transform: rotate(180deg); }
.tx-single__list { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px 0 16px; }
.tx-single__list .tx-alias { display: none; }
.tx-empty { margin: 0; font-size: 14px; color: var(--c-sub); }
.is-filtering .tx-kana__nav { visibility: hidden; }

/* 11 シーズン: 年代のチップと年ごとの 4 期 */
.ts-decades { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--c-line); }
.ts-decades__in { max-width: var(--wrap); margin: 0 auto; padding: 12px 24px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ts-decades__in::-webkit-scrollbar { display: none; }
.ts-decade { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; background: var(--c-soft); color: var(--c-text); text-decoration: none; }
.ts-decade:hover { color: var(--c-accent); }
.ts-decade[aria-current] { background: var(--c-ink); color: #fff; }
.ts-main { padding-top: 24px; }
.ts-years { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; }
.ts-year { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; align-items: start; scroll-margin-top: 72px; }
.ts-year__label b { display: block; font-size: 22px; font-weight: 900; color: var(--c-accent); line-height: 1.3; }
.ts-year__label span { display: block; font-size: 11px; color: var(--c-sub); }
.ts-year__cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ts-cell { height: 52px; border-radius: 10px; border: 1px solid var(--c-line); display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--c-ink); font-size: 14px; font-weight: 700; line-height: 1.2; }
.ts-cell span { font-size: 11px; color: var(--c-sub); font-weight: 500; }
a.ts-cell:hover { border-color: var(--c-accent); color: var(--c-accent); }
.ts-cell.is-empty { color: var(--c-line-strong); background: #fafafb; }
.ts-cell.is-empty span { color: var(--c-line-strong); }
.ts-year__extra { margin: 6px 0 0; font-size: 11px; color: var(--c-sub); line-height: 1.6; }
.ts-year__extra a { color: var(--c-sub); }

/* ============================================================ 17 サイト内検索 */
.ss-head { background: var(--c-dark); color: #fff; }
.ss-head__in { max-width: var(--wrap); margin: 0 auto; padding: 22px 24px 0; }
.ss-form { max-width: 640px; display: flex; align-items: center; height: 56px; border-radius: 999px; background: #fff; padding: 0 6px 0 18px; }
.ss-form svg { flex: none; }
.ss-form input { flex: 1; min-width: 0; border: 0; outline: 0; height: 100%; padding: 0 12px; font-size: 16px; color: var(--c-ink); background: none; }
.ss-form button { flex: none; height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.ss-form:focus-within { box-shadow: 0 0 0 2px var(--c-accent); }
.ss-head h1 { margin: 18px 0 0; font-size: 22px; font-weight: 900; line-height: 1.4; overflow-wrap: anywhere; }
.ss-head h1:last-child, .ss-head__lead { padding-bottom: 24px; }
.ss-head h1 small { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75); margin-left: 8px; }
.ss-head__lead { margin: 6px 0 0; font-size: 13px; color: rgba(255,255,255,.75); }
.ss-tabs { display: flex; gap: 4px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.ss-tabs::-webkit-scrollbar { display: none; }
.ss-tabs a { flex: none; padding: 12px 14px; font-size: 14px; font-weight: 700; text-decoration: none; color: rgba(255,255,255,.7); border-bottom: 3px solid transparent; }
.ss-tabs a span { font-weight: 500; opacity: .7; }
.ss-tabs a:hover { color: #fff; }
.ss-tabs a[aria-current] { color: #fff; border-bottom-color: var(--c-accent); }

.ss-main { max-width: var(--wrap); margin: 0 auto; padding: 32px 24px 56px; display: flex; flex-direction: column; gap: 40px; }
.ss-main > * { min-width: 0; }
.ss-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ss-sec-head h2, .ss-h2 { margin: 0; font-size: 20px; font-weight: 900; line-height: 1.4; }
.ss-h2 { margin-bottom: 14px; }
.ss-sec-head h2 small, .ss-h2 small { font-size: 14px; color: var(--c-sub); font-weight: 500; margin-left: 6px; }
.ss-sec-head .more { font-size: 13px; }
.ss-empty { margin: 0; font-size: 14px; color: var(--c-text); line-height: 1.8; }
.ss-all { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; text-decoration: none; }

/* 作品（横長の行カード 3 列） */
.ss-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ss-work { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--c-line); border-radius: 14px; text-decoration: none; color: var(--c-ink); }
.ss-work:hover { border-color: var(--c-accent); color: var(--c-ink); }
.ss-work img { width: 140px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; display: block; background: #a6a6a6; }
.ss-work__body { min-width: 0; }
.ss-work__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.4; }
.ss-work__meta { display: block; font-size: 12px; color: var(--c-sub); margin-top: 3px; }
.ss-work__meta b { color: var(--c-ink); }
.ss-work__vod { display: inline-block; margin-top: 5px; font-size: 10px; font-weight: 700; color: var(--c-text); background: var(--c-soft); border-radius: 4px; padding: 1px 5px; }

/* 声優・キャラクター（PC は横並び） */
.ss-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ss-pair > :only-child { grid-column: 1 / -1; }
.ss-rows { display: flex; flex-direction: column; gap: 8px; }
.ss-rows--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.ss-row { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 12px; text-decoration: none; color: var(--c-ink); min-width: 0; }
.ss-row:hover { border-color: var(--c-accent); color: var(--c-ink); }
.ss-row__img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #a6a6a6; flex: none; }
.ss-row__mono { width: 44px; height: 44px; border-radius: 12px; font-size: 18px; }
.ss-row__body { flex: 1; min-width: 0; }
.ss-row__body b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-row__body span { display: block; font-size: 12px; color: var(--c-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-row__arrow { color: var(--c-line-strong); flex: none; }
.ss-charas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ss-charas--full { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px 10px; }
.ss-chara { text-decoration: none; color: var(--c-ink); text-align: center; min-width: 0; }
.ss-chara:hover { color: var(--c-accent); }
.ss-chara img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #a6a6a6; display: block; margin: 0 auto 6px; }
.ss-chara__name { display: block; font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-chara__work { display: block; font-size: 10px; color: var(--c-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-orgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ss-main .pager { margin-top: 28px; }

/* ============================================================ 18-23 固定ページ（濃色タイトル帯＋本文幅 720px） */
.st-head { background: var(--c-dark); color: #fff; }
.st-head__in { max-width: 720px; margin: 0 auto; padding: 28px 24px 32px; }
.st-head h1 { margin: 0; font-size: 30px; font-weight: 900; line-height: 1.4; }
.st-head__note { margin: 6px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
.st-body { max-width: 720px; margin: 0 auto; padding: 36px 24px 56px; display: flex; flex-direction: column; gap: 32px; font-size: 15px; line-height: 2; color: var(--c-text); }
.st-body > * { min-width: 0; }
.st-body p { margin: 0; }
.st-lead { font-size: 22px; font-weight: 900; line-height: 1.5 !important; color: var(--c-ink); text-wrap: pretty; }
.st-h2 { margin: 0 0 10px; font-size: 18px; font-weight: 900; color: var(--c-ink); line-height: 1.5; }
.st-dl { margin: 0; background: var(--c-soft); border-radius: 16px; padding: 6px 22px; font-size: 14px; }
.st-dl > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.st-dl > div:last-child { border-bottom: 0; }
.st-dl dt { color: var(--c-sub); line-height: 1.7; }
.st-dl dd { margin: 0; color: var(--c-ink); line-height: 1.7; overflow-wrap: anywhere; }
.st-links { display: flex; gap: 10px; flex-wrap: wrap; }
.st-links a { height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--c-line); display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--c-ink); line-height: 1; }
.st-links a:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* 19 お問い合わせ */
.st-form { gap: 18px; line-height: 1.6; }
.st-form__lead { font-size: 14px; line-height: 1.8; }
.st-field { display: flex; flex-direction: column; gap: 6px; }
.st-field__label { font-size: 13px; font-weight: 700; display: flex; gap: 6px; align-items: center; color: var(--c-ink); }
.st-req { font-size: 10px; font-weight: 700; color: #fff; background: var(--c-accent); border-radius: 4px; padding: 1px 5px; line-height: 1.5; }
.st-field input, .st-field textarea, .st-select select { width: 100%; border: 1.5px solid #d9d9de; border-radius: 12px; font-size: 15px; color: var(--c-ink); background: #fff; outline: 0; }
.st-field input { height: 48px; padding: 0 14px; }
.st-field textarea { padding: 12px 14px; line-height: 1.7; resize: vertical; font-family: inherit; }
.st-field input:focus, .st-field textarea:focus, .st-select select:focus { border-color: var(--c-accent); }
.st-select { position: relative; display: block; }
.st-select select { appearance: none; height: 48px; padding: 0 40px 0 14px; color: var(--c-text); cursor: pointer; }
.st-select::after { content: '▾'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--c-sub); pointer-events: none; }
.st-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.6; cursor: pointer; }
.st-check input { appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid var(--c-line-strong); flex: none; cursor: pointer; display: grid; place-items: center; }
.st-check input:checked { background: var(--c-accent); border-color: var(--c-accent); }
.st-check input:checked::after { content: '✓'; color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }
.st-submit { height: 52px; border-radius: 999px; border: 0; background: var(--grad); color: #fff; font-size: 15px; font-weight: 700; }
.st-submit.is-disabled { cursor: not-allowed; }

/* 20 プライバシーポリシー */
.st-body--doc { gap: 28px; }
.st-toc { background: var(--c-soft); border-radius: 14px; padding: 14px 20px; }
.st-toc__cap { font-size: 12px; font-weight: 700; color: var(--c-sub); margin-bottom: 8px; line-height: 1.5; }
.st-toc ol { list-style: decimal; margin: 0; padding-left: 20px; font-size: 14px; line-height: 2; color: var(--c-text); }
.st-toc a { text-decoration: none; color: var(--c-ink); }
.st-toc a:hover { color: var(--c-accent); }
.st-article { scroll-margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.st-article h2 { margin: 0 0 2px; font-size: 18px; font-weight: 900; line-height: 1.5; padding-left: 12px; border-left: 3px solid var(--c-accent); color: var(--c-ink); }
.st-article p { font-size: 15px; line-height: 1.9; }
.st-note { font-size: 13px; color: var(--c-sub); line-height: 1.8 !important; }

/* 21 サイトマップ */
.st-body--map { gap: 28px; line-height: 1.6; }
.st-map__h2 { margin: 0 0 10px; font-size: 17px; font-weight: 900; color: var(--c-ink); }
.st-map__list { display: flex; flex-direction: column; border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; }
.st-map__list a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 16px; border-bottom: 1px solid #f0f0f2; font-size: 15px; text-decoration: none; color: var(--c-ink); }
.st-map__list a:last-child { border-bottom: 0; }
.st-map__list a:hover { background: var(--c-soft); color: var(--c-accent); }
.st-map__list a span { color: var(--c-line-strong); }
.st-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.st-chip { height: 38px; padding: 0 14px; border-radius: 999px; background: var(--c-soft); display: inline-flex; align-items: center; text-decoration: none; color: var(--c-ink); font-size: 14px; font-weight: 700; }
.st-chip:hover { background: var(--c-accent-soft); color: var(--c-accent); }
.st-chip--line { background: #fff; border: 1px solid var(--c-line); }
.st-chip--line:hover { background: #fff; border-color: var(--c-accent); }

/* 22 口コミ（準備中）・配信の移動: 中央寄せ */
.st-body--center { align-items: center; text-align: center; gap: 22px; padding-top: 48px; line-height: 1.8; }
.st-mark { width: 72px; height: 72px; border-radius: 24px; background: var(--c-accent-soft); color: var(--c-accent); display: grid; place-items: center; font-size: 32px; font-weight: 900; line-height: 1; }
.st-center__h2 { margin: 0 0 8px; font-size: 22px; font-weight: 900; color: var(--c-ink); line-height: 1.5; }
.st-center__p { font-size: 15px; line-height: 1.8; }
.st-cta { height: 48px; padding: 0 24px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; }
.st-cta:hover { color: #fff; opacity: .9; }
.st-popular { width: 100%; text-align: left; margin-top: 8px; line-height: 1.6; }
.st-popular h3 { margin: 0 0 12px; font-size: 17px; font-weight: 900; color: var(--c-ink); }
.st-popular__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; }
.st-popular .wcard__meta { margin-top: 2px; font-size: 11px; }

/* 23 404 */
.nf-hero { position: relative; background: var(--c-dark); color: #fff; overflow: hidden; text-align: center; }
.nf-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 260px at 50% 100%, rgba(222,0,122,.5), transparent 70%); }
.nf-hero__in { position: relative; max-width: 720px; margin: 0 auto; padding: 56px 24px 48px; }
.nf-hero__code { font-size: 96px; font-weight: 900; line-height: 1; letter-spacing: -.02em; color: #ff5fae; }
.nf-hero h1 { margin: 12px 0 8px; font-size: 26px; font-weight: 900; line-height: 1.4; }
.nf-hero p { margin: 0; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.8); }
.nf-body { gap: 24px; padding-top: 32px; line-height: 1.6; }
.nf-search { display: flex; align-items: center; height: 52px; border-radius: 999px; border: 1.5px solid #d9d9de; padding: 0 4px 0 16px; gap: 6px; }
.nf-search svg { flex: none; }
.nf-search:focus-within { border-color: var(--c-accent); }
.nf-search input { flex: 1; min-width: 0; border: 0; outline: 0; height: 100%; padding: 0 6px; font-size: 15px; background: none; color: var(--c-ink); }
.nf-search button { flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.nf-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nf-links a { height: 48px; border-radius: 12px; border: 1px solid var(--c-line); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--c-ink); }
.nf-links a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.nf-body .st-popular { margin-top: 0; }

/* ============================================================ スマホ（767px 以下） */
@media (max-width: 767px) {
  /* 10-12 */
  .tx-head__in { padding: 14px 16px 18px; }
  .tx-head__crumb, .st-head__crumb { font-size: 11px; margin-bottom: 6px; }
  .tx-head h1 { margin-bottom: 12px; font-size: 22px; }
  .tx-head h1 small { font-size: 12px; margin-left: 2px; }
  #season .tx-head h1 { margin-bottom: 4px; }
  .tx-head__lead { font-size: 12px; }
  .tx-find { height: 46px; padding: 0 16px; gap: 8px; }
  .tx-find svg { width: 18px; height: 18px; }
  .tx-find input { padding: 0; font-size: 14px; }
  .tx-main { padding: 20px 16px 28px; gap: 26px; }
  .tx-h2 { margin-bottom: 10px; font-size: 17px; }
  .tx-h2 small { font-size: 11px; }
  .tx-chip--line { height: 40px; padding: 0 12px; gap: 5px; font-size: 13px; }
  .tx-chip--line .tx-n { font-size: 10px; }
  .tx-top { gap: 6px; }
  .tx-top--kw .is-more-sp { display: none; }
  .tx-top--kw.is-open .is-more-sp, .is-filtering .tx-top--kw .is-more-sp { display: inline-flex; }
  .tx-kana__head { display: block; position: static; padding: 0; margin-bottom: 0; background: none; }
  .tx-kana__head .tx-h2 { margin-bottom: 8px; }
  .tx-kana__nav { overflow-x: auto; scrollbar-width: none; margin: 0 -16px 14px; padding: 0 16px; position: sticky; top: 0; background: #fff; }
  .tx-kana__nav::-webkit-scrollbar { display: none; }
  .tx-kana__nav a, .tx-kana__nav span { min-width: 40px; height: 40px; font-size: 14px; }
  .tx-kana--kw .tx-kana__nav { margin-bottom: 12px; position: static; }
  .tx-groups { gap: 16px; }
  .tx-group { display: block; scroll-margin-top: 56px; }
  .tx-group__k { display: block; font-size: 22px; margin-bottom: 8px; padding-top: 0; }
  .tx-group__items { gap: 6px 8px; }
  .tx-item { gap: 3px; }
  .tx-chip--soft { padding: 0 12px; gap: 6px; font-size: 13px; }
  .tx-chip--soft .tx-n { font-size: 10px; }
  .tx-alias { font-size: 10px; padding-left: 12px; max-width: 280px; }
  .tx-single { border-radius: 12px; padding: 0 14px; }
  .tx-single > summary { min-height: 48px; font-size: 13px; }
  .tx-single summary small { font-size: 11px; }

  /* 11 シーズン */
  .ts-decades__in { padding: 12px 16px; }
  .ts-main { padding-top: 16px; padding-bottom: 20px; }
  .ts-years { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ts-year { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; }
  .ts-year__label b { font-size: 20px; }
  .ts-year__label span { font-size: 10px; }
  .ts-cell { height: 48px; font-size: 13px; }
  .ts-cell span { font-size: 10px; }
  .ts-year__extra { font-size: 10px; }

  /* 17 サイト内検索 */
  .ss-head__in { padding: 14px 16px 0; }
  .ss-form { height: 48px; padding: 0 4px 0 14px; gap: 6px; }
  .ss-form svg { width: 18px; height: 18px; }
  .ss-form input { padding: 0 6px; font-size: 15px; }
  .ss-form button { height: 40px; padding: 0 16px; font-size: 13px; }
  .ss-head h1 { margin-top: 14px; font-size: 18px; }
  .ss-head h1 small { font-size: 12px; margin-left: 2px; }
  .ss-head h1:last-child, .ss-head__lead { padding-bottom: 18px; }
  .ss-tabs { gap: 2px; margin: 8px -16px 0; padding: 0 10px; }
  .ss-tabs a { padding: 12px 10px; font-size: 13px; }
  .ss-main { padding: 20px 16px 28px; gap: 26px; }
  .ss-sec-head { margin-bottom: 10px; }
  .ss-sec-head h2, .ss-h2 { font-size: 17px; }
  .ss-h2 { margin-bottom: 10px; }
  .ss-sec-head h2 small, .ss-h2 small { font-size: 12px; margin-left: 2px; }
  .ss-sec-head .more { font-size: 12px; }
  .ss-works { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ss-work { grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 8px; border-radius: 12px; }
  .ss-work img { width: 120px; }
  .ss-work__title { font-size: 13px; }
  .ss-work__meta { font-size: 11px; margin-top: 2px; }
  .ss-pair { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ss-rows--grid { grid-template-columns: minmax(0, 1fr); }
  .ss-row__img { width: 44px; height: 44px; }
  .ss-row__mono { width: 40px; height: 40px; border-radius: 10px; font-size: 16px; }
  .ss-row__body b { font-size: 14px; }
  .ss-row__body span { font-size: 11px; }
  .ss-charas { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .ss-charas::-webkit-scrollbar { display: none; }
  .ss-charas > .ss-chara { flex: none; width: 80px; }
  .ss-charas--full { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 14px 8px; }
  .ss-charas--full > .ss-chara { width: auto; }
  .ss-orgs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ss-all { margin-top: 10px; }

  /* 18-23 */
  .st-head__in { padding: 16px 16px 20px; }
  .st-head h1 { font-size: 22px; }
  .st-head__note { font-size: 12px; }
  .st-body { padding: 24px 16px 32px; gap: 22px; font-size: 14px; line-height: 1.9; }
  .st-lead { font-size: 18px; }
  .st-h2 { margin-bottom: 6px; font-size: 16px; }
  .st-dl { border-radius: 14px; padding: 4px 16px; font-size: 13px; }
  .st-dl > div { grid-template-columns: 90px minmax(0, 1fr); gap: 8px; padding: 10px 0; }
  .st-dl dt, .st-dl dd { line-height: 1.6; }
  .st-links { flex-direction: column; gap: 8px; }
  .st-links a { height: 48px; padding: 0 16px; border-radius: 12px; border-width: 1px; justify-content: space-between; }
  .st-links a span { color: var(--c-line-strong); }
  .st-form { gap: 18px; line-height: 1.6; }
  .st-form__lead { font-size: 13px; }
  .st-body--doc { padding-top: 20px; gap: 20px; }
  .st-toc { padding: 12px 16px; }
  .st-toc ol { font-size: 13px; }
  .st-article { gap: 8px; }
  .st-article h2 { font-size: 16px; margin-bottom: 0; }
  .st-article p { font-size: 14px; }
  .st-note { font-size: 12px; }
  .st-body--map { padding-top: 20px; gap: 20px; }
  .st-map__h2 { margin-bottom: 8px; font-size: 15px; }
  .st-map__list a { min-height: 46px; padding: 0 14px; font-size: 14px; }
  .st-chip { height: 36px; padding: 0 12px; font-size: 13px; }
  .st-body--center { padding-top: 40px; }
  .st-center__h2 { font-size: 20px; }
  .st-center__p { font-size: 14px; }
  .st-popular h3 { margin-bottom: 10px; font-size: 15px; }
  .st-popular__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .nf-hero__in { padding: 44px 16px 40px; }
  .nf-hero::before { background: radial-gradient(300px 220px at 50% 100%, rgba(222,0,122,.5), transparent 70%); }
  .nf-hero__code { font-size: 72px; }
  .nf-hero h1 { margin-top: 10px; font-size: 20px; }
  .nf-hero p { font-size: 13px; }
  .nf-body { padding-top: 24px; gap: 20px; }
  .nf-search button { padding: 0 16px; }
  .nf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
