@charset "UTF-8";
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-VF.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Noto Sans JP Bold";
  src: url("../fonts/NotoSansJP-VF.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "wght" 700;
  font-display: block;
}
@font-face {
  font-family: "Noto Serif JP";
  src: url("../fonts/NotoSerifJP-VF.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Noto Serif JP Bold";
  src: url("../fonts/NotoSerifJP-VF.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "wght" 700;
  font-display: block;
}
#search-wrapper {
  position: relative;
  margin-bottom: 15px;
  flex-shrink: 0;
}

#show-filters-btn {
  background-color: #666;
  color: #fff;
  text-align: left;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
}
#show-filters-btn.hidden {
  display: none;
}
#show-filters-btn::after {
  content: "▼";
  font-size: 0.8em;
}
#show-filters-btn.collapsed::after {
  content: "▶";
}

#filter-container {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  background: #fff;
  overflow-y: auto;
  flex-grow: 1;
  min-height: 0;
  margin-bottom: 5px;
}
#filter-container.hidden {
  display: none;
  flex-grow: 0;
}

.master-toggle,
.focus-toggle {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tree-root {
  flex-grow: 1;
  min-height: 0;
}
.tree-root ul {
  list-style: none;
  padding-left: 18px;
  display: none;
}
.tree-root ul.root-list {
  display: block;
  padding-left: 0;
}

.tree-item {
  margin: 5px 0;
}
.tree-item.open > ul {
  display: block;
}
.tree-item .toggle-icon {
  cursor: pointer;
  display: inline-block;
  width: 14px;
  margin-right: 5px;
  color: #666;
  font-family: monospace;
  user-select: none;
  text-align: center;
}
.tree-item .toggle-icon::before {
  content: "▶";
}
.tree-item.open > .toggle-icon::before {
  content: "▼";
}
.tree-item .leaf-spacer {
  display: inline-block;
  width: 19px;
}

label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

input[type=checkbox] {
  margin-right: 8px;
  accent-color: #007bff;
}

.webgl-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
  background-color: #f8f9fa;
  color: #333;
}
.webgl-error-container h2 {
  color: #dc3545;
  margin-bottom: 15px;
  font-size: 1.5rem;
}
.webgl-error-container p {
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #666;
}
.webgl-error-container .error-link {
  background: none;
  border: none;
  padding: 0;
  color: #007bff;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}
.webgl-error-container .error-link:hover {
  color: rgb(0%, 33.7647058824%, 70%);
}

.custom-map-ctrl-btn {
  display: block;
  width: auto;
  padding: 5px 10px;
  border: none;
  background: #fff;
  color: #333;
  font: 600 0.8rem/1 "Segoe UI", Helvetica, Arial, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.custom-map-ctrl-btn:hover {
  background: #e9ecef;
}
.custom-map-ctrl-btn.flag-btn {
  padding: 0;
  width: 33px;
  height: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  opacity: 0.85;
  transition: opacity 0.2s, box-shadow 0.2s;
}
.custom-map-ctrl-btn.flag-btn:hover {
  opacity: 1;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  background-color: transparent;
}

.maplibregl-ctrl-group:has(.flag-btn) {
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.popup-link {
  background: none;
  border: none;
  padding: 0;
  color: #007bff;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.9rem;
}
.popup-link:hover {
  color: rgb(0%, 33.7647058824%, 70%);
  text-decoration: underline;
}
.popup-link::after {
  content: " →";
  transition: transform 0.2s;
}
.popup-link:hover::after {
  transform: translateX(4px);
}

.maplibregl-popup-content {
  padding: 15px;
  border-radius: 8px;
}

.popup-title {
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid #eee;
  margin-bottom: 5px;
}

/*# sourceMappingURL=map.css.map */
