:root {
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e3e3e3;
  --accent: #1f5f8b;
  --bg: #ffffff;
  --soft: #f6f7f8;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; }

.blog-title { background-size: cover; background-position: center 0; }
.blog-title-inner { background: rgba(0, 0, 0, .35); padding: 56px 16px; text-align: center; }
.blog-title .title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.4; }
.blog-title .title a { color: #fff; text-decoration: none; }
.blog-description { margin: 8px 0 0; color: #fff; font-size: 14px; }

.container { max-width: 1120px; margin: 0 auto; padding: 32px 16px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
@media (max-width: 860px) { .container { grid-template-columns: 1fr; } }

.entry-date { margin: 0; color: var(--muted); font-size: 14px; }
.entry-date a { color: inherit; text-decoration: none; }
.entry-title { font-size: 26px; line-height: 1.5; margin: 4px 0 8px; }
.categories { margin-bottom: 16px; }
.category { display: inline-block; font-size: 12px; padding: 1px 10px; margin: 0 6px 6px 0; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); text-decoration: none; }

.entry-content h2 { font-size: 22px; margin: 2.2em 0 .8em; padding: .4em .6em; border-left: 5px solid var(--accent); background: var(--soft); }
.entry-content h3 { font-size: 19px; margin: 1.8em 0 .6em; padding-bottom: .2em; border-bottom: 2px solid var(--line); }
.entry-content h4 { font-size: 17px; margin: 1.5em 0 .5em; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content strong { background: linear-gradient(transparent 62%, #fff1a8 62%); }
.entry-content blockquote { margin: 1.5em 0; padding: 12px 16px; border-left: 4px solid var(--line); background: var(--soft); color: #444; }
.entry-content table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 6px 10px; }
.entry-content th { background: var(--soft); }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin: 0 0 1.2em; }
.entry-content img { display: block; margin: 0 auto; }
.entry-content code { background: var(--soft); padding: 0 4px; border-radius: 3px; }

.entry-footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.related h2 { font-size: 16px; }

.page-heading { font-size: 20px; margin: 0 0 16px; }
.archive-entry { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.archive-entry .thumb { flex: 0 0 160px; }
.archive-entry .thumb img { width: 160px; height: 84px; object-fit: cover; border-radius: 4px; }
.archive-entry .entry-title { font-size: 18px; margin: 2px 0 6px; }
.archive-entry .entry-title a { color: var(--text); text-decoration: none; }
.archive-entry .entry-title a:hover { color: var(--accent); }
.archive-entry .categories { margin-bottom: 4px; }
.entry-description { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
@media (max-width: 560px) { .archive-entry { flex-direction: column; } .archive-entry .thumb img { width: 100%; height: auto; } }

.sidebar { font-size: 14px; }
.module { margin-bottom: 32px; }
.module-title { font-size: 15px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--text); }
.module-title a { color: inherit; text-decoration: none; }
.module ul { list-style: none; padding: 0; margin: 0; }
.module li { padding: 6px 0; border-bottom: 1px dotted var(--line); line-height: 1.6; }

.site-footer { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 16px 40px; border-top: 1px solid var(--line); }
