/* ===== コラムページ共通CSS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #2e8b6e;
  --green-light: #e8f5f0;
  --green-dark: #1a6b52;
  --gray-900: #1a1a1a;
  --gray-700: #444;
  --gray-500: #777;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #fff;
  --font: 'Noto Sans JP', sans-serif;
  --serif: 'Noto Serif JP', serif;
  --r: 8px;
  --r-lg: 16px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
}

body {
  font-family: var(--font);
  color: var(--gray-700);
  line-height: 1.85;
  background: #fafaf8;
  font-size: 16px;
}

/* ===== ヘッダー ===== */
.col-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.col-header-inner {
  max-width: 860px; margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.col-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--gray-900);
}
.col-logo-img { width: 40px; height: 40px; object-fit: contain; }
.col-logo-text { font-weight: 700; font-size: .9rem; line-height: 1.3; }
.col-header-cta {
  background: var(--green); color: var(--white);
  padding: 8px 18px; border-radius: 100px;
  font-size: .82rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: background .2s;
}
.col-header-cta:hover { background: var(--green-dark); }

/* ===== パンくず ===== */
.breadcrumb {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 20px;
}
.breadcrumb ol {
  max-width: 860px; margin: 0 auto;
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 4px;
  font-size: .78rem; color: var(--gray-500);
}
.breadcrumb li + li::before { content: '›'; margin-right: 4px; }
.breadcrumb a { color: var(--green); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== メイン ===== */
.col-main { padding: 40px 0 80px; }
.col-container { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ===== 記事ヘッダー ===== */
.article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}
.article-cat {
  background: var(--green); color: var(--white);
  font-size: .72rem; font-weight: 700;
  padding: 3px 12px; border-radius: 100px;
}
.article-date { font-size: .82rem; color: var(--gray-500); }
.article-update { font-size: .75rem; color: var(--gray-500); }

.article-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700; line-height: 1.45;
  color: var(--gray-900); margin-bottom: 24px;
}
.article-title-sub {
  display: block; font-size: .7em;
  color: var(--green); margin-top: 6px;
  font-family: var(--font); font-weight: 700;
}

/* 著者 */
.article-author {
  display: flex; align-items: center; gap: 14px;
  background: var(--green-light);
  border-radius: var(--r-lg); padding: 14px 18px;
  margin-bottom: 32px;
}
.author-photo {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; gap: 2px; }
.author-label { font-size: .7rem; color: var(--green-dark); font-weight: 700; }
.author-name { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.author-title { font-size: .75rem; color: var(--gray-500); }

/* リード文 */
.article-lead {
  background: var(--white); border-left: 4px solid var(--green);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 20px 24px; margin-bottom: 40px;
  box-shadow: var(--shadow);
}
.article-lead p + p { margin-top: 12px; }

/* 目次 */
.toc {
  background: var(--gray-100); border-radius: var(--r-lg);
  padding: 20px 24px; margin-bottom: 48px;
}
.toc-title { font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 6px; font-size: .9rem; }
.toc a { color: var(--green); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ===== セクション ===== */
.col-article section { margin-bottom: 56px; }

h2 {
  font-family: var(--serif);
  font-size: 1.35rem; font-weight: 700;
  color: var(--gray-900);
  border-left: 5px solid var(--green);
  padding: 8px 16px;
  background: var(--green-light);
  border-radius: 0 var(--r) var(--r) 0;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--green-dark); margin: 24px 0 12px;
  padding-bottom: 6px; border-bottom: 2px solid var(--green-light);
}
h4 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
p { margin-bottom: 16px; }

/* 比較テーブル */
.comparison-table { overflow-x: auto; margin: 20px 0; }
.comparison-table table, .price-box table {
  width: 100%; border-collapse: collapse;
}
.comparison-table th, .comparison-table td,
.price-box th, .price-box td {
  padding: 12px 16px; text-align: left;
  border: 1px solid var(--gray-200); font-size: .9rem;
}
.comparison-table thead tr { background: var(--green); color: var(--white); }
.comparison-table tbody tr:nth-child(even) { background: var(--gray-100); }

/* チェックリスト */
.check-list { list-style: none; margin: 16px 0 20px; }
.check-list li {
  padding: 8px 0 8px 28px; position: relative;
  border-bottom: 1px solid var(--gray-200); font-size: .95rem;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--green); font-weight: 700;
}

/* ノートボックス */
.note-box {
  background: #fffbea; border: 1px solid #f0d060;
  border-radius: var(--r); padding: 16px 20px;
  margin: 20px 0;
}
.note-box p { margin: 0; font-size: .9rem; }

/* 料金ボックス */
.price-box { margin: 20px 0; }
.price-box table { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.price-box thead tr { background: var(--green); color: var(--white); }
.price-box td { font-size: .9rem; }
.price { font-weight: 800; color: var(--green); text-align: right; }
.price-note { font-size: .78rem; color: var(--gray-500); margin-top: 8px; }
.badge-1 { background: #27ae60; color: white; padding: 2px 10px; border-radius: 100px; font-size: .8rem; font-weight: 700; }
.badge-2 { background: #2980b9; color: white; padding: 2px 10px; border-radius: 100px; font-size: .8rem; font-weight: 700; }
.badge-3 { background: #8e44ad; color: white; padding: 2px 10px; border-radius: 100px; font-size: .8rem; font-weight: 700; }

/* 疾患グリッド */
.disease-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.disease-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 18px 20px; box-shadow: var(--shadow);
  border-top: 3px solid var(--green);
}
.disease-card ul { list-style: none; padding: 0; }
.disease-card li { padding: 5px 0 5px 16px; position: relative; font-size: .88rem; border-bottom: 1px solid var(--gray-100); }
.disease-card li::before { content: '・'; position: absolute; left: 0; color: var(--green); }

/* エリアリスト */
.area-list { list-style: none; margin: 16px 0; }
.area-list li { padding: 8px 0; font-size: .95rem; border-bottom: 1px solid var(--gray-200); }
.local-voice {
  background: var(--green-light); border-radius: var(--r);
  padding: 14px 18px; margin-top: 16px; font-size: .88rem;
}
.local-voice p { margin: 0; }

/* ステップリスト */
.step-list { list-style: none; counter-reset: step; margin: 16px 0 20px; }
.step-list li {
  counter-increment: step;
  padding: 10px 10px 10px 48px; position: relative;
  border-left: 3px solid var(--green-light);
  margin-bottom: 8px; font-size: .95rem;
}
.step-list li::before {
  content: counter(step); position: absolute; left: -1px; top: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}

/* フロー */
.flow-steps { margin: 20px 0; }
.flow-step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border-radius: var(--r-lg);
  padding: 18px 20px; box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
}
.flow-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
}
.flow-content h4 { margin-bottom: 4px; }
.flow-content p { margin: 0; font-size: .88rem; color: var(--gray-500); }
.flow-arrow { text-align: center; font-size: 1.5rem; color: var(--green); padding: 6px 0; }

/* FAQ */
.article-faq { margin-bottom: 56px; }
.faq-item {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--gray-200);
  margin-bottom: 8px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 16px 20px;
  font-weight: 700; font-size: .95rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: '▼'; color: var(--green); font-size: .75rem; flex-shrink: 0; margin-left: 8px; }
.faq-item[open] summary::after { content: '▲'; }
.faq-item p { padding: 0 20px 16px; font-size: .9rem; color: var(--gray-700); margin: 0; }

/* まとめ */
.article-summary { background: var(--green-light); border-radius: var(--r-lg); padding: 24px 28px; }
.summary-list { list-style: none; }
.summary-list li {
  padding: 8px 0 8px 24px; position: relative;
  font-size: .95rem; border-bottom: 1px solid rgba(46,139,110,.15);
}
.summary-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* CTA */
.article-cta {
  background: linear-gradient(135deg, #1a6b52, #2e8b6e);
  border-radius: var(--r-lg); padding: 32px 24px;
  text-align: center; margin: 40px 0;
}
.cta-lead { color: white; font-weight: 700; font-size: 1.05rem; margin-bottom: 20px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 16px; }
.cta-btn {
  display: inline-block; padding: 12px 24px; border-radius: 100px;
  font-weight: 700; font-size: .9rem; text-decoration: none;
  transition: opacity .2s;
}
.cta-btn:hover { opacity: .85; }
.cta-tel { background: white; color: var(--green); }
.cta-line { background: #06C755; color: white; }
.cta-form { background: rgba(255,255,255,.2); color: white; border: 2px solid rgba(255,255,255,.6); }
.cta-note { color: rgba(255,255,255,.8); font-size: .8rem; }

/* 関連記事 */
.related-articles { margin-top: 48px; }
.related-articles h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related-card {
  background: var(--white); border-radius: var(--r);
  padding: 14px 16px; text-decoration: none;
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  transition: box-shadow .2s;
}
.related-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.related-cat { display: block; font-size: .72rem; color: var(--green); font-weight: 700; margin-bottom: 4px; }
.related-title { display: block; font-size: .85rem; color: var(--gray-900); font-weight: 700; line-height: 1.5; }

/* ===== フッター ===== */
.col-footer {
  background: #1a2a22; color: rgba(255,255,255,.7);
  padding: 32px 20px; text-align: center;
}
.col-footer-inner { max-width: 860px; margin: 0 auto; }
.col-footer-name { color: white; font-weight: 700; margin-bottom: 6px; }
.col-footer-address, .col-footer-tel { font-size: .82rem; margin-bottom: 4px; }
.col-footer-copy { font-size: .75rem; margin-top: 12px; }

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
  .col-header-cta { padding: 7px 14px; font-size: .78rem; }
  .article-author { flex-direction: column; text-align: center; }
  .disease-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; }
  h2 { font-size: 1.15rem; }
  .flow-step { flex-direction: column; }
  .price-box td, .price-box th { padding: 10px; font-size: .82rem; }
}

/* ===== コラム一覧ページ（home.php）===== */
.list-page { max-width: 860px; margin: 0 auto; padding: 0 20px 60px; }
.list-page-title { font-size: 1.6rem; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
.list-page-sub { font-size: .9rem; color: #666; margin-bottom: 32px; }
.col-list { display: flex; flex-direction: column; gap: 20px; }
.col-list-card { display: flex; gap: 20px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.07); text-decoration: none; color: inherit; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.col-list-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.11); }
.col-list-thumb { width: 140px; flex-shrink: 0; background: #e8f5f0; display: flex; align-items: center; justify-content: center; font-size: 2.8rem; min-height: 120px; }
.col-list-body { padding: 18px 20px 18px 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; flex: 1; min-width: 0; }
.col-list-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.col-list-cat { display: inline-block; background: #2e8b6e; color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 100px; letter-spacing: .06em; }
.col-list-date { font-size: .8rem; color: #888; }
.col-list-title { font-size: 1.05rem; font-weight: 700; color: #1a1a1a; line-height: 1.5; }
.col-list-desc { font-size: .875rem; color: #555; line-height: 1.65; margin: 0; }
.col-list-link { font-size: .82rem; color: #2e8b6e; font-weight: 700; margin-top: 4px; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; color: #2e8b6e; font-weight: 700; font-size: .9rem; margin-bottom: 24px; text-decoration: none; transition: opacity .2s; }
.back-btn:hover { opacity: .75; }
@media (max-width: 600px) {
  .col-list-thumb { width: 90px; font-size: 2rem; min-height: 100px; }
  .col-list-title { font-size: .95rem; }
  .col-list-desc { display: none; }
  .col-list-body { padding: 14px 14px 14px 0; }
}
