#custom-map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.custom-map-modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.custom-map-modal-content {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1002;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.custom-map-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    color: #666;
}

.custom-map-modal-close:hover {
    color: #000;
}

/* ストリートビューペグマンアイコンの表示問題を解決 */
.gm-svpc img {
  max-width: none !important;
}

/* ポップアップの閉じるボタンのスタイル */
.vision-popup-close-button {
  position: absolute;
  right: 10px;
  top: 10px;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  color: #666;
}

.vision-popup-close-button:hover {
  color: #000;
}

/* ポップアップコンテナのスタイル */
.vision-custom-popup {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  padding: 10px;
  position: relative;
  pointer-events: auto;
}

/* ポップアップの位置調整 */
.vision-popup-positioned {
  position: absolute;
  transform: translate(-50%, -50%);
}

