/* 土台: sites/main/static/site.css と同じ(PR表記の小ささ・ヘッダー・タブ・お気に入りなど)。変えたら両方そろえる */
/* このサイト専用の追加スタイル */
.agegate { position: fixed; inset: 0; z-index: 100; background: rgba(20,10,14,.92); display: grid; place-items: center; padding: 16px; }
.agegate[hidden] { display: none; }
html.gated body { overflow: hidden; }
.agegate-box { background: #fff; border-radius: 12px; max-width: 420px; width: 100%; padding: 24px; text-align: center; }
.agegate-title { font-family: var(--head); font-size: 20px; font-weight: 900; margin: 0 0 8px; }
.agegate-q { font-weight: 700; }
.agegate-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.agegate-btns button { font: inherit; font-weight: 700; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 12px; cursor: pointer; }
.agegate-btns a { color: var(--muted); font-size: 14px; }

.items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.item { border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.item > a:first-child { text-decoration: none; color: var(--ink); }
.item img { width: 100%; border-radius: 6px; display: block; }
.item-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.5; margin-top: 6px; }
.item-meta { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 11px; color: var(--muted); }
.badge.sale { background: #fde7ec; color: var(--accent); font-weight: 700; border-radius: 4px; padding: 0 6px; }
.btn { margin-top: auto; text-align: center; background: var(--accent); color: #fff; border-radius: 999px; padding: 6px 8px; font-size: 13px; font-weight: 700; text-decoration: none; }
.btn .pr { color: #fff; border-color: rgba(255,255,255,.7); }

.posts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.posts li a { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.post-cat { font-size: 11px; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 0 6px; align-self: start; white-space: nowrap; }
.post-title { font-weight: 700; }
.post-date { grid-column: 2; font-size: 12px; color: var(--muted); }
.post-head { font-size: 13px; color: var(--muted); margin: 0; }
.post-body h2 { border-left: 4px solid var(--accent); padding-left: 10px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); background: #fff; font-size: 14px; }
.chips span { font-size: 11px; color: var(--muted); }
.sns a { display: inline-block; border: 1px solid var(--ink); border-radius: 999px; padding: 4px 14px; color: var(--ink); text-decoration: none; font-size: 13px; }
.search { width: 100%; font: inherit; font-size: 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; margin: 4px 0 10px; }
.kana { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.kana a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--panel); color: var(--ink); text-decoration: none; font-weight: 700; }
.chips li[hidden], .arow[hidden] { display: none; }

/* 2段ナビ(PCでも表示する) */
.tabs-wrap { display: block !important; }
.main-tabs a { font-weight: 700; font-size: 15px; padding: 6px 18px; }
.sub-tabs { padding-top: 0; }
.sub-tabs a { font-size: 13px; padding: 4px 12px; border-color: transparent; background: var(--panel); }
.sub-tabs a.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ランキング番号(画像の左上に重ねる。1〜3位は金銀銅) */
.thumb { position: relative; display: block; }
.rank-no { display: inline-flex; align-items: baseline; justify-content: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 6px;
  font-family: var(--head); font-weight: 900; font-size: 18px; line-height: 34px; color: #fff; background: rgba(30,20,25,.82); border: 0; text-align: center; }
.thumb .rank-no { position: absolute; top: 4px; left: 4px; z-index: 1; }
.rank-no small { font-size: 10px; margin-left: 1px; }
.rank-no.r1 { background: #c9a227; } .rank-no.r2 { background: #8e9aa6; } .rank-no.r3 { background: #a8693a; }

/* トップ: AV / 同人 の大きな区切り */
.sec-block { margin-top: 28px; padding-top: 4px; }
.sec-title { font-size: 24px; margin: 0 0 8px; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: 8px; }
.sec-links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.sec-links a { font-size: 13px; text-decoration: none; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 3px 12px; }
.sec-block h3 { font-size: 17px; margin: 24px 0 10px; padding-left: 10px; border-left: 4px solid var(--accent); }
.more { text-align: right; font-size: 14px; margin: 8px 0 0; }
.small-link { margin-top: 40px; font-size: 13px; text-align: center; }
.small-link a { color: var(--muted); }

/* 女優ランキング */
.arank { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.arank-row { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.arank-row .rank-no { position: static; flex: none; }
.arank-row img { flex: none; width: 56px; height: 76px; object-fit: cover; object-position: right; border-radius: 6px; }
.arank-row img.photo { object-position: center top; }
.arank-noimg { flex: none; width: 56px; height: 76px; border-radius: 6px; background: var(--line); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--muted); }
.arank-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.arank-name { font-weight: 700; font-size: 16px; }
.arank-meta { font-size: 12px; color: var(--muted); }

/* 女優ページの切り替え */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin: 4px 0 12px; }
.seg button { font: inherit; font-size: 14px; border: 0; background: none; padding: 6px 16px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.seg button.on { background: var(--accent); color: #fff; font-weight: 700; }

/* 差別化の印 */
.badge { border-radius: 4px; padding: 0 6px; font-weight: 700; }
.badge.new { background: #e6f4ea; color: #1e7b3c; }
.badge.low { background: #fff4d6; color: #8a5a00; }
.badge.end { background: #b3264a; color: #fff; }
.cnt { font-size: 13px; color: var(--muted); font-weight: 400; }
h2[id] { scroll-margin-top: 110px; }
.stars { color: #d48806; font-weight: 700; }
.stars small { color: var(--muted); font-weight: 400; }
.acts a { color: var(--accent); }
.guide-link { font-size: 14px; background: var(--panel); border-radius: 8px; padding: 8px 12px; }
.related { padding-left: 1.2em; }
.item[hidden] { display: none; }
.cast-filter { margin-right: 8px; }

/* AVのジャケット画像(表と裏が横に並んだ横長画像)は、右半分の表紙だけを大きく表示する */
.item img.wide { aspect-ratio: 400 / 538; object-fit: cover; object-position: right center; }

/* グッズ: 横並びカード */
.rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .rows { grid-template-columns: 1fr 1fr; } }
.row { display: grid; grid-template-columns: 112px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; }
.row-img { position: relative; display: block; }
.row-img img { width: 112px; height: 112px; object-fit: contain; background: #fafafa; border-radius: 6px; display: block; }
.row-img .rank-no { position: absolute; top: -4px; left: -4px; z-index: 1; min-width: 30px; height: 30px; line-height: 30px; font-size: 15px; }
.row-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row-title { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.point { background: var(--panel); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; }
.point-h { margin: 0 0 4px; font-weight: 700; color: var(--accent); font-size: 12px; }
.point ul { margin: 0; padding-left: 1.1em; line-height: 1.6; }
.point-link { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 13px; color: var(--accent); }

/* 今日のトピックス */
.topics-box { display: block; text-decoration: none; color: var(--ink); border: 2px solid var(--accent); border-radius: 12px; padding: 12px 14px; margin: 8px 0 4px; background: #fff; }
.topics-h { display: block; font-weight: 900; color: var(--accent); font-family: var(--head); margin-bottom: 6px; }
.topics-list { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.topics-more { display: block; text-align: right; font-size: 13px; color: var(--accent); font-weight: 700; margin-top: 6px; }
.headlines { padding-left: 0; list-style: none; background: var(--panel); border-radius: 10px; padding: 10px 14px; line-height: 1.9; }
.topic h2 { margin-top: 32px; }

/* 作品ページ */
.crumbs { color: var(--muted); margin: 0 0 6px; }
.crumbs a { color: var(--muted); }
.work-title { font-size: 19px; line-height: 1.5; }
.work-top { display: grid; gap: 16px; }
@media (min-width: 760px) { .work-top { grid-template-columns: minmax(260px, 420px) 1fr; align-items: start; } }
.work-jacket img { width: 100%; border-radius: 8px; display: block; background: #fafafa; }
.work-info { display: flex; flex-direction: column; gap: 10px; }
.item-meta.big { font-size: 13px; gap: 6px; }
.badge.rk { background: var(--ink); color: #fff; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th { width: 6.5em; text-align: left; color: var(--muted); font-weight: 400; vertical-align: top; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.spec td { padding: 6px 0; border-bottom: 1px solid var(--line); word-break: break-word; }
.price { font-size: 18px; color: var(--accent); }
.muted { color: var(--muted); }
.gtags { display: flex; flex-wrap: wrap; gap: 4px; }
.gtags a, .gtags span { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; color: var(--ink); text-decoration: none; background: #fff; }
.gtags a { border-color: var(--accent); color: var(--accent); }
.cta { display: block; text-align: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 999px; padding: 13px 16px; }
.cta-wrap { margin: 14px 0 0; }
.samples { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.samples img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; background: #f3f3f3; }
@media (min-width: 760px) { .samples { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }

/* 女優プロフィール */
.profile { border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; margin: 16px 0; background: #fff; }
.profile summary { font-weight: 700; cursor: pointer; padding: 4px 0; }
.profile table { border-collapse: collapse; font-size: 14px; margin-top: 6px; }
.profile th { text-align: left; color: var(--muted); font-weight: 400; padding: 4px 16px 4px 0; white-space: nowrap; vertical-align: top; }
.profile td { padding: 4px 0; }
.profile .note { margin: 6px 0 2px; }
/* 同人・グッズのサンプルは縦長もあるので切らずに全体を見せる */
.samples:not(.s-video):not(.s-vr) img { aspect-ratio: 3 / 4; object-fit: contain; }

/* 配信日で見る(日付別の配信開始ページへのリンク) */
.day-links { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px; margin-bottom: 6px; scrollbar-width: none; align-items: center; }
.day-links::-webkit-scrollbar { display: none; }
.day-h { flex: none; font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.day-links a { flex: none; font-size: 13px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.day-links a small { font-size: 11px; color: var(--muted); margin-left: 4px; }
.day-links a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.day-links a.on small { color: #fff; }

/* 女優カード(一覧・プロフィール検索) */
.pcards { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.pcards li[hidden] { display: none; }
.pcards a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px 4px; background: #fff; height: 100%; }
.pcards img, .pnoimg { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center top; background: var(--panel); }
.pnoimg { display: grid; place-items: center; font-weight: 700; font-size: 26px; color: var(--muted); }
.pname { font-weight: 700; font-size: 13px; line-height: 1.35; margin-top: 4px; }
.pline { font-size: 10.5px; color: var(--muted); line-height: 1.4; }
.pn { font-size: 10.5px; color: var(--accent); }
.profile-in { display: flex; gap: 14px; align-items: flex-start; }
.profile-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center top; flex: none; margin-top: 6px; background: var(--panel); }

/* 10円セール: 目立たせる枠と印 */
.badge.ten { background: #ff3b30; color: #fff; }
.ten-yen { border: 3px solid #ff3b30; background: #fff5f4; border-radius: 10px; padding: 8px 12px 4px; margin: 12px 0 20px; }
.ten-yen h2, .ten-yen h3 { color: #d70015; margin-top: 4px; }
.sec-links a.hot { background: #ff3b30; color: #fff; font-weight: 700; }
.btn-hot { display: inline-block; background: #ff3b30; color: #fff !important; font-weight: 700; padding: 8px 16px; border-radius: 999px; text-decoration: none; }

/* お気に入り(ブラウザ内に保存) */
.item, .row-body { position: relative; }
.fav { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 18px; line-height: 34px; padding: 0; cursor: pointer; }
.fav::before { content: "☆"; }
.fav.on { background: #fff; color: #e0a100; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.fav.on::before { content: "★"; }
.row-body .fav { top: 0; right: 0; width: 30px; height: 30px; line-height: 30px; font-size: 16px; }
.row-body .row-title { padding-right: 34px; }
.fav.big { position: static; width: auto; height: auto; line-height: 1.4; display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; box-shadow: none; }
.fav.big::before { color: #e0a100; font-size: 18px; }
.fav.big.on { background: #fff8e1; border-color: #e0a100; }
.fav-link { display: inline-flex; align-items: center; gap: 3px; margin-left: 10px; color: #e0a100; text-decoration: none; font-weight: 700; white-space: nowrap; }
.fav-link-t { color: var(--ink); font-size: 12px; }
.fav-count { background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; padding: 0 6px; line-height: 1.6; }
.fav-notice { border: 1px solid #f0d58a; background: #fffbea; border-radius: 10px; padding: 10px 14px; margin: 12px 0 16px; }
.fav-notice-h { font-weight: 700; margin: 0 0 4px; }
.fav-notice ul { margin: 6px 0; padding-left: 1.2em; }
.fav-del { align-self: flex-start; border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: 12px; padding: 2px 10px; cursor: pointer; }
.fav-code { width: 100%; box-sizing: border-box; font-size: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; word-break: break-all; }
.fav-tools .btn { border: 0; background: var(--accent); color: #fff; font-weight: 700; border-radius: 8px; padding: 8px 16px; cursor: pointer; font-size: 14px; }
.fav-tools .btn.ghost { background: #fff; color: var(--muted); border: 1px solid var(--line); font-weight: 400; font-size: 12px; }
@media (max-width: 480px) { .fav-link-t { display: none; } }

/* 女優ページ: FANZA上の総作品数と全作品へのリンク */
.all-works { margin: 12px 0 16px; font-size: 14px; color: var(--ink); }
.all-works .cta { margin-top: 8px; font-size: 15px; }
a.btn-x, a.btn-x:visited { display: inline-block; background: #000; color: #fff !important; border-radius: 999px; padding: 6px 14px; font-weight: 700; text-decoration: none; font-size: 14px; }
.x-tl { margin: 8px 0 16px; } .x-tl summary { cursor: pointer; font-size: 14px; color: var(--accent); font-weight: 700; }
.more-hidden { display: none !important; }
.more-btn { font: inherit; font-weight: 700; width: 100%; padding: 12px; border-radius: 999px; border: 1px solid var(--accent); background: #fff; color: var(--accent); cursor: pointer; }

/* 公式サンプル動画(DMMのプレーヤーを埋め込み) */
.movie { position: relative; width: 100%; max-width: 720px; aspect-ratio: 720 / 480; margin: 0 0 8px; background: #000; border-radius: 8px; overflow: hidden; }
.movie .mv-stage { position: absolute; left: 0; top: 0; width: 720px; height: 480px; transform-origin: 0 0; }
.movie iframe { width: 720px; height: 480px; border: 0; display: block; }
.movie.mv-big { position: fixed; inset: 0; z-index: 1000; max-width: none; width: 100vw; height: 100vh !important; height: 100dvh !important; aspect-ratio: auto; border-radius: 0; margin: 0; }
.mv-tools { margin: 0 0 16px; }
.mv-close { position: absolute; top: 10px; right: 10px; z-index: 2; }
.badge.mv { background: #222; color: #fff; }

/* 女優ページ: デビュー作・最新作・次回作 / お気に入り女優 */
.milestones { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.milestones a { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto auto; gap: 2px 8px; padding: 8px; border: 1px solid #eee; border-radius: 8px; color: inherit; text-decoration: none; }
.milestones img { grid-row: 1 / 4; width: 72px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.milestones .ms-label { font-weight: 700; color: var(--accent); font-size: .85em; }
.milestones .ms-title { font-size: .9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge.ms { background: #fff4d6; color: #8a5a00; }
.fav-act-wrap { margin: 8px 0 12px; }
.fav-act-wrap .small { display: block; margin-top: 4px; }
.fav-new { margin: 12px 0 20px; }
.fav-acts li { position: relative; }
.fav-acts .fav-del { position: absolute; top: 4px; right: 4px; }

/* サンプル画像の拡大表示(ページ内で全画面) */
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb-img { max-width: 100vw; max-height: 100vh; max-height: 100dvh; object-fit: contain; cursor: pointer; }
.lb-btn { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; font-size: 32px; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-cnt { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }
.samples a { cursor: zoom-in; }

.cta.sub { background: #fff; color: var(--accent); border: 1px solid var(--accent); margin-top: 6px; }

.badge.up { background: #ffe9e0; color: #c2410c; }

.work-no { display: inline-block; font-size: .7em; background: #333; color: #fff; border-radius: 4px; padding: 1px 6px; vertical-align: middle; }

/* 広告表記(DMMの規約で必須)は残しつつ、目立たない1行に。黄色い帯をやめて小さな灰色文字だけにする */
.pr-bar { background: transparent; color: #999; font-size: 10px; padding: 2px 16px; text-align: right; line-height: 1.4; }
.pr-bar .pr { color: #999; border-color: #ccc; font-size: 9px; padding: 0 3px; margin-right: 4px; }
/* 大型セール(トップの枠・一覧) */
.camp-box { border: 2px solid #e8590c; border-radius: 12px; padding: 10px 14px; margin: 8px 0 4px; background: #fff7f0; }
.camp-h { display: block; font-weight: 700; color: #c2410c; margin-bottom: 4px; }
.camp-box a, .camp-list a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; color: var(--ink); text-decoration: none; border-top: 1px dashed #f3c6a5; }
.camp-box a:first-of-type { border-top: 0; }
.camp-t { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.camp-m { flex: none; font-size: .85em; color: #666; white-space: nowrap; }
.camp-m b { margin-left: 4px; color: #333; }
.camp-m b.hot { color: #d00; }
.camp-more { justify-content: flex-end !important; font-size: .85em; color: #c2410c !important; }
.camp-list { list-style: none; padding: 0; margin: 12px 0; }
.camp-list li { border: 1px solid #eee; border-radius: 10px; margin: 6px 0; padding: 4px 12px; background: #fff; }
.camp-list a { border-top: 0; }
/* 2026-10-25 作品ページ: ボタン上の一言・こんな人におすすめ */
.cta-copy { display: block; text-align: center; color: var(--accent); font-weight: 700; margin: 10px 0 4px; }
.reco { margin-top: 18px; }
.reco-list { list-style: none; padding: 0; margin: 8px 0; }
.reco-list li { position: relative; padding: 6px 0 6px 26px; border-bottom: 1px dashed #e5e5e5; }
.reco-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.reco-list.chk li::before { content: "!"; color: #b7791f; }
/* 2026-10-25 3段ナビ: お店(FANZA/DUGA)→大項目(AV/VR/同人/グッズ)→ページ */
.main-tabs a.store-tab { font-weight: 800; }
.sec-tabs { padding-top: 0; }
.sec-tabs a { font-weight: 700; border-radius: 8px; }
.store-note { margin: 0 16px 8px; padding: 8px 12px; background: #fff8e6; border: 1px solid #f0d58c; border-radius: 8px; font-size: 13px; }
.sec-store { font-size: 12px; font-weight: 700; color: #fff; background: var(--ink); border-radius: 4px; padding: 2px 6px; vertical-align: middle; }
/* 2026-10-25 DLsite入口 */
.dl-links { list-style: none; padding: 0; }
.dl-links li { margin: 0 0 14px; }
.dl-box { margin: 18px 0; padding: 12px 14px; border: 1px solid var(--line, #ddd); border-radius: 10px; background: #f7f9ff; }
.dl-box p { margin: 0 0 6px; font-size: 14px; }
/* 2026-10-25 その他のサイト(DUGA・DLsite)はおまけ扱い */
.main-tabs a.other-tab { font-weight: 400; font-size: 13px; color: #666; border-style: dashed; }
.main-tabs a.other-tab.on { color: #fff; border-style: solid; }
.other-list { list-style: none; padding: 0; }
.other-list li a { display: block; padding: 12px 14px; margin: 0 0 10px; border: 1px solid var(--line, #ddd); border-radius: 10px; text-decoration: none; color: inherit; }
.other-list li a span { display: block; font-size: 13px; color: #666; margin-top: 2px; }

.x-tl-fail { margin: 8px 0; padding: 10px 12px; border-radius: 10px; background: rgba(127,127,127,.12); font-size: 14px; }


/* 人気同人ナビ(core/static/base.css の上に重ねる) */
.dj-hero{padding:18px 0 6px}
.dj-hero h1{margin:0 0 6px}
.dj-grid{list-style:none;padding:0;margin:10px 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.dj-card{display:flex;flex-direction:column;gap:4px;min-width:0}
@media (min-width:760px){.dj-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.dj-title{font-size:15px}}
.dj-card>a{color:inherit;text-decoration:none}
.dj-thumb{position:relative;display:block;aspect-ratio:3/4;overflow:hidden;border-radius:8px;background:#0001}
.dj-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.dj-rank{position:absolute;left:6px;top:6px;min-width:28px;height:28px;padding:0 6px;border-radius:14px;background:var(--accent);color:#fff;font-size:14px;display:flex;align-items:center;justify-content:center}
.dj-fmt{position:absolute;right:6px;bottom:6px;font-size:11px;padding:2px 6px;border-radius:4px;background:#000a;color:#fff}
.dj-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;font-weight:600;line-height:1.4}
.dj-meta{font-size:12px;opacity:.75;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dj-badges{display:flex;flex-wrap:wrap;gap:4px}
.dj-badges i{font-style:normal;font-size:11px;padding:1px 6px;border-radius:4px;border:1px solid var(--accent);color:var(--accent)}
.dj-badges i.sale{border-color:#c62828;color:#c62828}
.dj-badges i.fmt{border-color:currentColor;color:inherit;opacity:.7}
.dj-badges.big i{font-size:13px;padding:2px 8px}
.dj-chips{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.dj-chips a{display:inline-block;padding:6px 12px;border-radius:999px;border:1px solid #8884;text-decoration:none;color:inherit}
.dj-chips small{opacity:.6}
.more{text-align:right;margin:4px 0 24px}
.dj-article h1{font-size:22px;line-height:1.4;margin:6px 0}
.dj-by{font-size:13px;opacity:.8;margin:0 0 12px}
.dj-cover{margin:0 0 12px;text-align:center}
.dj-cover img{max-width:100%;max-height:520px;border-radius:8px}
.dj-intro{font-size:16px;line-height:1.8}
.dj-data{width:100%;border-collapse:collapse;margin:12px 0;font-size:14px}
.dj-data th{width:6.5em;text-align:left;font-weight:600;padding:8px 6px;border-bottom:1px solid #8883;vertical-align:top}
.dj-data td{padding:8px 6px;border-bottom:1px solid #8883}
.dj-data .sale{color:#c62828;font-weight:600}
.dj-tags a,.dj-tags span{display:inline-block;margin:0 6px 4px 0}
.dj-btns{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.dj-btns .btn{flex:1 1 140px;text-align:center;padding:12px;border-radius:8px;border:1px solid var(--accent);color:var(--accent);text-decoration:none;font-weight:700}
.dj-btns .btn.main{background:var(--accent);color:#fff}
.dj-btns .btn.sub{border-color:#8886;color:inherit}
/* サンプルは漫画と同じ縦読み(1列)。PCでは本文幅いっぱいまで大きく */
.dj-samples{display:flex;flex-direction:column;gap:6px;max-width:1000px;margin:0 auto}
.dj-samples img{width:100%;height:auto;display:block;border-radius:4px}
.dj-card{position:relative}
.dj-card .fav{top:6px;right:6px;width:30px;height:30px;line-height:30px;font-size:16px}
/* ---- どくせんっ!(MGS)だけの見た目 ---- */
.mg-thumb{aspect-ratio:3/4}
.mg-thumb{background:#8882}
.mg-thumb img{object-fit:contain}   /* 2026-11-03 オーナー指示: 一覧の画像は縦長・横長とも絶対に切らない。枠に収まるよう縮めて、余りは薄いグレー */
.dj-fmt.mg-dk{background:var(--accent);font-weight:700}
.dj-badges i.mg-dkb{background:var(--accent);color:#fff;font-weight:700}
.dj-hero h1 small{font-size:14px;opacity:.7;font-weight:600}
.mg-mlist{list-style:none;padding:0;margin:10px 0;display:grid;gap:12px}
@media (min-width:760px){.mg-mlist{grid-template-columns:repeat(3,1fr)}}
.mg-m{border:2px solid #8883;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:6px}
.mg-m p{margin:0}
.mg-mh{font-size:17px}.mg-mh a{color:inherit}
.mg-mnums{display:flex;gap:8px}
.mg-mnums span{flex:1;background:#8881;border-radius:8px;padding:6px;text-align:center;display:flex;flex-direction:column}
.mg-mnums b{font-size:15px;color:var(--accent)}.mg-mnums small{font-size:11px;opacity:.7}
.mg-join{display:block;text-align:center;padding:10px;border-radius:8px;margin-top:4px}
.mg-tag{font-style:normal;font-size:11px;padding:1px 6px;border-radius:4px;background:var(--accent);color:#fff}
.mg-camp{color:#c62828}
.mg-widget{margin:24px 0}
.dj-article h1{font-size:18px;line-height:1.5}   /* MGSの題名は長いので小さめ */
