:root {
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e5e0d6;
  --accent: #1d6b5f;   /* 深い緑：住まい・省エネ */
  --accent-dark: #134a42;
  --deadline: #e8772e; /* だいだい：締切 */
  --bg: #fbf7ef;       /* 生成り */
  --soft: #f1ece1;
  --card: #ffffff;
}
*, *::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-color: var(--accent); background-size: cover; background-position: center; }
.blog-title-inner { padding: 44px 16px 40px; text-align: center; }
.blog-title .site-icon { width: 56px; height: 56px; border-radius: 12px; display: block; margin: 0 auto 10px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.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 auto 0; max-width: 640px; color: #fff; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.blog-title .title a { text-shadow: 0 1px 4px rgba(0,0,0,.35); }

.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; }
.newsletter { margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; }
.newsletter p { margin: 0 0 8px; }
.newsletter p:last-child { margin-bottom: 0; }

.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); }

/* 締切の札（記事の頭） */
.deadline { margin: 0 0 28px; padding: 16px 18px; background: var(--card); border: 2px solid var(--deadline); border-radius: 10px; }
.deadline p { margin: 0; }
.deadline-label { font-size: 13px; color: var(--muted); }
.deadline-date { font-size: 20px; font-weight: 700; color: var(--text); }
.deadline-days { display: inline-block; margin-top: 6px !important; padding: 2px 14px; border-radius: 999px; background: var(--deadline); color: #fff; font-weight: 700; font-size: 15px; }
.deadline-note { margin-top: 8px !important; font-size: 14px; line-height: 1.7; }
.deadline-checked { margin-top: 6px !important; font-size: 13px; color: var(--muted); }
.deadline.is-closed { border-color: var(--line); }
.deadline.is-closed .deadline-days { background: #9a9a9a; }

.main { background: var(--card); padding: 28px 28px 32px; border-radius: 10px; }
@media (max-width: 560px) { .main { padding: 20px 16px 24px; } }
.disclaimer { font-size: 13px; color: var(--muted); line-height: 1.7; }
.pr-note { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; }
.profile-icon { width: 72px; height: 72px; border-radius: 14px; float: left; margin: 2px 12px 4px 0; }
.profile p { overflow: hidden; }

/* 看板（写真）— 2026-11-16 */
.hero { position: relative; background-color: #0b2a26; background-size: cover; background-position: center 55%; min-height: 380px; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,32,29,.92) 0%, rgba(8,32,29,.72) 38%, rgba(8,32,29,.15) 75%, rgba(8,32,29,0) 100%); }
.hero-inner { position: relative; width: 100%; max-width: 1120px; margin: 0 auto; padding: 56px 16px; color: #fff; }
.hero-link { text-decoration: none; display: inline-block; }
.hero-kicker { display: block; color: #f0c46e; font-weight: 700; font-size: 22px; letter-spacing: .08em; }
.hero-title { display: block; color: #fff; font-weight: 800; font-size: 60px; line-height: 1.15; letter-spacing: .04em; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-rule { display: block; width: 180px; height: 3px; background: #f0c46e; margin: 18px 0 16px; }
.hero-badge { display: inline-block; margin: 0 0 12px; padding: 4px 18px; border-radius: 999px; background: var(--deadline); font-weight: 700; font-size: 16px; }
.hero-desc { margin: 0; font-size: 15px; line-height: 1.8; opacity: .95; }
@media (max-width: 560px) {
  .hero { min-height: 300px; background-position: 70% 55%; }
  .hero::before { background: linear-gradient(180deg, rgba(8,32,29,.55) 0%, rgba(8,32,29,.85) 100%); }
  .hero-title { font-size: 44px; }
  .hero-kicker { font-size: 18px; }
}

/* 記事の中の写真と図 */
.entry-content figure { margin: 2em 0; }
.entry-content figure img { border-radius: 10px; box-shadow: 0 6px 20px rgba(19,74,66,.14); }
.entry-content figure.zu img { box-shadow: none; border: 1px solid var(--line); }
.entry-content figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; line-height: 1.6; }
