/* ===== 記事ページ専用スタイル ===== */

.article-main {
  padding: 40px 0 80px;
  background: var(--cream);
}

.article-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* パンくず */
.breadcrumb {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; }

/* 記事ヘッダー */
.article-header { margin-bottom: 40px; }

.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 32px);
  line-height: 1.4;
  color: var(--text);
  margin: 12px 0 16px;
}

.article-header h1 span {
  font-size: 0.75em;
  color: var(--text-sub);
}

.article-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.article-hero-img {
  width: 100%;
  height: 200px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

/* 本文 */
.article-content h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--green-dark);
  margin: 48px 0 16px;
  padding: 10px 16px;
  border-left: 4px solid var(--green);
  background: var(--green-light);
  border-radius: 0 8px 8px 0;
}

.article-content p {
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 16px;
}

.article-content strong { color: var(--green-dark); }

/* 目次 */
.toc {
  background: var(--white);
  border: 2px solid var(--green-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}

.toc-title {
  font-weight: 700;
  margin-bottom: 12px !important;
  font-size: 15px;
}

.toc ol {
  padding-left: 20px;
  margin: 0;
}

.toc li {
  margin-bottom: 8px;
  font-size: 14px;
}

.toc a { color: var(--green); }
.toc a:hover { text-decoration: underline; }

/* 比較表 */
.compare-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th {
  background: var(--green);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
}

.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table tr:nth-child(even) td { background: var(--green-light); }

/* ポイントボックス */
.point-box {
  background: #fffbea;
  border: 2px solid #f0d060;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

.point-title {
  font-weight: 700;
  margin-bottom: 8px !important;
  font-size: 15px;
}

/* 免責事項 */
.disclaimer-box {
  background: #fff3f3;
  border: 1px solid #ffb3b3;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px;
  color: #c0392b;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* 商品カード */
.product-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 2px solid var(--green-light);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}

.product-img {
  width: 100px;
  height: 100px;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  flex-shrink: 0;
}

.product-body { flex: 1; }

.product-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 6px 0 8px;
}

.product-body p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 14px !important;
}

.product-links { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-affiliate-rakuten {
  display: inline-block;
  background: #bf0000;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}
.btn-affiliate-rakuten:hover { background: #990000; }

/* チェックリスト */
.check-list {
  padding-left: 0;
  list-style: none;
  margin: 16px 0 32px;
}

.check-list li {
  padding: 10px 16px 10px 42px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
}

.check-list li::before {
  content: "✅";
  position: absolute;
  left: 10px;
  top: 10px;
}

/* まとめボックス */
.summary-box {
  background: linear-gradient(135deg, var(--green-light), #fff);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 40px 0;
}

.summary-title {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px !important;
  color: var(--green-dark);
}

/* 著者ボックス */
.author-box {
  display: flex;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin: 48px 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  align-items: flex-start;
}

.author-icon { font-size: 52px; flex-shrink: 0; }

.author-name {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
}

.author-bio {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 10px;
}

.author-link {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}
.author-link:hover { text-decoration: underline; }

/* 関連記事 */
.related h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--green-dark);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--green-light);
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .product-card { flex-direction: column; }
  .product-img  { width: 100%; height: 80px; }
  .article-info { flex-direction: column; gap: 6px; }
}
