/* サイトごとの上書き（テーマの CSS は WordPress のときのまま。直したいところは、ここに足す）*/
/* ヘッダー: 東京版と全国版で同じ並び・大きさ（全国版に合わせる 2026-10-05 作者）。題とメニューの間を少し広げる */
.header-in { display: block; padding: 0 30px 14px; }
/* 題の上の紹介文をなくした（2026-10-10 作者の決定。紹介文はフッターだけ）ので、PC では題の上に余白（スマホはもともと紹介文を出していない） */
@media screen and (min-width: 835px) { .header-in { padding-top: 18px; } }
.logo-text { padding: 0; }
/* 通知の帯: 本文の上の広告の下（2026-10-05 作者）。パンくずの無いページでは、本文の欄の内側の余白が帯の下に加わって
   上下の間が違って見えるので、その分の半分だけ帯を下げる（パンくずが続くページは今のまま）。
   広告の枠の下の余白（22px）と重なって大きい方だけになるので、22＋下げたい分を書く */
.notice-area-wrap { margin-top: 41px; margin-bottom: -19px; }   /* 下げた分だけ本文を引き上げる（本文の位置は変えない） */
.notice-area-wrap:has(+ #breadcrumb) { margin-top: 0; margin-bottom: 0; }
@media screen and (max-width: 834px) {
  .notice-area-wrap { margin-top: 33px; margin-bottom: -11px; }
  .notice-area-wrap:has(+ #breadcrumb) { margin-top: 0; margin-bottom: 0; }
}

/* フォーム（Google フォームの代わり。src/lib/forms.ts 2026-10-05） */
.hf-wrap { margin: 1.5em 0; }
.hf-form, .hf-done { border: 1px solid #ccc; border-radius: 8px; padding: 20px; }
.hf-title { font-size: 1.2em; font-weight: bold; margin: 0 0 .6em; }
.hf-intro p, .hf-note { margin: .2em 0; font-size: .95em; }
.hf-req { color: #d93025; }
.hf-field { margin: 1.4em 0; }
.hf-label { display: block; font-weight: bold; margin-bottom: .4em; }
.hf-help { margin: 0 0 .5em 1.2em; padding: 0; font-size: .9em; }
.hf-field input[type=text], .hf-field input[type=email], .hf-field input[type=url], .hf-field input[type=number], .hf-field select, .hf-field textarea { width: 100%; max-width: 40em; box-sizing: border-box; }
.hf-field input[type=number] { max-width: 10em; }
.hf-choices label { display: block; margin: .3em 0; font-weight: normal; cursor: pointer; }
.hf-consent-text { margin: 0 0 .3em; }
.hf-error { color: #d93025; font-weight: bold; }
.hf-submit { padding: .6em 2.4em; font-size: 1em; cursor: pointer; }
.hf-echo { width: 100%; border-collapse: collapse; font-size: .9em; }
.hf-echo th, .hf-echo td { border: 1px solid #ccc; padding: .4em .6em; text-align: left; vertical-align: top; }
.hf-echo th { width: 35%; }
.hf-after { font-weight: bold; }
.hf-wrap [hidden] { display: none !important; }   /* 分岐で隠した欄（2026-10-07） */
.hf-section { margin: 1.8em 0 1em; padding-top: 1em; border-top: 1px solid #ddd; }
.hf-section-title { font-weight: bold; font-size: 1.05em; margin: 0 0 .4em; }
.hf-section-note { margin: .2em 0 .6em; font-size: .9em; }
details.hf-fold > summary { cursor: pointer; color: var(--link); }
details.hf-fold[open] > summary { margin-bottom: .6em; }
.hf-field input[readonly] { background: #f3f3f3; }
/* お店の記事の下の「内容が違っていたら」の案内（2026-10-07） */
.report-box { margin: 1.5em 0; padding: 12px 16px; border: 1px solid #ddd; border-radius: 6px; background: #fafafa; color: #333; font-size: .92em; line-height: 1.7; }   /* 東京版は暗い地なので、文字の色を決めておく */
.report-box a { color: var(--link); }
.report-box .report-title { font-weight: bold; margin: 0 0 .3em; }
.report-box p { margin: .2em 0; }

/* フォームの送信の前の、使う目的の案内（プライバシーポリシー。2026-10-08） */
.hf-wrap .hf-privacy { font-size: .9em; color: #444; }

/* 有料のトップ固定で先頭に出した記事の印（2026-10-08 作者の決定） */
.entry-card .pin-badge { display: inline-block; margin: 0 0 6px; padding: 2px 8px; border: 1px solid var(--badge-line, rgba(194, 155, 85, .6)); border-radius: 3px; background: var(--badge-bg, rgba(194, 155, 85, .14)); color: var(--badge-fg, #E2C890); font-size: 12px; font-weight: bold; line-height: 1.6; }

/* DUGA の動画の広告: 枠より広くならない（縦横比を保って縮む。2026-10-08）。フッターのリンクとクレジット */
[id^="dugaflvplayer-"] { max-width: 100%; margin: 0 auto; }
.footer-notes, .duga-credit { text-align: center; font-size: 12px; margin: 4px 0; }

/* PC の本文の上の左右の広告（表の 2 つの欄）: 中身の大きさに関わらず半分ずつ（2026-10-08。DUGA の動画が画像に押されて小さくなった） */
.widget_pc_ad .ad-responsive table { table-layout: fixed; width: 100%; }
.widget_pc_ad .ad-responsive td { width: 50%; vertical-align: middle; }
.widget_pc_ad .ad-responsive td img { max-width: 100%; height: auto; }

/* サイト全体のフォント（2026-10-08 作者の決定: Noto Sans JP。/fonts/noto-sans-jp.css）。アイコンのフォントは各自の指定のまま */
body { font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; }

/* ───── 案 C: サイドバーなし・新しいフッター（2026-10-08 作者の決定） ───── */
.no-sidebar .main { width: 100% !important; max-width: 960px !important; margin-left: auto !important; margin-right: auto !important; float: none !important; }
.no-sidebar .content-in { display: block !important; }
/* 頭のロゴ */
.hd-logo { display: inline-flex !important; align-items: center; gap: 16px; text-decoration: none; }
.hd-logo-icon { width: 44px; height: 44px; border-radius: 8px; flex: none; }
/* 年齢確認の窓のロゴ */
#age-gate .age-gate-logo { display: block; width: 72px; height: 72px; border-radius: 14px; margin: 0 auto 14px; }
/* 「ゲイマッサージは初めて、という方に」（押すと開く） */
.guide-note { background: #222; border: 1px solid #3a3a3a; border-radius: 6px; padding: 0 16px; margin: 16px 0; font-size: 14px; line-height: 1.8; color: #ccc; }
.guide-note summary { cursor: pointer; padding: 12px 0; font-weight: bold; color: #fff; list-style: none; }
.guide-note summary::-webkit-details-marker { display: none; }
.guide-note summary::before { content: "＋"; display: inline-block; width: 1.4em; color: #9ab; }
.guide-note[open] summary::before { content: "－"; }
.guide-note[open] { padding-bottom: 12px; }
.guide-note-list { margin: 8px 0 0; padding-left: 1.2em; }
.guide-note-list li { margin: 0 0 12px; }
.guide-note-list strong { color: #fff; }
/* フッターの上: 説明の 3 枚と、スポンサーリンクの帯 */
.band-wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.guide-band { background: #1a1d24; border-top: 1px solid #333; padding: 28px 0; }
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { background: #222; border-radius: 6px; padding: 12px; font-size: 13px; line-height: 1.7; color: #ccc; overflow: hidden; }
.guide-row { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; }
.guide-row:last-child { margin-bottom: 0; }
.guide-imgs { flex: none; display: flex; flex-direction: column; gap: 6px; width: 120px; }
.guide-imgs a { display: block; line-height: 0; }
.guide-imgs img { display: block; width: 120px; height: auto; border-radius: 4px; }
.guide-text { margin: 0; flex: 1; min-width: 0; }
.guide-card-title { font-weight: bold; color: #fff; font-size: 15px; margin: 0 0 4px; }
.pr-badge { display: inline-block; margin: 0 0 8px; padding: 2px 8px; border: 1px solid var(--badge-line, rgba(194, 155, 85, .6)); border-radius: 3px; background: var(--badge-bg, rgba(194, 155, 85, .14)); color: var(--badge-fg, #E2C890); font-size: 12px; font-weight: bold; line-height: 1.6; }
.sponsor-band { background: #161616; border-top: 1px solid #333; padding: 20px 0; }
.band-title { font-size: 13px; letter-spacing: .2em; color: #aaa; margin: 0 0 12px; }
.sponsor-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.sponsor-item { text-align: center; }
.sponsor-item img { max-width: 100%; height: auto; }
/* フッター */
#footer { background: #0f0f0f; color: #bbb; padding: 40px 0 0; font-size: 14px; }
#footer .footer-in { max-width: 1100px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.ft-cols { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 32px; }
.ft-about { text-align: center; }
.ft-logo { display: block; width: 88px; height: 88px; border-radius: 16px; margin: 0 auto 12px; }
.ft-name { font-size: 17px; font-weight: bold; line-height: 1.5; margin: 0 0 8px; word-break: keep-all; overflow-wrap: anywhere; }
.ft-name a { color: #fff; text-decoration: none; }
.ft-desc { font-size: 13px; line-height: 1.7; color: #999; margin: 0 0 14px; text-align: left; }
.ft-switch a { display: inline-block; padding: 4px 14px; border: 1px solid #555; border-radius: 20px; margin: 0 3px; color: #ddd; font-size: 13px; text-decoration: none; }
.ft-switch a.on { background: #1f4fa8; border-color: #1f4fa8; color: #fff; }
.ft-search { margin: 0 0 14px; }
.ft-h { font-size: 13px; letter-spacing: .15em; color: #fff; border-bottom: 1px solid #333; padding-bottom: 6px; margin: 0 0 10px; }
.ft-h2 { margin-top: 20px; }
.ft-col ul { list-style: none; margin: 0; padding: 0; }
.ft-col li { margin: 0 0 8px; }
.ft-col a { color: #bbb; text-decoration: none; }
.ft-col a:hover { color: #fff; text-decoration: underline; }
.ft-tags .tag-cloud-link { display: inline-block; font-size: 12px !important; padding: 3px 10px; margin: 0 4px 6px 0; border: 1px solid #555; border-radius: 14px; color: #ccc; text-decoration: none; }
.ft-tags .tax-icon { margin-right: 4px; font-size: 11px; }
/* 系統（カテゴリー）: 四角い枠・フォルダのマーク。タグ: 丸い枠・荷札のマーク（記事の下と同じマーク） */
.ft-cats { margin: 0 0 6px; }
.ft-cat { display: inline-block; padding: 4px 12px; margin: 0 6px 8px 0; border-radius: 3px; background: #333; color: #ddd !important; font-size: 13px; text-decoration: none !important; }
.ft-cat .fa { margin-right: 6px; }
.ft-cat:hover { background: #444; color: #fff !important; }
.ft-bottom { margin-top: 36px; border-top: 1px solid #2a2a2a; padding: 16px 0 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #888; }
.ft-bottom .duga-credit { margin: 0; text-align: left; }
.ft-bottom a { color: #888; }
@media (max-width: 1023px) { .ft-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 834px) { .guide-cards { grid-template-columns: 1fr; } .sponsor-items { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .ft-cols { grid-template-columns: 1fr; } .ft-bottom { flex-direction: column; } }

/* 記事の下のタグも、フッターのタグと同じ丸い枠（2026-10-08） */
.entry-tags .tag-link { border: 1px solid #555 !important; border-radius: 14px !important; padding: 3px 10px !important; color: #ccc !important; background: transparent !important; }
.entry-tags .tag-link:hover { color: #fff !important; border-color: #777 !important; }
.entry-tags .tag-link .tax-icon { margin-right: 4px; font-size: 11px; }

/* リンク: 下線は出さない。マウスを乗せたら文字そのものが明るく光る（2026-10-08 作者の決定）。画像のリンク・カード・札・ボタンは除く */
a, a:hover, a:focus { text-decoration: none !important; }
a:not(:has(img)):not(.a-wrap):not(.ft-cat):not(.cat-link):not(.tag-link):not(.tag-cloud-link):not(.on):not(.age-gate-enter):not(.hd-logo):not(.site-name) { transition: color .15s, text-shadow .15s; }
a:not(:has(img)):not(.a-wrap):not(.ft-cat):not(.cat-link):not(.tag-link):not(.tag-cloud-link):not(.on):not(.age-gate-enter):not(.hd-logo):not(.site-name):hover,
a:not(:has(img)):not(.a-wrap):not(.ft-cat):not(.cat-link):not(.tag-link):not(.tag-cloud-link):not(.on):not(.age-gate-enter):not(.hd-logo):not(.site-name):hover * { color: var(--link-hover, #9cc8ff) !important; text-shadow: 0 0 8px var(--link-glow, rgba(156, 200, 255, .45)); }
.tag-link:hover, .tag-cloud-link:hover, .tag-link:hover *, .tag-cloud-link:hover * { color: var(--link-hover, #9cc8ff) !important; border-color: var(--link-hover, #9cc8ff) !important; }
/* 系統の札・タグの札にマウスを乗せたとき: 暗くせず、文字とマークが明るく光る（記事の下とフッターで同じ。2026-10-08） */
html body :is(.cat-link, .ft-cat):hover { opacity: 1 !important; }
html body :is(.cat-link, .ft-cat, .tag-link, .tag-cloud-link):hover, html body :is(.cat-link, .ft-cat, .tag-link, .tag-cloud-link):hover * { color: var(--link-hover, #9cc8ff) !important; text-shadow: 0 0 8px var(--link-glow, rgba(156, 200, 255, .45)); }
html body :is(.tag-link, .tag-cloud-link):hover { border-color: var(--link-hover, #9cc8ff) !important; }

/* PC の本文の上の左右の広告の表: 枠線を出さない（2026-10-08） */
.widget_pc_ad .ad-responsive table, .widget_pc_ad .ad-responsive td, .widget_pc_ad .ad-responsive tr { border: 0 !important; background: transparent !important; }

/* 記事の下の関連記事: PC 3 列・中くらい 2 列（上に画像・下に題と札、抜粋なし）、スマホ 1 列（左に小さな画像・右に題）（2026-10-08 作者の決定） */
/* 「関連記事」の見出し（2026-10-14 作者の決定 案C）: 中央に 18px、左右に差し色の細い線（── 関連記事 ──）。見出しの帯（h2）とは別の、記事の外の区切り。上の広告との間は、下のカードとの間より広く（上は 36px。2026-10-14 作者の指摘） */
html:root #related-entries .related-entry-heading { display: flex !important; align-items: center; gap: 14px; text-align: center !important; margin: 36px 0 14px !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 18px !important; line-height: 1.5 !important; }
html:root #related-entries .related-entry-heading::before, html:root #related-entries .related-entry-heading::after { content: '' !important; display: block !important; flex: 1; height: 1px; background: var(--accent) !important; opacity: .6; position: static !important; border: 0 !important; }
#related-entries .related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
#related-entries .related-entry-card-wrap { margin: 0 !important; width: auto !important; height: 100%; box-sizing: border-box; padding: 0 !important; overflow: hidden; }
#related-entries .related-entry-card { display: flex; flex-direction: column; height: 100%; }
#related-entries .related-entry-card-thumb { float: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
#related-entries .related-entry-card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
#related-entries .related-entry-card-content { margin: 0 !important; padding: 10px 12px 12px; }
#related-entries .related-entry-card-title { font-size: 15px; line-height: 1.5; margin: 0; }
#related-entries .related-entry-card-snippet { display: none !important; }
@media (max-width: 1023px) { #related-entries .related-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) {
  #related-entries .related-list { grid-template-columns: 1fr; gap: 10px; }
  #related-entries .related-entry-card { flex-direction: row; align-items: center; }
  #related-entries .related-entry-card-thumb { width: 120px !important; flex: none; }
  #related-entries .related-entry-card-thumb .cat-label { display: none; }
  #related-entries .related-entry-card-content { padding: 6px 10px; }
  #related-entries .related-entry-card-title { font-size: 14px; }
}

/* 一覧（トップ・カテゴリー・タグ）: PC と中くらいは 2 列（上に画像・題・札・抜粋 3 行・日付）。トップの 1 件目の大きなカードと「初めて」の箱は幅いっぱい。スマホは 1 列（2026-10-08 作者の決定） */
#list.list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
#list > .entry-card-wrap { margin: 0 !important; width: auto !important; box-sizing: border-box; padding: 0 !important; overflow: hidden; }
#list > .ec-big-card-first, #list > .guide-note { grid-column: 1 / -1; }
#list > .guide-note { margin: 0 !important; }
#list > .entry-card-wrap:not(.ec-big-card-first) .entry-card { display: flex; flex-direction: column; height: 100%; }
#list > .entry-card-wrap:not(.ec-big-card-first) .entry-card-thumb { float: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
#list > .entry-card-wrap:not(.ec-big-card-first) .entry-card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
#list > .entry-card-wrap:not(.ec-big-card-first) .entry-card-content { margin: 0 !important; padding: 10px 14px 12px; display: flex; flex-direction: column; flex: 1; }
#list > .entry-card-wrap:not(.ec-big-card-first) .entry-card-title { font-size: 17px; line-height: 1.5; margin: 0 0 6px; }
#list .entry-card-snippet { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
#list > .entry-card-wrap:not(.ec-big-card-first) .entry-card-meta { margin-top: auto; }
@media (max-width: 540px) {
  #list.list { grid-template-columns: 1fr; gap: 10px; }
  #list > .entry-card-wrap:not(.ec-big-card-first) .entry-card { flex-direction: row; align-items: flex-start; }
  #list > .entry-card-wrap:not(.ec-big-card-first) .entry-card-thumb { width: 120px !important; flex: none; margin: 10px 0 10px 10px !important; }
  #list > .entry-card-wrap:not(.ec-big-card-first) .entry-card-thumb .cat-label { display: none; }
  #list > .entry-card-wrap:not(.ec-big-card-first) .entry-card-content { padding: 8px 10px; }
  #list > .entry-card-wrap:not(.ec-big-card-first) .entry-card-title { font-size: 15px; }
  #list .entry-card-snippet { -webkit-line-clamp: 2; font-size: 13px; }
}

/* ───── サイトの配色: 黒系＋サイトごとの差し色（2026-10-08 作者の決定。東京版はブロンズ → 2026-10-10 パイライトの金に: 見出しのラピスラズリの帯に合わせ、石に入る金の粒の色。色相 32° → 39°）。文字と地の比は 4.5 以上を確かめた ───── */
/* 地・線・文字・通知の色も、色相はそのままにトーン（明るさ・鮮やかさ・温かみ）をパイライトに揃えた（2026-10-10 作者の決定）。黒系の温かみは銅色寄り 20〜30° → パイライトの 39°、通知の緑・黄・赤は鮮やかさを揃え白い文字との比 4.5 以上 */
/* 金の役割: accent＝線・印・帯の枠・ボタンの地／link＝押せる文字だけ／field＝見出しの文字（帯の上）／title＝サイト名などの題／強調（太字）は金にしない（リンクと見分けるため） */
:root {
  --bg:#141414; --bg2:#1E1D1A; --card:#24221E; --text:#F3EFE8; --sub:#B7B0A4; --line:#3A3731;
  --accent:#C29B55; --link:#DDB873; --title:#EED9AC; --field:#EED9AC; --nav-bg:#1E1D1A; --nav-fg:#F3EFE8; --nav-line:#C29B55;
  --chip-bg:#2D2A25; --chip-fg:#F3EFE8; --btn-bg:#C29B55; --btn-fg:#141414; --notice:#6E3B43; --footer:#10100E; --input:#2A2722;
  --link-hover: #F7E2B2; --link-glow: rgba(247, 226, 178, .45);
  --label: #B7B0A4;
  --mark-bg: rgba(194, 155, 85, .35);   /* 検索結果で見つけた言葉の印（2026-10-10） */
  --badge-bg: rgba(194, 155, 85, .14); --badge-line: rgba(194, 155, 85, .6); --badge-fg: #E2C890;
}
html:root body, html:root .header-container, html:root .main, html:root tr, html:root .content, html:root #container { background-color: var(--bg) !important; }
html:root body :where(*:not(.pr-badge, .pin-badge, a, button, .ft-cat, .cat-link, .item-label, .cat-label, input, .mc-pal, .mc-pal *, .tag-link *, .tag-cloud-link *, .ft-cat *, .cat-link *)) { color: var(--text) !important; }
html:root :is(.tagline, .entry-date, .post-date, .post-update, .ft-desc, .band-title, .copyright, .copyright-year-now, .ad-label, .entry-card-snippet, .breadcrumb, .breadcrumb *) { color: var(--sub) !important; }
html:root :where(a:not(.ft-cat, .cat-link, .tag-link, .tag-cloud-link, .on, .age-gate-enter, .entry-card-wrap, .related-entry-card-wrap)), html:root :where(a:not(.ft-cat, .cat-link, .tag-link, .tag-cloud-link, .entry-card-wrap) span:not(.fa)) { color: var(--link) !important; }
html:root .entry-card-wrap, html:root .entry-card-wrap :where(*) { color: var(--text) !important; }
html:root .entry-card-wrap .entry-card-snippet, html:root .entry-card-wrap .entry-date { color: var(--sub) !important; }
html:root a .site-name-text, html:root .site-name-text { color: var(--title) !important; }
html:root #navi, html:root #navi .sub-menu, html:root .navi-in { background-color: var(--nav-bg) !important; }
html:root #navi { border-bottom: 2px solid var(--nav-line) !important; }
html:root #navi .item-label, html:root #navi .fa { color: var(--nav-fg) !important; }
html:root .entry-content h2, html:root .entry-content h3 { color: var(--field) !important; }
/* 強調（太字）は本文の色のまま太くする（金はリンクだけ。2026-10-10 作者の決定）。リンクの中の太字はリンクの色 */
html:root .entry-content strong { color: var(--text) !important; }
html:root .entry-content a strong { color: inherit !important; }
html:root .entry-content h2, html:root .entry-content h3 { border-color: var(--accent) !important; }
/* ページの題と見出しの帯の大きさ（2026-10-10 作者の決定 案B）: 題が見出しの帯に負けていた（スマホでは題 20px＜帯 24px）。題をページでいちばん大きく、題の色＋差し色の下線に。帯は色・形・枠はそのまま一回り小さく */
html:root :is(.entry-title, .archive-title) { font-size: 32px; line-height: 1.3; padding: 0 0 10px !important; margin: 0 0 6px; color: var(--title) !important; border-bottom: 3px solid var(--accent); background: none !important; }
html:root :is(.entry-title, .archive-title) * { color: inherit !important; }
html:root .archive-title { margin-bottom: 16px; }   /* 系統・タグの一覧は題のすぐ下にカードが来るので、少し空ける */
html:root .article h2:not(.boy-heading) { font-size: 20px; padding: 10px 12px; }
@media screen and (max-width: 480px) {
  html:root :is(.entry-title, .archive-title) { font-size: 26px; }
  html:root .article h2:not(.boy-heading) { font-size: 18px; padding: 9px 10px; }
}
html:root .cat-link, html:root .ft-cat, html:root .cat-label { background-color: var(--chip-bg) !important; color: var(--chip-fg) !important; }
/* カードの写真の上の系統の札（2026-10-10 作者の決定）: テーマの白い四角い枠をやめ、受付の「無料」「どなたでも」と同じ色の無い枠に（角 3px・12px）。写真の上なので地は暗く少し透かす。写真の角から 8px 離す */
html:root .cat-label { top: 8px !important; left: 8px !important; padding: 0 7px !important; border: 1px solid var(--sub) !important; border-radius: 3px !important; background-color: rgba(20, 20, 20, .85) !important; color: var(--text) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.6 !important; }
html:root .cat-link .fa, html:root .ft-cat .fa { color: var(--accent) !important; }
html:root .tag-link, html:root .tag-cloud-link, html:root .tag-link *, html:root .tag-cloud-link * { border-color: var(--line) !important; color: var(--sub) !important; background: transparent !important; }
html:root .ft-cat *, html:root .cat-link * { color: var(--chip-fg) !important; }
html:root .tag-link .fa, html:root .tag-cloud-link .fa { color: var(--accent) !important; }
html:root .guide-card, html:root .guide-note, html:root .report-box, html:root .related-entry-card-wrap, html:root .prev-post, html:root .next-post { background-color: var(--card) !important; border-color: var(--line) !important; }
html:root .guide-band { background-color: var(--bg2) !important; border-color: var(--line) !important; }
html:root .sponsor-band { background-color: var(--bg) !important; border-color: var(--line) !important; }
html:root #footer { background-color: var(--footer) !important; }
html:root .ft-h { border-color: var(--line) !important; }
html:root .ft-bottom { border-color: var(--line) !important; }
html:root .ft-switch a { border-color: var(--line) !important; color: var(--text) !important; }
html:root .ft-switch a.on, html:root .age-gate-enter { background-color: var(--btn-bg) !important; border-color: var(--btn-bg) !important; color: var(--btn-fg) !important; }
html:root #age-gate .age-gate-box { border-top-color: var(--accent) !important; }
html:root input.search-edit { background-color: var(--input) !important; color: var(--text) !important; border: 1px solid var(--line) !important; }
html:root .guide-note summary::before { color: var(--accent) !important; }
html:root a.entry-card-wrap, html:root a.related-entry-card-wrap, html:root a.prev-post, html:root a.next-post, html:root .a-wrap.border-element { background-color: var(--card) !important; border-color: var(--line) !important; }
html:root a.entry-card-wrap:hover, html:root a.related-entry-card-wrap:hover, html:root a.prev-post:hover, html:root a.next-post:hover { background-color: var(--bg2) !important; }
html:root .border-element { border-color: var(--line) !important; }
html:root .page-numbers { background-color: var(--card) !important; border-color: var(--line) !important; color: var(--text) !important; }
html:root .page-numbers.current { background-color: var(--btn-bg) !important; color: var(--btn-fg) !important; border-color: var(--btn-bg) !important; }
html:root .wp-caption, html:root .wp-caption * { background-color: var(--card) !important; }
html:root .hf-wrap :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { background-color: var(--input) !important; color: var(--text) !important; border: 1px solid var(--line) !important; }
html:root .hf-submit { background-color: var(--btn-bg) !important; color: var(--btn-fg) !important; border: 1px solid var(--btn-bg) !important; }
html:root :is(.hf-section, details.hf-fold, .entry-content table, .entry-content th, .entry-content td) { border-color: var(--line) !important; }
html:root .entry-content th { background-color: var(--bg2) !important; }
html:root .entry-content span[style*="52d9f0"], html:root .entry-content span[style*="52D9F0"] { display: inline-block; border-left: 3px solid var(--accent); padding-left: 8px; line-height: 1.3; }
html:root .entry-content span[style*="52d9f0"] strong, html:root .entry-content span[style*="52D9F0"] strong { color: var(--label) !important; letter-spacing: .04em; }
html:root .entry-card-wrap.a-wrap::before, html:root .entry-card-wrap.a-wrap::after { background: none !important; background-image: none !important; border: 0 !important; }
html:root :is(.entry-card-wrap, .related-entry-card-wrap, .pager-post-navi a.prev-post, .pager-post-navi a.next-post).a-wrap { border: 1px solid var(--line) !important; border-radius: 6px; background-color: var(--card) !important; box-shadow: none !important; }
html:root :is(.entry-card-wrap, .related-entry-card-wrap, .pager-post-navi a.prev-post, .pager-post-navi a.next-post).a-wrap:hover { background-color: var(--bg2) !important; border-color: var(--accent) !important; }
html:root .go-to-top-button { border: 2px solid var(--accent) !important; color: var(--accent) !important; background: var(--bg) !important; }
html:root .go-to-top-button:hover, html:root .go-to-top-button:hover * { color: var(--link-hover) !important; border-color: var(--link-hover) !important; }
html:root #navi .navi-in a:hover, html:root .menu-drawer a:hover { background-color: color-mix(in srgb, var(--accent) 35%, transparent) !important; }
html:root .footer { background-image: none !important; }
html:root .page-numbers::before, html:root .page-numbers::after { border-color: var(--accent) !important; }
html:root .pagination a:hover, html:root .pagination a:hover * { color: var(--link-hover) !important; }
html:root .pagination .current { background-image: none !important; }
html:root .article h3::after { background-color: var(--accent) !important; box-shadow: none !important; }
/* 本文の小見出し h3（2026-10-14 作者の指摘: 見出しの帯 h2 と同じ大きさの枠で、どちらが大きい見出しか分からなかった）。
   枠と地を外し、左の差し色の線と一回り小さい字（17px・スマホ 16px）で、h2 の帯の下の区切りと分かる形に。関連記事のカードの題には当てない（掲載条件の「掲載するサイト」terms-h も同じ形。2026-10-14 作者の指摘） */
html:root .article .entry-content h3:not(.related-entry-card-title) { margin: 1.6em 0 .6em !important; padding: 2px 0 2px 10px !important; border: 0 !important; border-left: 4px solid var(--accent) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; font-size: 17px !important; line-height: 1.5 !important; }
html:root .article .entry-content h3:not(.related-entry-card-title)::before, html:root .article .entry-content h3:not(.related-entry-card-title)::after { display: none !important; }
@media (max-width: 600px) { html:root .article .entry-content h3:not(.related-entry-card-title) { font-size: 16px !important; } }
html:root .article h4::after, html:root .article h5::after { background: var(--accent) !important; border-color: var(--accent) !important; }
html:root .toc-title { background-image: none !important; background-color: var(--bg2) !important; }
html:root .toc-content a:hover { background-color: color-mix(in srgb, var(--accent) 30%, transparent) !important; }
html:root .widget_pc_ad .ad-responsive :is(table, td, tr) { background: transparent !important; }
/* 通知の帯: 緑・黄・赤の代わりに、配色になじむ色（編集画面で色を指定したときは、その色のまま） */
html:root .nt-notice { background-color: #3B4454; }
html:root .nt-warning { background-color: #5C6B84; }
html:root .nt-danger { background-color: #C3CAD5; }
/* 通知の帯（東京版。2026-10-10 作者の決定 B）: 信号の色をやめ、見出しのラピスラズリの青を薄く含んだグレーの明るさで段階を分ける。大事なものほど明るい（大事は黒い字） */
html:root .nt-danger #notice-area, html:root #notice-area.nt-danger, html:root #notice-area.nt-danger * { color: #141414 !important; }
html:root #notice-area, html:root #notice-area * { color: #fff !important; }

/* 自社広告「広告掲載のご案内」（画像を使わない文字のバナー。2026-10-08。料金が変わったら ads.json の文字を直す） */
.house-ad { display: flex !important; flex-direction: column; align-items: center; gap: 6px; max-width: 640px; margin: 0 auto; padding: 22px 16px 18px; box-sizing: border-box; border: 1px solid var(--accent, #C29B55); border-radius: 8px; background: linear-gradient(135deg, var(--card, #24221E), var(--bg2, #1E1D1A)); text-align: center; text-decoration: none !important; line-height: 1.5; }
.house-ad span { display: block; }
.house-ad .house-ad-label { font-size: 12px; letter-spacing: .2em; color: var(--accent, #C29B55) !important; }
.house-ad .house-ad-main { font-size: 20px; font-weight: bold; color: var(--text, #F3EFE8) !important; }
.house-ad .house-ad-price { font-size: 15px; color: var(--sub, #B7B0A4) !important; }
.house-ad .house-ad-price strong { font-size: 26px; color: var(--link, #DDB873) !important; margin: 0 2px; }
.house-ad .house-ad-sub { font-size: 12px; color: var(--sub, #B7B0A4) !important; }
.house-ad .house-ad-cta { margin-top: 6px; padding: 4px 16px; border-radius: 16px; background: var(--btn-bg, #C29B55); color: var(--btn-fg, #141414) !important; font-size: 13px; font-weight: bold; }
.house-ad:hover { border-color: var(--link-hover, #F7E2B2); }
@media (max-width: 540px) { .house-ad .house-ad-main { font-size: 17px; } .house-ad .house-ad-price strong { font-size: 22px; } }
/* 本文の上の広告（header）の高さの上限: 16:9 か、それより横長（PC 608×342px まで）。縦に長い画像は、比を保って縮める（2026-10-08 作者の決定。本文の下は制限しない） */
.widget-content-top [data-ad-groups] img { max-height: min(342px, 56.25vw); width: auto; max-width: 100%; height: auto; margin-left: auto; margin-right: auto; display: block; }
/* 本文の下・一覧の下の広告の高さの上限: 縦長も受け付けるが、極端なものを止める（PC 800px・スマホは幅の 4/3 まで。2026-10-08 作者の決定） */
:is(.widget-below-sns-buttons, .widget-index-bottom) [data-ad-groups] img { max-height: min(800px, 133vw); width: auto; max-width: 100%; height: auto; margin-left: auto; margin-right: auto; display: block; }

/* 頭のサイト名: 言葉の切れ目（行ってみたい、｜男による｜男のための｜マッサージ｜【○○版】）だけで改行（2026-10-08） */
.logo-header .site-name-text { word-break: keep-all; overflow-wrap: anywhere; }
.logo-header .site-name-text .nowrap { white-space: nowrap; }   /* 題の折り返しは「行ってみたい、／男による男のための／マッサージ【○○版】」の区切りだけ（2026-10-11 作者の依頼） */
html:root .site-name-text .nowrap, html:root .site-name-text .hd-ver-text { color: var(--title) !important; }   /* 【○○版】の囲み（2026-10-11 版の札）も題の色に（白くなっていた） */
html:root .ft-name a, html:root .ft-name a * { color: var(--title) !important; }

/* ───── 狭い幅（スマホ・タブレット）の整理（2026-10-08） ───── */
/* スマホのメニューの一覧: 子の項目は閉じておき、「＋」で開く */
.menu-drawer li.menu-item-has-children { position: relative; }
.menu-drawer li.menu-item-has-children > .sub-menu { display: none; }
.menu-drawer li.menu-item-has-children.drawer-open > .sub-menu { display: block; }
.menu-drawer .drawer-toggle { position: absolute; top: 2px; right: 4px; width: 40px; height: 36px; border: 1px solid var(--line, #3A3731); border-radius: 6px; background: transparent; color: var(--accent, #C29B55) !important; font-size: 18px; line-height: 1; cursor: pointer; }
.menu-drawer li.menu-item-has-children > a { padding-right: 52px !important; }
@media (max-width: 1023px) {
  /* 頭: メニューが隠れているので線を出さない。ロゴとサイト名は中央に */
  html:root #navi { border-bottom: 0 !important; }
  #header .header-in { text-align: center; }
  #header .logo-header { text-align: center; }
  #header .hd-logo { justify-content: center; }
  #header .tagline { text-align: center; }
  /* フッター: サイト → 探す → （このサイトについて｜お店の方へ・どなたでも） */
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .ft-cols > .ft-about, .ft-cols > .ft-col:nth-child(2) { grid-column: 1 / -1; }
  .ft-about .ft-desc { text-align: center; max-width: 520px; margin-left: auto; margin-right: auto; }
  .ft-logo { width: 72px; height: 72px; }
  .ft-col li { margin-bottom: 10px; }
}
@media (max-width: 600px) {
  #header .tagline { display: none; }
}
@media (max-width: 540px) {
  .ft-cols { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 1023px) { #header .logo-header .site-name-text { text-align: center; } #header .hd-logo { max-width: 100%; } }

/* 狭い幅: フッターの中身は下の「案内」のボタンから横に出す。ページの一番下は © とクレジットだけ（2026-10-08 作者の案。kousuke.tokyo と同じ考え） */
@media (max-width: 1023px) {
  #footer .ft-cols { display: none; }
  #footer { padding-top: 8px; }
  #footer .ft-bottom { margin-top: 0; border-top: 0; text-align: center; justify-content: center; }
  #footer .ft-bottom .duga-credit { text-align: center; }   /* DUGA のクレジットも © と同じ中央に（2026-10-11 作者の指摘。クレジットの HTML は規定のまま、置き場所だけ） */
  #sidebar-menu-content .ft-cols { display: grid; grid-template-columns: 1fr; gap: 22px; padding: 8px 16px 24px; color: var(--text, #F3EFE8); font-size: 14px; }
  #sidebar-menu-content .ft-cols > .ft-about, #sidebar-menu-content .ft-cols > .ft-col { grid-column: auto; }
  #sidebar-menu-content .ft-logo { width: 56px; height: 56px; }
}

/* 狭い幅の作り直し（2026-10-08 作者の決定）: 左「メニュー」＝ページへのリンク（区切りつき）、右「案内」＝探す（検索・タグ）と説明のカード。ページの一番下はロゴ・サイト名・説明・切り替えと © */
.menu-drawer .drawer-heading { margin: 18px 0 4px; padding: 6px 12px; font-size: 12px; letter-spacing: .15em; color: var(--accent, #C29B55) !important; border-bottom: 1px solid var(--line, #3A3731); list-style: none; }
.drawer-guide { padding: 8px 16px 24px; text-align: left; }
.drawer-guide .drawer-h { margin: 22px 0 10px; font-size: 13px; letter-spacing: .15em; color: var(--accent, #C29B55) !important; border-bottom: 1px solid var(--line, #3A3731); padding-bottom: 6px; }
.drawer-guide .guide-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (max-width: 1023px) {
  #footer .ft-cols { display: grid !important; grid-template-columns: 1fr; }
  #footer .ft-cols > .ft-col { display: none; }
  #footer .ft-cols > .ft-about { display: block; grid-column: auto; }
  .guide-band { display: none; }
  #footer .ft-bottom { margin-top: 18px; border-top: 1px solid var(--line, #3A3731); padding-top: 14px; }
}

/* 「案内」の中の見出しを、はじめての方へ・メニューの区切りと同じ形に（2026-10-08） */
html:root .drawer-guide .ft-h { margin: 22px 0 10px; font-size: 13px; letter-spacing: .15em; color: var(--accent, #C29B55) !important; border-bottom: 1px solid var(--line, #3A3731); padding-bottom: 6px; }
html:root .drawer-guide .ft-h:first-child { margin-top: 8px; }

/* 「案内」の中にも系統の札を出す（PC のフッターと同じく、検索の下に見出しなしで。2026-10-08） */

/* お知らせ（/news/。2026-10-09） */
.news-list { list-style: none; margin: 1em 0 0; padding: 0; }
/* お知らせの一覧: 分類の欄を決まった幅にして、本文の始まりをそろえる（2026-10-10 作者の決定 案B）。いちばん長い分類「個人情報・決まりごと」が入る幅。スマホは 2 段のまま */
.news-item { display: grid; grid-template-columns: auto 150px 1fr; gap: 6px 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line, #3A3731); }
.news-date { font-size: 13px; color: var(--sub, #B7B0A4); white-space: nowrap; }
.news-kind { justify-self: start; font-size: 12px; padding: 1px 8px; border: 1px solid var(--line, #3A3731); border-radius: 3px; color: var(--accent, #C29B55) !important; white-space: nowrap; }
.news-text { margin: 0; line-height: 1.7; }
@media (max-width: 540px) { .news-item { grid-template-columns: auto 1fr; } .news-text { grid-column: 1 / -1; } }
.notice-area-link { text-decoration: none !important; }

/* 記事掲載条件のページ（2026-10-09）: 条件は①〜⑦、除外・例外は (1)(2)…、言葉の一覧は「・」。番号は文字で書き、ぶら下げで揃える */
.terms .terms-item { margin: 0 0 1.4em; }
.terms .terms-item > p { padding-left: 1.6em; text-indent: -1.6em; margin: 0 0 .4em; }
.terms .terms-no { display: inline-block; width: 1.6em; text-indent: 0; font-weight: 700; }
.terms-sub, .terms-words { list-style: none; margin: 0 0 0 1.6em; padding: 0; }
.terms-sub li { padding-left: 2.2em; text-indent: -2.2em; margin: .2em 0; }
.terms-words li { padding-left: 1em; text-indent: -1em; margin: .15em 0; }
.terms-words li::before { content: "・"; }
.terms-hr { margin: 2em 0 1em; }

/* 通知の帯は 1 行（2026-10-09 作者の依頼）。長い文は末尾を「…」に。文は お知らせの「通知の帯の文」（barText） */
.notice-area .notice-area-message { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* お知らせの一覧: 本文の 2 行目から先は「くわしく」で開く（2026-10-09） */
.news-text p { margin: 0; }
.news-more { margin-top: .3em; }
.news-more summary { cursor: pointer; font-size: 13px; color: var(--link, #E2C890); list-style: none; }
.news-more summary::-webkit-details-marker { display: none; }
.news-more summary::before { content: "＋ "; }
.news-more[open] summary::before { content: "－ "; }
.news-more p { margin-top: .4em; font-size: 14px; }

/* 予約（2026-10-09）: 出す日（data-from）が来るまで見せない。Shell.astro が見る人の日付（下見の日）で from-on を付ける */
[data-from]:not(.from-on) { display: none !important; }
.view-date-bar { position: fixed; left: 50%; top: 8px; transform: translateX(-50%); z-index: 100000; background: #5C6B84; color: #fff; font-size: 13px; padding: 4px 12px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
html:root .view-date-bar a { color: #fff !important; text-decoration: underline !important; margin-left: .5em; }

/* 1 ページの件数を超えた分（予約が出る日になったときなど。2026-10-10） */
#list .over-cap { display: none !important; }

/* 受付の一覧（/reception/。2026-10-10 ほかの受付のページに合わせた）: 説明つきのカード */
.reception-cards { list-style: none; margin: .6em 0 1.6em; padding: 0; display: grid; gap: 10px; }
.reception-cards li { margin: 0; padding: 0; }
html:root .reception-card { display: block; background: var(--card) !important; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; text-decoration: none !important; transition: border-color .15s; }
html:root .reception-card:hover { border-color: var(--accent); }
html:root .reception-card-title { display: block; font-weight: 700; font-size: 16px; color: var(--link) !important; }
html:root .reception-card:hover .reception-card-title { text-shadow: 0 0 8px var(--accent); }
html:root .reception-card-desc { display: block; margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--sub) !important; }
.reception-badge { display: inline-block; margin-left: .6em; padding: 0 7px; border-radius: 3px; font-size: 12px; font-weight: 400; vertical-align: 2px; border: 1px solid var(--line, #3A3731); }
html:root .reception-badge-free { color: var(--text) !important; background: transparent; border-color: var(--sub); }   /* 札の色の決まり（2026-10-10 作者の決定 案1）: 札はどれも同じ枠の形。色（差し色の金属）が付くのは、お金がかかるもの（有料・PR）だけ。無料・どなたでもは色の無い枠。帯の石の色や、それ以外の色は札に使わない */
/* 広告の枠の印（2026-10-10 作者の決定）: 「スポンサーリンク」をやめ、お金が関わる表示はすべて「PR」に。形も PR の札と同じ差し色の枠 */
html:root .ad-label { display: table; margin: 0 auto 8px; padding: 0 8px; border: 1px solid var(--badge-line); border-radius: 3px; background: var(--badge-bg); color: var(--badge-fg) !important; font-size: 12px; font-weight: bold; line-height: 1.6; letter-spacing: .05em; }
html:root .reception-badge-paid { color: var(--badge-fg) !important; background: var(--badge-bg); border-color: var(--badge-line); }
html:root .reception-badge-all { color: var(--text) !important; background: transparent; border-color: var(--sub); }   /* 「どなたでも」は無料の一つの形（2026-10-11 作者の決定）: 無料と同じ札 */

html:root .entry-content ul.reception-cards { padding-left: 0 !important; margin-left: 0 !important; }

/* ボーイ画像（2026-10-10）: 12 項目の表のすぐ下。PR の札。表とは枠で分ける */
.boy-section { margin: 1.2em 0 1.6em; padding: 14px; border: 1px solid var(--line, #3A3731); border-radius: 6px; background: var(--bg2, #1E1D1A); }
html:root .entry-content h2.boy-heading { margin: 0 0 4px; padding: 0; background: none !important; border: 0 !important; box-shadow: none !important; font-size: 17px; color: var(--title) !important; display: flex; align-items: center; gap: 8px; }
html:root .entry-content h2.boy-heading::before, html:root .entry-content h2.boy-heading::after { display: none !important; }
.boy-heading .pr-badge { margin: 0; }
.boy-lead { margin: 0 0 10px !important; font-size: 13px; color: var(--sub, #B7B0A4); }
.boy-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 600px) { .boy-list { grid-template-columns: repeat(2, 1fr); } }
.boy-card { margin: 0; background: var(--card, #24221E); border-radius: 5px; overflow: hidden; }
.boy-card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.boy-card figcaption { padding: 6px 8px 8px; font-size: 13px; line-height: 1.5; }
.boy-name { display: block; font-weight: 700; color: var(--text, #F3EFE8); }
.boy-cap { display: block; color: var(--sub, #B7B0A4); font-size: 12px; }
/* 無料と有料の枠を分けて横に並べる（2026-10-14 作者の決定 B）: お金をいただく画像だけ PR の枠（一段明るい地＋線）、無料は線だけの枠。
   枠の幅は列の数（--c-pc・--c-sp。site.ts と Shell.astro の boyCols。PC は合わせて 5 列・スマホは 2 列まで）に比べて分け、画像の幅を 2 つの枠でそろえる。
   枠の高さをそろえ、画像は枠の下に寄せる（案内の文の行の数が違っても画像の並びがずれない）。枠は上下に積まない（作者「無料の下に有料は見栄えが悪い」） */
.boy-section { display: flex; align-items: stretch; gap: 10px; max-width: calc(var(--t-pc, 3) * 190px + 30px); padding: 0; border: 0; background: none; }
.boy-group { flex: var(--c-pc, 1) 1 0; min-width: 0; display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
.boy-group.boy-paid { background: var(--bg2); }
.boy-group.boy-free { background: transparent; }
.boy-group .boy-list { display: grid; grid-template-columns: repeat(var(--c-pc, 1), minmax(0, 1fr)); gap: 10px; margin-top: auto; }
/* スマホは列が 2 つまでで枚数の違いが縦に出るので、画像は枠の上に寄せる。1 枚だけのときに画面いっぱいにしない */
@media (max-width: 600px) { .boy-section { max-width: calc(var(--t-sp, 2) * 180px + 30px); gap: 8px; } .boy-group { flex-grow: var(--c-sp, 1); padding: 8px; } .boy-group .boy-list { grid-template-columns: repeat(var(--c-sp, 1), minmax(0, 1fr)); gap: 8px; margin-top: 0; } }
/* ボーイ画像のリンク（2026-10-14）: 押せるのは画像だけ（名前・ひとことはリンクにしない＝作者の指摘） */
.boy-link { display: block; }

/* PR の枠の頭（ボーイ画像・体験談。2026-10-10。フッターの上の説明のカードも 2026-10-11）: 札のすぐ横に一文 */
.pr-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 10px !important; }
.pr-head .pr-badge { margin: 0; }
.pr-lead { font-size: 13px; color: var(--sub, #B7B0A4); }
.exp-section { margin: 0 0 1.6em; padding: 14px; border: 1px solid var(--line, #3A3731); border-radius: 6px; background: var(--bg2, #1E1D1A); }
.exp-label { margin-bottom: 6px !important; }
.exp-meta { margin: 0 0 8px !important; font-size: 13px; color: var(--sub, #B7B0A4); }
.exp-sub { margin: 10px 0 2px !important; font-weight: 700; font-size: 14px; color: var(--title, #EED9AC); }
.exp-text { margin: 0 !important; line-height: 1.8; }

/* 年齢確認の窓（2026-10-10）: 窓の地が白のまま、配色で文字が明るくなり読めなかった。サイトと同じ暗い地に、題・文・ボタンの色を揃える */
html:root #age-gate .age-gate-box { background: var(--card) !important; border: 1px solid var(--line) !important; border-top: 4px solid var(--accent) !important; box-shadow: 0 6px 30px rgba(0,0,0,.6) !important; }
html:root #age-gate .age-gate-title { color: var(--title) !important; }
html:root #age-gate .age-gate-msg, html:root #age-gate .age-gate-msg * { color: var(--text) !important; }
html:root #age-gate .age-gate-leave { background: transparent !important; color: var(--text) !important; border: 1px solid var(--line) !important; }
html:root #age-gate .age-gate-leave:hover { border-color: var(--sub) !important; }
html:root #age-gate .age-gate-enter:hover { filter: brightness(1.08); }
/* 「サイト作成のきっかけ」（2026-10-10 作者の決定 案3）: 巧太の手紙として見せる。言葉は変えず、段落を 3 つに分け、字下げ・明朝体・枠。明朝体は見る人の端末のもの（読み込みは増えない） */
.letter { max-width: 34em; margin: 1em auto 2em; padding: 28px 32px; background: var(--bg2); border-left: 3px solid var(--accent); border-radius: 4px; font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif CJK JP", serif; font-weight: 500; font-size: 17px; line-height: 2.1; letter-spacing: .03em; }
.letter p { margin: 0 0 1.2em !important; text-indent: 1em; }
.letter p.letter-sig { margin: 1.4em 0 0 !important; text-indent: 0; text-align: right; color: var(--sub) !important; }
@media screen and (max-width: 600px) { .letter { padding: 18px 16px; font-size: 16px; } }

/* ───── 押せる枠の統一（2026-10-10 作者の決定）: ページ送りのボタンと同じ見え方にする。
   ふだんは、光が左上から当たる枠（左上の半分だけ明るく、右下は陰＝outset）と、左上から右下へ暗くなる地。
   指を乗せると、差し色の線が上下・左右から伸びて枠になる（テーマのページ送りの動き）。色が塗られた押せる所（今のページ・ボタン）は対象外 ───── */
html:root body :is(.page-numbers:not(.current), a.nf-btn:not(.fill), .tag-link, .tag-cloud-link, .area-chip:not(.on), .ft-switch a:not(.on), a.reception-card, a.entry-card-wrap.a-wrap, a.related-entry-card-wrap.a-wrap, .pager-post-navi a.a-wrap, .menu-drawer .drawer-toggle, details.guide-note) {
  position: relative; border-width: 1px !important; border-style: outset !important; border-color: var(--line) !important;
  background-image: linear-gradient(135deg, #3d3939, #0c0c0c) !important; background-color: var(--card) !important; box-shadow: none !important; }
html:root body :is(.page-numbers:not(.current), a.nf-btn:not(.fill), .tag-link, .tag-cloud-link, .area-chip:not(.on), .ft-switch a:not(.on), a.reception-card, a.entry-card-wrap.a-wrap, a.related-entry-card-wrap.a-wrap, .pager-post-navi a.a-wrap, .menu-drawer .drawer-toggle, details.guide-note)::before,
html:root body :is(.page-numbers:not(.current), a.nf-btn:not(.fill), .tag-link, .tag-cloud-link, .area-chip:not(.on), .ft-switch a:not(.on), a.reception-card, a.entry-card-wrap.a-wrap, a.related-entry-card-wrap.a-wrap, .pager-post-navi a.a-wrap, .menu-drawer .drawer-toggle, details.guide-note)::after {
  content: "" !important; display: block !important; position: absolute !important; top: -1px !important; right: -1px !important; bottom: -1px !important; left: -1px !important; z-index: 2;
  pointer-events: none; border-radius: inherit !important; background: none !important; transition: transform .3s !important; }
html:root body :is(.page-numbers:not(.current), a.nf-btn:not(.fill), .tag-link, .tag-cloud-link, .area-chip:not(.on), .ft-switch a:not(.on), a.reception-card, a.entry-card-wrap.a-wrap, a.related-entry-card-wrap.a-wrap, .pager-post-navi a.a-wrap, .menu-drawer .drawer-toggle, details.guide-note)::before {
  border: 0 !important; border-top: 1px solid var(--accent) !important; border-bottom: 1px solid var(--accent) !important; transform: scale(0, 1) !important; }
html:root body :is(.page-numbers:not(.current), a.nf-btn:not(.fill), .tag-link, .tag-cloud-link, .area-chip:not(.on), .ft-switch a:not(.on), a.reception-card, a.entry-card-wrap.a-wrap, a.related-entry-card-wrap.a-wrap, .pager-post-navi a.a-wrap, .menu-drawer .drawer-toggle, details.guide-note)::after {
  border: 0 !important; border-left: 1px solid var(--accent) !important; border-right: 1px solid var(--accent) !important; transform: scale(1, 0) !important; }
html:root body :is(.page-numbers:not(.current), a.nf-btn:not(.fill), .tag-link, .tag-cloud-link, .area-chip:not(.on), .ft-switch a:not(.on), a.reception-card, a.entry-card-wrap.a-wrap, a.related-entry-card-wrap.a-wrap, .pager-post-navi a.a-wrap, .menu-drawer .drawer-toggle, details.guide-note):is(:hover, :focus-visible, :active)::before,
html:root body :is(.page-numbers:not(.current), a.nf-btn:not(.fill), .tag-link, .tag-cloud-link, .area-chip:not(.on), .ft-switch a:not(.on), a.reception-card, a.entry-card-wrap.a-wrap, a.related-entry-card-wrap.a-wrap, .pager-post-navi a.a-wrap, .menu-drawer .drawer-toggle, details.guide-note):is(:hover, :focus-visible, :active)::after { transform: scale(1) !important; }
/* 指を乗せても、もとの枠の色は変えない（差し色の線は上に重なって出る） */
html:root body :is(.tag-link, .tag-cloud-link, a.reception-card, a.entry-card-wrap.a-wrap, a.related-entry-card-wrap.a-wrap, .pager-post-navi a.a-wrap, details.guide-note):hover { border-color: var(--line) !important; }
/* 「はじめての方へ」の開け閉めの印（＋・－）は summary の ::before なので、枠の線とは別 */
/* 色を塗った押せる所も、同じ光の当たり方に（2026-10-10）: 枠を地と同じ色の outset にすると、左上は地に溶け、右下だけが陰になる（ページ送りの今のページと同じ）。指を乗せたら少し明るく */
html:root body :is(.page-numbers.current, .ft-switch a.on, .age-gate-enter, .hf-submit, .house-ad .house-ad-cta, a.nf-btn.fill) { border: 1px outset var(--btn-bg) !important; }
html:root body :is(.ft-switch a.on, .age-gate-enter, .hf-submit, a.nf-btn.fill):is(:hover, :active), html:root .house-ad:is(:hover, :active) .house-ad-cta { filter: brightness(1.08); }
/* 白く残っていた枠を線の色に（2026-10-10 作者の決定）: お店の画面写真と引用の説明の枠（引用の部分を本文と分ける役目なので枠は残す）、フォーム全体の枠、送った内容の表の線 */
html:root .wp-caption { border: 1px solid var(--line) !important; }
html:root :is(.hf-form, .hf-done) { border-color: var(--line) !important; }
html:root .hf-echo :is(th, td) { border-color: var(--line) !important; }
/* 全国版の地方・県の札（2026-10-10 作者の決定 案B）: 地方・県のページの題の下に、その地方の県・出張のみを記事の数つきで並べる。押せる枠の決まり（左上から光・指を乗せると差し色の線）と同じ。今のページは塗り */
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.area-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 14px; border-radius: 99px; font-size: 14px; line-height: 1.5; text-decoration: none !important; color: var(--text) !important; }
.area-chip .area-n { font-size: 12px; color: var(--sub) !important; }
html:root body .area-chip.on { background: var(--btn-bg) !important; border: 1px outset var(--btn-bg) !important; color: var(--btn-fg) !important; }
html:root body .area-chip.on .area-n { color: var(--btn-fg) !important; opacity: .75; }
/* フォームの見え方（2026-10-10 作者の指摘: 問いと選択肢が同じ大きさ・同じ色で分かりにくい）。サイトの決まりに合わせる:
   区切りの見出し＝題の色、問い＝記事の「欄の名前」と同じ（左に差し色の線・控えめな文字の色の太字）、選択肢＝本文の色のふつうの太さ、説明＝控えめな文字の色で小さく。
   必須の印・エラーは差し色の明るい色（赤は足さない＝色は金属・石・無彩色だけ） */
html:root .hf-wrap .hf-title { color: var(--title) !important; font-size: 1.25em; }
html:root .hf-wrap .hf-section-title { color: var(--title) !important; font-size: 1.12em; margin: 0 0 .5em; }
html:root .hf-wrap .hf-section-note, html:root .hf-wrap .hf-help, html:root .hf-wrap .hf-help *:not(a), html:root .hf-wrap .hf-privacy { color: var(--sub) !important; }
html:root .hf-wrap .hf-label { display: table; border-left: 3px solid var(--accent); padding-left: 8px; line-height: 1.4; margin-bottom: .55em; color: var(--label) !important; font-weight: 700; }
html:root .hf-wrap .hf-req, html:root .hf-wrap .hf-error { color: var(--link) !important; }
html:root .hf-wrap .hf-help { margin: 0 0 .6em 1.2em; font-size: .88em; line-height: 1.7; }
html:root .hf-wrap .hf-choices { margin-left: 11px; }
html:root .hf-wrap .hf-choices label, html:root .hf-wrap .hf-consent-text { color: var(--text) !important; font-weight: 400; }
html:root .hf-wrap .hf-choices label { margin: .45em 0; }
html:root .hf-wrap :is(input[type=checkbox], input[type=radio]) { accent-color: var(--accent); width: 1.05em; height: 1.05em; vertical-align: -.15em; margin-right: .45em; }

/* フッターの上の説明のカード（2026-10-11）: カードの見出しは小見出し＝題の色 */
html:root .guide-card-title { color: var(--title) !important; }

/* 札の大きさ（2026-10-11）: 札はどれも同じ枠の形・同じ大きさ。広告の枠の「PR」（.ad-label）に合わせる。色と太さは各札の決まりのまま */
html:root :is(.pr-badge, .pin-badge, .ad-label, .reception-badge, .cat-label, .news-kind) { padding: 0 8px !important; border-width: 1px !important; border-style: solid !important; border-radius: 3px !important; font-size: 12px !important; line-height: 1.6 !important; letter-spacing: .05em !important; }

/* 見つからないときのページ（404。2026-10-11 作者の決定 案B）: 真ん中に差し色の大きな「404」、文は題の色、ボタン（塗り＝トップへ・細い枠＝系統の一覧）、検索 */
.nf-wrap { text-align: center; padding: 40px 0 24px; }
html:root body .nf-num { margin: 0 !important; font-size: 120px; line-height: 1; font-weight: 700; letter-spacing: .06em; color: var(--accent) !important; }
html:root body .nf-en { margin: 6px 0 22px !important; font-size: 13px; letter-spacing: .4em; color: var(--sub) !important; }
html:root body .nf-title { margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 24px; line-height: 1.5; color: var(--title) !important; }
html:root body .nf-lead { margin: 0 !important; font-size: 14px; color: var(--sub) !important; }
.nf-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 0; }
html:root body a.nf-btn { display: inline-block; padding: 10px 22px; border-radius: 4px; font-size: 15px; line-height: 1.5; text-decoration: none !important; color: var(--text) !important; }
html:root body a.nf-btn.fill { background-color: var(--btn-bg) !important; color: var(--btn-fg) !important; font-weight: 700; }
.nf-search { max-width: 420px; margin: 24px auto 0; }
@media (max-width: 480px) { html:root body .nf-num { font-size: 88px; } html:root body .nf-title { font-size: 20px; } }

/* タップしたとき（2026-10-11 作者の決定）: スマホのブラウザの既定の薄い青（配色の外）を消し、押している間だけ差し色で薄く光らせる。
   細い枠の押せる所は指を乗せたときと同じ差し色の枠、塗ったボタンは少し明るく（上の規則の :active）、ほかの押せる所は差し色の薄い地 */
html { -webkit-tap-highlight-color: transparent; }
html:root body :where(a, button, summary, label[for]:not([id$="-close"]), [role="button"]):active { background-color: rgba(194, 155, 85, .18); }

/* 記事の下のカテゴリとタグ（2026-10-11 作者の指摘: 段の間が無くタップしにくい・カテゴリの四角がタグの丸より小さい）。
   形（カテゴリ＝四角・タグ＝丸）はそのまま、大きさを同じにし、上下左右とも 8px あける */
html:root body .entry-categories-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
html:root body .entry-categories-tags > .entry-categories, html:root body .entry-categories-tags > .entry-tags { display: contents; }
html:root body .entry-categories-tags :is(.cat-link, .tag-link) { display: inline-flex; align-items: center; margin: 0 !important; padding: 5px 12px !important; font-size: 12px !important; line-height: 1.6 !important; border-width: 1px !important; border-style: solid !important; }
html:root body .entry-categories-tags .cat-link { border-color: var(--chip-bg) !important; }

/* スマホのメニュー（2026-10-11 作者の指摘）: 「＋」（子を開くボタン）を、項目の右に戻す（押せる枠の統一の position: relative で、項目の下の行に落ちていた）。
   もう一つの版（東京版／全国版）へのリンクは、系統の上ではなく見出しを付けた別の区切りに置く（系統がその版の子に見えた） */
html:root body .menu-drawer .drawer-toggle { position: absolute !important; top: 4px; right: 4px; }

/* スマホのメニューの閉じる「×」（2026-10-11 作者の指摘: 太い白の ✖ がいまいち）: 右上に、「＋」と同じ細い枠の 40px の四角。中は細い 2 本の線の ×（本文の色）。メニュー・案内の両方 */
html:root body .menu-close-button { display: flex !important; justify-content: flex-end; padding: 8px 20px 6px; font-size: 0 !important; line-height: 0; background: none !important; }
html:root body .menu-close-button .fa { position: relative; display: block; width: 40px; height: 40px; border: 1px outset var(--line) !important; border-radius: 6px; background: linear-gradient(135deg, #3d3939, #0c0c0c); font-size: 0 !important; }
html:root body .menu-close-button .fa::before, html:root body .menu-close-button .fa::after { content: "" !important; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; border-radius: 1px; background: var(--text); transform: translate(-50%, -50%) rotate(45deg); }
html:root body .menu-close-button .fa::after { transform: translate(-50%, -50%) rotate(-45deg); }
html:root body .menu-close-button:is(:hover, :active) .fa { border-color: var(--accent) !important; }

/* スマホの頭（2026-10-11 作者の指摘: サイト名が 3 行のとき、上がきつく下が空きすぎ）: 上 0・下 14px だったのを、上 14px・下 0 に（下はこのあとの PR の枠の上の 16px で足りる） */
@media screen and (max-width: 834px) { html:root body .header-in { padding-top: 14px; padding-bottom: 0; } }

/* スマホの題の「版の札」（2026-10-11 作者の決定 A 案）: 題から【東京版】を外し（読み上げ・検索のため見えない形で残す）、ロゴと同じ 44px・角 8px の札を題の右に。
   地は見出しの帯と同じ斜めの光の入った石の色、字は題（サイト名）と同じ色（2026-10-11 作者の指定）、縦書き（横だと「男による男のための東京」と続いて読めるため）。PC は今までどおり【東京版】の文字 */
.hd-ver { display: none; }
.hd-ver::before { content: "東京"; }   /* 札の字は CSS で描く（ページの文字に入れない＝見出しが「…【東京版】東京版」と読まれないように。2026-10-11）。スマホは「版」を抜いて見せる（名前は「○○版」のまま） */
@media screen and (max-width: 834px) {
  html:root body .hd-ver-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html:root body .hd-ver { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 8px;
    background: linear-gradient(135deg, #1b51ad, #1b51ad 30%, #2266d9 30%, #1b51ad 70%, #1b51ad 100%); color: var(--title) !important;
    writing-mode: vertical-rl; text-orientation: upright; font-size: 18px; font-weight: 700; line-height: 1; letter-spacing: 0; padding-bottom: 2px; box-sizing: border-box; }   /* 字はロゴの詰まり具合に合わせて 18px・字間なし、下に 2px で上下の空きをそろえる（2026-10-11 作者の指摘: 15px では四角の中が空いて見えた。字の上下 4.5〜5px・左右 14px） */
}

/* PC の題の版の札（2026-10-11 作者の決定）: 名前は「…【東京版】」のまま、【東京版】の文字の代わりに石の色の横書きの札「東京版」（高さ 34px・字 20px・字は題の色）。【東京版】の文字は読み上げ・検索のため見えない形で残す */
@media screen and (min-width: 835px) {
  html:root body .hd-ver-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html:root body .hd-ver { display: inline-flex; align-items: center; justify-content: center; flex: none; height: 34px; padding: 0 12px; border-radius: 7px; box-sizing: border-box;
    background: linear-gradient(135deg, #1b51ad, #1b51ad 30%, #2266d9 30%, #1b51ad 70%, #1b51ad 100%); color: var(--title) !important; font-size: 20px; font-weight: 700; line-height: 1; letter-spacing: .04em;
    padding-bottom: 2px; position: relative; top: 1.5px; }   /* 2026-10-13 作者の指摘で実測: 中の字の上下の空きが 8.5／6.5px、札の中心が題の字の中心より 1.5px 上だった → 下に 2px 足して字を 1px 上げ、札を 1.5px 下げた */
  html:root body .hd-ver::before { content: "東京版"; }
}

/* フォームの説明の文だけの欄（種類 note。2026-10-11）: 説明と同じ控えめな文字で、欄の間に置く */
html:root .hf-wrap .hf-notefield .hf-note-text { margin: 0 0 .4em !important; font-size: .9em; color: var(--sub) !important; }

/* エリアのプラン（2026-10-13）: 記事の下の枠に出す、同じエリアのお店の画像（幅は下の枠のハンクチャンネルと同じ 520）と、その下の店名。押すとそのお店の記事へ */
html:root .area-ad { display: block; text-decoration: none; }
html:root .area-ad img { width: 520px !important; max-width: 100% !important; height: auto !important; }   /* スナップショットはもとが 1600px。下の枠の画像は元の大きさで出す作りなので、幅を決める */
html:root .area-ad-name { display: block; margin-top: .4em; text-align: center; font-size: 15px; color: var(--link); }
html:root .area-ad:hover .area-ad-name { color: var(--link-hover); }

/* 日付の欄（2026-10-13）: 横幅いっぱいだとカレンダーのボタンが右の端に離れるので、日付が入るだけの幅に */
html:root .hf-wrap input[type="date"] { width: auto !important; min-width: 11em; max-width: 100%; }

/* エリアのプランのひとこと（2026-10-13）と、関連記事の控えの 1 件（エリアのプランで出したお店を関連記事から外したときだけ出す） */
html:root .area-ad-msg { display: block; margin-top: .2em; text-align: center; font-size: 14px; color: var(--text); }
html:root [data-related-spare] { display: none !important; }
