@charset "UTF-8";
/**
 * スマホ モーダルCSS
 * [変更履歴]
 * ---------------------------------------
 * [00] 2019/04/20 SGK 新規作成
 */
.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: #544cad;
  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;
}

.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;
}

#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 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 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 thead a {
  color: #ffffff;
}

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

.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: absolute;
  bottom: 0;
  overflow-x: scroll;
  overflow-y: hidden;
  height: 80px;
  margin-right: 50px;
}

.currentGrid.legend .legendScrollPanel {
  width: 600%;
  /* @@ */
}

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

.currentGrid.legend ul li {
  float: left;
  display: inline-block;
  margin: 5px 3px;
  margin-top: 26px;
  height: 50px;
}

.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.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;
  opacity: 1;
  border: 1px solid #ddd;
}

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

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

.currentGrid.legend ul li.sample span.risk_lv3 {
  opacity: 0.7;
  background-color: #AA00AA;
  color: #ffffff;
}

.currentGrid.legend ul li.sample span.risk_lv4 {
  opacity: 0.7;
  background-color: #0C000C;
  color: #ffffff;
}

.currentGrid.legend ul li.sample span.rain_lv0 {
  opacity: 0.7;
  background-color: #F2F2FF;
  opacity: 1;
  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: #218CFF;
}

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

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

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

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

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

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

.currentGrid.legend ul li.sample span.RZONE {
  background-color: rgba(255, 18, 18, 0.3);
  border: solid 3px rgba(255, 18, 18, 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;
}

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

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

/*------------------------------------*/
/* お知らせ詳細モーダル設定 */
#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: #dde5ec;
  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%;
  }
  #currentLayer ul:first-child {
    width: 99%;
  }
  /* ミニ表 */
  .currentGrid {
    right: 0.5rem;
  }
  /* お知らせ詳細モーダル */
  #noticeScreen {
    max-width: 400px;
    max-height: 300px;
  }
  #noticeScreen .scrollBox {
    max-height: 200px;
  }
}
