/* =============================================
   インプラス お客様満足度  css/page-satisfaction.css
   index.html の満足度セクション / satisfaction.html で共用
   依存: css/tokens.css・css/components.css
   ============================================= */

/* ── セクション枠 ── */
.sat-section {
  margin-bottom: 40px;
}

p.sat-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin: 0 0 16px;
  line-height: 1.7;
}

/* ── 数値カード ── */
.sat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 28px;
}

.sat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px 16px;
  text-align: center;
}

.sat-cards .sat-num {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin: 0;
}

.sat-cards .sat-num .sat-unit {
  font-size: 0.55em;
  font-weight: 600;
  margin-left: 2px;
}

.sat-cards .sat-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin: 8px 0 0;
}

.sat-cards .sat-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0 0;
}

.sat-cards .sat-source {
  display: block;
  margin-top: 4px;
  font-weight: 700;
}

/* ── お客様の声 ── */
.sat-voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 20px;
}

.sat-voice {
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--gray);
  padding: 14px 16px;
}

.sat-voices .sat-voice-text {
  font-size: 0.88rem;
  line-height: 1.8;
  margin: 0;
}

.sat-voices .sat-voice-src {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0 0;
}

/* ── 詳細ページ：調査概要リスト ── */
.sat-outline {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--gray);
  padding: 18px 24px;
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 6px 16px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.sat-outline dt {
  font-weight: 700;
  color: var(--navy);
}

.sat-outline dd {
  margin: 0;
}

/* ── 詳細ページ：数値の補足 ── */
.sat-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.sat-detail-list li {
  border-bottom: 1px dotted var(--border);
  padding: 10px 4px;
  line-height: 1.8;
  font-size: 0.92rem;
}

.sat-detail-list .sat-detail-num {
  font-weight: 700;
  color: var(--blue);
  margin-right: 0.5em;
}

/* ── 詳細ページ：推移グラフ ── */
.sat-figure {
  margin: 0 0 16px;
  text-align: center;
}

.sat-figure img {
  width: 100%;
  max-width: 860px;
  height: auto;
}

.sat-figure .sat-caption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 8px auto 0;
  max-width: 860px;
  text-align: left;
}

/* ── 詳細ページ：評価いただいている点 ── */
.sat-topic {
  margin: 0 0 20px;
}

.sat-topic .sat-voice {
  margin-bottom: 10px;
}

/* ── 詳細ページ：課題リスト ── */
.sat-issues {
  margin: 0.5em 0 0.8em 2.5em;
  line-height: 1.9;
}

/* ── 詳細ページ：末尾の誘導 ── */
.sat-links {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 32px;
}

.sat-links p {
  margin: 0.4em 0;
}

/* ── スマホ ── */
@media (max-width: 768px) {
  .sat-cards,
  .sat-voices {
    grid-template-columns: 1fr;
  }
  .sat-outline {
    grid-template-columns: 1fr;
    padding: 16px 18px;
  }
  .sat-outline dd {
    margin: 0 0 6px;
  }
  .content-wrapper table.sat-table {
    width: 100%;
    font-size: 12px;
  }
  .content-wrapper table.sat-table th,
  .content-wrapper table.sat-table td {
    padding: 6px;
  }
}
