* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: #f9f7f4;
  color: #333;
  line-height: 1.8;
}

header {
  background: #fff;
  border-bottom: 3px solid #e8a87c;
  padding: 20px 0;
  text-align: center;
}

header h1 a {
  text-decoration: none;
  color: #333;
  font-size: 1.6rem;
  font-weight: bold;
}

header p.tagline {
  color: #888;
  font-size: 0.85rem;
  margin-top: 4px;
}

.container {
  max-width: 760px;
  margin: 40px auto;
  padding: 0 20px;
}

/* トップページ */
.post-list { list-style: none; }

.post-list li {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 24px 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.post-list li:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.post-list .category {
  font-size: 0.75rem;
  background: #e8a87c;
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}

.post-list h2 { font-size: 1.15rem; margin-bottom: 6px; }

.post-list h2 a { text-decoration: none; color: #333; }
.post-list h2 a:hover { color: #e8a87c; }

.post-list .date { font-size: 0.8rem; color: #aaa; }

/* 記事ページ */
article {
  background: #fff;
  border-radius: 8px;
  padding: 36px 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

article .meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

article .category {
  font-size: 0.75rem;
  background: #e8a87c;
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
}

article .date { font-size: 0.8rem; color: #aaa; }

article h1 {
  font-size: 1.5rem;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0ece6;
}

article h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
  padding-left: 10px;
  border-left: 4px solid #e8a87c;
}

article h4 {
  font-size: 1rem;
  margin: 20px 0 8px;
  color: #555;
}

article p { margin-bottom: 14px; }

article ul {
  margin: 10px 0 14px 20px;
}

article ul li { margin-bottom: 6px; }

article blockquote {
  background: #f5f5f5;
  border-left: 4px solid #ccc;
  margin: 16px 0;
  padding: 14px 20px;
  font-size: 0.92rem;
  color: #555;
}

article figure {
  text-align: center;
  margin: 20px 0;
}

article figure img {
  max-width: 100%;
  border-radius: 6px;
}

article figure figcaption {
  font-size: 0.8rem;
  color: #999;
  margin-top: 6px;
}

.back-link {
  display: inline-block;
  margin-top: 32px;
  color: #e8a87c;
  text-decoration: none;
  font-size: 0.9rem;
}

.back-link:hover { text-decoration: underline; }

footer {
  text-align: center;
  padding: 30px;
  color: #aaa;
  font-size: 0.8rem;
}
