@charset "UTF-8";
/**
 * スマホ 地図CSS
 * [変更履歴]
 * ---------------------------------------
 * [00] 新規作成
 */
.clearfix:after {
  display: block;
  content: "";
  clear: both;
}

/*緊急情報のレイアウト変更*/
.excess {
  position: absolute;
  top: -40px;
  z-index: 2000;
}

#mapNav {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 0.8rem;
  height: 40px;
  z-index: 10;
}

#mapNav ul {
  height: 40px;
}

#mapNav ul li {
  box-sizing: border-box;
  display: table;
}

#mapNav ul li a {
  position: relative;
  display: table-cell;
  background: #e3e7ef;
  background: linear-gradient(#fcfcfc 0%, #e3e7ef 100%);
  width: 100%;
  height: 100%;
  color: #495564;
  font-weight: bold;
}

#mapNav ul li span {
  display: block;
  border: none;
}

#mapNav ul li [class^="icon-"],
#mapNav ul li [class*=" icon-"] {
  font-size: 2rem;
  display: inline-block;
  text-shadow: 2px 2px 0 white;
}

#mapWrapper {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  margin-top: 40px;
}

#mapWrapper #mapCanvas {
  width: 100%;
  height: 100%;
  border: none;
}

#mapWrapper .legendBtn button {
  width: 6.0rem;
  height: 4.8rem;
}

#mapWrapper .legend {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
}

#mapWrapper .legend button {
  padding: 0;
  text-align: center;
  width: 4.8rem;
  height: 4.8rem;
  line-height: 4.8rem;
}

#mapWrapper .subMode {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  font-size: 0;
}

#mapWrapper .subMode button {
  padding: 0;
  text-align: center;
  width: 6.0rem;
  height: 4.8rem;
  line-height: 1.6rem;
}

#mapWrapper #meshKindSelect {
  display: block;
  margin-top: 10px;
  height: 3rem;
}

#mapWrapper .obsTime {
  font-size: 1.5rem;
  margin: 1rem;
  margin-bottom: 0;
  padding: 3px 10px;
  width: auto;
  height: auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
}

#mapWrapper .timeControl {
  position: absolute;
  bottom: 2rem;
  left: auto;
  z-index: 1000;
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

#mapWrapper .timeControl .timeSelect {
  display: flex;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 5px;
}

#mapWrapper .timeControl .timeSelect li {
  padding-left: 20px;
  position: relative;
  text-align: center;
  margin-right: -3px;
}

#mapWrapper .timeControl .timeSelect li:before {
  content: "";
  background-color: #006644;
  width: 23px;
  height: 3px;
  display: inline-block;
  position: absolute;
  top: 17px;
  left: 0;
}

#mapWrapper .timeControl .timeSelect li:first-child {
  padding-left: 0;
}

#mapWrapper .timeControl .timeSelect li:first-child:before {
  display: none;
}

#mapWrapper .timeControl .timeSelect li [type="radio"] {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 2px;
}

#mapWrapper .timeControl .timeSelect li [type="radio"]:before {
  content: "";
  background-color: #ffffff;
  display: block;
  height: 36px;
  width: 36px;
  border-radius: 50%;
  border: solid 2px #006644;
  box-sizing: border-box;
}

#mapWrapper .timeControl .timeSelect li [type="radio"]:checked:after {
  content: "";
  background-color: #006644;
  display: block;
  height: 24px;
  width: 24px;
  margin: 6px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: auto;
}

#mapWrapper .timeControl .timeSelect li [type="radio"] + span {
  display: block;
  font-size: 1.1rem;
  color: #006644;
}

/**
 * 縦向き
 */
@media only screen and (orientation: portrait) {
  #mapNav {
    width: 100%;
    box-shadow: rgba(113, 135, 164, 0.5) 0 0 2px 1px;
    -webkit-box-shadow: rgba(113, 135, 164, 0.5) 0 0 2px 1px;
    -moz-box-shadow: rgba(113, 135, 164, 0.5) 0 0 2px 1px;
  }
  #mapNav ul li {
    padding-right: 1px;
    width: 25%;
    float: left;
  }
  #mapNav ul li:last-child {
    padding: 0;
  }
}

@media only screen and (orientation: landscape) {
  #mapNav {
    width: 15%;
    font-size: 1rem;
    float: left;
    box-shadow: rgba(113, 135, 164, 0.5) 0 0 2px 1px;
    -webkit-box-shadow: rgba(113, 135, 164, 0.5) 0 0 2px 1px;
    -moz-box-shadow: rgba(113, 135, 164, 0.5) 0 0 2px 1px;
  }
  #mapNav ul {
    height: 100%;
  }
  #mapNav ul li {
    width: 100%;
    padding-bottom: 1px;
    height: 25%;
  }
  #mapNav ul li a {
    vertical-align: middle;
  }
  #mapNav ul li:last-child {
    padding: 0;
  }
  #mapWrapper {
    float: right;
  }
}

/**
 * メッシュ番号表示
 */
#mapWrapper .leaflet-marker-icon.meshNo {
  font-size: 14px;
  text-align: center;
  font-weight: bold;
  color: #636363;
  pointer-events: none;
  text-shadow: rgba(255, 255, 255, 0.2) 0 1px 0, rgba(255, 255, 255, 0.2) 0 -1px 0, rgba(255, 255, 255, 0.2) 1px 0px 0, rgba(255, 255, 255, 0.2) -1px 0px 0;
}

#mapWrapper .leaflet-marker-icon.meshNo div {
  text-align: center;
}

#mapWrapper .leaflet-marker-icon.meshNo-lv13 {
  font-size: 14px;
  width: 80px !important;
  height: 20px !important;
  margin-left: -40px !important;
  margin-top: -10px !important;
}

#mapWrapper .leaflet-marker-icon.meshNo-lv14 {
  font-size: 28px;
  width: 160px !important;
  height: 40px !important;
  margin-left: -80px !important;
  margin-top: -20px !important;
}

#mapWrapper .leaflet-marker-icon.meshNo-lv15 {
  font-size: 56px;
  width: 320px !important;
  height: 80px !important;
  margin-left: -160px !important;
  margin-top: -40px !important;
}

#mapWrapper .leaflet-marker-icon.meshNo-lv16 {
  font-size: 112px;
  width: 640px !important;
  height: 160px !important;
  margin-left: -320px !important;
  margin-top: -80px !important;
}

#mapWrapper .leaflet-marker-icon.meshNo-lv17 {
  font-size: 224px;
  width: 1280px !important;
  height: 320px !important;
  margin-left: -640px !important;
  margin-top: -160px !important;
}

#mapWrapper .leaflet-marker-icon.meshNo5km-lv11 {
  font-size: 14px;
  width: 80px !important;
  height: 20px !important;
  margin-left: -40px !important;
  margin-top: -10px !important;
}

#mapWrapper .leaflet-marker-icon.meshNo5km-lv12 {
  font-size: 28px;
  width: 160px !important;
  height: 40px !important;
  margin-left: -80px !important;
  margin-top: -20px !important;
}

#mapWrapper .leaflet-marker-icon.meshNo5km-lv13 {
  font-size: 56px;
  width: 320px !important;
  height: 80px !important;
  margin-left: -160px !important;
  margin-top: -40px !important;
}

#mapWrapper .leaflet-marker-icon.meshNo5km-lv14 {
  font-size: 112px;
  width: 640px !important;
  height: 160px !important;
  margin-left: -320px !important;
  margin-top: -80px !important;
}

#mapWrapper .leaflet-marker-icon.meshNo5km-lv15 {
  font-size: 224px;
  width: 1280px !important;
  height: 320px !important;
  margin-left: -640px !important;
  margin-top: -160px !important;
}

#mapWrapper .leaflet-marker-icon.meshNo5km-lv16 {
  font-size: 224px;
  width: 1280px !important;
  height: 320px !important;
  margin-left: -640px !important;
  margin-top: -160px !important;
}

#mapWrapper .leaflet-marker-icon.meshNo5km-lv17 {
  font-size: 224px;
  width: 1280px !important;
  height: 320px !important;
  margin-left: -640px !important;
  margin-top: -160px !important;
}
