 @charset "UTF-8";

 /* reset
--------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  font-weight: normal;
  touch-action: manipulation;
}

input, textarea {
  font-size:99%;
}

img {
  vertical-align: bottom;
}

h1, h2, h3, h4, h5, h6 {
  color: #494949;
}


/* general
--------------------------------------------------------- */
*,
* ::before,
* ::after {
  box-sizing: border-box;
}

.gmap_iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
}
.map{
  width: 100%;
  height: calc(100dvh - 125px);
}
.map.no-control{
  height: 100dvh;
}
.controlArea {
  position: relative;
  height: 120px;
  padding: 10px 30px;
  border: 1px solid #999;
}
.controlArea button {
  vertical-align: middle;
}
.controlArea button:hover {
  cursor: pointer;
  opacity: .8;
}

.controlArea_main {
  display: flex;
  align-items: center;
}

/* 時間軸ブロック */
.dateArea {
  position: relative;
  display: flex;
  align-items: center;
  width: calc(100% - 115px);
  height: 60px;
  margin: 0 10px;
}


.rangeArea {
  position: relative;
  width: 100%;
  height: 10px;
  margin: 20px auto;
}

.inputRange {
  position: relative;
  z-index: 1;
  appearance: none;
  width: 100%;
  height: 8px;
  margin: 0;
  padding: 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, #5faf8c 0%, #cbcbcb 0%);
  cursor: pointer;
}

.inputRange::-webkit-slider-thumb {
  border-radius: 50%;
  cursor: pointer;
  margin-top: -12px;
}
/* ツマミ（サム）：Chrome, Safari, Edge用 */
.inputRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #5faf8c;
}

/* ツマミ（サム）：Firefox用 */
.inputRange::-moz-range-thumb {
  border-radius: 50%;
  cursor: pointer;
}
.inputRange::-moz-range-thumb {
  border: none;
  width: 20px;
  height: 20px;
  background: #5faf8c;
}

/* ツマミ（サム）：Safari用 */
.inputRange.is-iphone::-webkit-slider-thumb {
  margin-top: 0;
}


/* 再生・停止ボタン */
.playBtn {
  width: 100px;
  height: 100px;
  border: none;
  border-radius: 50%;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.35);
  background-color: #5faf8c;
  background-repeat: no-repeat;
  background-position: center;
  width: 40px;
  height: 40px;
}
.playBtn.is-play {
  background-image: url(/map2/assets/img/play.png);
}
.playBtn.is-stop {
  background-image: url(/map2/assets/img/stop.png);
}

/* 日付入力 */
.inputDate_box {
  position: absolute;
  bottom: -38px;
}
.inputDate_box::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 20px;
  background: #e7e7e7;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
}
.inputDate_box-start {
  left: -60px;
}
.inputDate_box-end {
  right: -60px;
}
.def_btn {
  height: 30px;
  border: none;
  border-radius: 6px;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.35);
  background-size: 20px;
  position: absolute;
  bottom: -36px;
  right: 50px;
}
.def_btn.is-off {
    background-color: #cbcbcb;
    color: #6a6a6a;
}
.def_btn.is-on{
    background-color: #5faf8c;
    color: #fff;
}
.primaryInput {
  border: 1px solid #cbcbcb;
  border-radius: 6px;
  font-size: 16px;
  padding: 5px;
  text-align: center;
  width: 100px;
}
.primaryInput.pw{
  text-align: left;
  width: 140px;
}
/* ポイント移動ボタン */
.pointArea{
  display: flex;
  gap: 5px;
  width: 50px;
}
.pointBtn {
  width: 25px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background-color: #cbcbcb;
  background-repeat: no-repeat;
  background-position: center;
}
.pointBtn-prev {
  background-image: url(/map2/assets/img/prev.png);
}
.pointBtn-next {
  background-image: url(/map2/assets/img/next.png);
}


/* メニュー */
.controlArea_menu {
  position: absolute;
  bottom: 12px;
  left: 120px;
  display: flex;
  width: calc(100% - 290px);
  padding: 0 20px;
}
.iconBtn + .iconBtn {
  margin-left: 20px;
}
.iconBtn + .primaryInput {
  margin-left: 20px;
}
.controlArea .iconBtn{
  width: 80px;
  height: 30px;
  border: none;
  border-radius: 6px;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.35);
  background-size: 20px;
}
.iconBtn.is-off {
  background-color: #cbcbcb;
}
.iconBtn.is-on {
  background-color: #5faf8c;
}
.iconBtn-trace.is-on {
  background-image: url(/map2/assets/img/diagonalLine_on.png);
}
.iconBtn-trace.is-off {
  background-image: url(/map2/assets/img/diagonalLine_off.png);
}
.iconBtn-photo.is-off {
  background-image: url(/map2/assets/img/camera_off.png);
}
.iconBtn-photo.is-on {
  background-image: url(/map2/assets/img/camera_on.png);
}
.iconBtn-comment.is-on {
  background-image: url(/map2/assets/img/memo_on.png);
}
.iconBtn-comment.is-off {
  background-image: url(/map2/assets/img/memo_off.png);
}

.controlArea button {
  background-size: 32%;
}
.rangeArea{
  display: flex;
  align-items: center;
}

.center-marker{
  width: 32px;
  height: 32px;
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: block;
}
.pin-marker{
  border-radius: 50%;
  display: block;
  height: 20px;
  margin: auto;
  position: relative;
  top: 4px;
  width: 20px;
}
.glyph {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.gm-style-iw .gm-ui-hover-effect {
  display: none !important;
}
/*
.gm-style .gm-style-iw-ch{
  padding:0 !important;
}
.gm-style .gm-style-iw-c{
  padding: 10px !important;
}
.gm-style .gm-style-iw-d{
  overflow:hidden !important;
}
*/

@media screen and (max-width: 610px) {
  .primaryInput{
    padding: 5px;
    width: 100px;
  }
  .primaryInput.pw{
    width: 100px;
  }
  .controlArea{
    padding: 10px 5px;
  }
  .controlArea_menu{
    bottom: 10px;
    left: 108px;
    width: calc(100% - 260px);
    padding: 0;
  }
  .iconBtn + .iconBtn,
  .iconBtn + .primaryInput {
      margin-left: 2vw;
  }
  .inputDate_box-start {
      left: -48px;
  }
  .inputDate_box-end {
      right: -50px;
  }
  .def_btn{
    right: 55px;
  }
  .dateArea {
    width: calc(100% - 100px);
  }
  .pointArea {
    width: 40px;
  }
  .controlArea button {
    background-size: 5vw;
  }
  .controlArea_main .playBtn,
  .pointArea .pointBtn {
      background-size: 40%;
  }
  .controlArea button:hover {
    opacity: 1;
  }
}

@media screen and (max-width: 460px) {
  .map{
    height: calc(100dvh - 150px);
  }
  .dateArea{
    margin: 0 5px;
  }
  .controlArea{
    height: auto;
    padding: 10px 5px 45px;
  }
  .controlArea_menu{
    position: static;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .iconBtn{
    width: 50px;
  }
  .controlArea button {
    background-size: 50%;
  }
  .pointArea {
      width: 50px;
  }
}