/* ==============================
   カテゴリ別ピン
============================== */

.kinki-pin {
  background: transparent !important;
  border: 0 !important;
	color: #467326;
}

.kinki-pin__marker {
  display: block;
  width: 36px;
  height: 44px;
  color: inherit;
  transform: scale(.9);
  transform-origin: center bottom;
  filter:
    drop-shadow(
      0 4px 6px rgba(0, 0, 0, .22)
    );
}

.kinki-pin__marker svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.kinki-pin__shape {
  fill: currentColor;
  stroke: rgba(255, 255, 255, .96);
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.kinki-pin__center {
  fill: #fff;
}


/* 飲食・食品製造 */
.kinki-pin--food {
  color: #e4572e;
}

/* 物販・店舗 */
.kinki-pin--retail {
  color: #c83e78;
}

/* 事務所 */
.kinki-pin--office {
  color: #2878b5;
}

/* 倉庫・保管 */
.kinki-pin--warehouse {
  color: #667085;
}

/* 宿泊施設 */
.kinki-pin--lodging {
  color: #7656b7;
}

/* 教室・教育 */
.kinki-pin--education {
  color: #a56f00;
}

/* その他 */
.kinki-pin--other {
  color: #467326;
}


/* ==============================
   クラスタ
============================== */

.kinki-cluster {
  display: grid !important;
  place-items: center;

  background: transparent !important;
  border: 0 !important;
}

.kinki-cluster__inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;

  width: 48px;
  height: 48px;

  border: 2px solid rgba(70, 115, 38, .22);
  border-radius: 50%;

  background: rgba(255, 255, 255, .9);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, .2);
}

.kinki-cluster__icon {
  display: block;
  width: 17px;
  height: 21px;
  overflow: visible;
}

.kinki-cluster__icon path {
  fill: #467326;
}

.kinki-cluster__icon circle {
  fill: #fff;
}

.kinki-cluster__inner b {
  margin: 0;
  color: #30352d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}


/* ==============================
   背景地図
============================== */

#kinki-map .leaflet-tile-pane {
  filter:
    saturate(.9)
    contrast(.85)
    brightness(1.05);

  opacity: .9;
}


/* ==============================
   成約情報ポップアップ
============================== */

#kinki-map .leaflet-popup-content-wrapper {
  overflow: hidden;

  border:
    1px solid rgba(70, 115, 38, .18);

  border-radius: 14px;

  background:
    rgba(255, 255, 255, .97);

  box-shadow:
    0 8px 28px rgba(0, 0, 0, .18);
}

#kinki-map .leaflet-popup-content {
  margin: 16px 18px;
  color: #333;

  font-family:
    "YakuHanJP",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    sans-serif;
}

#kinki-map .kinki-popup p {
  margin: 0;
}

#kinki-map .kinki-popup__address {
  padding-right: 20px;

  color: #30352d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

#kinki-map .kinki-popup__usage {
  display: flex;
  align-items: flex-start;
  gap: 8px;

  margin-top: 11px;
  padding-top: 10px;

  border-top:
    1px solid rgba(70, 115, 38, .14);
}

#kinki-map .kinki-popup__label {
  flex-shrink: 0;
  display: inline-block;

  padding: 3px 8px;
  border-radius: 20px;

  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

/* ポップアップ：飲食・食品製造 */
#kinki-map
.kinki-popup__label.kinki-popup__label--food {
  background: #e4572e;
}

/* ポップアップ：物販・店舗 */
#kinki-map
.kinki-popup__label.kinki-popup__label--retail {
  background: #c83e78;
}

/* ポップアップ：事務所 */
#kinki-map
.kinki-popup__label.kinki-popup__label--office {
  background: #2878b5;
}

/* ポップアップ：倉庫・保管 */
#kinki-map
.kinki-popup__label.kinki-popup__label--warehouse {
  background: #667085;
}

/* ポップアップ：宿泊施設 */
#kinki-map
.kinki-popup__label.kinki-popup__label--lodging {
  background: #7656b7;
}

/* ポップアップ：教室・教育 */
#kinki-map
.kinki-popup__label.kinki-popup__label--education {
  background: #a56f00;
}

/* ポップアップ：その他 */
#kinki-map
.kinki-popup__label.kinki-popup__label--other {
  background: #467326;
}

#kinki-map .kinki-popup__text {
  flex: 1;

  color: #30352d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
}

#kinki-map .leaflet-popup-tip {
  background:
    rgba(255, 255, 255, .97);
}

#kinki-map .leaflet-popup-close-button {
  top: 5px;
  right: 5px;

  color: #777;
  font-size: 21px;
}

#kinki-map .leaflet-popup-close-button:hover {
  color: #467326;
}


/* ==============================
   カテゴリ凡例
============================== */

.kinki-legend {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 8px 10px;

  margin-top: 13px;
  padding-top: 12px;

  border-top:
    1px solid rgba(70, 115, 38, .14);
}

.kinki-legend__item {
  display: flex;
  align-items: center;
  gap: 7px;

  min-width: 0;

  color: #30352d;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.kinki-legend__pin {
  position: relative;
  flex-shrink: 0;

  display: block;
  width: 12px;
  height: 12px;

  border-radius:
    50% 50% 50% 0;

  background: currentColor;
  transform: rotate(-45deg);

  box-shadow:
    0 2px 4px rgba(0, 0, 0, .15);
}

.kinki-legend__pin::after {
  content: "";
  position: absolute;

  top: 4px;
  left: 4px;

  width: 4px;
  height: 4px;

  border-radius: 50%;
  background: #fff;
}

.kinki-legend__pin--food {
  color: #e4572e;
}

.kinki-legend__pin--retail {
  color: #c83e78;
}

.kinki-legend__pin--office {
  color: #2878b5;
}

.kinki-legend__pin--warehouse {
  color: #667085;
}

.kinki-legend__pin--lodging {
  color: #7656b7;
}

.kinki-legend__pin--education {
  color: #a56f00;
}


/* ==============================
   スマートフォン
============================== */

@media screen and (max-width: 767px) {
  #kinki-map .leaflet-popup-content {
    margin: 14px 15px;
  }

  #kinki-map .kinki-popup__address {
    font-size: 14px;
  }

  #kinki-map .kinki-popup__usage {
    display: block;
  }

  #kinki-map .kinki-popup__text {
    margin-top: 6px !important;
  }
}

/* ==============================
   カテゴリ別ピンカラー
============================== */

/* 飲食・食品製造 */
.kinki-pin--food .kinki-pin__marker {
  color: #e4572e;
}

/* 物販・店舗 */
.kinki-pin--retail .kinki-pin__marker {
  color: #c83e78;
}

/* 事務所 */
.kinki-pin--office .kinki-pin__marker {
  color: #2878b5;
}

/* 倉庫・保管 */
.kinki-pin--warehouse .kinki-pin__marker {
  color: #667085;
}

/* 宿泊施設 */
.kinki-pin--lodging .kinki-pin__marker {
  color: #7656b7;
}

/* 教室・教育 */
.kinki-pin--education .kinki-pin__marker {
  color: #a56f00;
}

/* その他・未設定 */
.kinki-pin--other .kinki-pin__marker {
  color: #467326;
}