.leaflet-overlay-pane svg {
    -webkit-user-select: none; /* Safari 3.1+、iOS Safari、およびAndroidブラウザのサポート */
    -moz-user-select: none; /* Firefox 2+ のサポート */
    -ms-user-select: none; /* Internet Explorer 10+ のサポート */
    user-select: none; /* 非プレフィックスのバージョン、すべてのブラウザでのサポート */
}
html, body {
    height: 100%;
    margin: 0;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}
#map {
    width: 100vw;
    height: 100vh;
}
#info {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    padding: 10px;
    z-index: 1000;
    border-radius: 5px;
    width: fit-content;
    width: -moz-fit-content;
}
.mapButton {
    position: fixed;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 18px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#viewPositionButton {
    top: 15vh;
    left: 10px;
}

.mapInfo {
  position: fixed;
  width: fit-content;
  width: -moz-fit-content;
  border: none;
  border-radius: 5px;
  color: #333;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  z-index: 1000;
  font-size: 0.5em;
}

#qrModal {
  display: none; /* 初期状態で非表示 */
  position: fixed; /* 固定表示 */
  top: 50%; /* 画面中央に表示 */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050; /* Bootstrapのモーダルと同じz-index */
  width: 90%; /* スマートフォンでは画面幅の90%を使用 */
  max-width: 500px; /* 最大幅を500pxに設定 */
  height: auto; /* 高さを自動調整 */
  max-height: 90%; /* 最大高さを画面の90%に設定 */
  overflow-y: auto; /* 縦方向のスクロールを有効にする */
  background-color: white; /* 背景色を白に設定 */
  border-radius: 5px; /* 角を少し丸める */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* 影をつける */
  padding: 20px; /* 内側の余白を追加 */
}

#mapTypeButton {
    bottom: 70px; /* Adjusts position based on viewPositionButton */
}

#zoomOutButton {
    bottom: 120px; /* Adjust to place above map type button */
}

#zoomInButton {
    bottom: 170px; /* Adjust to sit above zoom out button */
}


#viewIdInfo {
  bottom: 10vh; /* ビューポートの高さの10% */
  left: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.footerView {
  position: fixed;
  bottom: 15px;
  right: 5px;
  font-size: 0.5em;
}

@media screen and (max-width: 600px) {
  #viewIdInfo {
      bottom: 70px; /* スマートフォンでは固定値を使用 */
      font-size: 0.4em; /* さらに小さくする */
  }

  .footerView {
      bottom: 10px;
      font-size: 0.4em;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@700;900&display=swap');

.logo {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 5px 8px;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
  line-height: 1.1;
  z-index: 1000;
  transform: rotate(-3deg);
  transition: all 0.3s ease;
}

.logo:hover {
  transform: rotate(0deg) scale(1.05);
}

.logo::before {
  content: '♪';
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
  color: #FF6B6B;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.logo .main-text,
.logo .sub-text {
  display: block;
  background: linear-gradient(45deg, #4ECDC4, #45B7D1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.3));
  font-weight: 900;
  -webkit-text-stroke: 0.5px white;
}

.logo .main-text {
  font-size: 14px;
  letter-spacing: 0.5px;
}

.logo .sub-text {
  font-size: 10px;
  letter-spacing: 1px;
  margin-top: 2px;
}

@media screen and (max-width: 480px) {
  .logo {
    transform: rotate(0deg);
  }
  
  .logo:hover {
    transform: scale(1.05);
  }
}