@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;500;600;700&display=swap");
:root {
  --csl-primary: #bf8c4e;
  --csl-bg-box: #f8f5f0;
  --csl-text-main: #333333;
  --csl-bg-page: #f9f6f1;
  --csl-border-soft: #eae3da;
}

#csl-container {
  font-family: "Noto Serif SC", "Noto Serif JP", serif;
  background-color: var(--csl-bg-page);
  padding: 20px;
  border-radius: 16px;
}
.csl-search-box {
  background-color: var(--csl-bg-box);
  padding: 35px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid var(--csl-border-soft);
}
.csl-search-title {
  font-size: 28px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 25px;
  color: var(--csl-text-main);
}
.csl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 25px;
}
.csl-filter-group {
  flex: 1;
  min-width: 220px;
}
.csl-filter-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--csl-text-main);
}
.csl-dropdown {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--csl-border-soft);
  border-radius: 8px;
  background-color: #fff;
  color: var(--csl-text-main);
  font-size: 16px;
  font-family: "Noto Serif JP", serif;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23BF8C4E%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 18px top 50%;
  background-size: 0.6em auto;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.csl-dropdown:focus {
  border-color: var(--csl-primary);
  box-shadow: 0 0 0 3px rgba(191, 140, 78, 0.15);
  outline: none;
}
.csl-dropdown:disabled {
  background-color: #f5f2f0;
  cursor: not-allowed;
  opacity: 0.7;
}
.csl-text-search-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.csl-input-container {
  position: relative;
  flex-grow: 1;
}
#csl-search-input {
  width: 100%;
  padding: 14px 50px 14px 25px;
  border: 1px solid var(--csl-border-soft);
  border-radius: 30px;
  background-color: #fff;
  box-sizing: border-box;
  font-size: 16px;
  font-family: "Noto Serif JP", serif;
  color: var(--csl-text-main);
  transition: border-color 0.3s, box-shadow 0.3s;
}
#csl-search-input:focus {
  border-color: var(--csl-primary);
  box-shadow: 0 0 0 3px rgba(191, 140, 78, 0.15);
  outline: none;
}
#csl-search-icon-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 55px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"%3e%3cpath fill="%23BF8C4E" d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"/%3e%3c/svg%3e');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
#csl-search-icon-btn:hover {
  opacity: 1;
}
#csl-suggestions-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--csl-border-soft);
  list-style: none;
  margin: 0;
  padding: 5px;
  z-index: 1000;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: none;
  overflow: hidden;
}
#csl-suggestions-list li {
  padding: 12px 20px;
  cursor: pointer;
  font-size: 15px;
  color: var(--csl-text-main);
  border-radius: 8px;
  transition: background-color 0.2s;
}
#csl-suggestions-list li:hover {
  background-color: var(--csl-bg-box);
}
#csl-current-location-button {
  background-color: var(--csl-primary);
  color: white;
  border: none;
  padding: 14px 25px;
  cursor: pointer;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.3s;
  font-family: "Noto Serif SC", serif;
  font-weight: 500;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(191, 140, 78, 0.2);
}
#csl-current-location-button:hover {
  background-color: #a67942;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(191, 140, 78, 0.3);
}
#csl-mobile-tabs {
  display: none;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 25px auto;
  background-color: var(--csl-bg-box);
  border-radius: 30px;
  padding: 5px;
  border: 1px solid var(--csl-border-soft);
}
.csl-tab {
  flex: 1;
  text-align: center;
  padding: 10px 15px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  color: var(--csl-text-main);
  transition: all 0.3s ease;
  border: none;
  background: transparent;
}
.csl-tab.active {
  background-color: #fff;
  color: var(--csl-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
#csl-stores-count {
  font-weight: 600;
  color: var(--csl-text-main);
  margin-bottom: 20px;
  font-size: 18px;
}
#csl-results-wrapper {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 15px;
}
#csl-map {
  height: 700px;
  width: 100%;
  border-radius: 12px;
  background-color: #f0f0f0;
  z-index: 1;
}
#csl-list-container,
.csl-store-list-container {
  max-height: 700px;
  overflow-y: auto;
}
.csl-no-results,
.csl-loader-container p {
  text-align: center;
  padding: 40px;
  color: #777;
}
.csl-store-item {
  padding: 25px 20px;
  border-bottom: 1px solid var(--csl-border-soft);
  transition: background-color 0.3s;
  cursor: pointer;
}
.csl-store-item:hover {
  background-color: #fff;
}
.csl-store-item:last-child {
  border-bottom: none;
}
.csl-store-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.csl-title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}
.csl-store-number {
  background-color: var(--csl-primary);
  color: white;
  font-weight: 700;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 8px;
  font-size: 14px;
}
.csl-store-details h3 {
  margin: 0;
  font-size: 22px;
  color: var(--csl-text-main);
  font-weight: 600;
}
.csl-detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: #555;
}
.csl-detail-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 15px;
  line-height: 1.7;
  align-items: start;
}
.csl-detail-item:not(:last-child) {
  border-bottom: 1px solid var(--csl-border-soft);
  padding-bottom: 10px;
  align-items: center;
}
.csl-detail-item .label {
  font-weight: 600;
  color: var(--csl-text-main);
}
.csl-detail-item .value {
  word-break: break-word;
}
.csl-social-links {
  display: flex;
  gap: 10px;
}
.csl-social-icon {
  display: block;
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s;
}
.csl-social-icon:hover {
  transform: scale(1.1);
}
.csl-social-icon.instagram {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3e%3cpath fill="%23BF8C4E" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"/%3e%3c/svg%3e');
}
.csl-social-icon.line {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3e%3cpath fill="%23BF8C4E" d="M272.1 204.2v71.1c0 1.8-1.4 3.2-3.2 3.2h-11.4c-1.1 0-2.1-.6-2.7-1.5-.6-.9-.9-2.1-.6-3.1l11-51.5-29.5-29.8c-1.3-1.3-1.3-3.3 0-4.6l8-8.1c1.3-1.3 3.3-1.3 4.6 0l22.5 22.7 32.7-16.4c1.6-.8 3.5.1 4.2 1.7zm-39-114.1C152.1 90.1 82 155.2 82 235.1c0 33.3 12.1 63.9 32.5 88.1l-23.3 64.2c-2.1 5.8 4.2 11.4 9.8 8.9l69.1-30.8c23.2 13.2 49.9 20.6 78 20.6 81.1 0 147.2-61.9 147.2-138.4C395.3 155.1 323.2 90.1 233.1 90.1zm-104.2 270c-1.8 1.8-4.2 2.8-6.7 2.8-4.3 0-8.2-2.9-9.5-7.1l-10.7-35.3c-1.9-6.3 4.2-12.2 10.3-9.9l36.3 13.5c1 .4 1.8.9 2.6 1.7l-22.3 24.3zm187.3-64.4c-2.4 2.4-5.6 3.7-8.9 3.7h-11.4c-3.3 0-6.4-1.3-8.8-3.7-2.4-2.4-3.7-5.5-3.7-8.8v-79.3c0-4.2-2.3-8.1-6.1-10.1l-36.3-19c-3-1.6-6.6-1.1-9.1.9l-13.8 11.2c-2.3 1.9-5.6 2-8 .3l-56.5-39.7c-3.3-2.3-7.5-1.5-9.9.9l-13.8 13.8c-2.4 2.4-6.4 2.4-8.8 0l-8-8c-2.4-2.4-2.4-6.4 0-8.8l13.8-13.8c4.2-4.2 10.5-5.9 16.4-4.1l56.5 25.1c3.1 1.4 6.7.6 9.1-1.5l13.8-11.2c5.6-4.5 13.6-5 19.8-1.2l36.3 19c6.5 3.4 10.7 9.8 10.7 17v88.1c0 6.8 5.5 12.3 12.3 12.3h11.4c6.8 0 12.3-5.5 12.3-12.3v-40c0-6.8 5.5-12.3 12.3-12.3h11.4c6.8 0 12.3 5.5 12.3 12.3v40z"/%3e%3c/svg%3e');
}
.csl-takeout-button-wrapper {
  margin-top: 25px;
  /* padding-left: 47px; */
}
.csl-takeout-button {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: #fff;
  color: var(--csl-primary);
  border: 1px solid var(--csl-primary);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.csl-takeout-button:hover {
  background-color: var(--csl-primary);
  color: #fff;
}
.csl-loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #888;
}
.csl-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e0e0e0;
  border-top-color: var(--csl-primary);
  border-radius: 50%;
  margin-bottom: 15px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.csl-numbered-marker {
  background-color: var(--csl-primary);
  border: 2px solid white;
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease-in-out;
}
.csl-numbered-marker:hover {
  transform: scale(1.15);
}
.csl-numbered-marker span {
  font-weight: 700;
  font-size: 14px;
}
.csl-infowindow {
  font-family: "Noto Serif JP", serif;
}
.csl-infowindow h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--csl-text-main);
  font-weight: 600;
}
.csl-infowindow p {
  margin: 0;
  font-size: 14px;
  color: #555;
}
.leaflet-popup-content-wrapper {
  border-radius: 8px;
}
.leaflet-popup-content {
  margin: 13px 20px;
}
.gm-style-iw-c {
  padding: 12px !important;
  border-radius: 10px !important;
}
@media (max-width: 767px) {
  #csl-mobile-tabs {
    display: flex;
  }
  #csl-results-wrapper {
    display: block;
  }
  #csl-map-container {
    display: block;
  }
  #csl-list-container {
    display: none;
  }
  #csl-map {
    height: 500px;
  }
  .csl-search-box {
    padding: 20px;
  }
  .csl-text-search-wrapper {
    flex-direction: column;
  }
  #csl-current-location-button {
    width: 100%;
  }
  .csl-detail-list {
    padding-left: 0;
  }
  .csl-detail-item {
    grid-template-columns: 120px 1fr;
  }
  .csl-takeout-button-wrapper {
    padding-left: 0;
  }
}
@media (min-width: 992px) {
  #csl-results-wrapper {
    grid-template-columns: 45% 55%;
  }
}
