/* article.css - 下層記事ページ共通スタイル
   kodomo-datsumo.html / hige-datsumo.html で使用
----------------------------------------------- */

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 15px;
  letter-spacing: normal;
}

a {
  color: var(--primary);
  transition: opacity 0.2s;
}

/* ヘッダー背景（共通CSS のヘッダー構造をそのまま使用） */
header {
  background: #fff;
}

/* パンくず */
.breadcrumb {
  max-width: 800px;
  margin: 16px auto;
  padding: 0 24px;
  font-size: 12px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* メインコンテナ */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* 記事ヘッダー */
.article-header {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 40px 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.article-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.article-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.article-header h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 16px;
}
.article-meta {
  font-size: 12px;
  color: var(--text-light);
}

/* 導入文 */
.intro {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 14px;
  line-height: 1.9;
}

/* 目次 */
.toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 40px;
}
.toc-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-title::before { content: '📋'; }
.toc ol { padding-left: 20px; }
.toc li { font-size: 13px; margin-bottom: 6px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; }

/* セクション */
section { margin-bottom: 48px; }
section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 10px;
  margin-bottom: 20px;
  position: relative;
}
section h2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 60px; height: 2px;
  background: var(--primary);
}
section h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  margin: 24px 0 10px;
}
section p { margin-bottom: 16px; font-size: 15px; }

/* Q&Aボックス */
.qa-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}
.qa-q {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.qa-q::before {
  content: 'Q';
  background: var(--white);
  color: var(--primary);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.qa-a {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.8;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.qa-a::before {
  content: 'A';
  background: var(--accent);
  color: var(--white);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ポイントボックス */
.point-box {
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 20px 0;
}
.point-box-title {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.point-box ul { padding-left: 20px; }
.point-box li { font-size: 14px; margin-bottom: 6px; }

/* 注意ボックス */
.note-box {
  background: #fff8f0;
  border: 1px solid #f0d8b8;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 13px;
  margin: 16px 0;
  color: #7a5a30;
}

/* SHIZUKUセクション（CTA） */
.shizuku-section {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 36px 40px;
  margin-top: 48px;
}
.shizuku-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 20px;
  border: none;
  padding: 0;
}
.shizuku-section h2::after { display: none; }

.feature-list { list-style: none; margin: 16px 0 24px; }
.feature-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.feature-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.btn-line {
  background: #06c755;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-insta {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.salon-info {
  background: var(--primary-light);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 13px;
  margin-top: 20px;
}
.salon-info p { margin-bottom: 4px; }

@media (max-width: 600px) {
  .article-header { padding: 28px 20px 24px; }
  .article-header h1 { font-size: 20px; }
  .shizuku-section { padding: 24px 20px; }
  .cta-buttons { flex-direction: column; }
  .btn-line, .btn-insta { text-align: center; justify-content: center; width: 100%; }
}
