/* ブログ（docs/SEO_BLOG_SPEC.md §4）。styles.css の色・ボタン・上部バー・フッターの上に、記事と一覧の組版だけを足す */
.blog { padding-block: clamp(28px, 5vw, 56px) clamp(72px, 10vw, 120px); }
.blog-narrow { max-width: 820px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-3); line-height: 1.6; }
.crumbs li { min-width: 0; }
.crumbs li + li::before { content: "›"; margin: 0 .55em; color: var(--text-3); }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--text-3); }

.blog-head { margin: 32px 0 8px; }
.blog-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.blog-head p:not(.eyebrow) { margin: 14px 0 0; color: var(--text-2); font-size: 15.5px; line-height: 1.9; }

.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.post-tags li { padding: 1px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.8; color: var(--sky); background: rgba(76, 195, 255, .12); }

.post-head { margin: 28px 0 0; }
.post-head h1 { margin-top: 14px; font-size: clamp(26px, 3.8vw, 38px); font-weight: 700; line-height: 1.4; text-wrap: balance; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 16px 0 0; font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }

.post-toc { margin: 32px 0 0; padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.post-toc-title { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--text-3); }
.post-toc ol { display: grid; gap: 4px; margin: 0; padding-left: 1.4em; }
.post-toc li { font-size: 14.5px; line-height: 1.7; color: var(--text-3); }
.post-toc a { color: var(--text-2); }
.post-toc a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.post-body { margin-top: 8px; }
.post-body h2 { margin: 52px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; line-height: 1.45; scroll-margin-top: 88px; text-wrap: balance; }
.post-body h3 { margin: 32px 0 8px; font-size: 18px; font-weight: 700; line-height: 1.5; scroll-margin-top: 88px; }
.post-body p, .post-body li { font-size: 16.5px; line-height: 2; color: rgba(244, 241, 255, .88); font-feature-settings: "palt" 0; }
.post-body p { margin: 14px 0 0; }
.post-body strong { color: var(--text); background: linear-gradient(transparent 62%, rgba(255, 210, 63, .28) 62%); }
.post-body a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.post-body ul, .post-body ol { display: grid; gap: 6px; margin: 14px 0 0; padding-left: 1.5em; }
.post-body li::marker { color: var(--sun); font-weight: 700; }
.post-body code { padding: .1em .4em; border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: rgba(255, 255, 255, .09); overflow-wrap: anywhere; }
.post-body pre { margin: 18px 0 0; padding: 16px 18px; border-radius: 14px; background: #0A0816; box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.post-body pre code { padding: 0; background: none; font-size: 14px; line-height: 1.75; white-space: pre; overflow-wrap: normal; }
.post-body blockquote { margin: 20px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--sky); }
.post-body blockquote p { margin-top: 8px; color: var(--text-2); }
.post-body blockquote p:first-child { margin-top: 0; }
.post-body figure { margin: 26px 0 0; }
.post-body figure img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -30px rgba(0, 0, 0, .8); }
.post-body figcaption { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--text-3); }
.table-wrap { margin: 20px 0 0; overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.7; }
.post-body th, .post-body td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.post-body th { font-weight: 700; color: var(--text); background: rgba(255, 255, 255, .05); white-space: nowrap; }
.post-body td { color: rgba(244, 241, 255, .86); }
.post-body tbody tr:last-child td { border-bottom: 0; }

.post-cta { margin: 56px 0 0; padding: clamp(22px, 4vw, 32px); border-radius: 22px; background: linear-gradient(160deg, #2A2156, #1B1638); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, .28); }
.post-cta p { margin: 10px 0 0; font-size: 15px; line-height: 1.9; color: var(--text-2); }
.post-cta .post-cta-title { margin: 0; font-size: 20px; font-weight: 700; color: var(--text); }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px !important; }
.post-cta-actions .btn { padding: .75em 1.4em; font-size: 15px; }

.post-related { margin: 64px 0 0; }
.post-related > h2 { font-size: 20px; font-weight: 700; }
.post-list { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.post-card { padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, box-shadow .2s; }
.post-card:hover { background: rgba(255, 210, 63, .07); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, .4); }
.post-card a { display: block; }
.post-card h2, .post-card h3 { margin-top: 4px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.post-card-meta { margin: 0; font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.post-card-desc { margin: 8px 0 12px; font-size: 14px; line-height: 1.8; color: var(--text-2); }
.blog-head + .post-list { margin-top: 32px; }

@media (max-width: 640px) {
  .post-body p, .post-body li { font-size: 16px; line-height: 1.95; }
  .post-cta-actions .btn { width: 100%; }
}
