@charset "utf-8";

/**
  Map
 */


#gotochi-map > h2 {
  margin: 0 0 20px;
  padding: 0;
  text-align: center;
  color: #333;
  text-shadow: 1px 1px 2px white, -1px -1px 1px #888;

}
#gotochi-map > h2 span {
  /*border: 1px solid #e29f0e;*/
  /*border-radius: 5px;*/
  /*padding: 15px 20px;*/
  /*background: linear-gradient(to bottom, #e9af13, #fbbd00, #f9d24c, #fbbd00, #e9af13);*/
  /*box-shadow: 0 0 4px rgba(0,0,0,0.3);;*/
  /*color: black;*/
  /*text-decoration: none;*/
  /*text-shadow: 0 1px 1px white;*/
}

#map {
  z-index: 2;
  box-sizing: border-box;
  /*height: calc(100% - 50px);*/
  height: 90%;
  border: 1px solid #ccc;
  background: white;
}
#mapCanvas {
  float: right;
  z-index: 5;
  width: calc(100% - 150px);
  height: 100%;
  /*transition: all 0.6s;*/
}
#currentLocation {
  /*position: absolute;*/
  /*z-index: 10;*/
  /*left: 8px;*/
  /*top: 93px;*/
  /*border-radius: 50%;*/
  display: block;
  width: 100px;
  height: 80px;
  margin: 10px auto;
  border: 2px solid white;
  padding: 0;
  background: #d61510;
  /*background: rgba(214, 21, 16, 0.6);*/
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
  font-size: 16px;
  color: white;
  cursor: pointer;
}

/* count */
#count {
  display: table;
  box-sizing: border-box;
  margin: 20px auto;
  border: 1px solid #555;
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  text-align: center;
}

#areaList {
  box-sizing: border-box;
  float: left;
  overflow-x: hidden;
  overflow-y: scroll;
  width: 150px;
  height: 100%;
  border-right: 1px solid #ccc;
  padding: 0;

}
#areaList ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}
#areaList ul li {
  border-bottom: 1px solid #888;
  padding: 15px 5px;
  text-align: center;
}
#areaList .areaListEnable  {
  color: #4c8bdc;
  cursor: pointer;
}
#areaList .areaListEnable:hover {
  color: #333;
  text-decoration: underline;
}

/* moveResult */
#moveResult {
  z-index: 6;
  position: relative;
  box-shadow: 0 -5px 5px rgba(0,0,0,0.3);
}
#moveResult p {
  margin: 0;
  padding: 10px;
  text-align: center;
}



/* ### Resposive ############### */
@media screen and (max-width: 768px) {

}
@media screen and (max-width: 500px) {
  #barachirashi-map {
    height: 80%;
  }


  #barachirashi-map > h2 span {
    font-size: 16px;
  }

  #mapCanvas {
    width: calc(100% - 80px);
  }

  #currentLocation {
    width: 70px;
    height: 40px;
    font-size: 12px;
  }
  /* count */
  #count {
    margin: 10px auto;
    border-radius: 5px;
    padding: 5px 8px;
    font-size: 10px;
  }

  #areaList {
    width: 80px;

  }
  #areaList ul {
    font-size: 12px;
  }
  #areaList ul li {
    padding: 10px 5px;
  }

}


/**
  result
 */
#result {
  width: 100%;
  height: 100px;
  background: #fafafa;
}






#select_pref {
  margin-right: 15px;
  font-size: 16px;
}


#travelmode {
  display: none;
  justify-content: flex-end;
  flex-grow: 2;
}
#travelmode.active {
  display: flex;
}
#travelmode button {
  padding: 4px 10px;
  border: none;
  border-bottom: 3px solid transparent;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.8s;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  white-space: nowrap;
}
#travelmode button:hover {
  color: white;
}
#travelmode button.active {
  border-bottom-color: #fff;
  color: white;
}
#travelmode button i {
  padding-right: 5px;
  font-size: 15px;
}
#travelmode button[data-travelmode="non"] {
  margin-left: 10px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  color: #fff;
}

#btn_show_search {
  background: #fff;
}

#address_search {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  height: 50px;
  background: rgba(66, 133, 244, 0.7);
  padding: 0 10px;
  transition: all .4s;
}
#address_search.active {
  top: 50px;
}
#address_search #place {
  margin-right: 1em;
  padding: 5px;
  flex-grow: 2;
}

#btn_route {
  margin-top: 10px;
}



/*ルート案内中のローディング*/
#routing_wrap {
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

#routing_wrap img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

#routing_wrap i {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
  color: #fff;
  font-size: 50px;
}