@charset "utf-8";
@import url("common.css");

body{
    padding:0;
}

div#contents{
    width: 100%;
    border: 0px;
}
#refuge{
    margin: 5px 0;
}
#query{
    margin-top: 1px;
    height: 30px;
    line-height: 30px;
    border: 2px solid #555;
    padding: 0px 0px 0px 28px;
    width: 93%;
    border-radius: 15px;
}

/* 地図 */
div#mapMain{
    position: relative;
}
div#map{
    position: relative;
    width: 100%;
    height: 400px;
    border: 1px solid gray;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/* 凡例 */
#topLegend{
    padding-top: 0px;
    display: block;
    overflow: hidden;
    margin-left : 4px;
}
#legend .layer_content_wrap{
    top: -20rem;
    left: 9%;
}

/* 凡例＆リンク*/
div#legendAndLink{
    position: absolute;
    bottom: var(--map-buttom-position);
    left: 0.2rem;
}

#linkTitle{
    border: 0px;
    height: 30px;
    line-height: 30px;
}

.leaflet-control-layers-overlays input[type="checkbox"] {
    display: none;
}

/* 「地図内の表示項目を選ぶ」のコマンド表示位置 */
.layer_control .layer_content_wrap {
    top: -23.35rem;
}
/* 多国語は要素数が少ないので別途調整 */
.layer_control.notJa .layer_content_wrap {
    top: -18.85rem;
}
.layer_control.notJa .layer_content {
    height: auto;
}

/* ヘッダー下のエリア */
#headerBottom {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 2001;
}

#cookieUse {
    background-color: #FFF;
    border: #000 solid 1px;
}

#cookieAgree{
    width: auto;
}

/* 緑ボタン */
.btn-green {
    background-color: var(--point-registration-bg-color);
    color: #FFF;
}

.noticeArea a{
    display: block;
    height: 28px;
    line-height: 28px;
    font-size: 0.8rem;
}

.point_regist{
    position:absolute;
    bottom: var(--map-buttom-position);
    left: 4.5rem;
}

.point_regist .layer_content_wrap {
    top: -12rem;
    width: 13rem;
}
.point_regist .layer_content {
    background-color: var(--point-registration-bg-color);
    color: white;
    padding-left: 1rem;
}
.point_regist ul {
    padding-left: 0;
}
#alarm{
    /* アンカーリンクの位置を固定ヘッダー分調整 */
    padding-top: 52px;
    margin-top: -52px;
}

#refuge{
    /* アンカーリンクの位置を固定ヘッダー分調整 */
    padding-top: 52px;
    margin-top: -52px;
}

/* クッキーポリシ */
#selectHeader {
    display: block;
    width: 100%;
    background-color: var(--point-registration-bg-color);
    color: #FFF;
    text-align: center;
}

#cookiePolicy {
    padding: 5px;
}

#footer {
    display: table;
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 40px;
    z-index: 11;
}

#footer .btn {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#footer a {
    text-decoration: none;
}

.close {
    background-color: lightgray;
    color: gray;
}

.btnContainer{
    z-index: 2001;
    position: absolute;
    width: 100%;
}
#alm_floodDanger,
#alm_refugeJudgement{
    padding: 2px;
}
#alm_refugeJudgement{
    margin-left: 5px;
}
#info img{
    max-width:none;
    margin: 2px 4px;
    width: 40px;
    height: 40px;
}
.flex_content{
    display: flex;
    align-items: center;
    padding-top: 5px;
}

@media (max-width:370px) {
    .noticeArea a{
        font-size: 3vw;
    }
}