@charset "UTF-8";
.clearfix:after {
  display: block;
  content: "";
  clear: both;
}

.clearfix:after {
  display: block;
  content: "";
  clear: both;
}

.clearfix:after {
  display: block;
  content: "";
  clear: both;
}

.mfp-bg {
  background: transparent;
}

/* モーダル表示アニメーション */
.mfp-move-horizontal {
  /* start state */
  /* animate in */
  /* animate out */
}

.mfp-move-horizontal .mfp-with-anim {
  opacity: 0;
  filter: alpha(opacity=0);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transform: translateY(-50px);
  -webkit-transform: translateY(-50px);
  -moz-transform: translateY(-50px);
}

.mfp-move-horizontal.mfp-bg {
  opacity: 0;
  filter: alpha(opacity=0);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
}

.mfp-move-horizontal.mfp-ready .mfp-with-anim {
  opacity: 1;
  filter: alpha(opacity=100);
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
}

.mfp-move-horizontal.mfp-ready.mfp-bg {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.mfp-move-horizontal.mfp-removing .mfp-with-anim {
  opacity: 0;
  filter: alpha(opacity=0);
  transform: translateY(50px);
  -webkit-transform: translateY(50px);
  -moz-transform: translateY(50px);
}

.mfp-move-horizontal.mfp-removing.mfp-bg {
  opacity: 0;
  filter: alpha(opacity=0);
}

/* モーダルの見た目 */
/* コンテンツ部分 */
.modal-common {
  margin: 20px auto;
  position: relative;
  background: rgba(0, 0, 0, 0.9);
  width: auto;
  max-width: 340px;
  max-height: 500px;
}

.modal-common .mfp-close, .modal-common .modalTitle {
  color: #ffffff;
}

.modal-common .mfp-close, .modal-common .modalTitle {
  height: 3.6rem;
  line-height: 4rem;
}

.modal-common .mfp-close {
  background-color: #006644;
  width: 3.6rem;
  font-size: 2rem;
  border-radius: 0;
  opacity: 1;
  filter: alpha(opacity=100);
}

.modal-common .mfp-close:active {
  top: 0;
}

.modal-common .modalTitle {
  padding-left: 2rem;
  display: block;
  position: relative;
  box-shadow: rgba(255, 255, 255, 0.4) 0 1px 3px 1px;
  -webkit-box-shadow: rgba(255, 255, 255, 0.4) 0 1px 3px 1px;
  -moz-box-shadow: rgba(255, 255, 255, 0.4) 0 1px 3px 1px;
}

.modal-common .modalContents {
  width: 100%;
  height: 90%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-common .modalCtrlArea {
  margin: 1rem 0;
  text-align: center;
  padding-bottom: 3px;
}

.modal-common .modalCtrlArea button {
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border: none;
  border-radius: 2px;
  background: #303030;
  background: linear-gradient(#525557 0%, #303030 100%);
  color: #ffffff;
  text-shadow: none;
  -webkit-text-shadow: none;
  -moz-text-shadow: none;
}

/* レイヤー切替モーダル */
#currentLayer {
  color: #ffffff;
  width: 340px;
}

#currentLayer ul {
  margin: 0 auto;
  width: 90%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.5rem 0;
}

#currentLayer ul li {
  height: 2.7rem;
  line-height: 2.7rem;
  margin-left: 2rem;
}

#currentLayer ul li:first-child {
  margin-left: 0;
}

#currentLayer ul li > span {
  padding-left: 2rem;
}

#currentLayer ul li label {
  width: 100%;
  padding-left: 2rem;
  display: inline-block;
}

#currentLayer ul li:last-child {
  border: none;
}

#currentLayer .modalCtrlArea button {
  padding: 0.5rem 1.5rem;
  letter-spacing: 0.5rem;
}

/* ミニ表 */
.currentGrid {
  position: fixed;
  bottom: 0;
  height: auto;
  color: #ffffff;
  width: 90%;
  /*とりあえず*/
  display: none;
  z-index: 1000;
}

.currentGrid .modalTitle, .currentGrid .mfp-close {
  height: 2.7rem;
  line-height: 3rem;
}

.currentGrid .modalTitle {
  padding-left: 1rem;
}

.currentGrid .modalTitle .obsTime {
  margin-left: 0.5rem;
}

.currentGrid table {
  border-collapse: collapse;
  width: 100%;
}

.currentGrid table caption {
  padding: 5px 0;
}

.currentGrid table a {
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
}

.currentGrid table th, .currentGrid table td {
  padding: 0.25rem 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.currentGrid table th:first-child, .currentGrid table td:first-child {
  border-left: none;
}

.currentGrid table th:last-child, .currentGrid table td:last-child {
  border-right: none;
}

.currentGrid table tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.4);
}

.currentGrid table tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.6);
}

.currentGrid table thead th {
  padding: 0.25rem 1rem;
}

.currentGrid table tbody {
  /* alignXXクラスを付けている場合はそちらを優先 */
}

.currentGrid table tbody th, .currentGrid table tbody td {
  padding: 0.25rem 0.5rem;
}

.currentGrid table tbody th:not([class*=" align"]):not([class^="align"]),
.currentGrid table tbody td:not([class*=" align"]):not([class^="align"]) {
  text-align: center;
}

.currentGrid.detail .modalContents {
  max-height: 130px;
  overflow-y: auto;
}

/* 凡例 */
.currentGrid.legend {
  width: 100%;
  left: 0;
  bottom: 0;
  margin: 0;
  max-width: 100%;
  height: 80px;
  overflow: hidden;
  padding-right: 50px;
  display: none;
}

.currentGrid.legend.open {
  display: block;
}

.currentGrid.legend button {
  height: 100% !important;
}

.currentGrid.legend .scrollArea {
  position: relative;
  bottom: 0;
  height: 80px;
  margin-right: 50px;
  width: 100%;
}

.currentGrid.legend .legendScrollPanel {
  width: auto;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0;
}

.currentGrid.legend ul {
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  padding: 0 3px;
  display: inline-block;
  width: auto;
}

.currentGrid.legend ul li {
  display: inline-block;
  margin: 5px 3px;
  margin-top: 26px;
  font-size: 1.2rem;
}

.currentGrid.legend ul.legendBox li.legendTitle {
  display: inline-block;
  margin: 0;
  width: 100%;
  text-align: center;
  height: 26px;
  line-height: 26px;
  font-size: 1.5rem;
  position: absolute;
  top: 0;
  left: 0;
}

.currentGrid.legend ul li {
  vertical-align: top;
}

.currentGrid.legend ul li.sample {
  width: 2rem;
  height: 2rem;
  background-color: #ffffff;
}

.currentGrid.legend ul li.sample span {
  display: inline-block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.currentGrid.legend ul li.sample span.risk_lv0 {
  opacity: 0.7;
  background-color: transparent;
  color: #232323;
  border: 1px solid #ddd;
  opacity: 1;
  border: 1px solid #ddd;
}

.currentGrid.legend ul li.sample span.risk_lv1 {
  opacity: 0.7;
  background-color: #F2E700;
  color: #232323;
  border: 1px solid #ddd;
}

.currentGrid.legend ul li.sample span.risk_lv2 {
  opacity: 0.7;
  background-color: #FF2800;
  color: #ffffff;
  border: 1px solid #ddd;
}

.currentGrid.legend ul li.sample span.risk_lv4 {
  opacity: 0.7;
  background-color: #AA00AA;
  color: #ffffff;
  border: 1px solid #ddd;
}

.currentGrid.legend ul li.sample span.risk_lv5 {
  opacity: 0.7;
  background-color: #0C000C;
  color: #ffffff;
  border: 1px solid #ddd;
}

.currentGrid.legend ul li.sample span.rain_lv1 {
  opacity: 0.7;
  background-color: #A0D2FF;
}

.currentGrid.legend ul li.sample span.rain_lv2 {
  opacity: 0.7;
  background-color: #1B8CFF;
}

.currentGrid.legend ul li.sample span.rain_lv3 {
  opacity: 0.7;
  background-color: #0035FF;
}

.currentGrid.legend ul li.sample span.rain_lv4 {
  opacity: 0.7;
  background-color: #ffd200;
}

.currentGrid.legend ul li.sample span.rain_lv5 {
  opacity: 0.7;
  background-color: #FF7E00;
}

.currentGrid.legend ul li.sample span.rain_lv6 {
  opacity: 0.7;
  background-color: #FF2000;
}

.currentGrid.legend ul li.sample span.rain_lv7 {
  opacity: 0.7;
  background-color: #B40068;
}

.currentGrid.legend ul li.sample span.YZONE, .currentGrid.legend ul li.sample span.YZONE_SUB {
  background-color: rgba(251, 202, 6, 0.3);
  border: solid 3px rgba(251, 202, 6, 0.7);
}

.currentGrid.legend ul li.sample span.RZONE, .currentGrid.legend ul li.sample span.RZONE_SUB {
  background-color: rgba(255, 18, 18, 0.3);
  border: solid 3px rgba(255, 18, 18, 0.7);
}

.currentGrid.legend ul li.sample span.YZONE_SUB, .currentGrid.legend ul li.sample span.RZONE_SUB {
  border-style: dashed;
}

.currentGrid.legend ul li.sample span.exclude {
  border: solid 2px #333333;
  background: url("../../res/img/map/ex_exclude.png") no-repeat center;
  opacity: 0.7;
}

/* 凡例 */
/*------------------------------------*/
#hanreiScreen div.leftPos {
  width: 50%;
  float: left;
  padding: 5px 0 0 10px;
  box-sizing: border-box;
}

#hanreiScreen div.rightPos {
  width: 50%;
  margin-left: 50%;
  padding: 5px 0 0 0px;
  box-sizing: border-box;
}

/* データ表現 */
#hanreiScreen div.dataLegend {
  clear: both;
  border-top: solid 1px gray;
  padding: 5px 0 10px;
}

#hanreiScreen div.dataLegend span {
  color: #fff;
  font-size: 1.2rem;
  display: inline-block;
  width: 23%;
}

#hanreiScreen div.dataLegend span.dispStr {
  font-size: 1.4rem;
  text-align: center;
  margin: 3px 10px;
  display: inline-block;
  width: 20%;
}

/* データ種title */
#hanreiScreen p {
  text-align: left;
  color: #fff;
}

/* 凡例リスト */
dl.legendBox dt,
dl.legendBox dd {
  height: 2.0rem;
  font-size: 1.2rem;
}

dl.legendBox dt {
  float: left;
  vertical-align: bottom;
}

dl.legendBox dd {
  color: #fff;
}

/* ■ で実装。*/
dl.legendBox dt.ex-colorLbl {
  font-size: 1.6rem;
  line-height: 1.2rem;
  padding-right: 5px;
}

/*------------------------------------*/
/*住所検索*/
div#searchLocation .modalContents {
  text-align: center;
  width: 340px;
}

div#searchLocation .modalContents input[type="text"] {
  width: 90%;
  margin: 20px 0 10px 0;
  line-height: 2rem;
}

div#searchLocation .modalContents button {
  margin: 0 5px;
}

/*------------------------------------*/
/*スネークライン*/
div#snakeGraph .modalContents {
  width: 340px;
}

div#snakeGraph .modalContents .snake_mesh {
  color: #ffffff;
  margin: 10px 0 5px 20px;
  line-height: 2rem;
}

div#snakeGraph .modalContents .dispMenuBox {
  position: relative;
  width: 100%;
  height: 3rem;
  display: flex;
  align-items: center;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect {
  display: flex;
  align-items: center;
  width: 100%;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect li {
  margin: 4px 0;
  padding: 0 4px;
  min-width: 120px;
  cursor: default;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect li a, div#snakeGraph .modalContents .dispMenuBox .dispSelect li span {
  padding: 5px 4px;
  display: block;
  width: 100%;
  text-align: center;
  color: inherit;
  cursor: inherit;
  line-height: 1;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect li.is-selected {
  padding: 0 2px;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect li.is-selected a, div#snakeGraph .modalContents .dispMenuBox .dispSelect li.is-selected span {
  pointer-events: none;
  text-decoration: none;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect li:not([class*='is-']) {
  text-decoration: underline;
  cursor: pointer;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect li:not([class*='is-']) a:hover, div#snakeGraph .modalContents .dispMenuBox .dispSelect li:not([class*='is-']) span:hover {
  opacity: 0.7;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect li {
  color: black;
  border-right: 1px solid #297c61;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect li:first-child {
  border-left: 1px solid #297c61;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect li.is-selected a, div#snakeGraph .modalContents .dispMenuBox .dispSelect li.is-selected span {
  background-color: #297c61;
  color: #ffffff;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect li.is-disabled {
  color: #808c88;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect {
  justify-content: center;
}

div#snakeGraph .modalContents .dispMenuBox .dispSelect li {
  color: #ffffff;
}

div#snakeGraph .modalContents .graphArea {
  text-align: center;
  font-size: 12px;
}

div#snakeGraph .modalContents .graphArea .graphImg {
  width: 300px;
  height: 210px;
  background-color: #ffffff;
  position: relative;
  display: none;
  margin: 0 auto;
}

div#snakeGraph .modalContents .graphArea .graphImg.open {
  display: block;
}

div#snakeGraph .modalContents .graphArea .graphImg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 200px;
}

div#snakeGraph .modalContents .graphArea .graphImg canvas {
  width: 250px;
  height: 195px;
  position: absolute;
  top: 13px;
  left: 23px;
}

div#snakeGraph .modalContents .graphArea .graphImg .dataGraphExclude {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 210px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f2f2f2;
  border: solid 10px #ffffff;
  font-size: 12px;
  font-weight: bold;
  line-height: 2.5;
}

/*------------------------------------*/
/* お知らせ詳細モーダル設定 */
#noticeScreen .modalTitle {
  padding: 1rem;
  padding-right: 4rem;
  line-height: 1.6rem;
  word-wrap: break-word;
  height: auto;
}

#noticeScreen .scrollBox {
  margin: 0.5rem;
  padding: 1rem;
  border-radius: 2px;
  max-height: 400px;
  background-color: #fff;
  overflow: auto;
  font-size: 1.2rem;
  color: #000;
}

#noticeScreen .scrollBox table {
  word-wrap: break-word;
  table-layout: fixed;
}

#noticeScreen .scrollBox table th, #noticeScreen .scrollBox table td {
  padding: 0.4rem;
  line-height: 1.2;
}

#noticeScreen .scrollBox table th {
  width: 4rem;
  text-align: center;
  background-color: #daedda;
  color: #000000;
  font-weight: bold;
}

/* スマホ縦向き表示 */
@media only screen and (orientation: portrait) {
  .currentGrid {
    left: 0.5rem;
  }
}

/* スマホ横向き表示 */
@media only screen and (orientation: landscape) {
  /* レイヤーモーダル : 横向きにした場合は2カラムのリストにする */
  #currentLayer ul {
    display: inline-block;
    width: 49%;
  }
  /* ミニ表 */
  .currentGrid {
    right: 0.5rem;
  }
  /* お知らせ詳細モーダル */
  #noticeScreen {
    max-width: 400px;
    max-height: 300px;
  }
  #noticeScreen .scrollBox {
    max-height: 200px;
  }
}
