/* 重要事項 */
.important th, .important td{
	display:block;
}
.important th{
    font-size: 0.1em;
    color:#ffffff;
}
.important td{
    line-height: 1.5em;
}
.marquee {
    width: 30em;
    overflow: hidden;
}
#resumeimp{
    display: none;
}
/* 地図 */
#mapdiv {
    float: left;
    width: 100%;
    height: auto;
    margin-top: 0.2em;
    min-height: 28.8125em;
}

.leaflet-container {
    background: #ffffff;
}

.leaflet-div-icon {
    background: none;
    white-space: nowrap;
    border: none;
}

.leaflet-rrose-content-wrapper {
    box-shadow: none;
    border: solid 0.375em #eee;
}
/* 地図コントロール */
div#mapcontrol {
    min-height: 2em;
    padding-top: 0.25em;
    padding-left: 0.25em;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1em;
}
div#mapcontrol img{
    height: 1.1em;
}
/* 地図凡例 */
div.legend{
    display: none;
}
div.info{
    display: block;
}
table.info{
    width:100%;
}
    table.info th {
	    display:block;
        min-height: 1.3em;
        padding-top: 0.4em;
        font-size: 1em;
        font-weight: 100;
        color: #ffffff;
        background-color: #150072;
        border-color: #b8b8b8;
        border-style: solid;
        border-width: 0.1em;
    }
    table.info td {
	    display:block;
        line-height: 1.5;
        padding-left: 1.5em;
    }
    table.info td.chukeiho {
        line-height: 2;
    }
    div.info span.toku, div.info span.keiho, div.info span.hinanhandan, div.info span.chuiho {
        color: #ffffff;
        padding: 0.3em;
    }
    div.info span.toku{background-color: #5b00b1;}
    div.info span.keiho{background-color: #d70000;}
    div.info span.hinanhandan{
        color: #000000;
        background-color: #f19f00;
    }
    div.info span.chuiho{
        color: #000000;
        background-color: #fff100;
    }
    table.info th img {
	    display:none;
    }
    table.info td.overpoint {
        line-height: 1.5em;
    }
    table.info td div.detali{
        display:block;
    }
    table.info td div.kako {
        padding-top: 2em;
    }
h2, h3{
    display: inline;
}
/* アコーディオン */
.accordion div.title{
    font-size: 1em;
    cursor: pointer; 
    padding: 0;
    background: #e4e4e4;
}
.circle {
    font-size: 1em;
    background-color:#ffffff;
    padding: 0;
    margin: 0;
    width: 1.6em;
    height: 1.6em;
    line-height: 1.6em;
    text-align: center;
    display: inline-block;
    border-radius: 50%;
}
    .circle a{
	    text-decoration: none;
	    color: #444444;
    }
.accordion div.open1{
    padding: 0.6em;
    margin-bottom: 0.5em;
}
    .accordion div.open1 img{
        height: 1.2em;
        margin: 0 0.5em;
    }
.accordion div.title2{
    color: #ffffff;
    background-color: #150072;
    margin: 0.5em 0;
    padding: 0.6em;
}
    .accordion div.title2 img{
        height: 1.2em;
    }
    .accordion div.title2 span{
        font-size: 0.8em;
        margin: 0 1em 0 0.2em;
    }
div.comment {
    width: 100%;
}
div.title2 a{
	text-decoration: none;
	color: #ffffff;
}
table.comment{
    width: 95%;
    margin: 1em;
    border: none;
    border-collapse: collapse;
}
    table.comment td {
        border-color: #b8b8b8;
        border-style: solid;
        border-width: 0.1em;
        font-size: 1em;
        padding: 1em;
        line-height: 1.5;
    }
.svg-wrapper {
    position: relative;
    width: 100%;
}
ul#tatara .svg-wrapper{
    padding-top: 45.29%; /* SVG高さ / SVG幅 * 100 */
}
ul#tatara .nibanme{
    padding-top: 39.93%; /* SVG高さ / SVG幅 * 100 */
}
ul#mikasa .svg-wrapper{
    padding-top: 84.30%; /* SVG高さ / SVG幅 * 100 */
}
ul#naka .svg-wrapper{
    padding-top: 84.59%; /* SVG高さ / SVG幅 * 100 */
}
ul#hii .svg-wrapper{
    padding-top: 69.67%; /* SVG高さ / SVG幅 * 100 */
}
ul#muromi .svg-wrapper{
    padding-top: 67.67%; /* SVG高さ / SVG幅 * 100 */
}
ul#zuibaiji .svg-wrapper{
    padding-top: 45.62%; /* SVG高さ / SVG幅 * 100 */
}
.svg-wrapper svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* 河川ライブカメラ一覧 */
div.camera{
    float: left;
    width: 100%;
}
div.camera_box{
    float: left;
    width:49%;
    margin-bottom: 1em;
    border-color: #b8b8b8;
    border-style: solid;
    border-width: 0.1em;
    text-align: center;
}
div.camera_image img{
    height:7.3em;
}
div.camera_address{
    background-color: #f5f5f5;
    padding: 0.6em;
}
/* 一覧表 */
table.data{
    width: auto;
    margin: 0em;
    padding: 0em;
    border: none;
    border-collapse: collapse;
}
table.data caption{
    text-align: left;
    color: #ffffff;
    background-color: #444444;
    font-size: 1.3em;
    min-height: 1.5em;
    padding-top: 0.3em;
}
table.data caption img{
    margin-left:0.5em;
    margin-right: 0.7em;
    height: 1em;
}
table.data th {
    text-align: center;
    font-weight: 100;
    border-color: #b8b8b8;
    border-style: solid;
    border-width: 0.1em;
    padding: 0.5em 0em;
}
table.data th.keiho, table.data td.keiho{
    color: #ffffff;
    background-color: #d70000;
}
table.data th.hinanhandan, table.data td.hinanhandan{
    color: #000000;
    background-color: #f19f00;
}
table.data th.chuiho, table.data td.chuiho{
    background-color: #fff100;
}
table.data th.head {
    font-size: 1em;
    color: hsl(0, 0%, 100%);
    background-color: #444444;
}
table.data th.keiho, table.data th.hinanhandan, table.data th.chuiho{
    font-size: 1em;
    line-height: 1.5;
    width: 8.875em;
}
table.data td {
    text-align: center;
    border-color: #b8b8b8;
    border-style: solid;
    border-width: 0.1em;
    font-size: 0.95em;
    padding: 0.3em 0em;
}
table.data td.point {
    font-size: 0.8em;
}
table.data td.address {
    font-size: 0.8em;
    line-height: 1.5;
 }
table.data td.address a {
    font-size: 1.1em;
    color: #108cff;
}
div.river, div.rain {
    margin-top: 0.5em;
}
li.center{
    text-align:center;
}
div.nibanme {
    margin-top: 1em;
}
div.river table.data th.current {
    width: 20%;
    line-height: 1.5;
}
div.river table.data td.point {
    width: 12%;
}
div.river table.data td.address {
    width: 20%;
}
div.rain {
    margin: 1.5em 0em;
}
div.rain table.data th.current {
    width: 8em;
}
div.rain table.data td.address {
    width: 12.109em;
}
div.rain table.data th.current span, div.river table.data th.current span{
    font-size: 0.6em;
}
#overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 1001;
 }

#modalWindow {
  width: 19.56em;
  height: 35em;
  position: fixed;
  background-color: #FFF;
  display: none;
  z-index: 1002;
  background: #fff;
  font-size: 0.9em;
}
#modalWindow img {
    height: 2.08em;
}
#modalWindow img.title {
    height: 1.4em;
    margin-right:0.8em;
}
.legend_box{
    width: 100%;
    float: left;
    height: auto;
    line-height: 1.5;
    border-bottom:dashed 0.125em #888888;
    padding-bottom: 1em;
    margin-bottom: 1em;
    margin-left: 0.2em;
}
.firstbox{
    margin-top: 2em;
}
.lastbox{
     border-bottom:solid #ffffff;
}
.legend_inboxl{
    float: left;
    margin-left: 1.5em;
}
.legend_inboxr{
    float: left;
    margin-left: 1em;
}
span.close{
    position:absolute;
    display:inline-block;
    top: -4em;
    right: -4em;
    width:10em;
    height:10em;
    border:0;
    background-color:#707070;
    border-radius:5em;
    margin:0;
    padding:0;
    transform:scale(0.5);
    cursor:pointer;
}
 span.close:before, span.close:after{
    content:"";
    position:absolute;
    display:inline-block;
    top:42%;
    left:14%;
    width:72%;  /*その要素自身の幅を、高さ1/4に指定。*/
    height:18%;
    border:0;
    margin:0;
    padding:0;
    background-color:white;
}
 span.close:before{
    transform:rotate(45deg);
}
 span.close:after{
    transform:rotate(-45deg);
}
button#modal-open {
    display:inline-block;
    background: #444444;
    color: #ffffff;
    text-decoration:none;
    padding: 0.25em 1em;
}

.indexnav{
    margin-top:-4em;
}
