
:root{
  --bg:#f7f8fb;
  --card:#fff;
  --line:#e4e7ee;
  --text:#222;
  --muted:#68707f;
  --accent:#0a66c2;
}
*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans JP","Hiragino Sans","Yu Gothic UI",sans-serif;
  line-height:1.8;
}
a{color:var(--accent);text-decoration:none}
img{max-width:100%;height:auto;display:block}
.site-header,.site-footer{background:#fff;border-bottom:1px solid var(--line)}
.site-footer{border-top:1px solid var(--line);border-bottom:none;margin-top:32px}
.site-header__inner,.site-footer__inner,.layout{max-width:1200px;margin:0 auto;padding:16px}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-logo{font-weight:700;font-size:1.15rem;color:var(--text)}
.site-nav{display:flex;gap:16px;flex-wrap:wrap}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;padding-top:24px}
.content-area,.sidebar .widget,.article,.post-card,.page-head{background:var(--card);border:1px solid var(--line);border-radius:16px}
.content-area{padding:0;border:none;background:transparent}
.sidebar .widget,.page-head{padding:20px}
.article{padding:24px}
.breadcrumbs{margin:0 0 16px;color:var(--muted);font-size:.92rem}
.breadcrumbs span{margin:0 6px}
.article-header h1,.page-head h1{margin:0 0 12px;line-height:1.4}
.meta-line{color:var(--muted);font-size:.92rem}
.meta-sep{margin:0 8px}
.chip{display:inline-block;padding:2px 10px;border:1px solid var(--line);border-radius:999px;background:#f3f7fd}
.hero-image{margin:20px 0;border-radius:14px;overflow:hidden}
.lead{padding:16px 18px;background:#f7fafc;border-left:4px solid var(--accent);border-radius:10px;margin-bottom:20px}
.article-body h2,.article-body h3{line-height:1.5}
.article-body p,.article-body ul,.article-body ol,.article-body table{margin:0 0 1.1em}
.article-body table{width:100%;border-collapse:collapse}
.article-body th,.article-body td{border:1px solid var(--line);padding:8px}
.simple-list{margin:0;padding-left:18px}
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
.post-card{overflow:hidden}
.post-card__link{display:block;color:inherit}
.post-card__thumb{aspect-ratio:16/9;object-fit:cover;background:#f0f2f5}
.post-card__body{padding:14px}
.post-card__body h2{font-size:1rem;line-height:1.55;margin:0 0 8px}
.post-card__body time{font-size:.9rem;color:var(--muted)}
.pager{display:flex;justify-content:center;align-items:center;gap:16px;margin:24px 0 0;color:var(--muted)}
.ad-slot{margin:18px 0;overflow:auto}
.home-latest{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin:24px 0}
.home-latest__card{display:block;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;color:inherit}
.home-latest__body{padding:12px 14px}
.home-latest__body h3{margin:0 0 8px;font-size:1rem;line-height:1.55}
.home-latest__body time{font-size:.88rem;color:var(--muted)}
.nt-balloon{display:flex;gap:14px;margin:20px 0;align-items:flex-start}
.nt-balloon--right{flex-direction:row-reverse}
.nt-balloon__avatar{width:84px;flex:0 0 84px;text-align:center}
.nt-balloon__avatar img{width:72px;height:72px;object-fit:cover;border-radius:50%;margin:0 auto 6px;border:1px solid var(--line);background:#fff}
.nt-balloon__name{font-size:.82rem;color:var(--muted);line-height:1.4}
.nt-balloon__bubble{max-width:min(100%,680px);background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px;position:relative;box-shadow:0 4px 12px rgba(0,0,0,.04)}
.nt-balloon__text{white-space:pre-wrap}
.su-box{border:1px solid #d8e0e8;background:#f8fafc;border-radius:14px;overflow:hidden;margin:24px 0}
.su-box__title{padding:12px 16px;background:#eef4ff;border-bottom:1px solid #d8e0e8;font-weight:700}
.su-box__body{padding:16px}
.su-box__body>:first-child{margin-top:0}
.su-box__body>:last-child{margin-bottom:0}
@media (max-width:960px){
  .layout{grid-template-columns:1fr}
  .site-header__inner{flex-direction:column;align-items:flex-start}
}
