/* ============================================================
   column.css — パルテノン歯科 コラム共通スタイルシート
   対象: /column/ 配下の記事ページ
   更新: 2026-04-06
   ============================================================ */

/* Google Fonts は HTML 側の <link> で読み込んでください
   Noto Serif JP / Noto Sans JP / Cormorant Garamond          */

/* ─── Design Tokens ─── */
:root {
  --ivory:            #FAFAF7;
  --cream:            #F5F3EE;
  --warm-white:       #FFFFFF;
  --charcoal:         #2C2C2C;
  --mid-gray:         #6B6B6B;
  --light-gray:       #ABABAB;
  --divider:          #E8E4DD;
  --accent-teal:      #4A8B8C;
  --accent-teal-light:#6BA8A9;
  --accent-gold:      #B8956A;
  --step-bg:          #EAF3F3;
  --merit-bg:         #F0F7F7;
  --demerit-bg:       #FAF5F0;
  --compare-even:     #F8F6F2;
}

.post {
  background-color: #fff;
  padding: 0;
}

/* ─── Reset (column scope) ─── */
.col-wrap * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ─── Base Typography ─── */
.col-wrap {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  line-height: 2.0;
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}

/* ─── Page Wrapper ─── */
.page-wrap {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 56px 32px 100px;
  border-bottom: 1px dashed #000;
}

/* ─── Article Tag ─── */
.article-tag {
  display: inline-block;
  background: var(--accent-teal);
  color: white;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
  font-weight: 500;
}

/* ─── H1 ─── */
h1.article-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--charcoal);
  border-left: 4px solid var(--accent-teal);
  padding-left: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

/* ─── Article Meta ─── */
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--mid-gray);
  letter-spacing: 0.06em;
}
.article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─── Lead Box ─── */
.lead-box {
  background: var(--step-bg);
  border-left: 3px solid var(--accent-teal);
  padding: 24px 28px;
  margin-bottom: 48px;
  border-radius: 0 4px 4px 0;
}
.lead-box p {
  color: var(--charcoal);
  line-height: 2;
  font-size: 16px;
}
.lead-box p + p { margin-top: 14px; }

/* ─── Table of Contents ─── */
.toc {
  background: var(--cream);
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 28px 32px;
  margin-bottom: 60px;
}
.toc-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--mid-gray);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.toc ol {
  padding-left: 20px;
  counter-reset: toc-counter;
  list-style: none;
}
.toc > ol > li {
  counter-increment: toc-counter;
  margin-bottom: 10px;
  position: relative;
  display: block !important;
}
.toc > ol > li::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-weight: 700;
  color: var(--accent-teal);
  margin-right: 10px;
  letter-spacing: 0.06em;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
}
.toc a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.7;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.toc a:hover {
  color: var(--accent-teal);
  border-bottom-color: var(--accent-teal-light);
}
.toc ul {
  margin-top: 8px;
  padding-left: 16px;
  list-style: none;
}
.toc ul li {
  margin-bottom: 6px;
  display: block !important;
}
.toc ul li::before {
  content: '—';
  color: var(--light-gray);
  margin-right: 8px;
  font-size: 14px;
}
.toc ul a {
  font-size: 15px;
  color: var(--mid-gray);
}

/* ─── Section Headings ─── */
.col-wrap h2.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 23px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 72px 0 24px;
  padding-bottom: 14px;
  border-top: 0;
  border-bottom: 2px solid var(--charcoal);
  letter-spacing: 0.02em;
  position: relative;
}
.col-wrap h2.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-teal);
}

.col-wrap h3.subsection-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 44px 0 18px;
  padding-left: 14px;
  border-left: 3px solid var(--accent-teal-light);
  letter-spacing: 0.02em;
  line-height: 1.6;
  background-color: #fff;
}


/* ─── Body Text ─── */
.body-text p {
  margin-bottom: 22px;
  color: var(--charcoal);
  font-size: 17px;
  line-height: 2.05;
}

/* ─── Section Intro ─── */
.section-intro {
  background: var(--cream);
  border-radius: 4px;
  padding: 22px 26px;
  margin-bottom: 30px;
  font-size: 16px;
  color: var(--mid-gray);
  line-height: 1.95;
}
.section-intro p + p { margin-top: 14px; }

/* ─── Recommend Box ─── */
.recommend-box {
  background: var(--merit-bg);
  border: 1px solid #C5DEDE;
  border-radius: 4px;
  padding: 26px 30px;
  margin: 28px 0;
}
.recommend-box .rec-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-teal);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.recommend-box ul {
  list-style: none;
  padding: 0;
}
.recommend-box ul li {
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid #D7EAEA;
  font-size: 16px;
  color: var(--charcoal);
  position: relative;
  line-height: 1.8;
}
.recommend-box ul li:last-child { border-bottom: none; }
.recommend-box ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: 700;
}

/* ─── Compare Table ─── */
.compare-table-wrap {
  overflow-x: auto;
  margin: 28px 0 36px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 580px;
}
.compare-table thead th {
  padding: 14px 20px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-align: center;
}
.compare-table thead th:first-child {
  background: var(--charcoal);
  color: white;
  text-align: left;
  width: 26%;
}
.compare-table thead th:nth-child(2) {
  background: var(--accent-teal);
  color: white;
  width: 37%;
}
.compare-table thead th:nth-child(3) {
  background: #7A8C9A;
  color: white;
  width: 37%;
}
.compare-table tbody tr:nth-child(even) td { background: var(--compare-even); }
.compare-table tbody tr:nth-child(odd)  td { background: var(--warm-white); }
.compare-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--divider);
  line-height: 1.75;
  vertical-align: top;
}
.compare-table tbody td:first-child {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--mid-gray);
  background: var(--cream) !important;
  white-space: nowrap;
}
.tag-good {
  display: inline-block;
  background: #EAF5F5;
  color: var(--accent-teal);
  font-size: 13px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 4px;
  letter-spacing: 0.06em;
}
.tag-note {
  display: inline-block;
  background: #F5F0EA;
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 4px;
  letter-spacing: 0.06em;
}

/* ─── Merit / Demerit Cards ─── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 36px;
}
.merit-card {
  background: var(--merit-bg);
  border: 1px solid #C5DEDE;
  border-radius: 4px;
  padding: 20px 22px;
}
.demerit-card {
  background: var(--demerit-bg);
  border: 1px solid #E2D5C3;
  border-radius: 4px;
  padding: 20px 22px;
}
.card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 8px;
}
.merit-card  .card-num { color: var(--accent-teal); }
.demerit-card .card-num { color: var(--accent-gold); }
.card-heading {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--charcoal);
}
.card-body { font-size: 16px; color: var(--mid-gray); line-height: 1.85; }

/* ─── Steps ─── */
.steps-wrap { margin: 32px 0; }
.step-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0;
  margin-bottom: 4px;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 31px;
  top: 64px;
  width: 2px;
  height: calc(100% - 32px + 4px);
  background: var(--divider);
}
.step-num {
  width: 62px;
  height: 62px;
  background: var(--accent-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.step-num .step-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}
.step-num .step-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
.step-content {
  background: var(--step-bg);
  border: 1px solid #C5DEDE;
  border-radius: 4px;
  padding: 22px 26px;
  margin-left: 16px;
  margin-bottom: 20px;
}
.step-content h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.step-content p { font-size: 16px; color: var(--mid-gray); line-height: 1.9; }
.step-content p + p { margin-top: 12px; }

/* ─── Cost Table ─── */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin: 24px 0 32px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.cost-table thead th {
  background: var(--accent-teal);
  color: white;
  padding: 13px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.cost-table tbody tr:nth-child(odd)  td { background: var(--warm-white); }
.cost-table tbody tr:nth-child(even) td { background: var(--cream); }
.cost-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--divider);
  line-height: 1.75;
}
.cost-table tbody td:first-child { font-weight: 600; font-size: 16px; }
.price-highlight {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 400;
  color: var(--accent-teal);
  letter-spacing: 0.02em;
}

/* ─── Caution Box ─── */
.caution-box {
  background: #FDF8F2;
  border: 1px solid #E8D4B8;
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 4px 4px 0;
  padding: 18px 24px;
  margin: 22px 0;
  font-size: 16px;
  color: #6B5A3E;
  line-height: 1.85;
}
.caution-box strong { color: var(--accent-gold); }

/* ─── Point List (院選びポイント) ─── */
.point-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 32px;
}
.point-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--divider);
}
.point-list li:last-child { border-bottom: none; }
.point-badge {
  background: var(--accent-teal);
  color: white;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  flex-shrink: 0;
  margin-top: 2px;
}
.point-content { font-size: 16px; line-height: 1.9; color: var(--charcoal); }
.point-content strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--charcoal);
}

/* ─── Q&A ─── */
.qa-item {
  margin-bottom: 6px;
  border: 1px solid var(--divider);
  border-radius: 4px;
  overflow: hidden;
}
.qa-q {
  background: var(--charcoal);
  color: white;
  padding: 16px 22px;
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.qa-q .q-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-teal-light);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 1px;
}
.qa-a {
  background: var(--warm-white);
  padding: 18px 22px 18px 58px;
  font-size: 17px;
  line-height: 1.95;
  color: var(--mid-gray);
  border-top: 1px solid var(--divider);
  position: relative;
}
.qa-a::before {
  content: 'A';
  position: absolute;
  left: 22px;
  top: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-gold);
  line-height: 1;
}

/* ─── Summary Box ─── */
.summary-box {
  background: var(--charcoal);
  color: white;
  border-radius: 6px;
  padding: 40px 44px;
  margin-top: 60px;
}
.summary-box h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px !important;
  font-weight: 400;
  color: white;
  margin-top: 0 !important;
  margin-bottom: 22px !important;
  padding-bottom: 16px !important;
  border-top: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}
.summary-box p {
  font-size: 17px;
  line-height: 2;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}
.cta-btn {
  display: inline-block;
  margin-top: 24px;
  background: var(--accent-teal);
  color: white !important;
  padding: 14px 36px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none !important;
  transition: background 0.2s;
}
.cta-btn:hover { background: var(--accent-teal-light); }

/* ─── Author Card ─── */
.author-card {
  margin-top: 60px;
  border: 1px solid var(--divider);
  border-radius: 6px;
  overflow: hidden;
  background: var(--warm-white);
}
.author-card-header {
  background: var(--charcoal);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
}
.author-card-body {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 0;
}
/* Photo column */
.author-photo-col {
  padding: 28px 20px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-right: 1px solid var(--divider);
}
.author-photo {
  width: 132px;
  height: 132px;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  display: block;
}
/* Photo placeholder (used when no real image) */
.author-photo-placeholder {
  width: 132px;
  height: 132px;
  border-radius: 4px;
  background: var(--cream);
  border: 1px dashed var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--light-gray);
}
.author-name-block {
  text-align: center;
  line-height: 1.5;
}
.author-role {
  font-size: 13px;
  color: var(--mid-gray);
  font-weight: 400;
  display: block;
  margin-bottom: 4px;
}
.author-ruby {
  font-size: 11px;
  color: var(--light-gray);
  display: block;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.author-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.06em;
}

/* Data columns */
.author-data-col {
  padding: 24px 24px 24px 28px;
}
.author-data-col + .author-data-col {
  border-left: 1px solid var(--divider);
}
.author-data-label {
  display: inline-block;
  background: #0D2666;
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  margin-bottom: 16px;
  border-radius: 2px;
}
.author-data-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.author-data-list li {
  font-size: 15px;
  color: var(--charcoal);
  padding: 7px 0;
  border-bottom: 1px solid var(--divider);
  line-height: 1.7;
}
.author-data-list li:last-child { border-bottom: none; }

/* ─── Responsive ─── */
@media (max-width: 700px) {
  .page-wrap {
    padding: 36px 0px 80px;
    width: 100%;
  }
  h1.article-title  { font-size: 22px; }
  h2.section-title  { font-size: 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .summary-box { padding: 28px 22px; }

  /* Author card stacks vertically on mobile */
  .author-card-body {
    grid-template-columns: 1fr;
  }
  .author-photo-col {
    flex-direction: row;
    align-items: flex-start;
    border-right: none;
    border-bottom: 1px solid var(--divider);
    padding: 20px 20px;
    gap: 20px;
  }
  .author-name-block { text-align: left; }
  .author-data-col + .author-data-col {
    border-left: none;
    border-top: 1px solid var(--divider);
  }
  .author-data-col { padding: 20px; }
}
