@charset "UTF-8";
/**
 * スマホ 共通CSS
 * [変更履歴]
 * ---------------------------------------
 * [00] 2019/04/20 SGK 新規作成
 * [01] 2020/04/26 SGK ボタンは非活性時に操作不可となるよう修正
 */
.clearfix:after {
  display: block;
  content: "";
  clear: both;
}

/* ---- 汎用クラス ---- */
.floatL {
  float: left;
}

.floatR {
  float: right;
}

.clearL {
  clear: left;
}

.clearR {
  clear: right;
}

.clearB {
  clear: both;
}

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

.alignL {
  text-align: left;
}

.alignR {
  text-align: right;
}

.alignC {
  text-align: center;
}

.valignT {
  vertical-align: top;
}

.valignM {
  vertical-align: middle;
}

.valignB {
  vertical-align: bottom;
}

.non-display {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

img {
  border: none;
}

a, ul, li, ol, dl, dt, dd, p, h1, h2, h3, h4, h5, h6, td, th {
  font-weight: normal;
  text-decoration: none;
  list-style-type: none;
}

a {
  color: #003D9F;
}

a span {
  display: inline-block;
  border-bottom: 1px solid #003D9F;
}

html {
  margin: 0;
  height: 100%;
  width: 100%;
  font-size: 62.5%;
  line-height: 1.4;
}

/*Android個別*/
html.android-view {
  font-size: 58.0%;
}

body {
  height: 100%;
  width: 100%;
  font-family: Helvetica,"メイリオ", Meiryo,"MS Pゴシック",sans-serif;
  font-size: 1.2rem;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
  /* スクロールをスムーズにする */
  -webkit-text-size-adjust: none;
  /* 縦横でフォントサイズを同じにする */
}

/* フォーム要素のデザイン */
button {
  border: solid 1px #544cad;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  position: relative;
  padding: 0.5rem 1rem;
  background: #ffffff linear-gradient(#ffffff, #ebebeb);
  color: #232323;
  font-family: "メイリオ", Meiryo,"MS Pゴシック",sans-serif;
  /* おまじない */
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

button.active {
  background: #544cad linear-gradient(#544cad 50%, #544cad);
  color: #ffffff;
}

button.hover:not(.active) {
  background: #d9e5ee;
  background: linear-gradient(lighter(#d9e5ee, 10%) 0%, #d9e5ee 100%);
  text-shadow: white 0 1px 1px;
  -webkit-text-shadow: white 0 1px 1px;
  -moz-text-shadow: white 0 1px 1px;
}

button.left {
  border-radius: 4px 0 0 4px;
}

button.right {
  border-radius: 0 4px 4px 0;
  border-left: none;
}

button:disabled {
  pointer-events: none;
}

/* フォーム要素のデザイン */
input[type="checkbox"] {
  margin: 0 8px 0 0;
  border: none;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 1.8rem;
  height: 1.8rem;
  overflow: hidden;
  border-radius: 2px;
  background: #ffffff;
  background: linear-gradient(#f2f2f2 0%, #ffffff 100%);
  border: 1px solid #9c9c9c;
  /* おまじない */
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  left: 1px;
  top: 10px;
  display: block;
  width: 6px;
  height: 2px;
  content: "";
  background: #6e6b8e;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform-origin: right center;
  -webkit-transform-origin: right center;
  -moz-transform-origin: right center;
}

input[type="checkbox"]:checked:after {
  position: absolute;
  left: 6px;
  top: 10px;
  display: block;
  width: 9px;
  height: 2px;
  content: "";
  background: #6e6b8e;
  transform: rotate(-50deg);
  -webkit-transform: rotate(-50deg);
  -moz-transform: rotate(-50deg);
  transform-origin: left center;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
}

input[type="checkbox"]:disabled {
  background: rgba(200, 200, 200, 0.5);
  opacity: 1;
  filter: alpha(opacity=100);
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 80px;
  height: auto;
  line-height: 38px;
  overflow: hidden;
  background-color: #544cad;
  color: #fff;
  z-index: 1000;
}

#header div {
  padding: 0 0.75rem;
}

#header .listMenu {
  color: #ffffff;
}

#header .listMenu .icon-bars {
  font-size: 2.0rem;
}

#header .title {
  position: relative;
  box-sizing: border-box;
  height: 40px;
  display: flex;
  align-items: center;
}

#header .title img {
  margin: 0 0.5rem;
  height: 20px;
}

/* 更新ボタン */
#header .title a.btn_refresh {
  position: absolute;
  top: 7px;
  right: 20px;
  display: inline-block;
  width: 68px;
  height: 30px;
  font-size: 0;
  background-image: url(../images/common/refresh_btn_normal.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
}

#header .title a.btn_refresh:hover {
  background-image: url(../images/common/refresh_btn_onTap.png);
}

/*超過状況＠超過なし*/
#header .excess {
  background-color: #d0e0f7;
  color: #FFF;
  border-top: 1px solid #94B0B6;
  z-index: 11;
  padding: 0;
}

#header .excess i.icon-exclamation-circle {
  font-size: 2rem;
  vertical-align: middle;
  margin-left: 0.75rem;
}

#header .excess .message {
  color: #bebebe;
}

/*超過状況＠超過あり*/
#header .excess.alert {
  background-color: #E91E00;
  color: #ffffff;
  border-top: 1px solid #BA1800;
}

#header .excess.alert .icon-chevron-right {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

#header .excess.alert .message {
  color: #ffffff;
}

#header .excess .arrow {
  position: absolute;
  right: 1rem;
}

#header .excess .message {
  margin-left: 1rem;
  color: #1C486F;
}

/*発表内容*/
#header .excess .excess-body {
  border: solid 2px #E91E00;
  border-top: none;
  background-color: #ffffff;
  padding: 5px;
  line-height: 1.5rem;
  color: #232323;
  display: none;
}

#header .excess .excess-body .cities {
  padding: 3px 0;
}

#header .excess .excess-body .city {
  display: inline-block;
  margin: 3px 7px;
}

#header .excess .excess-body .city.newest {
  border-bottom: 2px solid #E0312D;
}

#header .excess .excess-body .description {
  position: relative;
}

#header .excess .excess-body .description .city {
  margin: 0;
  display: inline-block;
  width: 20px;
  height: 1.5rem;
}

#header .excess.alert.open .excess-body {
  display: block;
}

#header .excess.alert.open .icon-chevron-right {
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}

#contentsWrapper {
  position: relative;
  top: 80px;
  background-color: #fefefe;
  z-index: 9;
}

#mainContents {
  position: relative;
}

/* 切替メニュー(タブ・時間間隔切替で使用) */
.switchContents {
  color: #406588;
  margin: 0.5rem;
  margin-right: 1.5rem;
}

.switchContents li {
  float: right;
  width: 5.5rem;
}

.switchContents li button {
  width: 100%;
  height: 4rem;
  line-height: 1.3rem;
}

.switchContents li button.hanreiBtn {
  margin-left: 1rem;
}

.switchContents.tab li:first-child, .switchContents.tab li:first-child span {
  border-radius: 8px 0 0 0;
}

.switchContents.tab li:last-child, .switchContents.tab li:last-child span {
  border-radius: 0 8px 0 0;
}

.switchContents.tab {
  /* タブの設定 */
  margin: 0;
  padding: 0.5rem;
  padding-bottom: 0;
  background-color: #fefefe;
  border-bottom: 2px solid #055891;
}

.switchContents.tab li {
  margin-right: 1px;
  float: left;
  height: 4.5rem;
  line-height: 2.2rem;
  text-align: center;
  background-color: #edf1f4;
  min-width: 15%;
  color: #1c486f;
}

.switchContents.tab li span {
  display: block;
  border-top: #ffffff solid 1px;
  width: 100%;
  height: 100%;
  line-height: 4.7rem;
}

.switchContents.tab li.br span {
  line-height: 1.7rem;
}

.switchContents.tab li.br span:first-child {
  padding-top: 0.7rem;
}

.switchContents.tab li.active {
  background-color: #055891;
  color: #ffffff;
}

.switchContents.tab li.active span {
  background-color: #055891;
  border: none;
}

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

/* テーブルの共通設定 */
.grid {
  padding-bottom: 1rem;
}

.grid table {
  border-collapse: collapse;
  border-spacing: 0;
  box-shadow: #eff0f1 0 2px 0 0;
  -webkit-box-shadow: #eff0f1 0 2px 0 0;
  -moz-box-shadow: #eff0f1 0 2px 0 0;
}

.grid table th, .grid table td {
  border: 1px solid #c3d0db;
}

.grid table thead th {
  /*	padding: 0.5rem 1rem;	*/
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  width: 5rem;
  text-align: center;
  background-color: #dde5ec;
  color: #000000;
  font-weight: bold;
}

#swipeArea {
  width: 100%;
  z-index: 1500;
  height: 90%;
}

.optionalButton {
  margin: 0.5rem;
  width: 40%;
}

#mainContents h1, #mainContents h3 {
  text-align: center;
  line-height: 2;
}

#mainContents h1 {
  /* 画面名称 */
  background-color: #eeeff0;
  font-size: 2rem;
  font-weight: bold;
}

#mainContents h3 {
  /* 観測所名 */
  background: #addff3;
}

#mainContents h3.time {
  text-align: left;
  padding-left: 1rem;
}

/**
 * 縦向き
 */
@media only screen and (orientation: portrait) {
  header .title {
    border-bottom: 1px solid #ffffff;
  }
  #mainContents {
    width: 100%;
  }
}

@media only screen and (orientation: landscape) {
  #header {
    min-height: 40px;
    display: flex;
    justify-content: space-between;
  }
  #header .excess {
    width: 50%;
    border-left: 1px solid #fff;
  }
  #contentsWrapper {
    top: 40px;
  }
  #mainContents {
    float: left;
  }
}

/* 固定コンテンツ */
.fixContents {
  padding: 1rem;
  line-height: 1.8rem;
}

.fixContents a {
  text-decoration: underline;
}

/*リンク集*/
.linkList {
  margin-bottom: 1rem;
  line-height: 2rem;
}

.linkList li {
  padding-left: 1rem;
}

.linkList li.title {
  padding-left: 0;
}

/*利用における注意事項*/
.subTitle {
  border-left: #544cad solid 7px;
  border-bottom: #544cad solid 2px;
  padding: 0.5rem 0 0.3rem 0.7rem;
  margin-bottom: 0.6rem;
  font-size: 1.7rem;
  font-weight: 400;
}

.subTitle:not(:first-child) {
  margin-top: 2rem;
}

/*ページ先頭へ*/
.gotop {
  text-align: right;
  margin: 7px 0 30px;
  clear: both;
}

.gotop a {
  position: relative;
}

.gotop a:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #544cad;
  margin-right: 3px;
}

.gotop a:after {
  position: absolute;
  content: "";
  top: -4px;
  left: 3px;
  border: 4px solid transparent;
  border-bottom: 6px solid #ffffff;
}

.loaderBox {
  z-index: 10000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
}

.loaderBox .loader {
  color: #544cad;
  margin: 40% auto;
}

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
  -webkit-animation: load 1.8s infinite ease-in-out;
          animation: load 1.8s infinite ease-in-out;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

.loader {
  font-size: 10px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
          animation-delay: -0.16s;
}

.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}

.loader:before {
  left: -2.5em;
  -webkit-animation-delay: -0.32s;
          animation-delay: -0.32s;
}

.loader:after {
  left: 2.5em;
}

@-webkit-keyframes load {
  0%, 80%, 100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

@keyframes load {
  0%, 80%, 100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

body > .loaderBox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 1280px;
  height: 100vh;
}

body > .loaderBox .loader {
  margin: 49vh auto;
  z-index: 100;
}

body > .loaderBox .msg {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
  margin-top: 70px;
  display: inline-block;
  width: auto;
  text-align: center;
  font-size: 14px;
  padding: 10px;
  line-height: 1.4rem;
  background-color: #ffffff;
  border-radius: 5px;
}
