body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    height:80%;
}

.trcontrol img {
    max-width: min(calc(100vw/3), 300px);
}
.trcontrol {
    text-align: right;
}

#overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 12px 12px 0 0;
    //padding: 16px;
    transform: translateY(90%);
    transition: transform 0.3s ease-in-out;
    z-index: 2;
    cursor: grab;
    user-select: none;
}

#overlay.dragging {
    transition: none;
    cursor: grabbing;
}

.handle {
    width: 40px;
    height: 5px;
    background: #ccc;
    border-radius: 10px;
    margin: 10px auto 10px;
}

.radio-vertical {                                          
    flex-direction: column;                                                       
    display: inline-flex;                                                         
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}  
.vrb {
  display: none;
}
.vrbl {
  //background-color: skyblue;
  background-color: white;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  padding: 5px 5px;
  white-space: pre;
  font-size: max(0.7rem, 14px);
}
.vrb:checked + label {
  background-color: pink;
}

#windowclose {
    font-size: 2rem;
    margin: -10px 0px;
    cursor: pointer;
}

.slider-container {
  position: relative;
  //width: 300px;
  width: min(80%, 1000px);
  height: 30px;
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.slider-track {
  position: absolute;
  width: 100%;
  height: 4px;
  background: #888;
  border-radius: 2px;
}

.slider-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #76c7c0;
  border-radius: 50%;
  top: -8px;
  transition: left 0.3s, transform 0.2s;
}

/* 押せる箇所（非選択ボタン） */
.slider-label {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.slider-active {
  width: 30px;
  height: 30px;
}

/* ホバー時に少し大きくする */
.slider-label:hover {
  transform: scale(1.3);
  background: #999;
}

/* ラジオボタンを非表示 */
.slider-input {
  display: none;
}
