/* =========================================================================
   承認済みUI案の記事のページ（⑬対策ガイド・⑭傾向と対策・⑮利用者の声・⑯よくある質問）。
   UI案: docs/ui_proposal_20261030/project/{Guide,Trends,Voices,Faq}.dc.html
   共通部品（ui.css の u-）に無いものだけをここに書く。クラスは ua- で始める。
   ========================================================================= */

/* ---------- ページ見出し（パンくずを帯の中に入れる。u-pagehead より大きめ） ---------- */
.ua-head { background: var(--u-hero); border-bottom: 1px solid var(--u-line); }
.ua-head-inner { max-width: 1120px; margin: 0 auto; padding: 28px 24px 34px; box-sizing: content-box; }
.ua-head .ua-crumb { font-size: 13px; color: var(--u-muted); display: flex; flex-wrap: wrap; gap: 6px; }
.u .ua-head .ua-crumb a { color: var(--u-muted); }
.u .ua-head .ua-crumb a:hover { color: var(--u-accent); }
.u .ua-head h1 { margin: 14px 0 8px; font-size: 32px; line-height: 1.35; }
.u .ua-head p { max-width: 720px; font-size: 16px; line-height: 1.9; color: var(--u-sub); }

/* 本文の区切り（UI案は見出しの上が40px） */
.ua-section { max-width: 1120px; margin: 0 auto; padding: 40px 24px 0; box-sizing: content-box; }
.ua-section--narrow { max-width: 860px; padding-top: 24px; }
.ua-end { padding-bottom: 56px; }
.u .ua-h2 { font-size: 22px; }
.ua-gap { height: 16px; }
.u .ua-lead { margin: 0 0 16px; font-size: 14px; color: var(--u-muted); line-height: 1.8; }
.u .ua-note { font-size: 13px; color: var(--u-muted); line-height: 1.8; }

/* ---------- 対策ガイドの切り替え（テストの種類／傾向と対策） ---------- */
.ua-switch { max-width: 1120px; margin: 0 auto; padding: 28px 24px 0; box-sizing: content-box; display: flex; flex-wrap: wrap; gap: 8px; }
.u a.ua-switch-item {
  text-decoration: none; font-weight: 700; font-size: 14px; padding: 9px 20px; border-radius: 999px;
  border: 1.5px solid var(--u-accent); background: #fff; color: var(--u-accent);
}
.u a.ua-switch-item:hover { background: var(--u-hero); color: var(--u-accent); }
.u a.ua-switch-item[aria-current="page"] { background: var(--u-accent); color: #fff; }

/* ---------- ⑬ テストの見分け方（番号つきのカード） ---------- */
.ua-steps { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 0; }
.ua-step { flex: 1 1 280px; min-width: 0; border: 1px solid var(--u-line); border-radius: 12px; padding: 22px; box-sizing: border-box; }
.ua-step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--u-hero); color: var(--u-accent); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.u .ua-step h3 { margin: 14px 0 8px; font-size: 17px; }
.u .ua-step p { font-size: 15px; line-height: 1.8; color: var(--u-muted); }

/* ---------- ⑬ 主要WEBテスト一覧の表 ---------- */
.ua-table-wrap { overflow-x: auto; border: 1px solid var(--u-line); border-radius: 10px; }
table.ua-table { width: 100%; border-collapse: collapse; min-width: 980px; background: #fff; }
table.ua-table th { padding: 10px 14px; border-bottom: 1px solid var(--u-line); text-align: left; font-weight: 700; font-size: 13px; white-space: nowrap; background: var(--u-soft); }
table.ua-table td { padding: 14px; border-bottom: 1px solid var(--u-line); font-size: 14px; line-height: 1.7; vertical-align: top; }
table.ua-table tr:last-child td { border-bottom: 1px solid var(--u-line); }
table.ua-table .ua-name { font-weight: 700; white-space: nowrap; }
table.ua-table .ua-sub { color: var(--u-muted); }
table.ua-table .ua-feature { color: var(--u-muted); min-width: 260px; }
.u table.ua-table a.ua-go { font-weight: 700; color: var(--s, var(--u-accent)); text-decoration: none; }
.u table.ua-table a.ua-go:hover { text-decoration: underline; }

/* ---------- 次のページへの帯（淡い緑のカード全体がリンク） ---------- */
.u a.ua-next {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  border: 1px solid var(--u-line); border-radius: 12px; padding: 22px 26px; text-decoration: none;
  color: var(--u-ink); background: var(--u-hero); transition: box-shadow .15s, transform .15s;
}
.u a.ua-next:hover { box-shadow: var(--u-shadow-hover); transform: translateY(-2px); color: var(--u-ink); }
.ua-next-title { font-size: 18px; font-weight: 700; }
.ua-next-text { margin-top: 6px; font-size: 14px; color: var(--u-muted); }
.ua-next-go { font-weight: 700; color: var(--u-accent); }

/* ---------- ⑭ 傾向と対策のカード（見出しの下線に色。シリーズ色は --s） ---------- */
.ua-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.ua-tip { border: 1px solid var(--u-line); border-radius: 12px; padding: 22px; box-sizing: border-box; background: #fff; }
.u .ua-tip h3 {
  font-size: 16px; font-weight: 700; color: var(--s, var(--u-accent)); padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 2px solid color-mix(in srgb, var(--s, var(--u-accent)) 20%, transparent);
}
.ua-tip ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.8; }
.ua-tip li { margin-bottom: 8px; }

/* 淡い灰色の帯（文とボタン） */
.ua-cta { background: var(--u-soft); border-radius: 12px; padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.ua-cta-text { font-size: 15px; line-height: 1.8; }
.u a.ua-cta-btn { background: var(--u-accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 24px; border-radius: 8px; }
.u a.ua-cta-btn:hover { background: var(--u-accent-hover); color: #fff; }

/* ---------- ⑮ アンケート結果 ---------- */
/* 参考になった点（5項目）。数字は大きめ、見た目は .ua-stat と同じ淡い地の控えめなもの */
.ua-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; }
.ua-point { background: var(--u-hero); border-radius: 12px; padding: 18px 12px 16px; box-sizing: border-box; text-align: center; margin: 0; }
.ua-point dt { margin: 0; font-size: 14px; font-weight: 400; color: var(--u-sub); }
.ua-point dd { margin: 4px 0 0; font-size: 40px; font-weight: 700; line-height: 1.3; color: var(--u-accent-hover); }
.ua-point-unit { font-size: 20px; margin-left: 2px; }
.u .ua-source { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: var(--u-muted); }
/* 以前のアンケート結果の部品（2026-11 にページから外した。config/voices.yml の archived_2021 を戻すときに使う） */
.ua-survey { display: flex; flex-wrap: wrap; gap: 20px; }
.ua-stat { flex: 1 1 220px; min-width: 0; background: var(--u-hero); border-radius: 12px; padding: 24px; box-sizing: border-box; text-align: center; }
.ua-stat-label, .ua-stat-sub { font-size: 13px; color: var(--u-muted); }
.ua-stat-value { font-size: 44px; font-weight: 700; color: var(--u-accent-hover); margin: 6px 0; line-height: 1.5; }
.ua-bars { flex: 3 1 420px; min-width: 0; border: 1px solid var(--u-line); border-radius: 12px; padding: 24px; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.ua-bars-title { font-weight: 700; }
.ua-bar-list { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.ua-bar { display: flex; align-items: center; gap: 12px; font-size: 14px; margin: 0; }
.ua-bar dt { flex: 0 0 150px; margin: 0; font-weight: 400; }
.ua-bar dd { flex: 1; display: flex; align-items: center; gap: 12px; margin: 0; }
.ua-bar-track { flex: 1; height: 10px; background: var(--u-hero); border-radius: 5px; overflow: hidden; }
.ua-bar-fill { display: block; height: 10px; background: var(--u-accent); border-radius: 5px; }
.ua-bar-num { flex: 0 0 44px; text-align: right; font-weight: 700; }
@media (max-width: 520px) { .ua-bar dt { flex-basis: 110px; } }

/* ---------- ⑮ 体験談 ---------- */
.ua-voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; }
@media (max-width: 420px) { .ua-voices { grid-template-columns: 1fr; } }
.ua-voice { border: 1px solid var(--u-line); border-radius: 12px; padding: 22px; box-sizing: border-box; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.ua-voice-who { display: flex; align-items: center; gap: 12px; }
.ua-voice-name { min-width: 44px; height: 36px; padding: 0 12px; box-sizing: border-box; white-space: nowrap; border-radius: 999px; background: var(--u-hero); color: var(--u-accent-hover); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.ua-voice-profile { font-size: 13px; color: var(--u-muted); line-height: 1.5; }
.u .ua-voice p { font-size: 15px; line-height: 1.9; }

/* ---------- ⑯ よくある質問（開閉） ---------- */
.ua-faq { border-top: 1px solid var(--u-line); }
.ua-faq details { border-bottom: 1px solid var(--u-line); padding: 4px 0; }
.ua-faq summary { cursor: pointer; padding: 16px 4px; font-size: 16px; font-weight: 700; line-height: 1.6; }
.ua-faq summary:focus-visible { outline: 2px solid var(--u-accent); outline-offset: 1px; }
.ua-faq-a { padding: 0 4px 18px; font-size: 15px; line-height: 1.9; color: var(--u-sub); }
.u .ua-faq-after { margin-top: 22px; font-size: 14px; color: var(--u-muted); }
