/* =========================================================
   TalentBank — doc.css
   料金・特定商取引法に基づく表記など、文章と表が中心のページの本文
   配色・書体・ヘッダー・フッターは common.css のものを使う
   ========================================================= */

.doc { max-width: 860px; margin: 0 auto; padding: 56px 20px 96px; }
.doc a { color: var(--color-accent); }

.doc h1 {
  font-size: 24px; font-weight: 700; line-height: 1.5;
  padding-bottom: 14px; border-bottom: 2px solid var(--color-accent);
}
.doc h2 {
  font-size: 17px; font-weight: 700; line-height: 1.5;
  margin: 44px 0 6px; padding-left: 10px; border-left: 4px solid var(--color-accent);
}

.doc-updated { font-size: 12px; color: var(--color-text-muted); margin-top: 10px; text-align: right; }
.doc-lead { font-size: 15.5px; margin-top: 16px; }
.doc-sub { font-size: 14px; color: var(--color-text-muted); }
.doc-info + .doc-sub { margin-top: 22px; }

/* 項目名と値の一覧(特定商取引法に基づく表記) */
.doc-info dt {
  font-size: 12.5px; font-weight: 700; color: var(--color-text-muted);
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--color-border);
}
.doc-info dt:first-of-type { border-top: 0; padding-top: 0; margin-top: 14px; }
.doc-info dd { font-size: 15.5px; word-break: break-word; }

/* 料金の行(左に項目、右に金額) */
.doc-rows {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 10px; padding: 4px 16px; margin-top: 12px;
}
.doc-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 4px 16px; padding: 11px 0; border-bottom: 1px solid var(--color-border);
}
.doc-row:last-child { border-bottom: 0; }
.doc-row__label { font-size: 14.5px; }
.doc-row__value { font-size: 15.5px; font-weight: 700; text-align: right; }

/* 料金の表(料金ページ) */
.doc-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; background: var(--color-surface); }
.doc-table th,
.doc-table td { border-bottom: 1px solid var(--color-border); padding: 12px 10px; text-align: left; vertical-align: top; }
.doc-table th { background: var(--color-accent-light); font-size: 14px; font-weight: 700; }
.doc-table th:first-child { width: 60%; }
.doc-table th:last-child { text-align: right; }
.doc-table td.doc-table__price { font-weight: 700; white-space: nowrap; text-align: right; }

/* 無料のもの(料金ページ) */
.doc-free { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.doc-free div {
  flex: 1 1 220px; background: var(--color-surface); border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent); border-radius: 10px; padding: 16px 18px;
}
.doc-free b { display: block; font-size: 15px; }
.doc-free span { display: block; font-size: 26px; font-weight: 700; color: var(--color-accent); line-height: 1.4; }
.doc-free small { font-size: 13px; color: var(--color-text-muted); }

/* 文章の段落と注記 */
.doc-terms { margin-top: 10px; }
.doc-terms p { font-size: 15.5px; }
.doc-terms p + p { margin-top: 5px; }
.doc-notes { list-style: none; margin-top: 12px; }
.doc-notes li {
  position: relative; font-size: 13.5px; color: var(--color-text-muted);
  line-height: 1.8; padding-left: 1.3em; margin-top: 5px;
}
.doc-notes li::before { content: "※"; position: absolute; left: 0; }

@media (max-width: 540px) {
  .doc { padding: 36px 16px 64px; }
  .doc h1 { font-size: 21px; }
  .doc-info dd { font-size: 15px; }
  .doc-row { display: block; }
  .doc-row__value { display: block; margin-top: 2px; text-align: left; }
  .doc-table { font-size: 14px; }
  .doc-table td.doc-table__price { white-space: normal; }
}
