:root{
  --brand:#2e7d6f;
  --ink:#333;
  --muted:#666;
  --card:#fff;
  --line:#e8e8e8;
  --accent:#f2994a;
  --bg:#fafafa;
  --hdr:#ffffffee;
}
*{box-sizing:border-box}
body{
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans JP",sans-serif;
  line-height:1.8;
  margin:0;
  color:var(--ink);
  background:var(--bg);
}

/* 固定ヘッダー */
header{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:saturate(160%) blur(10px);
  background:var(--hdr);
  border-bottom:1px solid var(--line);
}
.header-inner{
  max-width:1000px;
  margin:0 auto;
  padding:10px 20px;
  display:flex;
  align-items:center;
  gap:14px;
}
.site-logo{height:44px}
.site-title{
  font-weight:700;
  color:var(--brand);
  font-size:1.02rem;
  margin:0;
  white-space:nowrap;
}
.spacer{flex:1}

nav{display:flex;gap:14px}
nav a{color:var(--brand);text-decoration:none;font-size:.95rem}
nav a:hover{opacity:.8}

/* モバイル用 */
.burger-wrap{display:none}
#nav-toggle{display:none}
.burger{
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--brand);
  font-weight:700;
}
.burger .lines{width:18px;height:12px;position:relative}
.burger .lines::before,
.burger .lines::after,
.burger .lines span{
  content:"";
  position:absolute;
  left:0;right:0;
  height:2px;
  background:var(--brand);
  border-radius:2px;
}
.burger .lines::before{top:0}
.burger .lines span{top:5px}
.burger .lines::after{bottom:0}

.drawer{
  display:none;
  background:#fff;
  border-top:1px solid var(--line);
}
.drawer a{
  display:block;
  padding:12px 20px;
  color:var(--brand);
  text-decoration:none;
  border-bottom:1px solid var(--line);
}
.drawer a:last-child{border-bottom:none}
#nav-toggle:checked ~ .drawer{display:block}

/* コンテンツ */
.container{
  max-width:1000px;
  margin:24px auto 32px;
  padding:0 20px;
}
.lead{margin:8px 0 8px;color:var(--muted)}
h1{
  font-size:1.8rem;
  margin:0 0 8px;
  color:var(--brand);
}

.app-block{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 4px 14px rgba(0,0,0,.04);
  padding:16px;
  margin:18px 0;
}
.app-head{
  display:flex;
  gap:14px;
  align-items:center;
  margin-bottom:8px;
}
.app-icon{
  width:60px;
  height:60px;
  border-radius:12px;
  object-fit:cover;
  background:#fff7ef;
  border:1px solid #f0e2d4;
}
.app-title{
  font-size:1.2rem;
  font-weight:700;
  margin:0;
  color:#1f2937;
}
.app-desc{margin:6px 0 10px;color:#444}

.cta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:6px;
}
.btn{
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  color:#1f2937;
  padding:8px 12px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  font-size:.95rem;
}
.btn-primary{
  background:linear-gradient(135deg,#ffb36b,#f2994a);
  border-color:#f2994a;
  color:#fff;
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}

/* 追加セクション */
.section-block{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 4px 14px rgba(0,0,0,.03);
  padding:18px 16px;
  margin:22px 0;
}
.section-block h2{
  font-size:1.2rem;
  margin:0 0 8px;
  color:#1f2937;
}
.section-block h3{
  font-size:1.02rem;
  margin:14px 0 4px;
  color:#374151;
}
.section-block p{margin:4px 0 8px;}
.section-block ul{
  margin:4px 0 8px;
  padding-left:1.2rem;
}

.section-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  gap:18px;
}

footer{
  margin:40px 0 20px;
  color:#555;
  font-size:.95rem;
}
footer a{
  color:var(--brand);
  text-decoration:none;
  margin-right:12px;
}
footer a:hover{opacity:.85}

@media(max-width:920px){
  .section-grid{ grid-template-columns:minmax(0,1fr); }
}
@media(max-width:720px){
  nav{display:none}
  .burger-wrap{display:flex}
  .site-title{
    font-size:1rem;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:55vw;
  }
}
@media(max-width:560px){
  .app-head{align-items:flex-start}
  .app-icon{width:52px;height:52px}
}

/* ===== 記事（articles）用の見た目を追加 ===== */
article{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 4px 14px rgba(0,0,0,.03);
  padding:18px 16px;
}
article h1{
  font-size:1.65rem;
  margin:0 0 10px;
}
article h2{
  margin:22px 0 8px;
  font-size:1.25rem;
  color:#1f2937;
  padding-left:10px;
  border-left:4px solid var(--brand);
}
article h3{
  margin:16px 0 6px;
  font-size:1.05rem;
  color:#374151;
}
article p{margin:8px 0 10px}
article ul, article ol{
  margin:8px 0 12px;
  padding-left:1.3rem;
}
article li{margin:4px 0}
article a{color:var(--brand)}
article a:hover{opacity:.85}

/* ====== Blog / Posts (cards) ====== */
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.section-lead{
  margin:6px 0 14px;
  color:var(--muted);
}
.btn-ghost{
  background:#fff;
  border:1px solid var(--line);
  color:var(--brand);
}

/* カードのグリッド */
.post-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}
.post-card{
  display:block;
  text-decoration:none;
  color:inherit;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
  transition:transform .12s ease, box-shadow .12s ease;
}
.post-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}
.post-meta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.85rem;
  color:var(--brand);
  font-weight:700;
  margin-bottom:6px;
}
.post-title{
  font-size:1.02rem;
  margin:0 0 8px;
  line-height:1.35;
  color:#111827;
}
.post-excerpt{
  margin:0 0 10px;
  color:#444;
  font-size:.95rem;
}
.post-footer{
  display:flex;
  justify-content:flex-end;
}
.post-link{
  color:var(--brand);
  font-weight:700;
}
@media(max-width:920px){
  .post-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media(max-width:560px){
  .post-grid{ grid-template-columns:1fr; }
}

