:root{color-scheme:light}
*{box-sizing:border-box}
body{margin:0;background:#f8fafc;color:#1a1a2e;font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP",Meiryo,sans-serif;line-height:1.8;-webkit-text-size-adjust:100%}
a{color:#0e7490}
img{max-width:100%;height:auto}
.wrap{max-width:1120px;margin:0 auto;padding:0 16px}
.site-header{background:#fff;border-bottom:1px solid #e2e8f0}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;flex-wrap:wrap}
.logo{font-weight:800;font-size:22px;color:#0f172a;text-decoration:none;letter-spacing:.04em}
.logo span{color:#0891b2}
.nav{display:flex;gap:4px 14px;flex-wrap:wrap;font-size:14px;padding:8px 0}
.nav a{color:#334155;text-decoration:none}
.nav a:hover{color:#0891b2}
.intro{padding:40px 0 8px}
.intro h1{font-size:26px;margin:0 0 6px}
.intro p{margin:0;color:#475569}
.cats{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 8px}
.chip{display:inline-block;font-size:13px;padding:4px 12px;border-radius:999px;background:#ecfeff;color:#0e7490;text-decoration:none;border:1px solid #a5f3fc}
.chip:hover{background:#cffafe}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px;margin:24px 0 40px}
.card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:box-shadow .15s,transform .15s}
.card:hover{box-shadow:0 8px 24px rgba(15,23,42,.08);transform:translateY(-2px)}
.card .thumb{aspect-ratio:1200/630;background:linear-gradient(135deg,#0f172a,#0891b2);overflow:hidden}
.card .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.card .body{padding:12px 14px 16px}
.card .meta{font-size:12px;color:#64748b;display:flex;gap:8px;align-items:center}
.card h2,.card h3{font-size:15px;line-height:1.55;margin:6px 0 0;font-weight:700}
.pager{display:flex;justify-content:center;gap:8px;margin:0 0 56px;flex-wrap:wrap}
.pager a,.pager span{min-width:40px;text-align:center;padding:6px 10px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;text-decoration:none;color:#334155}
.pager span{background:#0891b2 !important;color:#fff !important;border-color:#0891b2}
.post-wrap{max-width:860px;margin:0 auto;padding:0 16px}
.crumbs{font-size:13px;color:#64748b;margin:20px 0 12px}
.crumbs a{color:#64748b}
.article{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:28px 32px 36px;margin-bottom:28px}
.post-meta{font-size:13px;color:#64748b;margin-bottom:12px;display:flex;gap:12px;flex-wrap:wrap}
.post-title{font-size:28px;line-height:1.45;margin:0 0 16px}
.eyecatch{margin:0 0 24px;border-radius:10px;overflow:hidden}
.eyecatch img{display:block;width:100%}
:where(.entry-content) h2{font-size:1.4em;line-height:1.5;margin:2em 0 .8em;padding:.4em .8em;background:#f1f5f9;border-left:5px solid #0891b2;border-radius:4px}
:where(.entry-content) h3{font-size:1.2em;margin:1.8em 0 .6em;padding-bottom:.3em;border-bottom:2px solid #e2e8f0}
:where(.entry-content) h4{font-size:1.05em;margin:1.5em 0 .5em}
:where(.entry-content) p{margin:0 0 1.2em}
:where(.entry-content) table{border-collapse:collapse;width:100%;margin:1.2em 0;display:block;overflow-x:auto}
:where(.entry-content) th,:where(.entry-content) td{border:1px solid #e2e8f0;padding:8px 12px;vertical-align:top}
:where(.entry-content) pre{background:#0f172a;color:#e2e8f0;padding:16px;border-radius:8px;overflow-x:auto;font-size:14px;line-height:1.6}
:where(.entry-content) code{font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}
:where(.entry-content) blockquote{margin:1.2em 0;padding:12px 16px;border-left:4px solid #cbd5e1;background:#f8fafc;color:#334155}
:where(.entry-content) figure{margin:1.2em 0}
:where(.entry-content) figcaption{font-size:13px;color:#64748b;text-align:center}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px;padding-top:20px;border-top:1px solid #e2e8f0}
.tag{font-size:13px;color:#475569;text-decoration:none;background:#f1f5f9;padding:3px 10px;border-radius:6px}
.tag:hover{background:#e2e8f0}
.section-title{font-size:18px;margin:8px 0 0}
.prevnext{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 28px}
.prevnext a{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px;text-decoration:none;color:#1a1a2e;font-size:14px}
.prevnext small{display:block;color:#64748b;font-size:12px}
.prevnext .next{text-align:right}
.site-footer{background:#0f172a;color:#cbd5e1;padding:32px 0;font-size:13px}
.site-footer a{color:#e2e8f0;text-decoration:none;margin-right:16px}
.site-footer p{margin:12px 0 0;color:#94a3b8 !important}
@media (max-width:640px){
 .article{padding:20px 16px 28px;border-radius:0;margin:0 -16px 24px;border-left:0;border-right:0}
 .post-title{font-size:22px}
 .intro h1{font-size:22px}
 .prevnext{grid-template-columns:1fr}
 .prevnext .next{text-align:left}
}