/* ブログ一覧（入口 /blog/・分類 /category/…・タグ /tag/…）。05 の動く見本の 10 ページに無いページなので、見本の部品（.phero .lab .tabs .cg .cc）を一覧向けに詰めて使い、足りない分だけをここに書く。
   見本の site.v1.css・wn-additions.v1.css は触らない。この CSS はそれらのあとに読まれる（Wn.astro の css の順）。 */
/* ヒーロー: 見本の .phero は画面の高さの 88% なので、一覧向けに低くする（文字は左の 1 列・右の絵は無し） */
.bloghero{min-height:0;display:block;padding:132px 0 72px}
.bloghero .wrap{display:block}
.bloghero h1{font-size:clamp(34px,4.2vw,64px)}
.bloghero .lead{max-width:760px}
/* 見本の .hline（左の赤い点線）は 130px で、見本のヒーローは下の余白も 130px。低くしたヒーローでは余白の中（64px）に収め、文字に重ねない */
.bloghero .hline{height:64px}
/* 分類のボタン: 見本の .tabs button と同じ見た目を、行き先のあるリンク（a）に。件数は小さく */
.bloglist{padding-top:44px}
.bloglist .tabs{margin-top:0}
.tabs a{display:inline-flex;align-items:center;gap:8px;font:700 15px "BIZ UDPGothic",sans-serif;padding:10px 22px;border-radius:999px;border:2px solid var(--ink);background:#fff;transition:background .25s,color .25s}
.tabs a:hover,.tabs a[aria-current]{background:var(--ink);color:#fff}
.tabs a small{font-size:13px;font-weight:700;opacity:.62}
/* カード: 3 列 × 3 段。段の高さをそろえ（見本の .cg は上そろえ）、「記事を読む」を下にそろえる */
.cg.blog9{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.cg.blog9 .cc.post:nth-child(n){margin-top:0}
.cc.post{padding:0;min-height:0;overflow:hidden}
.cc.post .th{aspect-ratio:1200/630;background:var(--soft);border-bottom:2px solid var(--ink);overflow:hidden}
.cc.post .th img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.cc.post:hover .th img{transform:scale(1.04)}
.cc.post .noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font:900 22px var(--disp);color:var(--gray)}
.cc.post .bd{display:flex;flex-direction:column;flex:1;padding:20px 24px 24px}
.cc.post .meta2{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;line-height:1.6}
.cc.post .meta2 .k{font-weight:700;color:var(--red)}
.cc.post .meta2 time{color:var(--gray);white-space:nowrap}
.cc.post h3{margin-top:8px;font-size:19px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cc.post .ex{margin-top:10px;font-size:15px;line-height:1.8;color:var(--gray);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:none}
.cc.post .go{margin-top:auto;padding-top:16px}
.cc.post:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.blogempty{margin-top:56px;font-weight:700}
/* ページ送り: 番号は丸いボタン。今のページは黒、押せる所は黒く反転。押す大きさは 48px（スマホは 44px） */
.pager{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:56px}
.pager a,.pager span{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 16px;border-radius:999px;border:2px solid var(--ink);background:#fff;font:700 16px "BIZ UDPGothic",sans-serif;transition:background .25s,color .25s}
.pager a:hover,.pager [aria-current]{background:var(--ink);color:#fff}
.pager .gap{border-color:transparent;background:transparent;min-width:0;padding:0 2px}
.pager .dis{border-color:var(--line);color:#a3a7ae}
.pcount{margin-top:18px;text-align:center}
/* 2 列は 1024px まで・1 列は 680px 以下（見本の「スマホ」の境は 820px だが、記事のカードは幅 820px でも 2 列で 1 枚 365px 前後になり、1 列にすると画像が大きすぎる） */
@media(max-width:1024px){.cg.blog9{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){
 .bloghero{padding:104px 0 52px}
 .bloghero .hline{height:44px}
 .bloglist{padding-top:36px}
 .pager{gap:8px;margin-top:44px}
 .pager a,.pager span{min-width:44px;height:44px;padding:0 12px;font-size:15px}
}
@media(max-width:680px){.cg.blog9{grid-template-columns:minmax(0,1fr)}}
