/* メンズ美容医療ノート: 清潔で硬め。白・冷たい灰・墨・鋼の青・太い角ゴシック。
   角は丸めず、方眼の罫線と番号で、整った記録ノートのように組む。明るい表示だけ */
:root {
  --bg: #ffffff;
  --surface: #f3f5f7;
  --ink: #111820;
  --sub: #4a525b;
  --faint: #7d858e;
  --rule: #d9dee3;
  --rule-strong: #111820;
  --accent: #23617f;
  --accent-2: #b0302a;
  --accent-soft: #eaf0f4;
  --pr: #7a5600;
  --pr-bg: #fbf5e6;
  --mono: "SF Mono", "Menlo", "Consolas", "Roboto Mono", monospace;
  --head: var(--sans);
  --body: var(--sans);
  --wrap: 1140px;
  --lh: 1.9;
}
body { letter-spacing: .02em; }

/* ヘッダー: 墨の帯に白い題字 */
.site-header { background: var(--ink); color: #fff; }
.masthead-row { padding-top: 16px; padding-bottom: 16px; }
.logo { color: #fff; }
.logo-mark svg rect:first-child { fill: #fff; }
.logo-mark svg rect:not(:first-child) { fill: var(--ink); }
.logo-mark svg rect:nth-child(2) { fill: var(--accent); }
.logo-text { font-weight: 800; letter-spacing: .06em; font-size: 1.3rem; }
.tagline { color: #9aa6b1; font-size: .78rem; letter-spacing: .06em; }
.topic-nav { background: #fff; border-bottom: 2px solid var(--ink); }
.topic-nav li + li { border-left: 1px solid var(--rule); }
.topic-nav a { font-weight: 700; font-size: .84rem; padding: 12px 20px; letter-spacing: .04em; }
.topic-nav li:first-child a { padding-left: 0; }

.kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--accent); }
.sec-title { font-weight: 800; font-size: 1.15rem; letter-spacing: .08em; display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.sec-title::before { content: "§"; font-family: var(--mono); color: var(--accent); font-weight: 400; }

/* トップ: 方眼の上に文 */
.hero { background-color: #fff; background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; border-bottom: 1px solid var(--rule); padding: 48px 0; margin-bottom: 48px; }
.hero-text { background: #fff; padding: 28px 28px 30px; border: 1px solid var(--ink); }
.hero-media img { border: 1px solid var(--ink); }
.hero-eyebrow { font-family: var(--mono); font-weight: 400; letter-spacing: .2em; font-size: .72rem; }
.hero-title { font-weight: 800; letter-spacing: .02em; line-height: 1.4; }
.hero-lead { font-size: .92rem; line-height: 1.95; }

.policy-title { font-weight: 800; letter-spacing: .08em; }
.policy-list { border-top: 2px solid var(--ink); }
.policy-num { font-family: var(--mono); font-weight: 400; }
.policy-head { font-weight: 800; }

.topics-index .topic-list { border-top: 0; }
.topics-index .topic a { grid-template-columns: 64px 200px 1fr; padding: 22px 0; }
.topics-index .topic-text { display: contents; }
.topics-index .topic-num { grid-column: 1; grid-row: 1; font-family: var(--mono); font-size: 1.6rem; font-weight: 400; color: var(--ink); align-self: center; letter-spacing: 0; }
.topics-index .topic-img { grid-column: 2; grid-row: 1 / span 4; }
.topics-index .topic-name, .topics-index .topic-desc, .topics-index .topic-count { grid-column: 3; }
.topics-index .topic-name { grid-row: 1; font-weight: 800; align-self: end; }
.topics-index .topic-desc { grid-row: 2; }
.topics-index .topic-count { grid-row: 3; font-family: var(--mono); font-size: .72rem; }
.topic a:hover { background: var(--surface); }

.feature-title, .card-title, .row-title { font-weight: 800; }
.row-num { font-family: var(--mono); }
.thumb, .feature-img, .eyecatch, .tag-head-img { border: 1px solid var(--rule); }

.about-strip { border-top: 2px solid var(--ink); }
.about-strip h2 { font-weight: 800; }

/* 記事: 見出しに番号 */
.article-head h1 { font-weight: 800; letter-spacing: .02em; line-height: 1.45; }
.dates { font-family: var(--mono); font-size: .74rem; }
.pr-notice { border-left-width: 4px; }
.prose { counter-reset: sec; }
.prose h2 { font-weight: 800; counter-increment: sec; display: grid; grid-template-columns: auto 1fr; gap: 0 14px; padding: 14px 0 0; border-top: 2px solid var(--ink); letter-spacing: .02em; }
.prose h2::before { content: counter(sec, decimal-leading-zero); font-family: var(--mono); font-weight: 400; color: var(--accent); }
.prose h3 { font-weight: 800; padding-left: 12px; border-left: 4px solid var(--accent); line-height: 1.5; }
.prose th { background: var(--ink); color: #fff; border-color: var(--ink); }
.prose tr:nth-child(even) td { background: var(--surface); }
.article-side .toc { border-left: 2px solid var(--ink); padding-left: 16px; }
.toc ol { list-style: decimal-leading-zero; }
.field-notice { background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--accent); }
.faq h2, .sources h2 { font-weight: 800; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.qa-mark { font-family: var(--mono); }
.operator-box { background: var(--surface); border: 0; }
.ad-box { border: 1px solid var(--ink); }

.tag-head { border-bottom: 2px solid var(--ink); }
.tag-head-label { font-family: var(--mono); font-weight: 400; }
.tag-head h1 { font-weight: 800; }
.page h1 { font-weight: 800; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.form { background: var(--surface); border: 0; }

.site-footer { background: var(--ink); color: #c9d1d8; }
.site-footer .logo, .site-footer .footer-head { color: #fff; }
.footer-about p, .site-footer nav a { color: #a8b3bd; }
.copy { border-top-color: #2b3540; color: #7d8a96; }

@media (max-width: 760px) {
  .hero { padding: 20px 0 28px; margin-bottom: 32px; background-size: 24px 24px; }
  .hero-text { padding: 20px; }
  .topic-nav a { padding: 10px 14px; }
  .topics-index .topic a { grid-template-columns: 40px 96px 1fr; gap: 4px 12px; }
  .topics-index .topic-num { font-size: 1.1rem; }
  .topics-index .topic-img { grid-row: 1 / span 3; aspect-ratio: 1 / 1; }
  .topics-index .topic-desc { display: none; }
}
.topics-index .topic a { grid-template-rows: auto auto 1fr; align-items: start; padding: 18px 0; }
.topics-index .topic-img { grid-row: 1 / span 3; }
.topics-index .topic-name { align-self: start; }
.topics-index .topic-num { align-self: start; }
