body {
  min-width: 980px;
}

a {
  cursor: pointer;
}

#category .input.select,
.legacy-area-layout .input.select {
  margin: 0;
}

#category {
  width: 540px;
}

#category .input.select {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 22px;
}

#category .checkbox,
.legacy-area-layout .checkbox {
  margin: 0 12px 6px 0;
}

#category .checkbox {
  margin: 0 0 6px 0;
  break-inside: avoid;
}

#category .checkbox label {
  white-space: nowrap;
}

.legacy-area-layout {
  float: right;
  width: 330px;
}

.legacy-area-root {
  width: 100px;
  float: left;
  font-size: 20px;
}

.legacy-area-children {
  width: 230px;
  float: right;
}

.legacy-area-children .input.select {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.legacy-area-children .checkbox {
  margin: 0 0 6px 0;
}

.legacy-area-children .checkbox label {
  white-space: nowrap;
}

.legacy-area-group hr {
  margin: 6px 0 12px;
}

.legacy-search-actions {
  float: right;
  margin-top: 1em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legacy-search-panel {
  margin-top: 8px;
}

.legacy-search-toggle {
  display: none;
  margin-bottom: 12px;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid #b8b8b8;
  background: #f7f7f7;
  color: #555;
  font-size: 12px;
  line-height: 20px;
}

.legacy-search-panel.is-searched .legacy-search-toggle {
  display: inline-block;
}

.legacy-search-panel.is-collapsed .legacy-search-panel-body {
  display: none;
}

.legacy-image-button {
  padding: 0;
  border: 0;
  background: transparent;
}

.legacy-text-button,
.legacy-related-button {
  display: inline-block;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid #b8b8b8;
  background: #f7f7f7;
  color: #555;
  font-size: 12px;
  line-height: 20px;
  text-decoration: none;
}

.legacy-text-button:hover,
.legacy-related-button:hover {
  color: #333;
  text-decoration: none;
}

.legacy-results {
  margin-top: 50px;
}

.legacy-results .listBox {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  min-height: 220px;
}

.listDetail {
  width: calc((100% - 40px) / 3);
  min-height: 220px;
  font-size: 10pt;
  margin: 0;
  box-sizing: border-box;
}

.listDetail img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.listDetail h3 {
  max-height: 36px;
  margin: 10px 0 6px;
  overflow: hidden;
  font-size: 14px;
  line-height: 18px;
}

.legacy-empty {
  padding: 30px 0;
}

.paging {
  display: block;
  margin-top: 10px;
}

.paging .pages {
  float: left;
}

.paging a,
.paging button {
  margin-right: 6px;
}

.legacy-page-link {
  border: 0;
  background: transparent;
  color: #666;
  text-decoration: underline;
}

.legacy-page-link.is-current {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

.legacy-page-link[disabled] {
  color: #b3b3b3;
  text-decoration: none;
}

.legacy-spot-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.legacy-thumb {
  display: inline-block;
  margin: 0 5px 10px 0;
}

.legacy-thumb img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  display: block;
}

.legacy-map-card {
  width: 315px;
  height: 315px;
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid #d9d9d9;
  background: #f6f6f6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #666;
  text-decoration: none;
}

.legacy-map-card:hover {
  text-decoration: none;
  color: #333;
}

.legacy-map-card strong {
  color: #333;
  font-size: 16px;
}

.legacy-map-card span {
  line-height: 1.8;
  word-break: break-all;
}

.legacy-spot-actions {
  margin-top: 1em;
}

.legacy-spot-actions::after {
  content: "";
  display: block;
  clear: both;
}

.legacy-message {
  padding: 30px 0;
}
