@font-face {
  font-family: "Noto Sans JP";
  src: url("/fonts/noto-sans-jp.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root { color-scheme: light; color: #000; background: #fff; font-family: "Noto Sans JP", sans-serif; font-synthesis: none; line-height: 1.5; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: #000; text-underline-offset: 3px; }
::selection { color: #fff; background: #000; }
button, input, select { font: inherit; border-radius: 0; color: #000; background: #fff; }
button, summary { cursor: pointer; }
button:disabled { opacity: 1; cursor: wait; }
button:disabled.primary { color: #fff; background: #000; }
button, a, input, select { -webkit-tap-highlight-color: #000; }
[hidden] { display: none !important; }
.icon { flex: none; display: inline-block; vertical-align: middle; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 2; padding: 12px; background: #fff; border: 2px solid #000; }
.skip-link:focus { top: 8px; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
.primary:focus-visible, .phone:focus-visible { outline-offset: 4px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 2px solid #000; }
h1 { margin: 0; font-size: 22px; line-height: 33px; font-weight: 700; white-space: nowrap; }
.brand { text-decoration: none; }
.source-link { font-size: 15px; flex: none; }
main { width: 100%; max-width: 1100px; margin: 0 auto; padding: 20px; overflow-wrap: anywhere; }
h2, h3, p { margin: 0; }
h2 { font-size: 26px; font-weight: 700; line-height: 1.5; }
h3 { font-size: 20px; font-weight: 700; }
p + p { margin-top: 8px; }
.search-bar { display: flex; height: 60px; border: 2px solid #000; }
.search-bar input { flex: 1; min-width: 0; border: 0; padding: 0 16px; font-size: 20px; background: #fff; }
input::placeholder { color: #000; opacity: 1; }
.primary { background: #000; color: #fff; border: 2px solid #000; font-weight: 700; }
.search-submit { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 96px; padding: 0 10px; font-size: 18px; border: 0; }
.search-help { font-size: 14px; line-height: 21px; margin-top: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.filter-control { display: flex; align-items: center; gap: 6px; border: 1px solid #000; min-height: 36px; max-width: 100%; padding-left: 10px; }
.filter-control select { max-width: 100%; min-width: 0; width: auto; font-size: 14px; min-height: 34px; border: 0; padding: 4px 8px 4px 0; }
.municipality-filter { margin-top: 12px; font-size: 14px; }
.municipality-filter summary { width: fit-content; text-decoration: underline; }
.municipality-filter label { display: block; margin-top: 8px; }
.municipality-filter select { width: 100%; max-width: 450px; min-height: 44px; padding: 8px; border: 1px solid #000; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; margin-top: 24px; border-bottom: 1px solid #000; }
.results-toolbar h2, .results-toolbar p { font-size: 14px; line-height: 21px; }
.results-toolbar h2 { white-space: nowrap; }
.scroll-help { display: none; }
[data-enhanced="true"] .scroll-help { display: block; }
.contact { padding: 20px 0; border-bottom: 1px solid #000; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; }
.tags span { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #000; padding: 1px 8px; }
.contact h3 { font-size: 22px; line-height: 1.3; margin-top: 6px; }
.contact-name { text-decoration: none; }
.contact-name:hover { text-decoration: underline; }
.address { display: flex; align-items: baseline; gap: 6px; font-size: 16px; margin-top: 6px; }
.address .icon { align-self: flex-start; margin-top: 4px; }
.contact-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.phone { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #000; color: #fff; text-decoration: none; padding: 10px 16px; text-align: center; }
.phone-caption { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; line-height: 19.5px; }
.phone-number { display: block; max-width: 100%; font-size: 28px; line-height: 42px; letter-spacing: 1px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.secondary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 28px; }
.button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 12px 14px; border: 2px solid #000; font-weight: 700; text-decoration: none; text-align: center; }
.secondary-actions .button { min-height: 44px; padding: 8px; font-size: 15px; gap: 6px; }
.button:hover, .phone:hover { text-decoration: underline; }
.pagination { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; padding: 24px 0; border-bottom: 1px solid #000; }
[data-enhanced="true"] .pagination { display: none; }
.feed-status { padding: 20px 0; font-size: 14px; }
.load-more { width: 100%; margin-bottom: 20px; }
.exports { font-size: 14px; border-bottom: 1px solid #000; padding: 20px 0; }
.exports summary { width: fit-content; }
.downloads { display: flex; flex-wrap: wrap; gap: 16px 24px; padding: 12px 0; }
.exports p { font-size: 13px; }
.note { font-size: 14px; margin-top: 12px; }
.note + .note { margin-top: 0; }
footer { margin-top: auto; width: 100%; border-top: 2px solid #000; padding: 16px 20px; font-size: 14px; }
.api-url { width: 100%; min-width: 0; padding: 8px; border: 1px solid #000; }
.api-page > section { margin-top: 32px; }
.api-page h3 { margin-bottom: 16px; }
.api-page .search-bar button { padding-inline: 16px; }
.api-response, .api-example { border: 1px solid #000; padding: 16px; max-height: 36rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.api-page dt { font-weight: 700; margin-top: 16px; }
.api-page dd { margin: 4px 0 16px; }
.back { margin-bottom: 20px; }
.back a { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; }
.detail-page, .source-page, .data-page, .error-page { max-width: 840px; }
.contact-title { font-size: 28px; line-height: 1.3; margin-top: 4px; }
.detail-phones { display: grid; gap: 10px; margin-top: 14px; }
.detail-actions { display: grid; gap: 38px; margin-top: 38px; }
.contact-provenance { border-top: 2px solid #000; padding-top: 16px; margin-top: 28px; font-size: 14px; }
.source-details-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; font-size: 16px; }
.source-contact { border: 1px solid #000; padding: 16px; margin-top: 14px; }
.source-contact h3 { font-size: 20px; }
.source-contact p { font-size: 14px; margin-top: 4px; }
.source-description { border-top: 2px solid #000; padding-top: 16px; margin-top: 28px; }
.source-description h3 { font-size: 16px; margin-bottom: 16px; }
.source-description > p { margin-top: 16px; }
.source-facts { margin: 20px 0 0; font-size: 16px; }
.source-facts > div { display: grid; grid-template-columns: minmax(100px, 42%) minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.source-facts dt { font-weight: 700; }
.source-facts dd { margin: 0; overflow-wrap: anywhere; }
.original-data { border: 2px solid #000; padding: 16px; margin-top: 16px; }
.original-data h3 { font-size: 20px; margin-bottom: 8px; }
.original-data p { font-size: 14px; }
.original-data .button { margin-top: 38px; }
.provenance-details { margin-top: 24px; font-size: 14px; }
.provenance-details .source-facts { font-size: 13px; }
code { overflow-wrap: anywhere; white-space: break-spaces; font-size: 12px; }
.data-page > p { margin-top: 8px; }
.data-page > section { border-top: 2px solid #000; padding-top: 16px; margin-top: 28px; }
.data-page section > p { font-size: 14px; margin-top: 12px; }
.data-page .button { margin-top: 16px; }
.data-page details { margin-top: 12px; font-size: 14px; }
.data-page ul { padding-left: 20px; }
.data-page li { margin-top: 8px; font-size: 14px; }
.data-table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 14px; margin-top: 16px; }
.data-table caption { text-align: left; font-size: 13px; margin-bottom: 8px; }
.data-table th, .data-table td { border: 1px solid #000; padding: 8px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.data-table tbody th { font-weight: 400; }
.cell-count { display: block; font-size: 12px; margin-top: 6px; }
.error-panel { border: 2px solid #000; padding: 20px; margin-top: 24px; }
.error-page .error-panel { margin-top: 0; }
.error-panel h2, .error-panel h3 { display: flex; align-items: center; gap: 8px; font-size: 24px; line-height: 1.4; }
.error-panel p { margin-top: 20px; }
.error-panel ul { padding-left: 20px; margin-top: 16px; }
.error-panel li { margin-top: 10px; }
.error-panel .button { width: 100%; margin-top: 38px; }
#feed-error { margin-bottom: 20px; }
@media (min-width: 760px) {
  .site-header { padding-inline: max(32px, calc((100vw - 1060px) / 2)); }
  main { padding: 32px; }
  .search { max-width: 760px; }
  .contact { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding: 28px 0; }
  .contact-actions { margin-top: 0; }
  .secondary-actions { padding-top: 4px; }
  footer { padding-inline: max(32px, calc((100vw - 1060px) / 2)); }
  .detail-phones, .detail-actions { max-width: 520px; }
  .source-facts > div { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 359px) {
  h1 { font-size: 18px; }
  .source-link { font-size: 13px; }
  .site-header { gap: 8px; }
  .secondary-actions .button { font-size: 13px; padding-inline: 4px; }
  .data-table { font-size: 12px; }
  .data-table th, .data-table td { padding: 6px; }
}
