.container{max-width:860px;margin:0 auto;padding:0 24px;}

/* Page header */
.page-header{padding:52px 0 40px;border-bottom:1px solid #ebebeb;}
.page-eyebrow{font-size:11px;font-weight:600;color:var(--color-accent-text);letter-spacing:0.12em;text-transform:uppercase;margin-bottom:14px;}
.page-title{font-size:34px;font-weight:700;color:#111;letter-spacing:-0.02em;margin-bottom:10px;}
.page-sub{font-size:15px;color:#666;line-height:1.8;}

/* Posts grid */
.posts-section{padding:48px 0;}
.posts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px;}

/* Post card */
.post-card{position:relative;display:block;color:inherit;border:1px solid #ebebeb;border-radius:16px;padding:24px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.04),0 4px 12px rgba(0,0,0,0.05);transition:all .2s;}
.post-card:hover{box-shadow:0 4px 24px rgba(0,0,0,0.1);transform:translateY(-2px);}
/* ホバーでカブトムシが降りてくる（LPの card-mascot と同じ演出） */
.post-meta{display:flex;align-items:center;gap:8px;margin-bottom:14px;}
/* カード内は「ラベル → 日付」の順（2026-07-13決定） */
.post-meta .post-date{order:2;}
.post-date{font-size:11px;color:#6f6f6f; /* #187 */font-family:monospace;}
/* カテゴリバッジ（トップの .column-tag／ツールの .tool-ribbon と同型・同配色） */
.post-tag{font-family:'Syne',sans-serif;font-size:10px;letter-spacing:0.08em;text-transform:uppercase;padding:3px 8px;border-radius:2px;font-weight:700;color:#fff;}
.post-tag.qa{background:var(--color-accent-text);} /* 白い 字の 地（#187） */
.post-tag.ai{background:#1c1c2e;}
.post-tag.tips{background:#62626e;} /* 白い字で 4.5:1 以上（#187。#7a7a88 は 4.23:1） */
.post-tag.essay{background:#A65210;}
.post-title{font-size:15px;font-weight:700;color:#111;line-height:1.5;margin-bottom:10px;letter-spacing:-0.01em;}
.post-excerpt{font-size:13px;color:#666;line-height:1.8;}
.post-card:hover .post-title{color:var(--color-accent-text);}

/* Category sections */
.col-category{margin-bottom:56px;}
.col-category-header{margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid var(--color-accent);}
.col-category-label{font-size:13px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--color-accent-text);}
.col-category-desc{font-size:13px;color:#6f6f6f;margin-top:6px;}

/* note section */
.note-section{padding:32px 0 8px;border-top:1px solid #ebebeb;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.note-section-label{font-size:13px;color:#6f6f6f;}
.note-link{font-size:13px;font-weight:600;padding:8px 20px;border-radius:8px;border:1px solid #ddd;color:#555;transition:all .15s;}
.note-link:hover{border-color:var(--color-accent);color:var(--color-accent-text);}
.note-link-disabled{pointer-events:none;cursor:default;}

/* WIP state */
.wip-banner{margin-top:40px;padding:32px;background:#fafafa;border:1px dashed #ddd;border-radius:16px;text-align:center;}
.wip-banner p{font-size:14px;color:#6f6f6f;line-height:1.9;}
.wip-banner strong{color:var(--color-accent-text);}

/* Post page */
.post-page{padding:40px 0 80px;}
.post-back{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:#6f6f6f;margin-bottom:32px;transition:color .15s;}
.post-back:hover{color:#333;}
.post-header{margin-bottom:0;padding-bottom:24px;}
.post-eyecatch{width:100%;height:auto;border-radius:16px;border:1px solid #ebebeb;display:block;margin:4px 0 8px;}
.post-h1{font-size:26px;font-weight:700;line-height:1.5;color:#111;letter-spacing:-0.02em;margin-top:14px;}
.post-body{font-size:14px;line-height:2;color:#333;margin-top:36px;}
/* 本文中のクリックバナー（ツールのランディングへ送る。2026-09-10） */
.post-banner{display:block;margin:28px auto;max-width:640px;}
.post-banner img{width:100%;height:auto;display:block;border-radius:14px;transition:translate .15s ease,filter .15s ease;}
.post-banner:hover img{translate:0 -2px;filter:brightness(1.04);}
.post-body p{margin-bottom:1.8em;}
.post-body h2{font-size:16px;font-weight:700;color:#111;margin-bottom:1em;}
.post-body h3{font-size:14px;font-weight:700;color:#333;margin-bottom:0.8em;margin-top:1.6em;}
.post-body ul{padding-left:1.4em;margin-bottom:1.8em;}
.post-body ul li{margin-bottom:0.5em;}
.post-body a{color:var(--color-accent-text);text-decoration:underline;text-underline-offset:3px;}
/* 本文中のつづり・コード片（ローマ字表記など） */
.post-body code{font-family:"SFMono-Regular",Consolas,"Courier New",monospace;font-size:0.94em;background:#f4f2ee;border:1px solid #e6e2da;border-radius:4px;padding:1px 5px;}
.post-rule{border:none;border-top:1px solid #ebebeb;margin:2em 0;}
/* 引用ブロック（AI反省文の全文掲載など） */
.post-body blockquote{margin:0 0 1.8em;padding:20px 24px;background:#fafafa;border-left:3px solid var(--color-accent);border-radius:0 8px 8px 0;}
.post-body blockquote p{margin-bottom:1em;font-size:0.95em;}
.post-body blockquote p:last-child{margin-bottom:0;}
.post-body .lead{font-size:15px;color:#111;font-weight:700;padding-bottom:24px;border-bottom:1px solid #ebebeb;}
.post-cta{margin-top:48px;padding:28px 24px;background:#fafafa;border:1px solid #ebebeb;border-radius:16px;text-align:center;}
.post-cta p{font-size:14px;color:#666;margin-bottom:16px;line-height:1.8;}
.post-cta-btn{display:inline-block;padding:14px 32px;background:#2C2C2A;color:#fff;font-size:14px;font-weight:600;border-radius:8px;transition:background .15s;}
.post-cta-btn:hover{background:#444;}

/* Lead text inside post-header */
.post-lead{font-size:15px;font-weight:700;color:#555;line-height:1.9;margin-top:16px;padding-bottom:24px;border-bottom:1px solid #ebebeb;}

/* Feature cards (full container width, outside post-body) */
.post-features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:28px 0 32px;border-bottom:1px solid #ebebeb;margin-bottom:0;}
.post-feature-card{background:#fafafa;border:1px solid #ebebeb;border-radius:12px;padding:20px;}
.post-feature-title{font-size:13px;font-weight:700;color:#111;margin-bottom:8px;}
.post-feature-desc{font-size:12px;color:#666;line-height:1.8;}

@media(min-width:1000px){
  .post-page .container{max-width:700px;}
  .post-lead{font-size:17px;}
  .post-body{font-size:16px;}
  .post-body .lead{font-size:17px;}
}

@media(max-width:600px){
  .page-title{font-size:26px;}
  .posts-grid{grid-template-columns:1fr;}
  .post-h1{font-size:22px;}
  .post-features{grid-template-columns:1fr;}
}

/* Related posts */
.post-related{margin-top:48px;padding-top:32px;border-top:1px solid #ebebeb;}
.post-related-title{font-size:11px;font-weight:700;color:var(--color-accent-text);text-transform:uppercase;letter-spacing:.1em;margin-bottom:14px;}
.post-related-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:10px;}
.post-related-list a{font-size:14px;color:#333;text-decoration:none;line-height:1.6;}
.post-related-list a:hover{color:var(--color-accent-text);}
/* コラムカードは顔アイコンなし（2026-07-13決定） */
.post-card .service-peek{display:none;}

/* 記事の コード（pre）：長い 行で スマホの ページ全体が 横に スクロール していた（#291・2026-11-25。claude-proj で 451px／375px）。
   コードの 箱の 中だけ 横に スクロール させる */
.post-body pre{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.post-body pre code{white-space:pre;}

/* 12px（PC 13px）未満の 字を なくす（#289・2026-11-25）：日付・タグ・関連記事の 見出し・特集の 説明 */
.post-date,.post-tag,.post-related-title,.post-feature-desc{font-size:12px;}
@media (min-width:768px){ .post-date,.post-tag,.post-related-title,.post-feature-desc{font-size:13px;} }

/* 最後の 行が 1〜2字だけに ならない ように（#290・2026-11-25）：記事の 本文・リード・一覧の 題と 抜粋。文節で 折る。
   語が 箱に 入らない ときだけ 語の 中でも 折る（はみ出して 横スクロールに しない） */
.post-body :is(p,li,h2,h3,blockquote),.post-cta p,.lead,.post-h1,.post-title,.post-excerpt,.post-cta-btn{text-wrap:pretty;word-break:auto-phrase;}
.post-body :is(p,li,blockquote),.post-cta p,.lead,.post-excerpt{overflow-wrap:anywhere;}
.post-h1,.post-title,.post-body :is(h2,h3){text-wrap:balance;}
