@charset "UTF-8";
/**
 * スマホ 地図CSS
 * [変更履歴]
 * ---------------------------------------
 * [00] 新規作成
 */
/* ------------------
  全体レイアウト
 ------------------- */
#mainContents {
  display: flex;
  flex-direction: column;
  width: 100%;
}
#mainContents #mapCanvas {
  width: 100%;
  height: 100%;
}
#mainContents #mapNav {
  position: relative;
  top: 0;
  left: 0;
  box-sizing: border-box;
  z-index: 1000;
}
#mainContents #legendBox {
  position: absolute;
  bottom: 0;
  right: 0;
  box-sizing: border-box;
  z-index: 1000;
}
#mainContents .dataBox {
  position: absolute;
  bottom: 0;
  right: 0;
  box-sizing: border-box;
  z-index: 1000;
}

/* ------------------
  マップ描画エリア
 ------------------- */
#mapCanvas {
  border: none;
}

/* ------------------
  マップ上部の操作ボタン群
 ------------------- */
#mapNav {
  width: 100%;
  padding: 0;
}
#mapNav.hide {
  display: none;
}
#mapNav ul {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
}
#mapNav ul li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 4.2rem;
  margin-left: -1px;
  font-size: 1.1rem;
  background: #ffffff linear-gradient(#ffffff, #ffffff);
  border: 1px solid #B9B9B9;
  border-top: none;
  color: #575757;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.4);
}
#mapNav ul li:first-child {
  border-left-width: 0;
}
#mapNav ul li:last-child {
  border-right-width: 0;
}
#mapNav ul li:disabled, #mapNav ul li.is-disabled {
  pointer-events: none;
  background: none;
  background: #E6E6E6;
  color: rgba(0, 0, 0, 0.5);
}
#mapNav ul li:disabled .mark, #mapNav ul li.is-disabled .mark {
  opacity: 0.7;
}
#mapNav ul li [class^=icon-],
#mapNav ul li [class*=" icon-"] {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 5px;
}

/* ------------------
  凡例
 ------------------- */
#legendBox {
  display: none;
  width: 100%;
  height: auto;
  padding: 5px;
  padding-top: 0;
}
#legendBox.open {
  display: block;
}
#legendBox .legendTab {
  width: auto;
}
#legendBox .legendTab li {
  width: 100%;
  padding: 15px 5px;
  font-size: 1.4rem;
  line-height: 1.6rem;
  text-align: center;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  background-color: rgba(39, 39, 39, 0.8);
  color: #409BFC;
}
#legendBox .legendTab li + li {
  margin-left: 5px;
}
#legendBox .legendTab li.is-selected {
  background-color: rgba(0, 0, 0, 0.8);
}
#legendBox .dataLegend {
  width: 100%;
  padding: 10px 5px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
}
#legendBox .legendList {
  display: none;
  height: auto;
  min-height: 70px;
  margin-bottom: 5px;
}
#legendBox .legendList.open {
  display: flex;
  align-content: center;
  justify-content: center;
}
#legendBox .legendList li {
  width: auto;
  min-width: 33%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 5px;
  box-sizing: border-box;
}
#legendBox .legendList [class^=icon] {
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  margin-right: 5px;
}
#legendBox .legendList div {
  line-height: 1.4rem;
  color: #ffffff;
}
#legendBox #legend_over li {
  width: 20%;
  min-width: 0;
  max-width: 20%;
  flex-direction: column;
}
#legendBox #legend_over .iconStageOver {
  width: 46px;
  height: 52px;
}
#legendBox #legend_over .iconStageOver.Lv0 {
  background-image: url("../../res_sp/images/icon/iconMap_stageoverLv0.png");
}
#legendBox #legend_over .iconStageOver.Lv1 {
  background-image: url("../../res_sp/images/icon/iconMap_stageoverLv1.png");
}
#legendBox #legend_over .iconStageOver.Lv2 {
  background-image: url("../../res_sp/images/icon/iconMap_stageoverLv2.png");
}
#legendBox #legend_over .iconStageOver.Lv3 {
  background-image: url("../../res_sp/images/icon/iconMap_stageoverLv3.png");
}
#legendBox #legend_over .iconStageOver.Lv4 {
  background-image: url("../../res_sp/images/icon/iconMap_stageoverLv4.png");
}
#legendBox #legend_over .iconStageOver.Lv5 {
  background-image: url("../../res_sp/images/icon/iconMap_stageoverLv5.png");
}
#legendBox #legend_rain li {
  min-width: 33%;
}
#legendBox #legend_rain li.w2col {
  min-width: 50%;
}
#legendBox #legend_rain .iconRain {
  width: 20px;
  height: 20px;
}
#legendBox #legend_rain .iconRain.Lv0 {
  background-image: url("../../res_sp/images/icon/iconMap_rainfallLv0.png");
}
#legendBox #legend_rain .iconRain.Lv1 {
  background-image: url("../../res_sp/images/icon/iconMap_rainfallLv1.png");
}
#legendBox #legend_rain .iconRain.Lv2 {
  background-image: url("../../res_sp/images/icon/iconMap_rainfallLv2.png");
}
#legendBox #legend_rain .iconRain.Lv3 {
  background-image: url("../../res_sp/images/icon/iconMap_rainfallLv3.png");
}
#legendBox #legend_rain .iconRain.Lv4 {
  background-image: url("../../res_sp/images/icon/iconMap_rainfallLv4.png");
}
#legendBox #legend_rain .iconRain.Lv5 {
  background-image: url("../../res_sp/images/icon/iconMap_rainfallLv5.png");
}
#legendBox #legend_rain .iconRain.Lv6 {
  background-image: url("../../res_sp/images/icon/iconMap_rainfallLv6.png");
}
#legendBox #legend_rain .iconRain.Lv7 {
  background-image: url("../../res_sp/images/icon/iconMap_rainfallLv7.png");
}
#legendBox #legend_rain .iconRain.missing {
  background-image: url("../../res_sp/images/icon/iconMap_rainfall_missing.png");
}
#legendBox #legend_stage li {
  min-width: 33%;
  padding-right: 0;
}
#legendBox #legend_stage li.w2col {
  min-width: 50%;
}
#legendBox #legend_stage .iconStage {
  width: 22px;
  height: 19px;
}
#legendBox #legend_stage .iconStage[class$=_keep] {
  width: 19px;
  height: 22px;
}
#legendBox #legend_stage .iconStage.Lv0_up {
  background-image: url("../../res_sp/images/icon/iconMap_stageLv0_up.png");
}
#legendBox #legend_stage .iconStage.Lv1_up {
  background-image: url("../../res_sp/images/icon/iconMap_stageLv1_up.png");
}
#legendBox #legend_stage .iconStage.Lv2_up {
  background-image: url("../../res_sp/images/icon/iconMap_stageLv2_up.png");
}
#legendBox #legend_stage .iconStage.Lv3_up {
  background-image: url("../../res_sp/images/icon/iconMap_stageLv3_up.png");
}
#legendBox #legend_stage .iconStage.Lv4_up {
  background-image: url("../../res_sp/images/icon/iconMap_stageLv4_up.png");
}
#legendBox #legend_stage .iconStage.Lv5_up {
  background-image: url("../../res_sp/images/icon/iconMap_stageLv5_up.png");
}
#legendBox #legend_stage .iconStage.missing {
  background-image: url("../../res_sp/images/icon/iconMap_stage_missing.png");
}
#legendBox #legend_stage .iconStage.NoAlarm_up {
  background-image: url("../../res_sp/images/icon/iconMap_stageNoAlarm_up.png");
}
#legendBox #legend_stage .iconStage.NoAlarm_keep {
  background-image: url("../../res_sp/images/icon/iconMap_stageNoAlarm_keep.png");
}
#legendBox #legend_stage .iconStage.NoAlarm_down {
  background-image: url("../../res_sp/images/icon/iconMap_stageNoAlarm_down.png");
}
#legendBox .iconDam {
  width: 20px;
  height: 20px;
}
#legendBox .iconDam.Lv0 {
  background-image: url("../../res_sp/images/icon/iconMap_damLv0.png");
}
#legendBox .iconDam.missing {
  background-image: url("../../res_sp/images/icon/iconMap_dam_missing.png");
}
#legendBox .iconCamera {
  width: 24px;
  height: 21px;
}
#legendBox .iconCamera {
  background-image: url("../../res_sp/images/icon/iconMap_camera.png");
}
#legendBox .iconCamera.missing {
  background-image: url("../../res_sp/images/icon/iconMap_camera_missing.png");
}

/* ------------------
  データボックス
 ------------------- */
.dataBox {
  display: none;
  width: 100%;
  height: auto;
  padding: 10px;
  color: #ffffff;
}
.dataBox.open {
  display: block;
}
.dataBox .boxHeader {
  background-color: rgba(0, 0, 0, 0.8);
  padding-left: 10px;
}
.dataBox .boxHeader .closeBtn {
  width: 3rem;
  height: 3rem;
  background-color: rgba(38, 73, 171, 0.7);
  background-image: url(../images/common/icon_close_white.png);
  background-repeat: no-repeat;
  background-position: center;
}
.dataBox .dataTbl {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
.dataBox .dataTbl td, .dataBox .dataTbl th {
  padding: 3px 5px;
  line-height: 1.1rem;
}
.dataBox .dataTbl .td_l {
  text-align: left;
}
.dataBox .dataTbl .td_c {
  text-align: center;
}
.dataBox .dataTbl .td_r {
  text-align: right;
}
.dataBox .dataTbl td {
  border-top: 1px solid #B9B9B9;
  border-left: 1px solid #B9B9B9;
}
.dataBox .dataTbl td {
  line-height: 1.4rem;
  padding-top: 5px;
  padding-bottom: 5px;
}
.dataBox .dataTbl td:first-child {
  border-left-color: transparent;
}
.dataBox .dataTbl td a {
  color: #ffffff;
}
.dataBox .dataTbl .rainfallLv0 {
  color: #ffffff;
}
.dataBox .dataTbl .stageLv0 {
  color: #ffffff;
}

/* ------------------
  レイヤー選択モーダル
 ------------------- */
#selectLayer .modalContents li {
  width: 48%;
}

/**
 * 縦向き
 */
@media only screen and (orientation: landscape) {
  #mainContents {
    /* マップ描画エリア */
    /* マップ上部の操作ボタン群 */
  }
  #mainContents #mapCanvas .leaflet-top {
    top: 0;
  }
  #mainContents #mapCanvas .leaflet-left {
    left: 70px;
  }
  #mainContents #mapNav {
    position: absolute;
    width: auto;
    height: 100%;
  }
  #mainContents #mapNav ul {
    flex-direction: column;
    height: 100%;
  }
  #mainContents #mapNav ul li {
    width: 7rem;
    height: 100%;
    border-left-width: 0;
  }
  #mainContents #mapNav ul li:last-child {
    border-bottom-width: 0;
    border-right-width: 1px;
  }
  #mainContents #mapNav ul li .mark {
    margin-bottom: 5px;
  }
  #mainContents #legendBox {
    width: 88%;
    padding-left: 0;
  }
  #mainContents #legendBox .legendTab li {
    padding: 10px 5px;
  }
  #mainContents #legendBox .legendList {
    min-height: 50px;
  }
  #mainContents #legendBox #legend_rain {
    justify-content: flex-start;
  }
  #mainContents #legendBox #legend_rain li {
    min-width: 20%;
  }
  #mainContents #legendBox #legend_stage {
    justify-content: flex-start;
  }
  #mainContents #legendBox #legend_stage li {
    min-width: 25%;
  }
  #mainContents #legendBox #legend_stage li.w2col {
    min-width: 25%;
  }
  #mainContents .dataBox {
    width: 50%;
  }
}