/* 画像主体ページの内容を文字で読むページ（/fees/・/faq/・/company/）。
   official-detail-20260728.css の上に重ねて使う。 */
.text-breadcrumb { margin: 0 0 12px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--detail-muted); font-size: 12px; }
.text-breadcrumb li + li::before { content: "›"; margin-inline-end: 8px; }
.text-breadcrumb a { color: var(--detail-navy); text-underline-offset: 3px; }
.text-meta { margin: 18px 0 0; color: var(--detail-muted); font-size: 13px; }
.text-toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.text-toc a { display: inline-flex; min-block-size: 40px; align-items: center; border: 1px solid var(--detail-line); background: #fff; padding: 6px 14px; color: var(--detail-navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-toc a:hover, .text-toc a:focus-visible { border-color: var(--detail-teal); color: var(--detail-teal); }
.text-section h2 { margin: 8px 0 16px; color: var(--detail-navy); font-size: clamp(24px, 3vw, 34px); line-height: 1.4; }
.text-section h3 { margin: 32px 0 10px; color: var(--detail-navy); font-size: 19px; line-height: 1.5; }
.text-section p, .text-section li { max-inline-size: 860px; }
.text-section ul, .text-section ol { padding-inline-start: 1.4em; }
.text-table-wrap { max-inline-size: 100%; margin-block-start: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.text-table { inline-size: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.text-table caption { padding: 0 0 8px; color: var(--detail-muted); font-size: 13px; text-align: start; }
.text-table th, .text-table td { padding: 14px 16px; border: 1px solid var(--detail-line); text-align: start; vertical-align: top; }
.text-table thead th { background: var(--detail-navy); color: #fff; font-size: 14px; }
.text-table tbody th { background: #f2f5f4; color: var(--detail-navy); white-space: nowrap; }
.text-table .num { font-weight: 700; }
.text-table--wide { min-inline-size: 600px; }
.text-faq { margin: 26px 0 0; border-block-start: 2px solid var(--detail-navy); }
.text-faq-item { padding: 22px 6px; border-block-end: 1px solid var(--detail-line); }
.text-faq-item h3 { margin: 0 0 8px; color: var(--detail-navy); font-size: 18px; line-height: 1.6; }
.text-faq-item h3::before { content: "Q. "; color: var(--detail-teal); }
.text-faq-item p { margin: 0 0 6px; color: var(--detail-ink); }
.text-faq-item .text-faq-more { color: var(--detail-muted); font-size: 14px; }
.text-faq-item a, .text-section a { color: var(--detail-navy); text-underline-offset: 3px; overflow-wrap: anywhere; }
.text-contact { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 22px; }
.text-contact .detail-button { min-inline-size: 200px; }

@media (max-width: 820px) {
  .text-toc a { font-size: 13px; }
  .text-table { font-size: 14px; }
  .text-table th, .text-table td { padding: 10px; }
  .text-table tbody th { white-space: normal; }
  .text-contact .detail-button { min-inline-size: 0; }
}
/* ボタンの文字色は本文リンク色より優先する */
.text-section a.detail-button { color: #fff; text-decoration: none; }
.text-section a.detail-button.secondary { color: var(--detail-navy); }
