/* 札分鑑 解説記事。サイト本体の assets/style.css(--color-*)の上に、記事用の見た目を足す。 */
.art { max-width: 760px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--color-text-muted); line-height: 1.6; }
.crumb li + li::before { content: "›"; margin-right: 8px; }
.crumb a { color: var(--color-text-muted); }

.prose { margin-top: 18px; line-height: 1.9; }
.eyebrow { margin: 0; font-size: .8125rem; font-weight: 800; color: var(--color-accent); letter-spacing: .06em; }
.prose h1 { font-size: clamp(1.45rem, 5vw, 2rem); line-height: 1.4; font-weight: 900; margin: 4px 0 0; }
.lead-text { margin-top: 18px; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1em; }
.prose h2 { font-size: clamp(1.2rem, 4vw, 1.45rem); line-height: 1.5; font-weight: 900; margin: 2.4em 0 0; padding-top: .8em; border-top: 3px solid var(--color-primary); scroll-margin-top: 16px; }
.prose h3 { font-size: 1.05rem; line-height: 1.6; font-weight: 800; margin: 1.8em 0 0; }
.prose h2 + p, .prose h3 + p, .prose h2 + ul, .prose h3 + ul, .prose h2 + ol, .prose h3 + ol { margin-top: .9em; }
.prose p + ul, .prose p + ol, .prose ul + p, .prose ol + p { margin-top: 1em; }
.prose ul, .prose ol { margin: 0; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.3em; margin-top: .35em; }
.prose ul li::before { content: ""; position: absolute; left: .3em; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 2em; margin-top: .5em; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .35em; width: 1.45em; height: 1.45em; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); font-weight: 900; font-size: .8rem; display: grid; place-items: center; line-height: 1; }
.prose strong { font-weight: 800; }

.toc { margin-top: 28px; padding: 16px 18px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.toc__title { font-weight: 800; font-size: .9375rem; margin: 0; }
.toc ol { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: t; }
.toc li { counter-increment: t; margin-top: 4px; padding-left: 1.8em; position: relative; line-height: 1.7; }
.toc li::before { content: counter(t) "."; position: absolute; left: 0; color: var(--color-text-muted); font-weight: 700; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.shot { margin: 1.6em 0 0; text-align: center; }
.shot img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 10px; border: 1px solid var(--color-border); }
.shot figcaption { margin-top: 8px; font-size: .8125rem; color: var(--color-text-muted); line-height: 1.6; }

.note, .point { margin-top: 1.4em; padding: 14px 16px; border-radius: var(--radius); font-size: .9375rem; line-height: 1.8; }
.note { background: #f1ebe1; }
.point { background: var(--color-accent-soft); }
.note p + p, .point p + p { margin-top: .6em; }
.note__t, .point__t { display: block; font-weight: 800; margin-bottom: 2px; }

.prose table { margin-top: 1.2em; }
.prose .table-scroll { margin-top: 1.2em; }
.prose .table-scroll table { margin-top: 0; }
.prose .table-scroll + p, .prose .table-scroll + ul { margin-top: 1.1em; }
.prose td, .prose th { vertical-align: top; }
.prose th { white-space: normal; }
.prose td:first-child { font-weight: 700; width: 9em; }
/* サイト共通の表は、スマホでは横にスクロールさせる作り。記事の表は説明文が長いので、折り返して画面に収める */
@media (max-width: 720px) {
  .prose .table-scroll { margin: 1.2em 0 0; padding: 0; overflow: visible; }
  .prose .table-scroll table { width: 100%; min-width: 0; }
  .prose td:first-child { width: 7em; }
}

.cta { margin-top: 48px; padding: 28px 20px; background: var(--color-primary-soft); border-radius: var(--radius); text-align: center; }
.cta__lead { font-weight: 800; line-height: 1.7; margin: 0 0 14px; }
.cta .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px; background: var(--color-primary); color: #fff; border-radius: 999px; font-weight: 800; }
.cta .btn:hover { text-decoration: none; opacity: .92; }
.cta__note { margin: 10px 0 0; font-size: .875rem; color: var(--color-text-muted); }
.cta__more { margin: 10px 0 0; font-size: .9375rem; }

.related { margin-top: 40px; }
.related h2 { font-size: 1.1rem; font-weight: 900; margin: 0; }
.related ul { margin: 10px 0 0; padding: 0; list-style: none; }
.related li { margin-top: 8px; }
.related li a { display: block; padding: 12px 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); font-weight: 700; line-height: 1.6; }
.related li a:hover { border-color: var(--color-primary); text-decoration: none; }
.related p, .related-only { margin: 14px 0 0; font-size: .9375rem; }
.related-only { margin-top: 24px; }

.idx { margin-top: 36px; }
.idx h2 { font-size: 1.2rem; font-weight: 900; border-top: 3px solid var(--color-primary); padding-top: .7em; margin: 0; }
.idx__lead { margin: 4px 0 0; color: var(--color-text-muted); font-size: .9375rem; }
.idx__list { margin: 12px 0 0; padding: 0; list-style: none; }
.idx__list li { margin-top: 10px; }
.idx__list a { display: block; padding: 14px 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); color: var(--color-text); }
.idx__list a:hover { border-color: var(--color-primary); text-decoration: none; }
.idx__list strong { display: block; font-weight: 800; line-height: 1.6; color: var(--color-primary); }
.idx__list span { display: block; margin-top: 4px; font-size: .875rem; color: var(--color-text-muted); line-height: 1.7; }
