@charset "UTF-8";
/* ---- 汎用クラス ---- */
.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 #9DABB8;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  position: relative;
  padding: 0.5rem 1rem;
  background: #f0f2f3;
  background: linear-gradient(#ffffff 0%, #f0f2f3 100%);
  text-shadow: white 0 1px 1px;
  -webkit-text-shadow: white 0 1px 1px;
  -moz-text-shadow: white 0 1px 1px;
  color: #055891;
  font-family: "メイリオ", Meiryo,"MS Pゴシック",sans-serif;
  /* おまじない */
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

button.active {
  background: #055891;
  background: linear-gradient(#055891 0%, #0f75ae 100%);
  text-shadow: #2f7cad 0 -1px 1px;
  -webkit-text-shadow: #2f7cad 0 -1px 1px;
  -moz-text-shadow: #2f7cad 0 -1px 1px;
  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;
}

/* フォーム要素のデザイン */
input[type="checkbox"] {
  border: none;
  vertical-align: -2px;
  position: relative;
  margin-right: 0.5rem;
  width: 1.4rem;
  height: 1.4rem;
  background: #a3bfd2;
  background: linear-gradient(#7ca3ba 0%, #a3bfd2 100%);
  border-radius: 1px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  /* おまじない */
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

input[type="checkbox"]:checked {
  background: #1994d1;
  background: linear-gradient(#3b8cba 0%, #1994d1 100%);
}

input[type="checkbox"]:checked:before {
  position: absolute;
  left: 1px;
  top: 10px;
  display: block;
  width: 6px;
  height: 2px;
  content: "";
  background: #ffffff;
  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: #ffffff;
  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%;
  height: 80px;
  line-height: 38px;
  overflow: hidden;
  background-color: #0453a1;
  color: #fff;
  z-index: 20;
}

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

#header .title img {
  margin: 0 0.5rem;
  margin-left: 1rem;
  height: 20px;
  position: relative;
  top: 0.5rem;
}

/* 更新ボタン */
#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: #B9DCE3;
  color: #FFF;
  border-top: 1px solid #94B0B6;
  z-index: 11;
}

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

#header .excess .message {
  color: #1c486f;
}

/*超過状況＠4時間超過あり*/
#header .excess.warn {
  background-color: #FA8700;
  border-top: 1px solid #C86C00;
  color: #000000;
}

#header .excess.warn .message {
  color: #000000;
}

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

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

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

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

#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 {
    height: 40px;
  }
  #header.box {
    height: 40px;
  }
  /* 更新ボタン */
  #header .title a.btn_refresh {
    right: 40%;
    margin-right: 10px;
  }
  #header .excess {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 40px;
    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: 3rem;
}

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

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

/*利用における注意事項*/
.subTitle {
  border-left: #0453a1 solid 7px;
  border-bottom: #0453a1 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;
}
