@charset "UTF-8";
.contents-wrapper {
  width: 100%;
}

.contents {
  width: 100%;
}

.map-container {
  width: 68%;
  background-repeat: no-repeat;
  border: 1px solid #ddd;
}

.map-container.top {
  margin: 5px auto 0;
/*   background-image: url("../images/map/map_001.png"); */
  width: 1140px;
  height: 560px;
  position: relative;
}

.map-container.map02 {
  display: inline-block;
  height: 502px;
  width: 802px;
  position: relative;
}

.map-container.map02 img.map-img {
  height: 500px;
  width: 800px;
  position: absolute;
  top: 0;
  left: 0;
}

.map-container.map03001 {
  display: inline-block;
  background-image: url("../images/map/map_03_001.png");
  width: 770px;
  height: 495px;
  font-size: 0;
  position: relative;
}

.map-container.map03002 {
  display: inline-block;
  width: 750px;
  height: auto;
}

.map {
  display: block;
}

div.switch {
  position: absolute;
  padding: 0.5rem 1.0rem;
  margin-top: 0.5rem;
  width: 22.0rem;
  right: 0.5rem;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid #43a6c7;
}

div.switch .title {
  color: #43a6c7;
  font-weight: bold;
  border-bottom: 1px solid #43a6c7;
  margin-bottom: 0.5rem;
}

div.switch ul.switch {
  margin: 0 auto;
  width: 88%;
}

/* TOP画面用地図凡例 */
.legend.top {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
/*   width: 22.0rem; */
  width: 9.5rem;
  height: auto;
}

.legend.top .box-symbol {
  font-size: 0;
}

.legend.top .title {
  margin: 0;
}

.legend.top .caption {
  display: inline-block;
  font-weight: bold;
  color: #103d4c;
  font-size: 1.2rem;
  vertical-align: middle;
  line-height: 1.6rem;
}

.legend.top dl {
  display: inline-block;
  vertical-align: middle;
}

.legend.top dt, .legend.top dd {
  height: 2.4rem;
  line-height: 2.4rem;
  float: left;
}

.legend.top dd {
  min-width: 4.0rem;
}

.legend.top .map-legend {
  padding: 0.4rem 0.8rem;
  border-top: 1px solid #9bb3bb;
  background-color: white;
}

.legend.top .map-legend:first-child {
  border-top: none;
}

.side-panel {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 30%;
}

.side-contents {
  margin: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #c5c5c5;
  background-color: white;
  font-size: 1.4rem;
}

.side-contents > .title {
  margin: .5rem;
  padding: 0.5rem;
  padding-left: 1.0rem;
  background-color: #43a6c7;
  color: white;
  font-weight: bold;
}

.side-contents.no-back {
  border: none;
  background-color: inherit;
}

.side-contents.no-back > .title {
  margin: 0.5rem 0;
  background-color: inherit;
  text-align: inherit;
  color: #43a6c7;
  padding: 0;
  border-bottom: 1px solid #43a6c7;
}

.side-contents.legend {
  position: absolute;
  width: 100%;
  top: 6rem;
}

.side-contents.legend .box-symbol {
  background-color: white;
  border: 1px solid #c5c5c5;
  height: 20.0rem;
  font-size: 0;
}

.side-contents.legend .map-legend {
  width: 33.3%;
  height: 100%;
  border-right: 1px solid #9bb3bb;
}

.side-contents.legend .map-legend:last-child {
  border-right: none;
}

.side-contents.legend .map-legend dl {
  padding: 0.5rem;
}

.side-contents .lg-detail {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  border: 1px solid #ddd;
}

.side-contents .lg-detail h4 {
  background-color: #dce9ee;
  height: 2.2rem;
  line-height: 2.2rem;
  padding-left: 0.5rem;
  width: 100%;
}

.side-contents .lg-detail .mini-list.dam {
  width: 10.0rem;
}

.side-contents .lg-detail .lg-content {
  margin: 0.8rem;
}

.side-contents .lg-detail .ex-icon {
  margin-left: 1.0rem;
}

.side-contents .lg-detail .icon {
  position: relative;
  display: inline-block;
}

.side-contents .lg-detail .icon:hover {
  cursor: default;
  -webkit-transform: scale(1) !important;
          transform: scale(1) !important;
}

.side-contents .lg-detail p {
  margin-top: 0.5rem;
  line-height: 2.2rem;
}

.separator {
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  padding-top: 0.2rem;
  border-top: 1px dashed #9bb3bb;
}

/*
 #styleguide
バルーン表示

top、left は jsにてアイコン座標を取得して指定しているので、CSSでの指定は無し。

```
<div class="balloon">
	<div class="balloon-header">
		<label class="balloon-title">タイトル<span class="balloon-close"></span></label>
	</div>
	<div class="balloon-contents">
	// バルーンに表示するコンテンツを入れる
	</div>
</div>
```
 */
.balloon {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  width: 18.0rem;
  height: 12.0rem;
  background-color: white;
  box-shadow: 0px 0 2px 0 rgba(0, 0, 0, 0.5);
  font-size: 1.3rem;
  z-index: 1000;
}

.balloon-header {
  position: relative;
  height: 2.6rem;
}

.balloon-title {
  border-bottom: 1px solid #c5c5c5;
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  padding-left: 14px;
  line-height: 2.6rem;
  background: -webkit-linear-gradient(white, #ebebeb);
  background: linear-gradient(white, #ebebeb);
}

.balloon-title:before {
  content: "";
  display: block;
  width: 5px;
  height: 1.4rem;
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: #43a6c7;
}

.balloon-contents {
  padding: 5px;
}

.balloon-contents .link-list {
  margin: 5px auto;
  width: 80%;
}

.balloon-contents .link-list li {
  padding: 2px;
}

.balloon-contents .link-list li a:hover {
  border-bottom: 1px solid #454545;
}

.balloon-close {
  display: inline-block;
  width: 3px;
  height: 15px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  margin-right: 10px;
  background: #858585;
  border: none;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.balloon-close:after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: -6px;
  width: 15px;
  height: 3px;
  margin-top: -1px;
  background: inherit;
}

.balloon-close:hover {
  background-color: #ababab;
  cursor: pointer;
}

.balloon {
  width: 18.0rem;
  height: 12.5rem;
}

/*
バルーン内のミニテーブル
 */
.balloon .dataTable {
  width: 16rem;
  margin: 0.4rem auto 0;
  border-collapse: collapse;
}

.balloon .dataTable th, .balloon .dataTable td {
  padding: 4px;
  border: 1px solid #9bb3bb;
}

.balloon .dataTable .item {
  width: 9rem;
  text-align: right;
  background-color: #a5d5e4;
  color: #20586b;
  font-weight: bold;
}

.balloon .dataTable .data {
  width: 7rem;
  text-align: right;
}

.balloon .move-ctrl {
  margin-top: 0.5rem;
  width: 16rem;
  text-align: center;
}

/*
#styleguide
アイコン

地図上に配置するアイコン（CSSverです）
hoverするとちょっと大きくなります。
```
・雨量アイコン
<span class="icon rain"></span>
・水位アイコン
<span class="icon water"></span>
・ダムアイコン
<span class="icon dam"></span>
```
 */
.icon {
  position: absolute;
  display: block;
  background-image: url("../images/icon-map.png");
  width: 2rem;
  height: 2rem;
  z-index: 100;
}

.label {
  position: absolute;
  display: block;
  z-index: 100;
  color: #005faf;
  font-size: 1rem;
}

.icon:not(.sample):hover {
  cursor: pointer;
}

.icon.is_open, .icon:not(.sample):hover {
  -webkit-transform: scale(1.3);
          transform: scale(1.3);
}
/* TOPはhoverしてもアイコンは変化させない */
.map-container.top .icon:hover{
  cursor: default;
  -webkit-transform: scale(1) !important;
          transform: scale(1) !important;
}
.icon.water {
  background-position: -154px 0;
}

.icon.dam {
  background-position: -177px 0;
}

.icon.sample {
  position: relative;
}

.legend {
  border: 1px solid #9bb3bb;
  width: 100%;
  min-height: 5rem;
  font-size: 0;
}

.legend .title {
  margin-bottom: 0.4rem;
  background-color: #dce9ee;
  text-align: center;
  line-height: 2rem;
  border-bottom: 1px solid #9bb3bb;
  color: #103d4c;
  font-size: 1.2rem;
  font-weight: bold;
}

.box-horizon {
  display: inline-block;
  vertical-align: top;
  border-left: 1px solid #9bb3bb;
  height: 100%;
}

.box-horizon:first-child {
  border-left: none;
}

dl {
  margin: 0;
  font-size: 1.2rem;
}

dt {
  height: 1.8rem;
  float: left;
}

dd {
  height: 1.8rem;
  min-width: 8.0rem;
  text-indent: 0.3rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

dl.list-horizon {
  font-size: 1.2rem;
}

dl.list-horizon dt {
  height: 1.8rem;
  padding: 0 0.5rem;
  float: left;
  font-weight: bold;
}

dl.list-horizon dd {
  height: 1.8rem;
  min-width: 3.5rem;
  width: auto;
  text-indent: 0.5rem;
  margin: 0 0 0 0rem;
  vertical-align: middle;
  float: left;
}

dl.list-horizon dd + dt {
  margin-left: 1rem;
  padding-left: 1rem;
}

/* 超過色 */
/* 雨量 */
.rain_lv1 {
  background-color: #b3d7fa;
  color: #454545;
}

.rain_lv2 {
  background-color: #85baef;
  color: #454545;
}

.rain_lv3 {
  background-color: #f1f178;
  color: #454545;
}

.rain_lv4 {
  background-color: #f7c478;
  color: #454545;
}

.rain_lv5 {
  background-color: #f5687f;
  color: white;
}

.rain_miss {
  background-color: #858585;
  color: white;
}

/* 水位 */
.water_lv1 {
  background-color: #b3ffff;
  color: #454545;
}

.water_lv2 {
  background-color: #ccffb3;
  color: #454545;
}

.water_lv3 {
  background-color: #ffe6b3;
  color: #454545;
}

.water_lv4 {
  background-color: #ffb3ff;
  color: #454545;
}

.water_lv5 {
  background-color: #ffb3b3;
  color: #454545;
}

.water_lv6 {
  background-color: #6f7cf4;
  color: white;
}

.water_miss {
  background-color: #858585;
  color: white;
}

/* ダム */
.dam_lv1 {
  background-color: #f5687f;
  color: white;
}

.dam_miss {
  background-color: #858585;
  color: white;
}

/* 水位基準線 */
.lg-wlv5:before {
  background-position: 0 0;
}

.lg-wlv4:before {
  background-position: 0 -7px;
}

.lg-wlv3:before {
  background-position: 0 -14px;
}

.lg-wlv2:before {
  background-position: 0 -21px;
}

.lg-wlv1:before {
  background-position: 0 -28px;
}

/* ダムデータ凡例・基準線 */
.lg-line:before {
  margin-right: 0.4rem;
  content: "";
  display: inline-block;
  width: 1.4rem;
  height: 0.7rem;
  background-image: url("../images/leg-dam.png");
  background-repeat: no-repeat;
}

.lg-line[class*="lg-wlv"]:before {
  width: 3.5rem;
  background-image: url("../images/leg-suii.png");
}

.lg-line1:before {
  background-position: 0 -35px;
}

.lg-line2:before {
  background-position: 0 -42px;
}

.lg-line3:before {
  background-position: 0 -49px;
}

.lg-line4:before {
  background-position: 0 -56px;
}

.lg-max:before {
  background-position: 0 0;
}

.lg-criteria:before {
  background-position: 0 -7px;
}

.lg-constant:before {
  background-position: 0 -14px;
}

.lg-min:before {
  background-position: 0 -21px;
}

.lg-flood:before {
  background-position: 0 -28px;
}

.mini-list {
  width: 10.0rem;
}

.mini-list.dam {
  width: 22.0rem;
}

.mini-list.top.dam {
  width: 18.5rem;
}

.mini-list h4 {
  font-weight: bold;
  height: 2.2rem;
  line-height: 2.2rem;
  padding: 0 0.5rem;
}

.mini-list h4 a:hover {
  display: inline-block;
  width: 100%;
  cursor: pointer;
  text-decoration: underline;
}

.mini-list table {
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}

.mini-list.top table {
  font-size: 1.2rem;
}

.mini-list td, .mini-list th {
  background-color: #f7fafb;
  padding: 0.3rem;
}

.mini-list.top td, .mini-list.top th {
  padding: 0 0 0 0.3rem;
}

.mini-list td.data, .mini-list th.data {
  text-align: right;
}

.mini-list td {
  text-align: center;
}

.mini-list th {
  text-align: left;
}

.mini-list .unit {
  display: inline-block;
  padding-left: 0.4rem;
  width: 4.5rem;
  text-align: left;
}

.mini-list.rain {
  border: 2px solid #92cff3;
}

.mini-list.rain h4 {
  background-color: #92cff3;
  color: #0d5179;
}

.mini-list.water {
  border: 2px solid #8ae88c;
}

.mini-list.water h4 {
  background-color: #8ae88c;
  color: #136015;
}

.mini-list.dam {
  border: 2px solid #bda0f8;
}

.mini-list.dam h4 {
  background-color: #bda0f8;
  color: #360b8f;
}

.mini-list.hover {
  box-shadow: 0 0 9px 0px #59798c;
}

/* 長良川河口堰 ゲート状況図 */
.data-container {
  margin: 0.5rem;
  margin-top: 1.0rem;
  margin-left: 1.5rem;
}

.data-container table {
  border-collapse: collapse;
}

.data-container table th, .data-container table td {
  border: 1px solid #9bb3bb;
  line-height: 1.6;
  padding: 0.2rem 0.4rem;
}

.data-container table th {
  background-color: #dce9ee;
  color: #103d4c;
  font-weight: bold;
  width: 8.0rem;
}

.data-container table .data {
  width: 10.0rem;
  text-align: right;
}

.data-container .unit {
  margin-left: 0.4rem;
}

.gate_data {
  position: relative;
  left: 8.0rem;
  border-collapse: collapse;
}

.gate_data th, .gate_data td {
  border: 1px solid #9bb3bb;
  line-height: 1.6;
  padding: 0.2rem 0.2rem;
}

.gate_data th {
  background-color: #dce9ee;
  color: #103d4c;
  font-weight: bold;
  width: 10.0rem;
}

.gate_data td {
  width: 41px;
  text-align: right;
}

.gate_data td.wide {
  width: 60px;
}

.gate_data td.x-wide {
  width: 98px;
}

.ex-icon p {
  margin: 0.2rem;
}

.demo-gate {
  background-color: #ddd;
  padding: 0.4rem;
  border-radius: 4px;
}

.demo-gate.state {
  padding: 0;
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  line-height: 2.4rem;
  text-align: center;
}

.demo-gate.state.open {
  background-color: #84a5fe;
}

.note {
  margin: 0.5rem;
}

.stream_preview {
  position: relative;
  height: 449px;
}

.stream_preview img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.water_level {
  position: absolute;
  background-color: #8ed2f4;
  bottom: 8rem;
  height: 0;
  z-index: 1;
}

.d_stream {
  width: 1.6rem;
  left: 3.5rem;
}

.u_stream {
  left: 9.9rem;
  width: 61.5rem;
}

.gate_area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 369px;
}

.gate {
  display: inline-block;
  vertical-align: middle;
  width: 36px;
  height: 35px;
  z-index: 10;
  background-image: url("../images/icon-gate_legend.png");
}

.gate.depth_small{
  background-image: url("../images/icon-gate_small.png");
  height: 52px;
}

.gate.depth_normal{
  background-image: url("../images/icon-gate_normal.png");
  height: 62px;
}

.gate.depth_medium {
  background-image: url("../images/icon-gate_medium.png");
  height: 65px;
}

.gate.depth_tall {
  background-image: url("../images/icon-gate_tall.png");
  height: 85px;
}

.gate.upper {
  background-position: 0 0;
}

.gate.down {
  background-position: 37px 0;
}

.gate.state {
  background-image: url("../images/icon-gate_state.png");
  height: 21px;
  width: 21px;
}

.gate.state.upper {
  background-position: 1px 1px;
}

.gate.state.upper.close {
  background-position: 1px 20px;
}

.gate.state.down {
  background-position: 20px 1px;
}

.gate.state.down.close {
  background-position: 20px 20px;
}

.gate[class*='gate_'] {
  position: absolute;
  bottom: 63px;
}

.gate[class*='gate_'].depth_350 {
  bottom: 45px;
}

.gate[class*='gate_'].depth_600 {
  bottom: 0px;
}

.gate_fish {
  left: 180px;
}

.gate_1 {
  left: 221px;
}

.gate_2 {
  left: 262px;
}

.gate_3 {
  left: 303px;
}

.gate_4 {
  left: 344px;
}

.gate_5 {
  left: 385px;
}

.gate_6 {
  left: 426px;
}

.gate_7 {
  left: 467px;
}

.gate_8 {
  left: 508px;
}

.gate_9 {
  left: 549px;
}

.gate_10 {
  left: 590px;
}

.gate_kou {
  left: 631px;
}

.gate.state[data-gateno] {
  position: absolute;
}

/* 状況図 */
/* 状況図 */
[data-gateno="kouD"] {
  top: 91px;
  left: 290px;
}

[data-gateno="kouD"].down {
  left: 311px;
}

[data-gateno="kouM"] {
  top: 91px;
  left: 369px;
}

[data-gateno="kouM"].down {
  left: 390px;
}

[data-gateno="kouU"] {
  top: 91px;
  left: 448px;
}

[data-gateno="kouU"].down {
  left: 469px;
}

[data-gateno="10"] {
  top: 118px;
  left: 290px;
}

[data-gateno="10"].down {
  left: 311px;
}

[data-gateno="9"] {
  top: 145px;
  left: 290px;
}

[data-gateno="9"].down {
  left: 311px;
}

[data-gateno="8"] {
  top: 172px;
  left: 290px;
}

[data-gateno="8"].down {
  left: 311px;
}

[data-gateno="7"] {
  top: 199px;
  left: 290px;
}

[data-gateno="7"].down {
  left: 311px;
}

[data-gateno="6"] {
  top: 226px;
  left: 290px;
}

[data-gateno="6"].down {
  left: 311px;
}

[data-gateno="5"] {
  top: 253px;
  left: 290px;
}

[data-gateno="5"].down {
  left: 311px;
}

[data-gateno="4"] {
  top: 280px;
  left: 290px;
}

[data-gateno="4"].down {
  left: 311px;
}

[data-gateno="3"] {
  top: 307px;
  left: 290px;
}

[data-gateno="3"].down {
  left: 311px;
}

[data-gateno="2"] {
  top: 334px;
  left: 290px;
}

[data-gateno="2"].down {
  left: 311px;
}

[data-gateno="1"] {
  top: 360px;
  left: 290px;
}

[data-gateno="1"].down {
  left: 311px;
}

[data-gateno="fishD"] {
  top: 386px;
  left: 290px;
}

[data-gateno="fishD"].down {
  left: 311px;
}

[data-gateno="fishU"] {
  top: 386px;
  left: 369px;
}

[data-gateno="fishU"].down {
  left: 390px;
}

.list-stream {
  font-size: 1.1rem;
  border-collapse: collapse;
}

.list-stream th, .list-stream td {
  padding: 0.2rem 0.4rem;
  border: 1px solid #9bb3bb;
  width: 80px;
}

.list-stream .obsp {
  width: 60px;
}

.list-stream .unit {
  margin-left: 0.2rem;
}

.list-stream th {
  background-color: #dce9ee;
}

.list-stream td {
  background-color: white;
  text-align: right;
}
