@import url('modal.css?v=20260814-7');

/* 全ページ共通 */
* {
  box-sizing: border-box
}


body {
  margin: 0;
  font: 14px system-ui, sans-serif;
  color: #172423;
  background: #f4f8f6
}


header {
  min-height: 60px;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #dbe4df;
  background: #fff
}


header .site-logo {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain
}


header>div {
  margin-right: auto
}


header h1 {
  font-size: 24px;
  line-height: 1.15;
  margin: 0
}


.site-info-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer
}


header .site-info-trigger span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit
}


.site-info-trigger:hover {
  color: #075f49
}


.site-info-trigger:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(8, 127, 91, .25);
  outline-offset: 3px
}


.site-info-repository {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 19px;
  border: 1px solid #91b9ab;
  border-radius: 10px;
  background: #f0f8f5;
  color: #075f49;
  font-weight: 700;
  text-decoration: none
}


.site-info-repository:hover {
  border-color: #087f5b;
  background: #e4f3ee
}


.site-info-repository small {
  color: #4d6b62;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap
}


header small {
  display: block;
  color: #5c7169;
  font-weight: 600;
  margin-top: 3px
}


header nav {
  display: flex;
  gap: 0
}


header nav .header-view-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid #a9c2b9;
  background: #fff;
  color: #155e4a;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s ease, background .15s ease, color .15s ease
}


header nav .header-view-tab:first-child {
  border-radius: 8px 0 0 8px
}


header nav .header-view-tab+.header-view-tab {
  margin-left: -1px
}


header nav .header-view-tab:last-child {
  border-radius: 0 8px 8px 0
}


header nav .header-view-tab:hover:not([aria-current="page"]) {
  position: relative;
  border-color: #5f9986;
  background: #edf7f3
}


header nav .header-view-tab:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(8, 127, 91, .28);
  outline-offset: 2px
}


header nav .header-view-tab[aria-current="page"] {
  position: relative;
  z-index: 1;
  border-color: #12634f;
  background: #12634f;
  color: #fff;
  cursor: default
}


header form {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap
}


select,
input,
button {
  padding: 9px;
  border-radius: 6px;
  border: 1px solid #bac9c1;
  background: #fff;
  font: inherit
}


button {
  background: #155e4a;
  color: #fff;
  font-weight: 700
}


.form-select {
  min-width: 0;
  border: 1px solid #a9c0b7;
  border-radius: 6px;
  background: #fff;
  color: #183d33;
  font: inherit
}


.form-select:focus-visible {
  outline: 2px solid rgba(8, 127, 91, .3);
  outline-offset: 1px
}


.form-select:disabled {
  background: #f0f4f2;
  color: #84938e
}


.form-select-compact {
  height: 30px;
  padding: 0 26px 0 8px;
  color: #0b654f;
  font-size: 12px
}


.form-select-fill {
  width: 100%;
  padding: 7px 30px 7px 9px;
  font-size: 13px
}


.csv-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid #bac9c1;
  border-radius: 7px;
  background: #fff;
  color: #155e4a;
  text-decoration: none;
  transition: background-color .15s, border-color .15s
}


.csv-icon-button:hover:not(:disabled) {
  background: #e8f3ee;
  border-color: #7fa998
}


.csv-icon-button:focus-visible {
  outline: 2px solid #16856b;
  outline-offset: 2px
}


.csv-icon-button[hidden] {
  display: none
}


.csv-icon-button:disabled {
  border-color: #d7e1dd;
  background: #f2f5f4;
  color: #9ba9a4;
  cursor: default
}


.csv-icon-button svg {
  width: 19px;
  height: 19px
}


.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important
}

.content-panel {
  min-width: 0;
  padding: 17px 18px 16px;
  border: 1px solid #d5e2dc;
  border-top: 4px solid #2a8c71;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(34, 76, 62, .07)
}


.wide-page-main {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0
}

.primary-map-canvas {
  width: 100%;
  height: 350px
}

.primary-map-panel {
  position: relative;
  border: 1px solid #cdded7
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px
}

.section-heading h3,
.section-heading p {
  margin: 0
}

.section-heading h3 {
  color: #173f34;
  font-size: 18px;
  letter-spacing: .01em
}

.section-heading>span {
  color: #64766f;
  font-size: 12px
}

.summary-grid,
.content-grid,
.item-grid {
  display: grid
}

.summary-total-main,
.summary-total-detail {
  display: block;
  margin: 0;
  color: inherit;
  font-size: inherit
}

.summary-total-detail {
  margin-top: 3px;
  font-size: 12px;
  white-space: nowrap
}

.summary-grid,
.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.summary-section {
  gap: 10px;
  margin-bottom: 16px
}

.summary-item {
  position: relative;
  min-width: 0;
  min-height: 92px;
  padding: 15px;
  border: 1px solid #d5e2dc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(34, 76, 62, .06);
  box-sizing: border-box
}

.summary-item>span,
.summary-item>small {
  display: block;
  color: #64766f
}

.summary-item>span {
  font-size: 12px
}

.summary-item>strong {
  display: block;
  margin: 4px 0;
  color: #0c614b;
  font-size: 23px
}

.summary-item-highlight {
  border-color: #12634f;
  background: linear-gradient(135deg, #12634f, #177d63)
}

.summary-item-highlight>span,
.summary-item-highlight>strong {
  color: #fff
}

.disclosure-panel>summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 9px 11px;
  border-radius: 7px;
  background: #edf5f1;
  color: #155e4a;
  font-weight: 700;
  cursor: pointer;
  list-style: none
}

.disclosure-panel>summary::-webkit-details-marker {
  display: none
}

.disclosure-panel>summary::after {
  content: "＋";
  font-size: 17px;
  font-weight: 400;
  line-height: 1
}

.disclosure-panel[open]>summary {
  margin-bottom: 9px;
  background: #e4f0eb
}

.disclosure-panel[open]>summary::after {
  content: "−"
}

.content-grid {
  gap: 18px
}

.item-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px
}

.item-card {
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d8e5df;
  border-radius: 10px;
  background: #fbfdfc
}

.region-summary-title {
  min-width: 0;
  flex: 0 0 auto;
  margin: 0;
  color: #173f34;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em
}

.map-overlay-panel {
  box-sizing: border-box;
  border: 1px solid rgba(199, 216, 209, .9);
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 3px 14px rgba(24, 54, 44, .18);
  backdrop-filter: blur(4px)
}

.map-overlay-panel-top-left {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  margin: 0;
  padding: 10px 12px
}

.map-followup-content {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 56px
}

@media(max-width:700px) {
  .mobile-hidden { display: none !important }

  .primary-map-canvas { height: 330px }

  .content-grid,
  .item-grid { grid-template-columns: 1fr }

  .map-overlay-panel-top-left {
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    padding: 9px 10px
  }

  .map-followup-content {
    width: calc(100% - 20px)
  }
}

.map-surface {
  overflow: hidden;
  border-radius: 0;
  background: #eaf2ef
}

.map-surface .maplibregl-ctrl-group {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(89, 111, 103, .22), 0 1px 4px rgba(24, 54, 44, .18)
}

.map-surface .maplibregl-ctrl-group button {
  width: 30px;
  height: 30px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: inherit
}

.map-surface .maplibregl-ctrl-group button:hover {
  background-color: #edf7f3
}

.map-surface .maplibregl-ctrl-group button+button {
  border-top: 1px solid #d7e1dd
}

.map-surface .maplibregl-ctrl button .maplibregl-ctrl-icon {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important
}

.map-surface .maplibregl-ctrl-attrib {
  font-size: 10px
}


@media(max-aspect-ratio:1/1) {

  header {
    min-height: 66px;
    height: auto;
    padding: 8px 12px;
    gap: 8px
  }


  header .site-logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px
  }


  header h1 {
    font-size: 20px
  }


}


/* モバイル地物ポップアップ */
@media(max-width:700px) {

  .site-info-repository {
    display: block;
    padding: 14px
  }


  .site-info-repository small {
    display: block;
    margin-top: 5px;
    white-space: normal
  }


}

.map-guide-intro {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75
}


.map-guide-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none
}


.map-guide-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #f3f8f6;
  line-height: 1.55
}


.map-guide-list li>span {
  margin: 0;
  color: #40564f;
  font-size: 13px
}


.map-guide-list strong {
  margin-bottom: 1px;
  color: #173f34;
  font-size: 14px
}


.map-guide-symbol {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #397b69;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700
}


.map-guide-image {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(23, 36, 35, .2)
}


.map-guide-note,
.map-guide-scope {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #d78a4a;
  background: #fff8ef;
  color: #51483e;
  font-size: 13px;
  line-height: 1.65
}


.map-guide-note strong {
  display: block;
  margin-bottom: 2px;
  color: #70451f
}


.map-guide-scope {
  margin-top: 10px;
  border-left-color: #739d90;
  background: #f2f7f5
}


@media(max-width:700px) {
  .map-guide-intro {
    margin-bottom: 14px;
    font-size: 14px
  }


  .map-guide-list {
    gap: 8px
  }


  .map-guide-list li {
    padding: 8px 10px
  }


}


.map-guide-about {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #c7d8d1
}


.map-guide-data-use {
  margin-top: 22px;
  padding: 18px 18px 16px;
  border-top: 3px solid #397b69;
  border-radius: 0 0 10px 10px;
  background: #f2f7f5
}


.map-guide-data-use h3,
.map-guide-data-use p {
  margin: 0
}


.map-guide-data-use h3 {
  color: #174f40;
  font-size: 16px
}


.map-guide-data-use p {
  margin-top: 10px;
  color: #40564f;
  font-size: 12px;
  line-height: 1.75
}


.map-guide-about p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7
}


.map-guide-about .map-guide-about-description {
  margin-top: 8px;
  color: #4b625c
}


.map-guide-repository {
  margin-top: 14px
}


.map-guide-repository span {
  margin: 0;
  color: #075f49;
  font-size: 14px
}


.map-guide-repository small {
  margin: 0;
  color: #4d6b62
}


.map-guide-about .map-guide-license {
  margin-top: 14px;
  color: #60736e;
  font-size: 12px
}


.map-guide-about .map-guide-operator {
  margin-top: 14px;
  color: #40564f;
  font-size: 12px
}


.map-guide-about .map-guide-disclaimer {
  margin-top: 10px;
  color: #60736e;
  font-size: 12px
}


.map-guide-operator a {
  color: #075f49;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px
}


.map-guide-operator a:hover {
  color: #087f5b;
  text-decoration-thickness: 2px
}


.map-guide-operator a:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(8, 127, 91, .25);
  outline-offset: 3px
}


@media(max-width:700px) {
  .map-guide-about {
    margin-top: 18px;
    padding-top: 16px
  }


}

.map-guide-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0
}


.map-guide-title img {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain
}


@media(max-width:700px) {
  .map-guide-title {
    gap: 9px
  }


  .map-guide-title img {
    width: 40px;
    height: 40px;
    flex-basis: 40px
  }


  .map-guide-title h2 {
    font-size: 18px
  }


}


.header-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #a9c2b9;
  border-radius: 8px;
  background: #fff;
  color: #155e4a;
  cursor: pointer
}


.header-menu-toggle svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round
}


.header-menu-toggle:hover {
  border-color: #5f9986;
  background: #edf7f3
}


.header-menu-toggle:focus-visible {
  outline: 3px solid rgba(8, 127, 91, .28);
  outline-offset: 2px
}


@media(max-width:700px) {
  header {
    min-height: 62px;
    height: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 5px 12px;
    padding: 5px 10px;
    position: relative;
    z-index: 20
  }


  header .site-logo {
    width: 32px;
    height: 32px;
    flex-basis: 32px
  }


  header>div {
    min-width: 0;
    margin: 0
  }


  header h1 {
    overflow: hidden;
    font-size: 18px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap
  }


  header .site-info-trigger {
    max-width: 100%
  }


  header .site-info-trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
  }


  header small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.3
  }


  header nav {
    justify-self: end
  }


  .header-menu-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end
  }


  header nav.header-view-tabs {
    position: absolute;
    z-index: 21;
    top: calc(100% - 4px);
    right: 10px;
    display: none;
    min-width: 150px;
    padding: 6px;
    border: 1px solid #a9c2b9;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(14, 45, 37, .22)
  }


  header nav.header-view-tabs.is-open {
    display: flex;
    flex-direction: column
  }


  header nav.header-view-tabs .header-view-tab {
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 8px 13px;
    justify-content: flex-start;
    border: 0;
    border-radius: 6px;
    font-size: 13px
  }


  header nav.header-view-tabs .header-view-tab+.header-view-tab {
    margin: 2px 0 0
  }


}
