/* 技術ブログ（/blog/）だけで使う見た目。土台は /site.css */
.post { padding: 36px 0 64px; }
.post .in { max-width: 780px; }
.crumbs { font-size: 13px; color: var(--sub); margin: 0 0 18px; }
.crumbs a { color: var(--sub); }
.post h1 { font-size: 30px; line-height: 1.45; margin: 0 0 10px; }
.post .meta { font-size: 13px; color: var(--sub); margin: 0 0 22px; display: flex; gap: 14px; flex-wrap: wrap; }
.post .meta .cat { color: var(--red); font-weight: 700; }
.post .intro { background: var(--bg2); border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 0 0 28px; color: var(--ink); }
.post .intro p { margin: 0; font-size: 15px; }
.post h2 { font-size: 22px; margin: 40px 0 12px; }
.post h3 { font-size: 18px; margin: 28px 0 8px; }
.post p, .post li { font-size: 16px; }
.post ul, .post ol { padding-left: 22px; }
.post figure { margin: 22px 0; }
.post figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.post figcaption { font-size: 13px; color: var(--sub); margin-top: 6px; }
.post pre { background: #1f2024; color: #f1f1f4; padding: 14px 16px; border-radius: 10px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.post code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .92em; }
.post :not(pre) > code { background: var(--bg2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
.post table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.post th, .post td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.post th { background: var(--bg2); }
.post .note { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 20px 0; background: #fff; }
.post .note strong { color: var(--red); }
.post .product { margin: 40px 0 0; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--bg2); }
.post .product h2 { font-size: 17px; margin: 0 0 6px; }
.post .product h2::after { display: none; }
.post .product p { margin: 0 0 10px; font-size: 15px; color: var(--sub); }
.post .related { margin-top: 32px; }
.post .related h2 { font-size: 17px; }

.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.posts .card .date { font-size: 12px; color: var(--sub); margin: 0 0 6px; }

@media (max-width: 820px) {
  .post h1 { font-size: 24px; }
  .post h2 { font-size: 20px; }
  .posts { grid-template-columns: 1fr; }
}
