/* ミレドコ — 白地・文字中心のウェブメディアのデザイン */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f3;
  --ink: #151515;
  --ink-2: #3b3b3b;
  --muted: #6d6d6d;
  --line: #e5e5e1;
  --strong: #151515;
  --link: #1d4ed8;
  --brand: #f2a43a;
  --radius: 6px;
  --k: #555555;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-feature-settings: "palt"; letter-spacing: .02em; line-height: 1.45; color: var(--ink); }
h1 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 900; margin: .4em 0 .5em; }
h2 { font-size: 1.3rem; font-weight: 800; margin: 2.4em 0 .8em; padding-top: .55em; border-top: 2px solid var(--strong); }
h3 { font-size: 1.05rem; font-weight: 700; margin: 1.8em 0 .5em; }
p { margin: .8em 0; }
ul, ol { padding-left: 1.3em; }
strong { font-weight: 700; }
.small { font-size: .8rem; color: var(--muted); line-height: 1.7; }
.lead { font-size: 1.02rem; color: var(--ink-2); }
.kicker { margin: 18px 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--k); }
.empty { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.sp { display: inline; }
@media (min-width: 640px) { .sp { display: none; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
main.wrap { padding-bottom: 72px; }
main.narrow { max-width: 780px; }
.layout { display: block; }
.main-col { min-width: 0; }
@media (min-width: 1024px) {
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
}

/* ヘッダー */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-top { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.logo img { display: block; }
.logo-text { font-weight: 900; font-size: 1.35rem; letter-spacing: .05em; }
.logo-tag { display: none; margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.util-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.util-nav a { display: none; color: var(--ink-2); text-decoration: none; font-size: .86rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; }
.util-nav a:hover, .util-nav a[aria-current] { background: var(--bg-soft); color: var(--ink); }
.util-nav .util-search { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); }
.util-search-label { font-size: .84rem; }
@media (min-width: 760px) { .util-nav a { display: inline-block; } .util-nav .util-search { display: inline-flex; margin-left: 6px; } }
@media (min-width: 980px) { .logo-tag { display: block; } }
.genre-nav { border-top: 1px solid var(--line); }
.genre-inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.genre-inner::-webkit-scrollbar { display: none; }
.genre-inner a { flex: 0 0 auto; padding: 11px 11px 9px; font-size: .88rem; font-weight: 500; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; }
.genre-inner a:hover { color: var(--ink); }
.genre-inner a[aria-current] { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
@media (min-width: 760px) { .genre-inner a.gn-sm { display: none; } }

/* パンくず */
.crumbs ol { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .76rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: #bdbdb8; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* トップ */
.intro { padding: 36px 0 4px; }
.intro-title { font-size: clamp(1.7rem, 4.6vw, 2.6rem); line-height: 1.35; margin: 0 0 .35em; font-weight: 900; }
.intro-lead { margin: 0; color: var(--ink-2); font-size: .95rem; }
.intro-date { margin-left: .8em; color: var(--muted); font-size: .8rem; white-space: nowrap; }

.sec { margin-top: 48px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-top: 2px solid var(--strong); padding-top: 10px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; padding: 0; border: 0; font-size: 1.15rem; }
.sec-lead { color: var(--ink-2); margin-top: 0; font-size: .92rem; }
.more { font-size: .84rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; color: var(--ink); }

/* 注目の作品（大きな1本＋リスト） */
.pickup { display: grid; gap: 8px; }
@media (min-width: 760px) { .pickup { grid-template-columns: 1.15fr 1fr; gap: 36px; } }
.pickup-lead { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); background: var(--bg-soft); border-top: 4px solid var(--k); padding: 24px 24px 26px; }
.pickup-title { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 900; line-height: 1.35; font-feature-settings: "palt"; }
.pickup-sum { color: var(--ink-2); font-size: .93rem; line-height: 1.8; }
.pickup-lead:hover .pickup-title { text-decoration: underline; text-decoration-thickness: 2px; }
.pickup .tlist li:first-child { border-top: 0; }

/* 作品カード（文字中心） */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px 28px; }
.tcard { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); border-top: 3px solid var(--k); padding-top: 10px; }
.tcard[hidden] { display: none; }
.tcard-label, .tlist-label { font-size: .72rem; font-weight: 700; color: var(--k); letter-spacing: .04em; }
/* あわせて観たい：選んだ理由（監督が同じ、など） */
.tcard-why { display: block; font-size: .74rem; font-weight: 700; line-height: 1.5; color: var(--ink-2); border-left: 3px solid var(--brand); padding-left: 7px; margin-bottom: 2px; }
.tcard-title { font-weight: 800; font-size: 1.02rem; line-height: 1.45; font-feature-settings: "palt"; }
.tcard:hover .tcard-title { text-decoration: underline; }
.tcard-sum { font-size: .84rem; color: var(--ink-2); line-height: 1.7; }
.tcard-meta, .tlist-meta { font-size: .76rem; color: var(--muted); }
.tlist { list-style: none; margin: 0; padding: 0; }
.tlist li { border-bottom: 1px solid var(--line); }
.tlist li:first-child { border-top: 1px solid var(--line); }
.tlist a { display: flex; flex-direction: column; gap: 1px; padding: 12px 0; text-decoration: none; color: var(--ink); }
.tlist-title { font-weight: 700; line-height: 1.5; }
.tlist a:hover .tlist-title { text-decoration: underline; }
.k-dating { --k: #c2255c; } .k-survival { --k: #2b8a3e; } .k-audition { --k: #6741d9; } .k-comedy { --k: #d9480f; }
.k-documentary { --k: #1864ab; } .k-food-travel { --k: #c05621; } .k-true-crime { --k: #495057; } .k-sports { --k: #0b7285; }
.k-movies { --k: #5f3dc4; } .k-dramas { --k: #a61e4d; } .k-anime { --k: #1c7ed6; }

/* 3列（映画・ドラマ・アニメ） */
.cols3 { display: grid; gap: 28px; }
@media (min-width: 760px) { .cols3 { grid-template-columns: repeat(3, 1fr); } }
.col-h { margin: 0 0 8px; font-size: 1rem; }
.col-h a { color: var(--ink); text-decoration: none; }
.col-h a:hover { text-decoration: underline; }

/* サービス一覧 */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 28px; }
.svc-list a { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.svc-list a:hover .svc-name { text-decoration: underline; }
.svc-name { font-weight: 800; }
.svc-price { font-size: .86rem; color: var(--ink-2); }
.svc-trial { font-size: .76rem; color: var(--muted); }
.svc-lead { font-size: .84rem; color: var(--ink-2); margin-top: 4px; line-height: 1.7; }
.svc-list.wide { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* サービスの表記（ロゴではなく色の点＋名前） */
.svc { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.svc::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, #999); }
.svc-unext { --dot: #333; } .svc-netflix { --dot: #d81f26; } .svc-prime { --dot: #1a98ff; } .svc-disney { --dot: #1c3aa9; }
.svc-hulu { --dot: #12b76a; } .svc-dmmtv { --dot: #d4a800; } .svc-lemino { --dot: #8c4bff; } .svc-abema { --dot: #2f9e44; }
.svc-fod { --dot: #f03e3e; } .svc-danime { --dot: #f07c00; } .svc-tver { --dot: #2d8cff; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; line-height: 1; padding: 4px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink-2); background: #fff; white-space: nowrap; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 40px; padding: 8px 18px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: #fff; font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .12s, color .12s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0; }
.svc-box { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc-box:first-of-type { border-top: 1px solid var(--line); }
.svc-box-name { font-weight: 800; color: var(--ink); text-decoration: none; }
.svc-box-name:hover { text-decoration: underline; }
.svc-box-meta { display: block; font-size: .8rem; color: var(--muted); }

/* 作品ページ */
.title-head h1 { margin-top: .2em; }
.title-answer { font-size: 1.05rem; margin: .3em 0 0; }
.title-answer .small { margin-left: .3em; }
.where { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.where-h { margin: 0; padding: 10px 16px; border: 0; background: var(--bg-soft); font-size: .86rem; font-weight: 700; border-radius: var(--radius) var(--radius) 0 0; }
.where-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 16px; border-top: 1px solid var(--line); }
.where-main { flex: 1 1 220px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.where-svc { font-weight: 800; font-size: 1.08rem; color: var(--ink); text-decoration: none; }
.where-svc:hover { text-decoration: underline; }
.where-note { flex-basis: 100%; font-size: .8rem; color: var(--muted); }
.where-price { font-size: .88rem; color: var(--ink-2); display: flex; flex-direction: column; line-height: 1.5; }
.where-price span { font-size: .76rem; color: var(--muted); }
.where-row .btn { margin-left: auto; }
/* 配信サービスの下：料金で比べると・配信を確認できなかったサービス */
.nf-search { border: 1px solid var(--line); margin: 16px 0 28px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 24px; }
.nf-links a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; color: var(--ink-2); text-decoration: none; }
.nf-links a:hover { border-color: var(--ink); }
.where-order { margin: 0; padding: 8px 16px 10px; border-top: 1px solid var(--line); }
.where-foot { padding: 14px 16px 16px; border-top: 1px solid var(--line); background: var(--bg-soft); border-radius: 0 0 var(--radius) var(--radius); }
.where-sum-h { margin: 0 0 4px; font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.where-sum ul { list-style: none; margin: 0; padding: 0; }
.where-sum li { display: grid; grid-template-columns: 9.5em 1fr; gap: 2px 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.6; }
.where-sum li:last-child { border-bottom: 0; }
.where-sum-k { font-size: .78rem; font-weight: 700; color: var(--ink-2); line-height: 1.9; }
.where-sum .small { margin: 6px 0 0; }
.where-none { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); line-height: 1.7; }
.where-none .where-sum-k { display: block; }
.where-none .small { display: block; margin-top: 2px; }
@media (max-width: 520px) { .where-sum li { grid-template-columns: 1fr; gap: 0; } }
.series-binge { margin: 10px 0 0; padding: 10px 14px; background: var(--bg-soft); border-radius: var(--radius); font-size: .92rem; line-height: 1.7; }
.series-binge .where-sum-k { margin-right: .8em; }
/* 特集の冒頭：この特集のまとめ・サービスで絞り込む */
.art-sum { margin: 22px 0; padding: 14px 18px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.art-sum-h { margin: 0 0 4px; font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.art-sum ul { list-style: none; margin: 0; padding: 0; }
.art-sum li { display: grid; grid-template-columns: 12em 1fr; gap: 2px 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.6; }
.art-sum li:last-child { border-bottom: 0; }
.art-sum .small { margin: 6px 0 0; }
.art-sum .art-filter-h { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.art-sum .chips { margin-bottom: 4px; }
.filter-count:empty { display: none; }
@media (max-width: 520px) { .art-sum li { grid-template-columns: 1fr; gap: 0; } .art-sum { padding: 12px 14px 10px; } }
/* ジャンルのページ：年代・テーマの絞り込み（たたむ）、並べ替え、よく名前が出てくる人 */
.more-filters { margin: -6px 0 14px; }
.more-filters > summary { display: inline-block; cursor: pointer; font-size: .82rem; font-weight: 700; color: var(--ink-2); padding: 4px 0; list-style: none; }
.more-filters > summary::-webkit-details-marker { display: none; }
.more-filters > summary::before { content: "＋ "; color: var(--muted); }
.more-filters[open] > summary::before { content: "− "; }
.more-filters[open] > summary { margin-bottom: 8px; }
.more-filters .chips { margin-bottom: 10px; }
.more-filters-note { margin: -4px 0 6px; }
.sortbar button { font-size: .78rem; padding: 4px 12px; }
.filter-count { margin: -8px 0 12px; }
.people-idx-h { margin: 14px 0 6px; font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.people-chips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; }
.people-chips a { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .86rem; background: #fff; }
.people-chips a:hover { border-color: var(--ink); }
.people-chips a span { font-size: .72rem; color: var(--muted); }
/* 配信カレンダー：日ごとの見出し、月の件数、出典とカレンダーに追加のリンク */
.cal-day h3 { display: flex; align-items: center; gap: 8px; margin: 1.4em 0 .4em; font-size: .95rem; }
.cal-month h3 { display: flex; align-items: baseline; gap: 10px; }
.cal-count { font-size: .76rem; font-weight: 700; color: var(--muted); }
.cal-svc-count { margin: -.2em 0 .6em; }
.cal-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: .74rem; }
.cal-links a { color: var(--muted); }
.cal-links a.cal-add { color: var(--link); }
.cal .chips + .chips { margin-top: -8px; }
/* 比較ページの表：セルの中の小さな補足は改行して出す */
.cmp-price td .small, .cmp-genre td .small, .cmp-genre th .small { display: block; font-weight: 400; }
.cmp-price, .cmp-feat, .cmp-genre, .cmp-cancel { min-width: 560px; }
.cmp-feat th, .cmp-cancel th { white-space: nowrap; }
.cmp-feat td, .cmp-cancel td { font-size: .86rem; }
.feat-src { display: block; font-weight: 400; font-size: .72rem; }
/* 表の作品名の下の短い情報 */
.wt-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.5; }
.wt-meta { font-size: .74rem; font-weight: 400; color: var(--muted); }
.table-wrap.is-empty table { display: none; }
.table-wrap.is-empty::after { content: "このサービスで観られる作品は、この表にはありません。"; display: block; padding: 12px 2px; font-size: .86rem; color: var(--muted); }
/* 出演者・スタッフのほかの作品 */
.ppl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 0 32px; }
.ppl h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 1.2em 0 .4em; font-size: 1rem; }
.ppl-role { font-size: .74rem; font-weight: 700; color: var(--muted); }
.ppl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--strong); }
.ppl-list li { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--line); line-height: 1.55; }
.ppl-list a { font-weight: 700; color: var(--ink); }
.ppl-meta { font-size: .76rem; color: var(--muted); }
.ppl-more { display: inline-block; margin-top: 8px; font-size: .82rem; }
span.ppl-more { color: var(--muted); }
.source { margin-top: 32px; }

/* 表・リスト */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0; border-top: 1px solid var(--strong); }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { font-size: .76rem; color: var(--muted); font-weight: 700; white-space: nowrap; }
tbody th a { color: var(--ink); font-weight: 700; }
table.compare { min-width: 720px; }
table.plain { min-width: 520px; }
table.plain.plan { min-width: 0; }
table.plain.plan thead th, table.plain.plan td:nth-child(3), table.plain.plan td:nth-child(4) { white-space: nowrap; }
table.plain.plan tbody th { font-size: .88rem; }
.col-best { min-width: 180px; font-size: .84rem; }
th[data-sort] { cursor: pointer; }
th[data-sort]::after { content: " ↕"; color: #aaa; font-weight: 400; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 24px; margin: 18px 0; border-top: 1px solid var(--strong); }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .74rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.info { margin: 0; border-top: 1px solid var(--strong); }
.info div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.info dt { color: var(--muted); font-size: .86rem; }
.info dd { margin: 0; }
@media (max-width: 520px) { .info div { grid-template-columns: 1fr; gap: 0; } }
ul.check, ul.caution { list-style: none; padding: 0; }
ul.check li, ul.caution li { position: relative; padding-left: 1.4em; margin: .4em 0; }
ul.check li::before { content: "・"; position: absolute; left: 0; color: var(--ink); font-weight: 900; }
ul.caution li::before { content: "※"; position: absolute; left: 0; color: var(--muted); }
.rank li { margin: .7em 0; }
.toc { background: var(--bg-soft); padding: 14px 20px; margin: 22px 0; border-radius: var(--radius); font-size: .9rem; }
.toc-title { margin: 0 0 4px; font-weight: 700; font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.toc ol { margin: 0; }
.toc a { color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.purposes { display: grid; gap: 0; }
.purpose { border-bottom: 1px solid var(--line); padding: 4px 0 12px; }
.purpose h3 { margin-top: 1em; }
.purpose-svcs { margin: 0; padding-left: 1.3em; }
.purpose-svcs li { margin: .3em 0; }
.purpose-svcs a { font-weight: 700; margin-right: 10px; }

/* 特集 */
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list a { display: flex; flex-direction: column; gap: 2px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.article-list li:first-child a { border-top: 1px solid var(--line); }
.al-title { font-weight: 700; line-height: 1.55; }
.article-list a:hover .al-title { text-decoration: underline; }
.al-meta { font-size: .76rem; color: var(--muted); }
.article-meta { font-size: .8rem; color: var(--muted); margin-top: -.2em; }
.article h2 + p, .article h2 + ul { margin-top: .4em; }

/* 配信カレンダー */
.cal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cal-item { display: grid; grid-template-columns: 4.4em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cal-item[hidden] { display: none; }
.cal-date { font-weight: 800; font-size: 1rem; line-height: 1.3; font-feature-settings: "tnum"; }
.cal-date small { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); }
.cal-title { display: block; font-weight: 700; line-height: 1.55; }
.cal-title a { color: var(--ink); text-decoration: none; }
.cal-title a:hover { text-decoration: underline; }
.cal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.cal-month h3 { margin: 1.4em 0 .4em; font-size: .95rem; }
.countdown { font-size: .72rem; font-weight: 700; color: #c2255c; }
.countdown.today { color: #fff; background: #c2255c; padding: 2px 6px; border-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.chips button { font: inherit; font-size: .82rem; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.chips button:hover { border-color: var(--ink); }
.chips button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* サイドバー */
.side-col { margin-top: 56px; display: grid; gap: 32px; align-content: start; }
@media (min-width: 1024px) { .side-col { margin-top: 28px; } }
.side-h { font-size: .95rem; font-weight: 800; margin: 0 0 6px; padding: 8px 0 0; border-top: 2px solid var(--strong); }
.side-more { margin: 10px 0 0; font-size: .82rem; text-align: right; }
.side-more a { color: var(--ink-2); text-decoration: none; }
.side-more a:hover { text-decoration: underline; }
.cal-list.mini { border-top: 0; }
.cal-list.mini .cal-item { grid-template-columns: 3.3em 1fr; gap: 8px; padding: 9px 0; }
.cal-list.mini .cal-date { font-size: .88rem; }
.cal-list.mini .cal-title { font-size: .86rem; }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list a { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.rank-no { flex: 0 0 1.2em; font-weight: 900; font-size: 1.05rem; line-height: 1.35; font-feature-settings: "tnum"; }
.rank-body { display: flex; flex-direction: column; }
.rank-title { font-weight: 700; font-size: .88rem; line-height: 1.5; }
.rank-list a:hover .rank-title { text-decoration: underline; }
.rank-meta { font-size: .72rem; color: var(--muted); }
.side-genres { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.side-genres a { display: inline-block; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; color: var(--ink-2); text-decoration: none; }
.side-genres a:hover { border-color: var(--ink); color: var(--ink); }
.side-svcs { list-style: none; margin: 0; padding: 0; }
.side-svcs a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .88rem; }
.side-svcs a:hover span:first-child { text-decoration: underline; }
.side-price { color: var(--muted); font-size: .8rem; white-space: nowrap; }

/* 検索 */
.search-box input { width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 18px; border: 2px solid var(--ink); border-radius: 999px; outline: none; background: #fff; color: var(--ink); }
.search-box input:focus { box-shadow: 0 0 0 4px rgba(21, 21, 21, .08); }
#search-results { margin-top: 8px; }

/* フッター */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 44px 0 52px; color: var(--ink-2); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; margin-bottom: 24px; }
.footer-logo { font-weight: 900; font-size: 1.2rem; margin: 0; color: var(--ink); letter-spacing: .05em; }
.footer-h { font-weight: 700; font-size: .8rem; margin: 0 0 6px; color: var(--ink); }
.site-footer a { display: block; padding: 3px 0; font-size: .86rem; color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* 広告（data/site.json の monetize が true のときだけ使う） */
.pr-note { margin: 10px 0 0; font-size: .76rem; color: var(--muted); }
.ad-slot { margin: 28px 0; }
.ad-slot:empty { display: none; }
.ad { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); background: #fff; }
.ad-label { display: block; font-size: .7rem; color: var(--muted); margin-bottom: 4px; }
.ad-headline { display: block; font-weight: 800; }
.ad-body { display: block; font-size: .84rem; color: var(--muted); }
.ad-cta { display: inline-block; font-size: .84rem; font-weight: 700; color: var(--link); margin-top: 6px; }
.bigscreen .bs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 24px; }
.bs-item { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.bs-name { font-weight: 800; }
.bs-note { font-size: .84rem; color: var(--muted); }
.ad-skin, .ad-overlay { margin: 0; }
body.has-skin { background: var(--skin-bg); }
body.has-skin main.wrap { background: var(--bg); position: relative; z-index: 1; }
.skin-banner { display: block; text-align: center; padding: 10px 16px; font-weight: 800; text-decoration: none; background: var(--skin-bg); color: var(--skin-fg); }
.skin-banner small { display: block; font-weight: 400; font-size: .72rem; opacity: .85; }
.skin-side { display: none; }
@media (min-width: 1360px) {
  .skin-side { display: flex; position: fixed; top: 0; bottom: 0; width: calc((100vw - 1120px) / 2); align-items: center; justify-content: center; writing-mode: vertical-rl; font-size: 1.5rem; font-weight: 900; text-decoration: none; color: var(--skin-fg); background: var(--skin-bg); z-index: 0; }
  .skin-left { left: 0; }
  .skin-right { right: 0; }
}
.ad-overlay { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; }
.overlay-inner { position: relative; max-width: 760px; margin: 0 auto; }
.overlay-inner .ad { border-radius: 10px 10px 0 0; padding-right: 48px; box-shadow: 0 -6px 20px rgba(0, 0, 0, .15); }
.overlay-close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--ink); font-size: 1.1rem; line-height: 1; cursor: pointer; }

/* ===== v3：エンタメメディアの型を反映（イラスト、サムネイル、アイコン、濃紺の帯、タブ、特集バナー） ===== */
:root { --navy: #1f1d3a; }
.k-dating { --kb: #fde7ef; } .k-survival { --kb: #e3f3e6; } .k-audition { --kb: #ede7fd; } .k-comedy { --kb: #fdebe0; }
.k-documentary { --kb: #e2edf8; } .k-food-travel { --kb: #fcefe1; } .k-true-crime { --kb: #eceef1; } .k-sports { --kb: #ddf2f4; }
.k-movies { --kb: #ebe6fb; } .k-dramas { --kb: #f7e3ea; } .k-anime { --kb: #e0eefc; }
.k-unscripted { --k: #c76a12; --kb: #fdf0dd; } .k-play { --k: #2f7a54; --kb: #e2f2ea; } .k-compare { --k: #3f4a8a; --kb: #e6e9f7; } .k-calendar { --k: #8a3f6f; --kb: #f5e5f0; }

/* トップのヒーロー（自作イラスト＋検索） */
.hero { display: grid; margin: 20px 0 4px; background: var(--navy); border-radius: 14px; overflow: hidden; color: #fff; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.05fr 1fr; } }
.hero-text { padding: 28px 22px 26px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 860px) { .hero-text { padding: 40px 40px 36px; } }
.hero-kicker { margin: 0; font-size: .8rem; color: #f2c46a; font-weight: 700; letter-spacing: .06em; }
.hero-title { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.35rem); line-height: 1.4; margin: .35em 0 .75em; word-break: keep-all; }
.hero-search { display: flex; background: #fff; border-radius: 999px; padding: 5px; max-width: 520px; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: .98rem; padding: 8px 14px; background: transparent; color: var(--ink); }
.hero-search button { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; background: var(--brand); color: #1f1300; font: inherit; font-weight: 700; font-size: .9rem; padding: 8px 18px; cursor: pointer; }
.hero-search button:hover { background: #e8962a; }
.hero-keys { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: .82rem; }
.hero-keys-h { color: #b9b5e6; margin-right: 4px; font-size: .76rem; }
.hero-keys a { color: #fff; text-decoration: none; padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; }
.hero-keys a:hover { background: rgba(255, 255, 255, .12); }
.hero-stats { margin: 14px 0 0; font-size: .74rem; color: #b9b5e6; letter-spacing: .02em; }
/* トップページ：サービス選びの早見（2列。スマホでは1列） */
.quick-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 28px; border-top: 1px solid var(--strong); }
.quick-grid li { display: grid; grid-template-columns: 9.5em 1fr; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.quick-k { font-size: .78rem; font-weight: 700; color: var(--muted); }
.quick-v { font-weight: 700; }
.quick-v a { color: var(--ink); }
.quick-n { grid-column: 2; font-size: .78rem; color: var(--muted); }
@media (max-width: 520px) { .quick-grid li { grid-template-columns: 1fr; } .quick-n { grid-column: 1; } }
.hero-art { background: #26245a; min-height: 180px; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* サムネイル（ジャンルの色＋模様＋アイコン） */
.cover { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background-color: var(--kb, #f1f1ee); color: var(--k); }
.cover.v0 { background-image: radial-gradient(color-mix(in srgb, var(--k) 24%, transparent) 1.4px, transparent 1.7px); background-size: 14px 14px; }
.cover.v1 { background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--k) 11%, transparent) 0 10px, transparent 10px 22px); }
.cover.v2 { background-image: radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--k) 20%, transparent) 0 24%, transparent 25%), radial-gradient(circle at 6% 112%, color-mix(in srgb, var(--k) 15%, transparent) 0 38%, transparent 39%); }
.cover-ico { position: absolute; right: 8%; bottom: 12%; width: 36%; height: auto; max-width: 120px; stroke-width: 1.3; opacity: .9; }
.cover-tag { position: absolute; left: 8px; top: 8px; font-size: .68rem; font-weight: 800; line-height: 1; padding: 4px 7px; border-radius: 4px; background: var(--ink); color: #fff; }
.cover-tag.free { background: #2b8a3e; }
.cover-svc { position: absolute; left: 8px; bottom: 8px; font-size: .7rem; font-weight: 700; line-height: 1; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); }
.cover-hero { aspect-ratio: 21 / 7; border-radius: 12px; }
.cover-hero .cover-ico { width: 18%; max-width: 150px; right: 6%; bottom: 14%; }
.cover-wide .cover-ico { width: 30%; max-width: 170px; }
.cover-mini, .cover-thumb { border-radius: 6px; }
.cover-mini .cover-svc, .cover-thumb .cover-svc, .cover-thumb .cover-tag { display: none; }
.cover-mini .cover-ico, .cover-thumb .cover-ico { width: 46%; right: 27%; bottom: 14%; }
.cover-mini .cover-tag { font-size: .6rem; padding: 3px 5px; left: 5px; top: 5px; }

/* 作品カードはサムネイル付きに */
.tcard { border-top: 0; padding-top: 0; gap: 3px; }
.tcard .cover { margin-bottom: 8px; transition: transform .15s ease; }
.tcard:hover .cover { transform: translateY(-2px); }
.tgrid { grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: 26px 20px; }

/* 今日のピックアップ（大1＋小4のモザイク） */
.sec-first { margin-top: 32px; }
.sec-date { font-size: .78rem; color: var(--muted); }
.mosaic { display: grid; gap: 22px; }
@media (min-width: 760px) { .mosaic { grid-template-columns: 1.25fr 1fr; gap: 24px; } }
.mosaic-lead { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.mosaic-lead .cover { margin-bottom: 6px; }
.mosaic-title { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 900; line-height: 1.35; font-feature-settings: "palt"; }
.mosaic-lead:hover .mosaic-title { text-decoration: underline; }
.mosaic-sum { font-size: .88rem; color: var(--ink-2); line-height: 1.75; }
.mosaic-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; align-content: start; }
.mini { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--ink); }
.mini .cover { margin-bottom: 6px; }
.mini-title { font-weight: 800; font-size: .92rem; line-height: 1.45; }
.mini:hover .mini-title { text-decoration: underline; }

/* ジャンルのアイコン一覧 */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.genre-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 14px 14px 12px; border-radius: 10px; background: var(--kb); color: var(--ink); text-decoration: none; transition: transform .12s ease; }
.genre-tile:hover { transform: translateY(-2px); }
.genre-ico { color: var(--k); margin-bottom: 6px; display: inline-flex; }
.genre-name { font-weight: 800; font-size: .9rem; }
.genre-count { font-size: .72rem; color: var(--muted); }

/* 濃紺の帯（編集部ピック） */
.band { margin-top: 48px; background: var(--navy); color: #fff; border-radius: 14px; padding: 22px 22px 12px; }
.band-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.band-head h2 { margin: 0; padding: 0; border: 0; color: #fff; font-size: 1.15rem; }
.band-ico { color: #f2c46a; display: inline-flex; }
.band-list { list-style: none; margin: 0; padding: 0; }
.band-list a { display: grid; grid-template-columns: 2em 96px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); text-decoration: none; color: #fff; }
.band-list li:first-child a { border-top: 0; }
.band-no { font-size: 1.6rem; font-weight: 900; line-height: 1; color: #8f8bc9; text-align: center; font-feature-settings: "tnum"; }
.band-list li:nth-child(1) .band-no { color: #ff6b6b; }
.band-list li:nth-child(2) .band-no { color: #ffa94d; }
.band-list li:nth-child(3) .band-no { color: #ffd43b; }
.band-title { display: block; font-weight: 800; line-height: 1.45; }
.band-list a:hover .band-title { text-decoration: underline; }
.band-meta { display: block; font-size: .74rem; color: #b9b5e6; }
@media (max-width: 420px) { .band-list a { grid-template-columns: 1.6em 72px 1fr; gap: 10px; } }

/* タブ */
.tab-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; padding-bottom: 2px; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .86rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.tab-list button svg { color: var(--k); }
.tab-list button[aria-selected="true"] { background: var(--kb); border-color: var(--k); color: var(--ink); }
.tab-panel[hidden] { display: none; }

/* 見出しのアイコン */
.h-ico { display: inline-flex; vertical-align: -3px; margin-right: 6px; color: var(--brand); }

/* 特集バナー */
.features { display: grid; gap: 14px; margin-bottom: 10px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 172px; padding: 18px 18px 20px; border-radius: 12px; background: var(--kb); color: var(--ink); text-decoration: none; }
.feature::after { content: ""; position: absolute; right: -34px; bottom: -34px; width: 128px; height: 128px; border-radius: 50%; background: color-mix(in srgb, var(--k) 14%, transparent); }
.feature-art { color: var(--k); display: inline-flex; }
.feature-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.feature-kicker { font-size: .68rem; font-weight: 800; color: #fff; background: var(--k); padding: 3px 8px; border-radius: 4px; }
.feature-title { font-weight: 800; font-size: .95rem; line-height: 1.5; }
.feature:hover .feature-title { text-decoration: underline; }

/* 特集リスト（アイコン付き） */
.article-list a { flex-direction: row; align-items: center; gap: 14px; }
.al-art { flex: 0 0 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; background: var(--kb); color: var(--k); }
.al-body { display: flex; flex-direction: column; gap: 1px; }
.al-kicker { font-size: .7rem; font-weight: 700; color: var(--muted); }

/* 3列の見出し・サービス一覧 */
.col-h { display: flex; align-items: center; gap: 8px; }
.col-ico { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--kb); color: var(--k); }
.svc-list li a { position: relative; padding-left: 14px; }
.svc-list li a::before { content: ""; position: absolute; left: 0; top: 15px; width: 4px; height: 36px; border-radius: 2px; background: var(--dot, #999); }

/* ジャンルページの見出し */
.hub-hero { display: flex; gap: 18px; align-items: flex-start; margin-top: 18px; padding: 22px; border-radius: 14px; background: var(--kb); }
.hub-ico { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: #fff; color: var(--k); }
.hub-text .kicker { margin: 0; }
.hub-text h1 { margin: .15em 0 .3em; }
.hub-text .lead { margin: 0; }
@media (max-width: 520px) { .hub-hero { flex-direction: column; gap: 10px; padding: 18px; } .hub-ico { width: 52px; height: 52px; } }

/* 作品ページのキービジュアル */
.title-cover { margin-top: 16px; }

/* サイドバーの順位に色 */
.rank-list li:nth-child(1) .rank-no { color: #e03131; }
.rank-list li:nth-child(2) .rank-no { color: #f76707; }
.rank-list li:nth-child(3) .rank-no { color: #f59f00; }
.mini-body, .mosaic-body, .band-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.genre-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 420px) { .genre-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .genre-grid { grid-template-columns: repeat(4, 1fr); } }
.hero { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.hero-text, .hero-search { min-width: 0; }
.hero-search button { flex: 0 0 auto; }
@media (max-width: 480px) { .hero-title { font-size: 1.36rem; } .hero-text { padding: 24px 20px 22px; } }

/* ===== v4：ChatGPTで作ったジャンルのイラストを使う ===== */
/* トップのイラスト */
.hero-art { min-height: 0; aspect-ratio: 3 / 2; background: #221f45; }
@media (min-width: 860px) { .hero-art { aspect-ratio: auto; } }
.hero-art img { object-position: 50% 62%; }
@media (max-width: 480px) { .hero-kicker { font-size: .7rem; letter-spacing: 0; } }
/* スマホ：最初の画面で作品まで見えるよう、イラストを横長にしてキーワードは1行の横スクロールに */
@media (max-width: 859px) {
  .hero-art { aspect-ratio: 16 / 7; }
  .hero-keys { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .hero-keys::-webkit-scrollbar { display: none; }
  .hero-keys a, .hero-keys-h { flex: 0 0 auto; }
}

/* サムネイル（全体・反転・寄りの6通り。一覧では並び順で変える） */
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.cover-img.a1 { transform: scaleX(-1); }
.cover-img.a2 { transform: scale(1.25); transform-origin: 30% 70%; }
.cover-img.a3 { transform: scale(-1.25, 1.25); transform-origin: 30% 70%; }
.cover-img.a4 { transform: scale(1.25); transform-origin: 70% 35%; }
.cover-img.a5 { transform: scale(-1.25, 1.25); transform-origin: 70% 35%; }
.cover-tag, .cover-svc { z-index: 1; }
.cover-svc { box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
/* 作品ページの大きなサムネイル：スマホは全面、PCは右側にイラストを置いて左へなじませる */
.cover-hero { aspect-ratio: 16 / 8; }
.cover-hero .cover-img { transform: none; }
@media (min-width: 640px) {
  .cover-hero { aspect-ratio: 21 / 7; }
  .cover-hero .cover-img { left: auto; width: 58%; -webkit-mask-image: linear-gradient(to right, transparent, #000 30%); mask-image: linear-gradient(to right, transparent, #000 30%); }
}

/* 作品画像（キーアート）：変形はかけず、権利者のクレジットを右下に重ねる */
.cover-img.cover-photo { transform: none; object-position: 50% 50%; }
.cover-hero .cover-img.cover-photo { left: 0; width: 100%; -webkit-mask-image: none; mask-image: none; }
.cover-credit { position: absolute; right: 6px; bottom: 6px; z-index: 1; max-width: 70%; font-size: .58rem; line-height: 1.2; color: #fff; text-shadow: 0 0 3px rgba(0, 0, 0, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-mini .cover-credit, .cover-thumb .cover-credit { font-size: .5rem; right: 3px; bottom: 3px; }

/* 公式予告編（押すまではサムネイルだけ） */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; margin: 6px 0 4px; }
.yt iframe, .yt-btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-btn { padding: 0; cursor: pointer; background: #000; }
.yt-btn img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: rgba(20, 20, 20, .8); }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-btn:hover .yt-play { background: #e62117; }

/* ジャンルのタイル（イラスト＋名前） */
.genre-tile.has-art { padding: 0; gap: 0; overflow: hidden; }
.genre-art { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
@media (min-width: 760px) { .genre-art { aspect-ratio: 4 / 3; } }
.genre-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.genre-tile:hover .genre-img { transform: scale(1.04); }
.genre-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.genre-tile.has-art .genre-txt { padding: 9px 12px 11px; }

/* ジャンルページの見出し（文字＋イラスト） */
.hub-hero.has-art { padding: 0; gap: 0; overflow: hidden; align-items: stretch; }
.hub-hero.has-art .hub-text { flex: 1 1 auto; min-width: 0; padding: 24px 26px 22px; align-self: center; }
.hub-art { order: 2; flex: 0 0 36%; position: relative; min-height: 190px; overflow: hidden; }
.hub-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hub-art.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: #fff; }
.hub-art.collage .hub-img { position: static; min-height: 0; }
@media (max-width: 520px) {
  .hub-hero.has-art { flex-direction: column; gap: 0; padding: 0; }
  .hub-art { order: 0; flex: none; min-height: 0; aspect-ratio: 16 / 8; }
  .hub-art.collage { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; aspect-ratio: 16 / 5; }
  .hub-hero.has-art .hub-text { padding: 16px 18px 18px; }
}

/* 特集バナー（イラスト＋見出し） */
.feature.has-art { padding: 0; gap: 0; min-height: 0; }
.feature.has-art::after { display: none; }
.feature-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.feature-img-el { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.feature:hover .feature-img-el { transform: scale(1.04); }
.feature.has-art .feature-body { padding: 12px 16px 16px; }

/* ジャンル別タブ：1作品を大きく＋文字の一覧 */
.lead-list { display: grid; gap: 18px; }
@media (min-width: 640px) { .lead-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 26px; align-items: start; } }
.lead-list .tlist li:first-child { border-top: 0; }
.lead-list .tlist a { padding: 10px 0; }

/* キーボード操作：いまどこを選んでいるかを、はっきり見せる（マウスでは出ない） */
:focus-visible { outline: 3px solid #1c7ed6; outline-offset: 2px; border-radius: 4px; }
.cover-img, .genre-img { outline: none; }
.page-nav a, .tab-list button, .chips button { min-height: 36px; }
details > summary { cursor: pointer; }

/* 検索ページ：候補のキーワード（ヒーローのチップと同じ形を白地用に） */
.search-suggest { margin-top: 24px; }
.search-suggest .hero-keys a { color: var(--ink-2); border-color: var(--line); background: #fff; }
.search-suggest .hero-keys a:hover { border-color: var(--ink); color: var(--ink); background: #fff; }

/* 作品ページ：ページ内メニュー（横にスクロールできるチップ） */
.page-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 4px 0 18px; padding-bottom: 2px; }
.page-nav::-webkit-scrollbar { display: none; }
.page-nav a { flex: 0 0 auto; font-size: .8rem; font-weight: 700; color: var(--ink-2); text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.page-nav a:hover { border-color: var(--ink); color: var(--ink); }
h2[id], h3[id] { scroll-margin-top: 12px; }

/* 作品ページ：反響・評価（出典つき） */
.reception { padding-left: 1.2em; }
.reception li { margin: .35em 0; line-height: 1.7; }
.rec-src { margin-left: 8px; font-size: .72rem; color: var(--muted); white-space: nowrap; }
/* 特集の受賞・記録の表 */
.nowrap { white-space: nowrap; }
.series-table tr.is-current { background: var(--bg-soft); }
.series-table .tag { margin-left: 6px; vertical-align: 1px; }
.chips-label { align-self: center; font-size: .78rem; font-weight: 700; color: var(--muted); margin-right: 2px; }
.chips + .chips { margin-top: -8px; }
.rec-table .rec-cell { font-size: .86rem; line-height: 1.65; min-width: 220px; }
.rec-table .rec-item { display: block; }
.rec-table .rec-item + .rec-item { margin-top: .4em; }

/* 配信スケジュールの表：日付とサービス名は折り返さない */
.schedule td:nth-child(1), .schedule td:nth-child(3) { white-space: nowrap; }

/* 特集リストの小さなイラスト */
.al-art.has-img { flex: 0 0 88px; height: 66px; overflow: hidden; }
.al-img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ===== 予告編のサムネイル（押すと公式の予告編を再生） ===== */
/* カード：画像の枠と文字のリンクを分ける（画像＝予告編の再生、文字＝作品ページ） */
.tcard-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; margin-bottom: 6px; }
a.tcard-media { background: transparent; }
.tcard-media .cover { border-radius: 8px; }
.tcard-link { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.tcard-link:hover .tcard-title { text-decoration: underline; }
.yt-open { position: relative; display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; cursor: pointer; background: #000; color: #fff; font: inherit; }
.yt-open .yt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease, opacity .35s ease; }
.yt-open:hover .yt-img, .yt-open:focus-visible .yt-img { transform: scale(1.04); opacity: .88; }
.yt-open .yt-play { width: 46px; height: 32px; margin: -16px 0 0 -23px; border-radius: 9px; }
.yt-open .yt-play::after { left: 18px; top: 9px; border-width: 7px 0 7px 12px; }
.yt-open:hover .yt-play { background: #e62117; }
.yt-badge { position: absolute; left: 8px; bottom: 8px; font-size: .68rem; font-weight: 700; line-height: 1; padding: 5px 9px; border-radius: 999px; background: rgba(0, 0, 0, .74); color: #fff; letter-spacing: .02em; }
.yt-badge::before { content: "▶"; font-size: .6rem; margin-right: 5px; }

/* 作品ページの一番上：予告編を大きく */
.title-trailer { margin-top: 14px; }
.yt-hero { margin: 0; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .14); }
.yt-hero .yt-btn img { opacity: 1; transition: transform .5s ease; }
.yt-hero .yt-btn:hover img { transform: scale(1.02); }
.yt-hero .yt-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .5), transparent 45%); pointer-events: none; }
.yt-hero .yt-play { width: 82px; height: 58px; margin: -29px 0 0 -41px; border-radius: 16px; z-index: 1; }
.yt-hero .yt-play::after { left: 32px; top: 17px; border-width: 12px 0 12px 20px; }
.yt-cta { position: absolute; left: 16px; bottom: 14px; z-index: 1; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-weight: 800; font-size: .9rem; line-height: 1.2; }
.yt-cta::before { content: "▶"; font-size: .72rem; margin-right: 6px; color: #e62117; }
.yt-credit { margin: 6px 0 0; }

/* 特集の表：作品名の左に小さなサムネイル */
.wt { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.wt-media { position: relative; flex: 0 0 96px; width: 96px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; display: block; background: #000; }
a.wt-media { background: transparent; }
.wt-media .cover { border-radius: 6px; }
.wt-media .yt-play { width: 30px; height: 21px; margin: -10px 0 0 -15px; border-radius: 6px; }
.wt-media .yt-play::after { left: 12px; top: 6px; border-width: 4.5px 0 4.5px 8px; }
@media (max-width: 640px) { .wt-media { flex-basis: 76px; width: 76px; } }

/* トップの「今日のピックアップ」：画像と文字を分ける */
.mosaic-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; margin-bottom: 6px; }
a.mosaic-media { background: transparent; }
.mosaic-body { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.mosaic-body:hover .mosaic-title { text-decoration: underline; }
.mini-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; margin-bottom: 6px; }
a.mini-media { background: transparent; }
.mini-body { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--ink); }
.mini-body:hover .mini-title { text-decoration: underline; }
.mini-media .yt-badge { display: none; }

/* 予告編のモーダル */
.ytm { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 10, 10, .78); }
.ytm.on { display: flex; }
.ytm-box { width: min(980px, 100%); background: #111; color: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.ytm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.ytm-title { font-weight: 800; font-size: .98rem; line-height: 1.4; }
.ytm-close { flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.ytm-close:hover { background: rgba(255, 255, 255, .2); }
.ytm-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ytm-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ytm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0; padding: 10px 14px 12px; font-size: .8rem; color: #bdbdbd; }
.ytm-link { color: #fff; font-weight: 800; text-decoration: none; }
.ytm-link:hover { text-decoration: underline; }
html.ytm-open { overflow: hidden; }

/* 特集の冒頭：この特集の作品（横にスクロール） */
.strip { margin: 14px 0 22px; }
.strip-h { margin: 0 0 8px; font-size: .82rem; font-weight: 800; color: var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.strip-h span { font-size: .72rem; font-weight: 500; color: var(--muted); }
.strip-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.strip-item { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; }
.strip-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.strip-title { font-size: .84rem; font-weight: 800; line-height: 1.45; color: var(--ink); text-decoration: none; }
.strip-title:hover { text-decoration: underline; }

/* 配信カレンダー：日付・小さな画像・作品名の3列（画像は予告編があれば押すと再生） */
.cal-item.has-media { grid-template-columns: 4.4em 128px 1fr; align-items: center; }
.cal-media { position: relative; display: block; width: 128px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
a.cal-media, span.cal-media { background: transparent; }
.cal-media .cover { border-radius: 6px; }
.cal-media .yt-play { width: 34px; height: 24px; margin: -12px 0 0 -17px; border-radius: 7px; }
.cal-media .yt-play::after { left: 13px; top: 7px; border-width: 5px 0 5px 9px; }
@media (max-width: 560px) {
  .cal-item.has-media { grid-template-columns: 3.4em 104px 1fr; gap: 10px; }
  .cal-media { width: 104px; }
}

/* 作品が多い一覧：最初の24作品だけ見せる（「残り○作品を見る」で広げる） */
.tgrid.is-clipped > .more-item { display: none; }
.more-btn { display: block; margin: 18px auto 6px; padding: 11px 26px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg, #fff); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.more-btn:hover { border-color: var(--ink); }
.more-btn::after { content: " ▼"; font-size: .7rem; }

/* 検索結果：左に小さな画像（予告編があれば押すと再生、無ければジャンルのイラスト） */
.tlist li.has-media { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: center; padding: 10px 0; }
.tlist li.has-media > a { padding: 0; }
.sr-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--kb, #f1f1ee); }
.sr-media.has-yt { background: #000; }
.tlist a.sr-media { display: block; padding: 0; }
.sr-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-media .yt-play { width: 34px; height: 24px; margin: -12px 0 0 -17px; border-radius: 7px; }
.sr-media .yt-play::after { left: 13px; top: 7px; border-width: 5px 0 5px 9px; }
@media (max-width: 560px) { .tlist li.has-media { grid-template-columns: 104px 1fr; gap: 12px; } }

/* スマホ：作品カードは2列にして、一覧で多くの作品を見比べられるようにする */
@media (max-width: 560px) {
  .tgrid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .tgrid .tcard { padding-top: 8px; }
  .tgrid .tcard-title { font-size: .9rem; }
  .tgrid .tcard-sum { display: none; }
  .tgrid .yt-badge { display: none; }
  .tgrid .tcard-meta { font-size: .72rem; }
}
