body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
}

#mapContainer {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

#canvas {
  width: 100%;
  height: 80%; /* 初期状態では地図が80%の高さ */
  background-color: #ddd; /* 地図の背景 */
  transition: height 0.3s ease;
  position: relative;
  overflow: hidden; /* 地図の領域内でのスクロールを防止 */
}

/* resizeHandleのスタイル（Googleマップ風） */
#resizeHandle {
  height: 28px;
  background-color: rgba(255, 255, 255, 0.9); /* #detail と同じ */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ns-resize;
  user-select: none;
}

#resizeHandle::before {
  content: "";
  width: 40px;
  height: 4px;
  background-color: #bbb;
  border-radius: 4px;
}

/* detail_infoのスタイル */
#detail {
  background-color: rgba(255, 255, 255, 0.9); /* 半透明背景 */
  padding: 20px;
  overflow: auto;
  flex: 1 1 auto;
}

/* ボタンスタイル（未使用でも元の記述を移植） */
#showDetailButton {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #007BFF;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1001;
}

#showDetailButton:hover {
  background-color: #0056b3;
}
