@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

html, body{
    margin:0px;
    padding:0px;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    width:100vw;
    overflow-x: hidden;
    line-height: 1.3;
    word-break: keep-all;
    color: #111111;
    -webkit-font-smoothing: antialiased;
}
body > div{
    max-width: 100vw;
}
h1{
    margin: 0px;
    padding: 0px;
    font-size: 2.5rem;
}
h2{
    margin: 0px;
    padding: 0px;
    font-size: 1.5rem;
}
h3{
    margin: 0px;
    padding: 0px;
    font-size: 1.3rem;
}
h4{
    margin: 0px;
    padding: 0px;
    font-size: 1.2rem;
}
p{
    margin: 0px;
    padding: 3px 0px;
    font-size: 1.09rem;
}
span{
    margin: 0px;
    padding: 0px;
}
a{
    margin: 0px;
    padding: 0px;
    text-decoration: none;
}
#mainHeader{
    background-color: #f9f9f9;
    height: 3rem;
    width:100vw;
    display: flex;
    align-items: center;
    position: fixed;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 2px 3px 0 rgba(0, 0, 0, .12);
    z-index: 99999;
}
#mainHeader h1{
    font-size: 1.5rem !important;
    color:#757577;
    font-weight: 900 !important;
}
#body{
    padding-top: 3rem;
    margin-bottom: 10rem;
}
.mainHeaderBox{
    width:100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mainHeaderIcon{
    margin-right: 1.5rem;
    color:#757577;
    font-size: 1.2rem;
}
.mainHeaderLogoBox{
    margin-left: 1rem;
}
.mainHeaderIcons{
    margin-right: 1rem;
}
.announceBox{
    margin:auto;
    /* margin-top: 2rem; */
    margin-bottom: 2rem;
    width:50rem;
    border-radius: 5px;
}
.announceBox> div{
    margin:1.7rem;
}
.announceText{  
    white-space: pre-wrap;
}
.level5{
    border: 1px solid rgb(0, 0, 0);
    background-color: rgba(0, 0, 0);
    color:white;
}
.level4{
    border: 1px solid rgb(143, 15, 255);
    background-color: rgba(143, 15, 255, 0.2);
}
.level3{
    border: 1px solid rgb(235, 23, 23);
    background-color: rgba(235, 23, 23, 0.2);
}
.level2{
    border: 1px solid rgb(195, 222, 41);
    background-color: rgba(195, 222, 41, 0.2);
}
.level1{
    border: 1px solid rgb(0, 150, 136);
    background-color: rgba(0, 150, 135, 0.2);
}
.announceLinkBox{
    display: flex;
    flex-direction: column;
    margin: 0.5rem 0.3rem 0rem;
    align-items: flex-start;
}
.announceLinkBox a{
    color:rgb(55, 55, 255);
}
.announceLinkBox a:hover{
    text-decoration: underline;
}
#tools{
    position: fixed;
    display: flex;
    right: 3rem;
    bottom:3rem;
    flex-direction: column-reverse;
    z-index: 600;
}
.tool{
    border-radius:50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 2px 3px 0 rgba(0, 0, 0, .12);
    background-color: white;
    width : 50px;
    height : 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    z-index: 600;
}
#share{
    transform: rotate(-45deg);
}
#share > img{
    height:75%;
}
#report > img{
    height: 70%;
}
.tool:hover{
    cursor: pointer;
    background-color: rgb(248, 248, 248);
}
.jp{
    font-family: "Noto Sans JP", sans-serif;
}
.mainHeaderLogoBox {
    margin-right: auto;
    text-decoration: none;
}
.mainHeaderLogoTitle {
    color: white;
    margin: 0;
    font-weight: 600;
}
.mainHeaderIcons {
    display: flex;
}
.show {
    display: block;
}
.barRight{
    display: flex;
    align-items: center;
}
.barTools{
    display: flex;
}
#toolbar_menu{
    display: block;
    width:2rem;
    margin-right: 1rem;
}
#toolbar_menu:hover{
    cursor: pointer;
}
.mainHeaderMenuBox{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding : 0px 10px;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: 0.2s ease-in-out;
    border-radius: 10px;
}
.mainHeaderMenuIcon{
    height: 30px;
}
.mainHeaderMenuText{
    font-size:13px;
    margin-top:-5px;
}
#mainMenuBox{
    position: fixed;
    top:3rem;
    left: 0px;
    background-color: #f9f9f9;
    height: calc(100vh - 3rem);
    width: 20rem;
    z-index: 9999;
    display: none;
    overflow-y: auto;
    border-top: 1px solid black;
}
.menuContentBox{
    display: flex;
    flex-direction: column;
    margin:0.2rem 0;
}
.menuContentBox a, .menuContentBox p{
    font-size:1.2rem;
    color:#1f1f20;
    padding:0.3rem 0.2rem;
}
.contentTitleBox{
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.contentTitleBox:hover, .menuContentBox>a:hover, .menuSpeTitle:hover{
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}
.contentTitleBox img{
    height:30px;
}
.menuSpeBox{
    background-color: white;
    display: flex;
    flex-direction: column;
    margin:0 0.5rem 0.5rem 1rem;
    display: none;
    border-radius: 5px;
    padding:0.3rem;
}
.menuBox{
    margin:0.5rem 0.7rem 1.4rem;
}
.menuBox h2{
    padding:0.5rem 0.2rem;
    border-bottom: 1px solid #bbbbbb;
    cursor: default;
}
.pages{
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    margin-left: 0.4rem;
    margin-bottom: 0.2rem;
}
.pagesName{
    color:#111111;;
    padding: 0.2rem;
    border-radius: 5px;
}
.pagesName:hover{
    background-color: #ededed;
}
.emergency{
    padding:0.3rem 1.5rem;
    background-color: rgba(255,0,0,0.5);
    border: red 1px solid;
    color:white;
    border-radius: 5px;
    margin-right: 1rem;
}
.info{
    color:#5f6368;
    font-size: 0.8rem;
}
.leaflet-control-attribution{
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}
@media (min-width: 769px) {
    .menu-button {
        display: none;
    }
}
@media screen and (max-width : 1040px) {
    .announceBox{
        width: 70%;
    }
}
@media screen and (max-width : 900px) {
    .littleTitle{
        font-size : 1.1rem;
    }
    .pagesName{
        font-size:0.95rem;
    }
}

@media screen and (max-width : 600px) {
    .mainHeaderIcon{
        margin-right: 0.3rem;
        font-size: 1.1rem;
    }
    .mainHeaderIcons{
        margin-right: 0.3rem;
    }
    #tools{
        right: 1.3rem;
        bottom:1.3rem;
    }
    .tool{
        width:35px;
        height:35px;
    }
    .tool > img{
        height:70%;
    }
    .announceBox{
        width: 90%;
    }
    h1{
        margin: 0px;
        padding: 0px;
        font-size: 2.2rem;
    }
    h2{
        margin: 0px;
        padding: 0px;
        font-size: 1.3rem;
    }
    h3{
        margin: 0px;
        padding: 0px;
        font-size: 1.15rem;
    }
    h4{
        margin: 0px;
        padding: 0px;
        font-size: 1rem;
    }
    p{
        margin: 0px;
        padding: 3px 0px;
        font-size: .9rem;
    }
    span{
        margin: 0px;
        padding: 0px;
        font-size: .9rem;
    }
    a{
        margin: 0px;
        padding: 0px;
        text-decoration: none;
        font-size: .9rem;
    }
}