/* ══════════════════════════════════════════
   article.css — コラム記事専用
   column/[記事].html で読み込む
   ══════════════════════════════════════════ */

/* ── PROGRESS BAR ── */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 200; width: 0;
  pointer-events: none;
}

/* ── ARTICLE LAYOUT ── */
.article-wrap { max-width: 780px; margin: 0 auto; padding: 104px 24px 96px; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 0.75rem; color: var(--muted); margin-bottom: 36px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.breadcrumb .sep { opacity: 0.4; }

/* ── ARTICLE HEADER ── */
.article-header { margin-bottom: 52px; }
.article-cat {
  display: inline-block; background: rgba(233,69,96,0.15); border: 1px solid rgba(233,69,96,0.35);
  color: #ff6b84; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 18px;
}
.article-header h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 3.2vw, 2rem); font-weight: 700;
  line-height: 1.55; letter-spacing: 0.03em; margin-bottom: 20px;
}
.article-meta {
  display: flex; gap: 20px; align-items: center;
  font-size: 0.78rem; color: var(--muted);
  padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.article-meta .by { color: rgba(255,255,255,0.45); }

/* ── ARTICLE BODY ── */
.article-body { font-size: 0.97rem; line-height: 2.05; }
.article-body p { margin-bottom: 1.4em; color: rgba(255,255,255,0.82); }
.article-body h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.35rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.04em;
  margin: 56px 0 20px; padding-bottom: 12px;
  border-bottom: 2px solid rgba(233,69,96,0.3); color: var(--white);
}
.article-body h3 {
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0.03em;
  margin: 32px 0 14px; color: rgba(255,255,255,0.9);
  display: flex; align-items: center; gap: 8px;
}
.article-body h3::before {
  content: ''; display: inline-block; width: 4px; height: 1em;
  background: var(--accent); border-radius: 2px; flex-shrink: 0;
}
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 1.4em; }
.article-body li { color: rgba(255,255,255,0.78); margin-bottom: 0.5em; line-height: 1.85; }
.article-body strong { color: var(--white); font-weight: 700; }
.article-body em { font-style: normal; color: var(--gold); font-weight: 700; }

/* ── INFO BOX ── */
.info-box {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius); padding: 22px 24px; margin: 24px 0 32px;
}
.info-box.accent { border-color: rgba(233,69,96,0.3); background: rgba(233,69,96,0.06); }
.info-box.gold   { border-color: rgba(245,166,35,0.3); background: rgba(245,166,35,0.06); }
.info-box.blue   { border-color: rgba(126,184,247,0.3); background: rgba(126,184,247,0.06); }
.info-box.green  { border-color: rgba(76,222,138,0.3); background: rgba(76,222,138,0.06); }
.info-box .ib-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.info-box.accent .ib-label { color: var(--accent); }
.info-box.gold   .ib-label { color: var(--gold); }
.info-box.blue   .ib-label { color: var(--blue); }
.info-box.green  .ib-label { color: var(--green); }
.info-box p, .info-box ul { margin-bottom: 0; }
.info-box ul { padding-left: 1.2em; }
.info-box li { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 0.45em; }

/* ── KEY POINT ── */
.key-point {
  background: linear-gradient(135deg, rgba(233,69,96,0.12), rgba(26,26,46,0.8));
  border: 1px solid rgba(233,69,96,0.3);
  border-radius: var(--radius); padding: 22px 24px; margin: 32px 0;
}
.key-point .kp-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 10px; }
.key-point p { font-size: 0.93rem; color: rgba(255,255,255,0.85); margin-bottom: 0; line-height: 1.85; }

/* ── TABLE ── */
.tbl-wrap { overflow-x: auto; margin: 24px 0 32px; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th { padding: 12px 14px; text-align: left; font-weight: 700; background: rgba(255,255,255,0.05); color: var(--muted); border-bottom: 1px solid rgba(255,255,255,0.1); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.05); color: rgba(255,255,255,0.72); line-height: 1.7; }
td:first-child { font-weight: 600; color: rgba(255,255,255,0.88); white-space: nowrap; }
tr:last-child td { border-bottom: none; }

/* ── CTA BLOCK ── */
.cta-block {
  background: linear-gradient(135deg, rgba(233,69,96,0.12), rgba(26,26,46,0.95));
  border: 2px solid rgba(233,69,96,0.3);
  border-radius: 16px; padding: 40px 36px; text-align: center; margin: 64px 0 0;
}
.cta-block .ct-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 14px; }
.cta-block h3 { font-family: 'Noto Serif JP', serif; font-size: 1.3rem; font-weight: 700; line-height: 1.6; margin-bottom: 12px; letter-spacing: 0.04em; }
.cta-block p { font-size: 0.9rem; color: rgba(255,255,255,0.62); line-height: 1.9; margin-bottom: 28px; }
.cta-block a.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #c7253e);
  color: var(--white); font-size: 1rem; font-weight: 800;
  padding: 16px 40px; border-radius: 50px; text-decoration: none;
  box-shadow: 0 6px 24px rgba(233,69,96,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-block a.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(233,69,96,0.55); }
.cta-block small { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 12px; }

/* ── RELATED ── */
.related { margin-top: 64px; }
.related h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem; font-weight: 700; margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.84rem; margin-top: 32px; transition: color 0.2s;
}
.back-link:hover { color: var(--white); }

/* ── TABLE OF CONTENTS (auto-generated) ── */
.toc {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius); padding: 20px 24px; margin: 0 0 40px;
}
.toc-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 12px; text-transform: uppercase;
}
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc-counter; }
.toc li { counter-increment: toc-counter; margin-bottom: 6px; }
.toc li::before {
  content: counter(toc-counter) "."; color: var(--accent);
  font-weight: 700; font-size: 0.82rem; margin-right: 8px;
}
.toc a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 0.88rem; line-height: 1.6; transition: color 0.2s;
}
.toc a:hover { color: var(--white); }

/* ── INLINE MID-ARTICLE CTA (auto-inserted) ── */
.mid-cta {
  background: rgba(233,69,96,0.08); border: 1px solid rgba(233,69,96,0.2);
  border-radius: var(--radius); padding: 20px 24px; margin: 32px 0 40px;
  text-align: center;
}
.mid-cta p { font-size: 0.88rem; color: rgba(255,255,255,0.65); margin-bottom: 12px; line-height: 1.7; }
.mid-cta a {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: 0.85rem; font-weight: 700; padding: 10px 28px;
  border-radius: 50px; text-decoration: none; transition: opacity 0.2s;
}
.mid-cta a:hover { opacity: 0.85; }
.mid-cta small { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 8px; }

/* ── FLOATING BOTTOM CTA BAR ── */
.float-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(26,26,46,0.96); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(233,69,96,0.3);
  padding: 10px 20px; display: flex; align-items: center;
  justify-content: center; gap: 16px;
  transform: translateY(100%); transition: transform 0.35s ease;
}
.float-cta.visible { transform: translateY(0); }
.float-cta-text { font-size: 0.82rem; color: rgba(255,255,255,0.6); white-space: nowrap; }
.float-cta-text b { color: var(--gold); }
.float-cta a {
  display: inline-block; background: linear-gradient(135deg, var(--accent), #c7253e);
  color: var(--white); font-size: 0.82rem; font-weight: 700;
  padding: 8px 24px; border-radius: 50px; text-decoration: none;
  box-shadow: 0 4px 16px rgba(233,69,96,0.35); white-space: nowrap;
  transition: transform 0.2s;
}
.float-cta a:hover { transform: translateY(-2px); }

/* ── SERVICE LINK BELOW CTA ── */
.service-link {
  text-align: center; margin-top: 20px;
}
.service-link a {
  color: rgba(255,255,255,0.45); text-decoration: none;
  font-size: 0.82rem; transition: color 0.2s; border-bottom: 1px solid rgba(255,255,255,0.15);
}
.service-link a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 620px) {
  .article-wrap { padding: 88px 20px 72px; }
  .cta-block { padding: 28px 20px; }
  .float-cta { padding: 8px 12px; gap: 10px; }
  .float-cta-text { display: none; }
  .float-cta a { font-size: 0.78rem; padding: 10px 20px; width: 100%; text-align: center; }
}
