/* タイトル */
.info__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0px auto;
  padding: 2px;
  width: calc(100% - 16px);
  height: 30px;
  background: #66CCFF;
  border: 1px solid #a8a8a8;
}
.info__title span {
  color: #000;
  font-size: 16px;
  font-weight: bold;
  text-shadow: none;
}

/* ボタン */
.btn {
  border: 2px solid;
  display: block;
  min-width: 56px;
  text-align: center;
  text-decoration: none;
}
.btn--icon {
  background-image: url("../img/arrow.gif");
  background-repeat: no-repeat;
  background-position: 2px center;
  background-size: 12px 12px;
  padding: 0px 2px 0px 16px;
}
.btn--gray {
  background-color: #F2F2F2;
  border-color: #595959;
  color: #000;
  font-size: 14px;
}
.info__title a:hover {
  background-color: #D0D0D0;
}

/* テーブル */
table {
  margin: 0px auto;
  width: calc(100% - 16px);
  height: 150px;
  border-collapse: collapse;
}
table th, table td {
  padding: 2px 0px;
  width: 30%;
  height: 30px;
  font-size: 16px;
  border-right: 1px solid #a8a8a8;
  border-bottom: 1px solid #a8a8a8;
}
table td {
  text-align: center;
}
.alarmInfo_title {
  background-color: #0099FF;
}
.region {
  border-left: 1px solid #a8a8a8;
}
td.region {
  background-color: #f2f2f2;
  font-weight: bold;
}

/* 警報表示 */
.warningLevel_2 {
  background-color: #FF0000;
}
.warningLevel_2 span {
  color: #FFF;
}
.warningLevel_1 {
  background-color: #FFCC00;
}

.alertLevel_4 {
  background-color: #F499F4;
}
.alertLevel_3 {
  background-color: #FA9090;
}
.alertLevel_2 {
  background-color: #FFFDAA;
}
.alertLevel_1 {
  background-color: #BEEBD3;
}
.warn {
  color: #FF0033;
}

/* 水位基準値超過表 */
#riverAlm .info__title {
  box-sizing: border-box;
  width: calc(100% - 32px);
  line-height: normal;
}
#riverAlm .btn--gray {
  border-color: #595959;
  color: #000;
  font-size: 14px;
  font-weight: normal;
}
#riverAlm table {
  box-sizing: border-box;
  width: calc(100% - 32px);
  height: 120px;
}
#riverAlm th,
#riverAlm td {
  width: 50%;
  box-sizing: border-box;
}
#riverAlm th {
  border-left: 1px solid #a8a8a8;
  text-shadow: none;
}
#riverAlm td {
  font-weight: bold;
  text-shadow: none;
}

@media screen and (max-width:430px) {
  .info__title span {
    font-size: 14px;
  }
  table th, table td {
    font-size: 14px;
  }
}

@media screen and (max-width:390px) {
  .info__title span {
    font-size: 12px;
  }
  table th, table td {
    font-size: 12px;
  }
  .btn--gray,
  #riverAlm .btn--gray {
    font-size: 12px;
  }
}