/* 一覧・カテゴリ・詳細の外枠。本文のブロック用スタイルはpost-content.cssへ分離。 */
.posts-surface { background: #f9f9ee; padding-bottom: clamp(60px, 8vw, 140px); }
.posts-heading { padding: clamp(150px, 15vw, 260px) 5vw clamp(42px, 5vw, 90px); text-align: center; }
.posts-heading :is(h1,p) { margin: 0; color: var(--color-accent); font-size: clamp(26px, 2.6vw, 44px); font-weight: 700; letter-spacing: .2em; line-height: 1.7; }
.posts-heading :is(h1,p)::after { content: ""; display: block; width: 48px; height: 4px; margin: 20px auto 0; background: var(--color-yellow); border-radius: 4px; }
.posts-section { margin-top: clamp(32px, 4vw, 70px); }
.post-categories { display: flex; flex-wrap: wrap; gap: 10px; }
.post-categories a { display: grid; place-items: center; min-height: 44px; padding: 9px 22px; border: 1px solid #dedecb; border-radius: 30px; font-size: 14px; font-weight: 700; background: #fff; transition: background .2s, color .2s, border-color .2s; }
.post-categories a[aria-current], .post-categories a:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.posts-sample { margin: 24px 0 16px; color: #66665d; font-size: 12px; line-height: 1.8; }
.post-categories + .posts-list { margin-top: 32px; }
.posts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.post-row { position: relative; display: block; padding: 26px 72px 26px 30px; background: #fff; border-radius: 18px; transition: box-shadow .2s, color .2s; }
.post-row:hover { box-shadow: 0 3px 14px #494a2810; color: var(--color-accent); }
.post-row__meta, .post-header__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 13px; }
.post-row time, .post-header time { letter-spacing: .08em; font-weight: 700; }
.post-category { display: inline-block; color: #7a493e; background: #fbf0e8; padding: 4px 12px; border-radius: 5px; font-size: 12px; line-height: 1.6; }
.post-row__title { display: block; margin-top: 12px; font-size: clamp(15px, 1.2vw, 20px); font-weight: 700; line-height: 1.8; overflow-wrap: anywhere; }
.post-row__arrow { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); color: var(--color-accent); font-size: 22px; }
.posts-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.posts-pagination:empty { display: none; }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding-inline: 10px; border: 1px solid #dedecb; border-radius: 50%; background: #fff; font-weight: 700; transition: background .2s, color .2s; }
.page-numbers.current, a.page-numbers:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.posts-surface--detail { background: #fff; }
.posts-surface--detail .posts-heading { background: #f9f9ee; margin-bottom: 24px; }
.post-detail { margin-top: clamp(40px, 5vw, 88px); }
.post-header { max-width: 800px; margin: 0 auto 36px; }
.post-header h1 { margin: 24px 0 0; font-size: clamp(23px, 2vw, 34px); line-height: 1.8; letter-spacing: .08em; overflow-wrap: anywhere; }
.post-return { margin-top: 64px; display: flex; justify-content: center; }
.post-return a { display: flex; align-items: center; gap: 18px; font-weight: 700; font-size: 15px; line-height: 1.8; }
.post-return a > span:first-child { flex: 0 0 52px; display: grid; place-items: center; width: 52px; height: 52px; background: var(--color-accent); color: #fff; border-radius: 50%; transition: transform .2s; }
.post-return a:hover > span:first-child { transform: translateX(-4px); }
@media(max-width:767px) {
 .post-categories + .posts-list { margin-top: 24px; }
 .posts-heading { padding: 125px 5vw 40px; }
 .posts-heading :is(h1,p) { font-size: 24px; letter-spacing: .12em; }
 .post-categories { gap: 8px; }
 .post-categories a { padding: 8px 14px; font-size: 12px; }
 .post-row { padding: 20px 42px 20px 18px; border-radius: 12px; }
 .post-row__meta { gap: 8px 12px; font-size: 12px; }
 .post-category { font-size: 11px; }
 .post-row__title { font-size: 14px; margin-top: 10px; }
 .post-row__arrow { right: 15px; font-size: 18px; }
 .posts-pagination { margin-top: 32px; gap: 8px; }
 .post-header h1 { font-size: 22px; letter-spacing: .04em; }
 .post-header { margin-bottom: 28px; }
 .post-return { margin-top: 42px; }
}
@media(prefers-reduced-motion:reduce) { .post-row, .post-categories a, .page-numbers, .post-return a > span:first-child { transition: none; } }
