html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

#street-view {
  height: 100%;
}

#floating-panel {
  position: absolute;
  top: 2px;
  /* 上の余白を小さく */
  left: 2px;
  /* 左の余白を小さく */
  z-index: 5;
  background-color: #fff;
  padding: 8px;
  border: 1px solid #999;
  width: 20%;
  /* 横幅を広げる */
  box-sizing: border-box;
  height: auto;
  /* 縦の長さを短く自動調整 */
}

#controls,
#hint-buttons {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
  /* パネル内のマージンを少し減らす */
}

#hint-buttons button {
  padding: 10px;
  font-size: 14px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  flex-grow: 1;
}

#hint-buttons button:hover {
  background-color: #45a049;
}

#hint {
  margin-top: 8px;
  height: 80px;
  /* ヒントエリアの縦の長さを短く */
  overflow: auto;
  background-color: #f9f9f9;
  padding: 8px;
  border: 1px solid #ddd;
}

/* フルスクリーン雨温図表示用のスタイル */
#chart-area {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 10;
  padding: 20px;
  overflow: hidden;
}

#close-hint {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: red;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  z-index: 11;
}

#close-hint.show {
  display: block;
}

#chart-area.show {
  display: block;
}