/* =============================================
   pueraroma-kyujin.com / 記事ページ CSS
   ウォーム・エレガント テーマ
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@300;400;700&display=swap');

:root {
  --bg-primary: #0f0c09;
  --bg-secondary: #181410;
  --bg-card: #1d1915;
  --accent: #d4956a;
  --accent-light: #e8b48a;
  --text-primary: #f2ede8;
  --text-secondary: #a89888;
  --text-muted: #5a5048;
  --border: #2e2820;
  --line-green: #06c755;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  min-height: 100vh;
}

/* ===== ヘッダー ===== */
header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

header a.logo {
  color: var(--accent);
  text-decoration: none;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
}

header a.logo:hover {
  color: var(--accent-light);
}

/* ===== メインコンテンツ ===== */
main.article-wrap, main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ===== パンくずリスト ===== */
.breadcrumb {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ===== 記事 ===== */
article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px 48px 40px;
}

/* ===== カテゴリタグ ===== */
.category-tag {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ===== H1 ===== */
h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.03em;
}

/* ===== 記事本文 ===== */
.article-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.9;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ===== CTAブロック ===== */
.cta-block, .cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
}

.cta-lead {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.btn-line, .cta a {
  display: inline-block;
  background: var(--line-green);
  color: #fff;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-line:hover, .cta a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===== フッター ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
  main.article-wrap, main {
    padding: 24px 16px 60px;
  }

  article {
    padding: 28px 20px 28px;
  }

  h1 {
    font-size: 1.25rem;
  }

  .cta-block, .cta {
    padding: 24px 16px;
  }
}
