:root {
  --text: #333;
  --text-sub: #777;
  --line: #e5e5e5;
  --accent: #2a6f97;
  --bg: #fff;
  --bg-sub: #f6f7f8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg-sub);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-title { margin: 0; padding: 20px 0; font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
.site-title a { color: var(--text); text-decoration: none; }
.site-main { margin: 24px auto; padding: 24px 16px; background: var(--bg); }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list__item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.post-list__item time { flex: none; color: var(--text-sub); font-size: 0.875rem; padding-top: 2px; }
.post-list__item a { color: var(--text); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.post-list__item a:hover { color: var(--accent); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; font-size: 0.9375rem; }
.pager__count { color: var(--text-sub); margin: 0 auto; }
.post__date { color: var(--text-sub); font-size: 0.875rem; }
.post__title { margin: 4px 0 24px; font-size: 1.5rem; line-height: 1.5; overflow-wrap: anywhere; }
.post__body { overflow-wrap: anywhere; }
.post__body p { margin: 0 0 1.2em; }
.post__body table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; }
.post__body td, .post__body th { border: 1px solid var(--line); padding: 4px 8px; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.6; }
.post-nav__older { text-align: right; margin-left: auto; }
.back-home { margin-top: 24px; font-size: 0.9375rem; }
.site-footer { padding: 24px 0 40px; color: var(--text-sub); font-size: 0.8125rem; text-align: center; }
.site-footer p { margin: 0; }
@media (max-width: 600px) {
  .site-main { margin: 0; padding: 16px; }
  .post-list__item { flex-direction: column; gap: 2px; }
  .post__title { font-size: 1.25rem; }
}
