/* 全ページ共通の読みやすさ。地図・QR・独自の文字サイズ設定は上書きしない。 */
main { overflow-wrap: anywhere; }
main :where(p, li) { line-height: 1.85; }
main :where(h1, h2, h3) { line-height: 1.5; text-wrap: balance; }
main :where(h2, h3) { scroll-margin-top: 110px; }
main :where(p + p) { margin-top: .8em; }
main :where(.policy-content, .settings-content) { max-width: 800px; margin-inline: auto; }
main :where(.policy-content, .settings-content) h2 { margin-block: 1.8em .7em; }
main :where(.policy-content, .settings-content) h3 { margin-block: 1.4em .6em; }
main :where(.policy-content, .settings-content) ul { padding-inline-start: 1.4em; }
main :where(.note, .n-date, .sec-desc, .ph-desc) { opacity: 1; }
main :where(.news-card, .purpose-card, .acc-card, .rule-card, .hub-release) { min-width: 0; }
main :where(.news-card, .acc-card, .hub-release) p { max-width: 75ch; }
main :where(.btn) { white-space: normal; min-height: 44px; text-align: center; }
main :where(input:not([type=checkbox]):not([type=radio]), select, textarea) { max-width: 100%; }
main :where(summary) { cursor: pointer; line-height: 1.6; }
.news-month, .news-archive { grid-column: 1 / -1; min-width: 0; border: 1px solid #ceb492; border-radius: 12px; padding: 0 16px; background: #fffcf7; color: #40311f; }
.news-month > summary, .news-archive > summary { padding-block: 16px; min-height: 48px; font-weight: 700; }
.news-month .news-card, .news-archive .news-card { margin-block: 12px; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #146b9b; outline-offset: 3px; }
@media (max-width: 600px) {
  main :where(.container) { padding-inline: 16px; }
  main :where(.sec-between) { flex-wrap: wrap; gap: 16px; }
  main :where(.sec-title) { font-size: clamp(23px, 6vw, 30px); }
  main :where(.ph-title) { font-size: clamp(27px, 7.5vw, 36px); }
  main :where(.policy-content, .settings-content) { font-size: 1rem; }
  main :where(input:not([type=checkbox]):not([type=radio]), select, textarea) { font-size: max(16px, 1em); }
  main :where(.policy-content) table { display: block; max-width: 100%; overflow-x: auto; }
  .site-footer .f-legal { flex-wrap: wrap; gap: 8px 16px; }
  .site-footer .f-legal a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
