/* エブル - シンプルブログスタイル */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #2b2a28;
  --text-soft: #6b6862;
  --accent: #8a6a4a;
  --accent-soft: #d8c7b1;
  --border: #e8e3da;
  --shadow: 0 1px 2px rgba(40, 30, 20, 0.04);
  --radius: 6px;
  --max: 720px;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo",
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
a:hover {
  border-bottom-color: var(--accent);
}

/* レイアウト */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ヘッダー */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.site-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.site-title a {
  color: var(--text);
  border: none;
}
.site-title .mark {
  color: var(--accent);
}
.site-tagline {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}
.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}
.nav a {
  color: var(--text-soft);
  border: none;
}
.nav a:hover {
  color: var(--accent);
}

/* メイン */
main {
  padding: 2.5rem 0 4rem;
}

/* 記事リスト */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-list > li + li {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border);
}
.post-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
  line-height: 1.5;
}
.post-card h2 a {
  color: var(--text);
  border: none;
}
.post-card h2 a:hover {
  color: var(--accent);
}
.post-meta {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.1rem 0.55rem;
  background: var(--accent-soft);
  color: #5a4530;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.excerpt {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0;
}

/* 記事本文 */
.post-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.post-header h1 {
  font-size: 1.7rem;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.5;
}
.post-body h2 {
  font-size: 1.2rem;
  margin: 2.25rem 0 0.75rem;
  padding-left: 0.6rem;
  border-left: 3px solid var(--accent);
}
.post-body h3 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--accent);
}
.post-body p {
  margin: 0 0 1.1rem;
}
.post-body ul,
.post-body ol {
  padding-left: 1.4rem;
}
.post-body li {
  margin-bottom: 0.4rem;
}
.callout {
  background: #f3eee5;
  border-left: 3px solid var(--accent-soft);
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.affiliate-placeholder {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px dashed var(--accent-soft);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text-soft);
  font-size: 0.9rem;
  background: var(--surface);
}
.affiliate-placeholder a {
  font-weight: 600;
}
.affiliate-placeholder small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.8;
}

/* 作品情報ボックス */
.spec-box {
  background: #f8f5ee;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
  font-size: 0.92rem;
}
.spec-box dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.25rem;
  align-items: baseline;
}
.spec-box dt {
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.spec-box dd {
  margin: 0;
  color: var(--text);
}
@media (max-width: 540px) {
  .spec-box dl {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .spec-box dt {
    margin-top: 0.6rem;
  }
  .spec-box dt:first-child {
    margin-top: 0;
  }
}

.post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* フッター */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links a {
  color: var(--text-soft);
  border: none;
}
.footer-links a:hover {
  color: var(--accent);
}

/* 年齢確認モーダル */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(30, 25, 20, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.age-gate.hidden {
  display: none;
}
.age-gate-box {
  background: var(--surface);
  max-width: 440px;
  width: 100%;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.age-gate-box h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}
.age-gate-box p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0 0 1.5rem;
  line-height: 1.7;
}
.age-gate-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #735540;
}
.btn-secondary:hover {
  background: var(--bg);
}

/* 固定ページ本文 */
.page-body h1 {
  font-size: 1.55rem;
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.page-body h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.5rem;
  color: var(--accent);
}
.page-body p,
.page-body li {
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* レスポンシブ */
@media (max-width: 540px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .nav {
    gap: 1rem;
    font-size: 0.85rem;
  }
  body {
    font-size: 15px;
  }
}
