/* Worker Plus（旧仮称: NouManの読み解き） — 初版。文字中心、スマートフォン優先。Webフォントは使わない */
:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --text: #22251f;
  --muted: #5d6357;
  --line: #dcdcd2;
  --accent: #2f6b3f;        /* 落ち着いた緑。白地でのコントラスト比 約6:1 */
  --accent-soft: #e9f1ea;
  --fact: #f3f1e8;
  --interp: #eef4ef;
  --caution: #fbf3e4;
  --preview: #7a4b00;
  --preview-bg: #fff4dc;
  --radius: 10px;
  --measure: 648px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161814;
    --surface: #1e211c;
    --text: #e9ebe4;
    --muted: #a9afa2;
    --line: #353a31;
    --accent: #8fc79c;
    --accent-soft: #233025;
    --fact: #24261f;
    --interp: #1f2a21;
    --caution: #2c2618;
    --preview: #ffd28a;
    --preview-bg: #3a2c10;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  word-break: normal;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.preview-banner {
  background: var(--preview-bg); color: var(--preview);
  font-size: 14px; line-height: 1.6; padding: 8px 16px; text-align: center;
}
.site-header, main, .site-footer { max-width: calc(var(--measure) + 32px); margin: 0 auto; padding: 0 16px; }
.site-header { padding-top: 18px; padding-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; border-bottom: 1px solid var(--line); }
.site-name { font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; }
.site-nav { display: flex; gap: 18px; font-size: 15px; }
.site-nav a { padding: 6px 0; }
main { padding-bottom: 40px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding-top: 16px; padding-bottom: 40px; }
.site-footer p { margin: 4px 0; }

h1 { font-size: 26px; line-height: 1.45; margin: 24px 0 12px; letter-spacing: 0.01em; }
h2 { font-size: 20px; line-height: 1.5; margin: 32px 0 10px; }
.intro h1 { margin-top: 28px; }
.lead { font-size: 17px; color: var(--muted); margin: 0 0 8px; }
.muted { color: var(--muted); }
.soon { font-size: 15px; }

.cards { display: grid; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 12px; }
.card-meta { margin: 0 0 4px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.cat { color: var(--accent); font-weight: 600; }
.series { color: var(--muted); }
.badge { font-size: 12px; border: 1px solid var(--preview); color: var(--preview); border-radius: 999px; padding: 0 8px; line-height: 1.7; }
.card-title { font-size: 19px; line-height: 1.5; margin: 4px 0 6px; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover, .card-title a:focus-visible { text-decoration: underline; color: var(--accent); }
.card-summary { margin: 0 0 4px; }
.card-note { margin: 0; font-size: 14px; color: var(--muted); }
.dates { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.dates.draft { color: var(--preview); }

.themes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.themes a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--text); }
.theme-name { display: block; font-weight: 700; color: var(--accent); }
.theme-desc { display: block; font-size: 15px; color: var(--muted); line-height: 1.7; }

.crumbs { font-size: 14px; color: var(--muted); margin-top: 16px; }
.post-header .summary { font-size: 17px; background: var(--surface); border-left: 4px solid var(--accent); padding: 10px 14px; margin: 14px 0 8px; border-radius: 0 var(--radius) var(--radius) 0; }
.period { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.term-head { margin: 10px 0 0; font-size: 15px; }
.post-body p { margin: 0 0 1.1em; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.post-body li { margin-bottom: 0.5em; }
.box { border-radius: var(--radius); padding: 12px 16px 2px; margin: 0 0 1.2em; }
.box-label { font-size: 14px; font-weight: 700; margin: 0 0 4px !important; }
.box-fact { background: var(--fact); }
.box-fact .box-label { color: var(--muted); }
.box-interpretation { background: var(--interp); border-left: 4px solid var(--accent); }
.box-interpretation .box-label { color: var(--accent); }
.box-caution { background: var(--caution); font-size: 15px; padding-top: 10px; }
.box-note { background: var(--surface); border: 1px solid var(--line); }
.term .gloss, .gloss { color: var(--muted); font-size: 0.95em; }

.sources ul, .related ul { list-style: none; padding: 0; margin: 0; }
.sources li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.src-title { display: block; font-weight: 600; }
.src-meta { display: block; color: var(--muted); }
.src-link { display: inline-block; margin-top: 4px; padding: 4px 0; }
.related li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.related a { font-weight: 600; }

.guide { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 28px 0 0; background: var(--surface); }
.guide p { margin: 0 0 4px; }
.guide-label { font-size: 13px; color: var(--muted); }
.guide-note { font-size: 14px; color: var(--muted); }
.guide-unconnected { border-style: dashed; border-color: var(--preview); }
.guide-unconnected .guide-label { color: var(--preview); }

.back { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 28px 0 0; font-size: 16px; }
.back a { padding: 8px 0; }

@media (min-width: 760px) {
  body { font-size: 18px; }
  h1 { font-size: 30px; }
  .cards { grid-template-columns: 1fr; }
}

/* 表（スマートフォンでは横にスクロール。ページ全体ははみ出さない） */
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; -webkit-overflow-scrolling: touch; }
.post-body table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.6; min-width: 100%; }
.post-body th, .post-body td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: right; white-space: nowrap; }
.post-body thead th { background: var(--fact); font-weight: 700; text-align: right; }
.post-body th[scope="row"], .post-body thead th:first-child { text-align: left; white-space: normal; font-weight: 600; }
.post-body table.has-total tbody tr:last-child th, .post-body table.has-total tbody tr:last-child td { font-weight: 700; }
@media (max-width: 520px) {
  .post-body table { font-size: 14px; }
  .post-body th, .post-body td { padding: 6px 4px; }
  .post-body td.num { white-space: nowrap; }
  .post-body td:not(.num) { text-align: left; min-width: 8em; white-space: normal; }
  .post-body th { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
  .post-body th[scope="row"] { min-width: 3.5em; }
}

/* 画像・図（2026-10-18 追加）。表示サイズは HTML の width・height で確保し、レイアウトのずれを防ぐ */
.hero { margin: 14px 0 10px; }
.hero img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: #f3efe2; }
.credit { margin-top: 6px; font-size: 12px; color: var(--muted); }
.card.has-image { padding-top: 0; overflow: hidden; }
.card-img { display: block; margin: 0 -16px 12px; }
.card-img img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; }
.chart { margin: 22px 0; padding: 14px; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); }
.chart-title { margin: 0 0 10px; font-weight: 700; color: #22251f; }
.chart img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.chart-note { margin-top: 10px; font-size: 13px; line-height: 1.6; color: #4b5046; }
.chart-note-strong { color: #22251f; }
.card-img { position: relative; }
.img-badge { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; font-size: 11px; color: #22251f; background: rgba(255, 255, 255, 0.85); border-radius: 999px; }
.info-checked { margin: 0 0 18px; padding: 10px 12px; font-size: 14px; color: var(--text); background: var(--caution); border-radius: var(--radius); }
.post-body h3 { margin: 26px 0 8px; font-size: 17px; line-height: 1.5; }
/* 文章の入るセルは、PC でも折り返す（数字だけのセルは改行しない） */
.post-body td:not(.num), .post-body tbody th { white-space: normal; text-align: left; }
.post-body td:not(.num) { min-width: 7em; }
.post-body thead th { text-align: left; }
.post-body thead th.num { text-align: right; }

/* ── 読み物の型（記事の属性 layout: "reading" の記事だけ。2026-10-19 改訂 2）──────────────
   方針（visual-style.md §0）: PC は広いメインカラム＋右のサービス案内の2カラム。写真・題・見出し・本文・箱の左右をメインカラムでそろえる。
   要約と NouMan の読み解きは淡い地色の箱、事実は線とラベル。指定のない記事（ヤオコー編など）と Worker の区画は、上のこれまでの表示のまま */
.layout-reading {
  --bg: #ffffff;
  --text: #1f221d;
  --muted: #5f655a;
  --line: #e2e2d9;
  --container: 1120px;
  --main: 720px;
  --rail: 300px;
  --summary-bg: #f6f2e8;    /* Worker Plus の surface-warm */
  --interp-bg: #edf3ea;     /* Worker Plus の surface-green */
  letter-spacing: 0.02em;
  line-height: 1.95;
}
@media (prefers-color-scheme: dark) {
  .layout-reading { --bg: #151714; --text: #e8eae3; --muted: #a6ac9f; --line: #30352d; --summary-bg: #24261f; --interp-bg: #1f2a21; }
}
.layout-reading .site-header, .layout-reading main, .layout-reading .site-footer { max-width: calc(var(--container) + 32px); }
.layout-reading .site-header { padding-top: 14px; padding-bottom: 12px; }
.layout-reading .site-name { font-size: 16px; letter-spacing: 0.06em; }
.layout-reading .site-nav { font-size: 14px; }
.layout-reading .crumbs { font-size: 13px; margin-top: 20px; }
.preview-commit { margin-left: 8px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }

/* 2カラム。狭い画面では1カラムにし、サービス案内は記事の後ろにまとめる（HTML の順序も記事 → 案内） */
.reading-grid { display: block; }
.reading-grid > .post { max-width: var(--main); margin: 0 auto; }
/* 案内が0件の時（公開版で承認済みの案内が無い時）は、右を空けず1カラムで中央に */
@media (min-width: 1080px) {
  .reading-grid.no-rail { display: block; }
  .reading-grid.no-rail > .post { margin: 0 auto; }
  .reading-grid:not(.no-rail) { display: grid; grid-template-columns: minmax(0, var(--main)) var(--rail); justify-content: space-between; gap: 64px; align-items: start; }
  .reading-grid:not(.no-rail) > .post { margin: 0; }
}

/* 冒頭: 区分 → 題 → 副題 → 日付 → 写真 → 前書き（すべてメインカラムの幅） */
.layout-reading .post-header .card-meta { margin-top: 28px; font-size: 13px; letter-spacing: 0.08em; }
.layout-reading .post-header h1 { font-size: 26px; line-height: 1.5; margin: 6px 0 14px; }
.layout-reading .title-main, .layout-reading .title-sub { display: block; word-break: auto-phrase; text-wrap: balance; }
.layout-reading .title-sub { margin-top: 10px; font-size: 17px; line-height: 1.6; font-weight: 600; color: var(--muted); letter-spacing: 0.03em; }
.layout-reading .nowrap { white-space: nowrap; }
.layout-reading .post-header .dates { font-size: 13px; margin: 0 0 22px; }
.layout-reading .hero { margin: 0; }
.layout-reading .hero img { border-radius: 4px; }
.layout-reading .hero .credit { line-height: 1.6; }
.layout-reading .post-header .summary { background: none; border: 0; border-radius: 0; padding: 0; margin: 26px 0 8px; font-size: 17px; line-height: 1.95; font-weight: 500; }
.layout-reading .period { font-size: 13px; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }

/* 本文 */
.layout-reading .post-body h2 { font-size: 22px; line-height: 1.55; margin: 64px 0 20px; letter-spacing: 0.02em; }
.layout-reading .post-body h3 { font-size: 18px; margin: 40px 0 12px; }
.layout-reading .post-body p { margin: 0 0 1.5em; }
.layout-reading .post-body li { margin-bottom: 0.7em; }
.layout-reading .post-body table { font-size: 14px; }
.layout-reading .post-body thead th { background: none; border-bottom: 1px solid var(--text); }

/* 書き分けの箱: 要約と読み解きは淡い地色、事実は線とラベル、補足は控えめ */
.layout-reading .box { border-radius: 0; margin: 0 0 1.8em; padding: 0; background: none; }
.layout-reading .box-label { font-size: 12px !important; letter-spacing: 0.1em; margin: 0 0 8px !important; }
.layout-reading .box > :last-child { margin-bottom: 0; }
.layout-reading .box-summary { background: var(--summary-bg); border-radius: 8px; padding: 22px 22px 18px; margin: 40px 0 8px; }
.layout-reading .post-body .box-summary h2 { margin: 0 0 12px; font-size: 18px; letter-spacing: 0.08em; }
.layout-reading .box-summary ul { margin-bottom: 0; }
.layout-reading .box-fact { border-top: 1px solid var(--text); border-bottom: 1px solid var(--line); padding: 14px 0 16px; }
.layout-reading h2 + .box-fact { border-top-color: var(--line); }
.layout-reading .box-fact .box-label { color: var(--muted); }
.layout-reading .box-interpretation { background: var(--interp-bg); border-radius: 8px; padding: 18px 20px; }
.layout-reading .box-interpretation .box-label { color: var(--accent); font-weight: 700; }
.layout-reading .box-caution { background: var(--caution); border-radius: 8px; padding: 14px 18px; font-size: 15px; }
.layout-reading .box-note { border: 0; border-top: 1px solid var(--line); padding: 16px 0 0; font-size: 14px; line-height: 1.85; color: var(--muted); margin-top: 48px; }
.layout-reading .box-note .box-label { color: var(--muted); }

/* 本文の写真（[[IMG-nnnn]]）。メインカラムの幅。撮影の年・場所と、作者・ライセンスを写真ごとに直下へ */
.photos { margin: 36px 0 40px; }
.photo-item { margin: 0 0 20px; }
.photo-item img { display: block; width: 100%; height: auto; background: #eeece4; border-radius: 4px; }
.photo-item figcaption { padding: 8px 0 0; }
.photo-label { display: block; font-size: 13px; line-height: 1.7; color: var(--text); }
.photo-credit { display: block; margin-top: 2px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.photo-credit a { color: inherit; }
.layout-reading .post-body .photos-note, .photos-note { margin: 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
@media (min-width: 600px) {
  .photos-multi { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
  .photos-multi .photos-note { grid-column: 1 / -1; }
}

/* 出典 */
.layout-reading .sources h2, .layout-reading .related h2 { font-size: 15px; letter-spacing: 0.1em; margin-top: 56px; color: var(--muted); }
.layout-reading .sources li { font-size: 14px; }

/* 次に読む（写真つきのカード）と、区分への入口 */
.next-reads { margin-top: 64px; border-top: 1px solid var(--text); padding-top: 18px; }
.next-reads h2 { font-size: 15px; letter-spacing: 0.1em; margin: 0 0 16px; color: var(--muted); }
.next-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.next-card { display: grid; grid-template-columns: 128px 1fr; gap: 14px; text-decoration: none; color: var(--text); align-items: start; }
.next-img { position: relative; display: block; aspect-ratio: 1200 / 630; background: #eeece4; overflow: hidden; border-radius: 4px; }
.next-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.next-img .img-badge { right: 4px; bottom: 4px; font-size: 10px; padding: 0 6px; }
.next-text { display: block; }
.next-cat { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--accent); letter-spacing: 0.06em; line-height: 1.6; }
.next-title { display: block; margin-top: 2px; font-weight: 700; font-size: 15px; line-height: 1.6; }
.next-card:hover .next-title, .next-card:focus-visible .next-title { text-decoration: underline; }
.next-themes { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 28px; font-size: 14px; }
.next-themes-label { width: 100%; font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.next-themes a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; text-decoration: none; color: var(--text); line-height: 1.7; }
.layout-reading .back { display: none; }
@media (min-width: 640px) {
  .next-list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .next-card { grid-template-columns: 1fr; gap: 10px; }
  .next-themes-label { width: auto; margin-right: 6px; }
}

/* サービス案内（自社サービス）。本文より目立たせない: 小さめの文字、淡い枠、色は区分の緑だけ */
.promo-rail { margin: 56px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.promo-head { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.promo-note { margin: 2px 0 14px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.promo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.promo { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--bg); }
.promo-img { display: block; width: 100%; height: auto; border-radius: 6px; background: #eef3ec; }
.promo-text p { margin: 0; }
.promo-kicker { font-size: 11px; color: var(--accent); letter-spacing: 0.06em; line-height: 1.6; }
.promo-service { font-size: 14px; font-weight: 700; line-height: 1.5; }
.promo-title { font-size: 13px; line-height: 1.65; color: var(--text); margin-top: 2px !important; }
.promo-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.promo-links a { font-size: 12px; border: 1px solid var(--accent); border-radius: 999px; padding: 2px 12px; text-decoration: none; line-height: 1.8; }
.promo-flag { margin-top: 8px !important; font-size: 11px; line-height: 1.6; color: var(--preview); }
.promo-pending { border-style: dashed; border-color: #c9b88f; }
@media (min-width: 1080px) {
  .promo-rail { margin: 28px 0 0; padding-top: 0; border-top: 0; }
  .promo { grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden; }
  .promo-img { border-radius: 0; }
  .promo-text { padding: 12px 14px 14px; }
}

@media (min-width: 760px) {
  .layout-reading { font-size: 18px; }
  .layout-reading .post-header h1 { font-size: 34px; line-height: 1.45; }
  .layout-reading .title-sub { font-size: 20px; }
  .layout-reading .post-header .summary { font-size: 18px; }
  .layout-reading .post-body h2 { font-size: 26px; margin-top: 80px; }
  .layout-reading .box-summary { padding: 26px 30px 22px; }
  .layout-reading .box-interpretation { padding: 22px 28px; }
}
/* スマホ: 冒頭の写真は画面の幅いっぱい。要約の箱は内側を詰めて1行の字数を確保 */
@media (max-width: 599px) {
  .layout-reading .hero { margin: 0 -16px; }
  .layout-reading .hero img { border-radius: 0; }
  .layout-reading .hero .credit { padding: 0 16px; }
  .layout-reading .box-summary { padding: 18px 16px 14px; }
  .layout-reading .box-summary ul { padding-left: 1.2em; }
  .layout-reading .box-interpretation { padding: 16px 16px; }
}
/* 本文に「先にまとめると」が無い記事は、冒頭の要約を同じ地色の箱に */
.layout-reading .post-header .summary.summary-box { background: var(--summary-bg); border-radius: 8px; padding: 18px 22px; }
@media (max-width: 599px) { .layout-reading .post-header .summary.summary-box { padding: 16px; } }


/* Worker Plus のロゴ（2026-10-20）。原本 PNG をそのまま縮小して表示する（色・縦横比を変えない、文字で作り直さない）。
   ロゴは白か淡い生成りの無地に置く決まり（ブランドガイド v0.1 §3）。暗い表示では、ロゴの後ろに白い無地の板を敷く */
.site-header:has(.site-logo) { align-items: center; }
.site-logo { display: inline-block; line-height: 0; padding: 4px 0; }
.site-logo img { display: block; width: 180px; height: auto; }
@media (min-width: 760px) { .site-logo img { width: 220px; } }
@media (prefers-color-scheme: dark) { .site-logo { background: #ffffff; border-radius: 6px; padding: 6px 10px; } }
.intro-kind { margin: -6px 0 10px; font-size: 14px; color: var(--muted); }
/* ヘッダーにロゴがある時、トップの h1（媒体名）は読み上げ用に残し、画面では重ねて出さない */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.intro h1.visually-hidden + .intro-kind { margin-top: 28px; }

/* NouMan Worker 使い方ガイド（/worker/guide/、2026-10-20）。読み物の型（.layout-reading）の上に、手順・画面・確認した版の部品だけを足す */
.howto-op { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.howto-meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; line-height: 1.7; }
.howto-meta dt { color: var(--muted); font-weight: 700; }
.howto-meta dd { margin: 0; }
@media (max-width: 599px) { .howto-meta { grid-template-columns: 1fr; } .howto-meta dd { margin-bottom: 6px; } }
.howto-step { margin: 28px 0 0; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.layout-reading .post-body .howto-step .step-title { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 10px; font-size: 19px; line-height: 1.55; }
.step-num { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; margin-top: 1px; border-radius: 50%; background: #193d32; color: #ffffff; font-size: 15px; font-weight: 700; }
.shot { margin: 16px 0 20px; }
.shot-frame { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #f6f5f0; }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-mark { position: absolute; border: 3px solid #d6a93d; border-radius: 10px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); pointer-events: none; }
.shot-mark[data-n]::before { content: attr(data-n); position: absolute; top: -12px; left: -12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #d6a93d; color: #193d32; font-size: 13px; font-weight: 700; line-height: 1; }
.shot figcaption { padding: 8px 0 0; }
.shot-caption { display: block; font-size: 14px; line-height: 1.7; color: var(--text); }
.shot-source { display: block; margin-top: 2px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.howto-group h2 { font-size: 17px; margin: 40px 0 10px; }
.howto-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.howto-list li > a, .howto-planned .howto-list li { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--text); }
.howto-planned .howto-list li { border-style: dashed; color: var(--muted); }
.howto-purpose { display: block; font-size: 13px; color: var(--accent); line-height: 1.6; }
.howto-title { display: block; font-weight: 700; font-size: 16px; line-height: 1.6; }
.howto-ver { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.box-preview { margin-top: 40px; background: var(--preview-bg); color: var(--preview); border-radius: 8px; padding: 14px 18px; font-size: 14px; }
.howto-back { margin: 32px 0 0; font-size: 14px; }

/* PC の右の欄の記事一覧（2026-10-21）。新着記事 → よく読まれている記事 → NouManのサービス の順。追従させない。1080px 未満（スマホ・タブレット）には出さない */
.side-lists { display: none; }
@media (min-width: 1080px) {
  .side-lists { display: grid; gap: 32px; margin: 28px 0 0; }
  .side-rail .promo-rail { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
}
.side-head { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.side-note, .side-flag { margin: -4px 0 10px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.side-flag { color: var(--preview); background: var(--preview-bg); border-radius: 6px; padding: 6px 8px; margin-top: 0; }
.side-sample { outline: 1px dashed #c9b88f; outline-offset: 8px; border-radius: 4px; }
.side-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.side-item { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; text-decoration: none; color: var(--text); }
.side-thumb { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; border-radius: 4px; background: #eeece4; }
.side-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.side-thumb .img-badge { right: 3px; bottom: 3px; font-size: 9px; padding: 0 4px; line-height: 1.6; }
.side-text { display: block; min-width: 0; }
.side-rank { display: inline-block; margin-right: 6px; font-size: 12px; font-weight: 700; color: var(--accent); }
.side-title { display: inline; font-size: 14px; font-weight: 700; }
.side-text { line-height: 1.55; }
.side-date { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.side-item:hover .side-title, .side-item:focus-visible .side-title { text-decoration: underline; }

/* NouMan Worker の広告バナー（2026-10-21）とダウンロード案内ページ */
.promo-banner { display: block; padding: 0; border: 0; background: none; }
.promo-banner-link { display: block; line-height: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); max-width: 336px; }
.promo-banner-link img { display: block; width: 100%; height: auto; }
.promo-banner-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.promo-banner-note { margin: 4px 0 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1079px) { .promo-list .promo-banner { margin: 0 auto; max-width: 336px; width: 100%; } }
@media (min-width: 1080px) { .promo-banner-link { max-width: 300px; } }
.dl-stores { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .dl-stores { grid-template-columns: 1fr 1fr; } }
.dl-store { border: 1px solid var(--line); border-radius: 10px; padding: 18px; text-align: center; }
.dl-os { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.dl-button { display: block; padding: 12px 16px; border-radius: 999px; background: #193d32; color: #ffffff; font-weight: 700; text-decoration: none; }
.dl-button:focus-visible { outline: 3px solid #d6a93d; outline-offset: 2px; }
.dl-qr { display: none; margin: 16px 0 0; }
.dl-qr img { display: block; margin: 0 auto; width: 160px; height: 160px; background: #ffffff; padding: 6px; border-radius: 6px; }
.dl-qr figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.6; }
@media (min-width: 760px) { .dl-qr { display: block; } }
.dl-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 15px; margin: 0; }
.dl-facts dt { color: var(--muted); font-weight: 700; }
.dl-facts dd { margin: 0; }
.dl-checked { font-size: 12px; color: var(--muted); }
@media (max-width: 599px) { .dl-facts { grid-template-columns: 1fr; } .dl-facts dd { margin-bottom: 8px; } }

/* 2026-10-22: 記事の上部の「資料の対象時期」の行を外した（Founder 承認）。その行が担っていた、冒頭と本文の区切りを記事の見出し部分に移す */
.layout-reading .post-header { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
/* トップページの2カラム（2026-10-22）。記事ページと同じ右の欄の部品（新着記事 → よく読まれている記事 → NouManのサービス）を使う。追従させない。1080px 未満は1カラムで、サービス案内はメインの後ろ（記事一覧の欄は出さない） */
.layout-home { --container: 1120px; --main: 720px; --rail: 300px; }
.layout-home .site-header, .layout-home main, .layout-home .site-footer { max-width: calc(var(--container) + 32px); }
.reading-grid > .home-main { max-width: var(--main); margin: 0 auto; min-width: 0; }
@media (min-width: 1080px) { .reading-grid:not(.no-rail) > .home-main { margin: 0; } }
@media (min-width: 640px) {
  .layout-home .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
  .layout-home .card-title { font-size: 17px; }
  .layout-home .card-summary { font-size: 15px; line-height: 1.8; }
}
