@charset "utf-8";

/* ==========================================================================
   シルニアス コラム Vol.46 専用スタイル（最小フォント 12px / 0.75rem 担保）
   ========================================================================== */

:root {
  --c-navy: #1a2e4a;
  --c-blue: #2d5f8a;
  --c-blue-lt: #6a8db3;
  --c-blue-pale: #d5e0eb;
  --c-accent: #e8643a;
  --c-accent-lt: #f0906d;
  --c-accent-pale: #f9d5c5;
  --c-green: #2e7d5b;
  --c-yellow: #f0b429;
  --c-mustard-pale: #f7e2a8;
  --c-light: #f4f7fb;
  --c-border: #d0dae8;
  --c-text: #1e2d3d;
  --c-muted: #556578;
}

/* 本文全体の基本フォント設定 */
.p-columun-wrap {
  font-size: 16px !important;
  line-height: 1.9 !important;
}
.p-normal-txt {
  font-size: 16px !important;
  line-height: 1.95 !important;
  color: var(--c-text) !important;
}

/* 連載紹介・調査概要・回答者属性（Vol.46専用ブロック） */
.series-intro {
  margin: 0 0 24px;
  font-size: 14px !important;
  line-height: 1.95;
  color: var(--c-text);
  background: var(--c-light);
  padding: 18px 22px;
  border-left: 4px solid var(--c-navy);
  border-radius: 2px;
}
.series-intro p {
  margin-bottom: 12px;
  font-size: 14px !important;
}
.series-intro p:last-child {
  margin-bottom: 0;
}

.survey-overview {
  margin: 0 0 24px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 4px;
}
.survey-overview .so-heading {
  font-size: 14px !important;
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-navy);
}
.survey-overview table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px !important;
  line-height: 1.7;
}
.survey-overview th {
  text-align: left;
  vertical-align: top;
  padding: 8px 16px 8px 0;
  color: var(--c-navy);
  font-weight: 700;
  width: 120px;
  border-bottom: 1px solid var(--c-border);
  white-space: nowrap;
  font-size: 13px !important;
}
.survey-overview td {
  text-align: left;
  vertical-align: top;
  padding: 8px 0;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  font-size: 13px !important;
}
.survey-overview tr:last-child th,
.survey-overview tr:last-child td {
  border-bottom: none;
}

.respondent-attrs {
  margin: 0 0 32px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 4px;
}
.respondent-attrs .ra-heading {
  font-size: 14px !important;
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-navy);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.respondent-attrs .ra-heading .ra-n {
  font-size: 12px !important;
  font-weight: 400;
  color: var(--c-muted);
}
.respondent-attrs .ra-item {
  margin-bottom: 16px;
}
.respondent-attrs .ra-item:last-child {
  margin-bottom: 0;
}
.respondent-attrs .ra-label {
  font-size: 13px !important;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 4px;
}
.respondent-attrs .ra-bar {
  display: flex;
  height: 20px;
  border-radius: 2px;
  overflow: hidden;
}
.respondent-attrs .ra-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px !important;
  font-weight: 700;
  padding: 0 3px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.respondent-attrs .ra-legend {
  margin-top: 5px;
  font-size: 12px !important;
  color: var(--c-muted);
  line-height: 1.6;
}
/* 凡例の色見本（■）2026-11-26 最新原稿に合わせて追加 */
.respondent-attrs .ra-legend .ra-key {
  display: inline-block;
  margin-right: 10px;
  white-space: nowrap;
}
.respondent-attrs .ra-legend .ra-sw {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  vertical-align: -1px;
  border-radius: 1px;
}
.respondent-attrs .ra-legend .ra-sw.pale {
  box-shadow: inset 0 0 0 1px rgba(26, 46, 74, 0.35);
}

/* チャート共通コンテナ */
.chart-box {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 24px;
  margin: 26px 0 30px;
  box-shadow: 0 1px 3px rgba(26, 46, 74, 0.04);
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
}
.chart-box .chart-title {
  font-size: 15px !important;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}
.chart-box .chart-subtitle {
  font-size: 13px !important;
  color: var(--c-muted);
  margin-bottom: 18px;
}
.chart-box .chart-note {
  font-size: 12px !important;
  color: var(--c-muted);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--c-border);
  line-height: 1.75;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: 12px !important;
  color: var(--c-muted);
  justify-content: flex-end;
}
.legend .swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  margin-right: 5px;
  vertical-align: middle;
}

/* 100% 積み上げバー（図1） */
.st-row {
  display: grid;
  grid-template-columns: var(--lw, 120px) 1fr var(--rw, 0px);
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px !important;
}
.st-label {
  text-align: right;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.4;
  font-size: 13px !important;
}
.st-label small {
  display: block;
  color: var(--c-muted);
  font-size: 12px !important;
  font-weight: 400;
}
.st-bar {
  display: flex;
  height: 30px;
  border-radius: 2px;
  overflow: hidden;
}
.st-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px !important;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
}

/* 横棒グラフ（図3） */
.hbar-row {
  display: grid;
  grid-template-columns: var(--lw, 150px) 1fr 58px;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px !important;
}
.hbar-label {
  text-align: right;
  font-weight: 600;
  line-height: 1.4;
  font-size: 13px !important;
}
.hbar-label small {
  display: block;
  color: var(--c-muted);
  font-size: 12px !important;
  font-weight: 400;
}
.hbar-track {
  height: 20px;
  background: var(--c-light);
  border-radius: 2px;
  overflow: hidden;
}
.hbar-fill {
  height: 100%;
  border-radius: 2px;
}
.hbar-val {
  font-weight: 700;
  color: var(--c-navy);
  white-space: nowrap;
  font-size: 13px !important;
}

/* グループ縦棒（図2） */
.gvbar {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.gv-group {
  flex: 1;
  min-width: 180px;
}
.gv-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  height: 190px;
  border-bottom: 1.5px solid var(--c-border);
  padding-top: 24px;
}
.gv-col {
  width: 58px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.gv-fill {
  width: 100%;
  position: relative;
  border-radius: 2px 2px 0 0;
}
.gv-val {
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12.5px !important;
  font-weight: 700;
  color: var(--c-navy);
  white-space: nowrap;
}
.gv-xl {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}
.gv-xl div {
  width: 58px;
  text-align: center;
  font-size: 12px !important;
  line-height: 1.4;
}
.gv-xl small {
  display: block;
  color: var(--c-muted);
  font-size: 12px !important;
}
.gv-name {
  text-align: center;
  font-size: 13.5px !important;
  font-weight: 700;
  color: var(--c-navy);
  margin-top: 10px;
}

/* SVG折れ線グラフ（図4） */
.svgchart svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ヒートマップ表（図5） */
table.heat {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  font-size: 12.5px !important;
}
table.heat th {
  font-weight: 700;
  color: var(--c-navy);
  font-size: 12px !important;
  padding: 6px 8px;
  text-align: center;
  vertical-align: bottom;
  line-height: 1.4;
}
table.heat th.row {
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
  font-size: 12px !important;
}
table.heat th small,
table.heat td small {
  display: block;
  font-weight: 400;
  font-size: 12px !important;
  opacity: 0.9;
}
table.heat td {
  text-align: center;
  padding: 10px 4px;
  border-radius: 2px;
  font-weight: 700;
  line-height: 1.35;
  font-size: 12.5px !important;
}
table.heat td.empty {
  background: repeating-linear-gradient(45deg, #f4f7fb, #f4f7fb 4px, #e6ebf2 4px, #e6ebf2 8px);
  color: var(--c-muted);
  font-weight: 400;
}

/* 注記 ＆ 結びボックス */
.column-notes {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
  font-size: 12px !important;
  color: var(--c-muted);
  line-height: 1.85;
}
.column-notes p {
  margin-bottom: 8px;
  font-size: 12px !important;
}
.column-closing {
  margin: 36px 0 24px;
  padding: 24px 26px;
  background: var(--c-navy);
  color: #ffffff;
  border-radius: 4px;
}
.column-closing p {
  font-size: 15px !important;
  line-height: 1.95;
  margin-bottom: 12px;
  color: #ffffff !important;
}
.column-closing p:last-child {
  margin-bottom: 0;
}

/* 執筆者カード・Q&A */
.author-bio {
  font-size: 13.5px !important;
  line-height: 1.85 !important;
}
.faq-answer .p-normal-txt {
  font-size: 14.5px !important;
  line-height: 1.85 !important;
}

@media (max-width: 640px) {
  .hbar-row {
    grid-template-columns: 110px 1fr 45px;
    gap: 6px;
  }
  .st-row {
    grid-template-columns: 90px 1fr;
    gap: 6px;
  }
  .survey-overview th {
    width: 90px;
    padding-right: 10px;
    font-size: 12px !important;
  }
  .survey-overview td {
    font-size: 12px !important;
  }
  table.heat {
    font-size: 12px !important;
  }
}