html,
body,
main {
    height: 100%;
    margin: 0;
    padding: 0;
    /* display: block; */
}

body {
    font-family: 'Meiryo', 'Hiragino Kaku Gothic Pro', sans-serif;
}

#mapid {
    height: calc(100% - 50px);
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

#groupLayer {
    border: 0px solid;
    width: 100%;
    font-family: 'Meiryo', 'Hiragino Kaku Gothic Pro', sans-serif;
    font-size: 22px;
    background: rgba(255, 255, 255, 0);
    font-size: 15px;
}

#groupLayer > form > div.leaflet-control-layers-overlays > label {
    margin: 5px;
}

.nav {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0;
}

.nowrap {
    white-space: nowrap
}

.nav_titlebar {
    font-family: 'Meiryo', 'Hiragino Kaku Gothic Pro', sans-serif;
    font-weight: bold;
    font-size: 30px;
    color: #fff;
    background: #258bd6;
    background-color: #258bd6;
    border-top-width: 2px;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-right-width: 2px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-right-style: solid;
    border-top-color: #258bd6;
    border-bottom-color: #258bd6;
    border-left-color: #258bd6;
    border-right-color: #258bd6;
    width: calc(100% - 4px);
    margin: 0;
    height: 46px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    /* 縦方向中央揃え（Safari用） */
    align-items: center;
    /* 縦方向中央揃え */
    z-index: 1002;
    position: relative;
}

#formSerch {
    /* margin: 10px,10px,10px,10px; */
    width: 100%;
    height: 50px;
    padding: 0px 0px 0px 0px;
    display: -webkit-flex;
    display: flex;
    /* -webkit-align-items: center; 縦方向中央揃え（Safari用） */
    /* align-items: center; 縦方向中央揃え */
}

#SerchText {
    height: 80%;
    width: 80%;
}

#SerchButton {
    height: 80%;
    width: 70px;
}

#nav_button {
    margin: 0 20px 0 auto;
    padding: 10px 10px 10px 10px;
    width: 100px;
    height: 40px;
    white-space: nowrap;

    border: none;
    background: #d2d6f1;

    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    /* 縦方向中央揃え（Safari用） */
    align-items: center;
    /* 縦方向中央揃え */
    -webkit-justify-content: center;
    /* 横方向中央揃え（Safari用） */
    justify-content: center;
    /* 横方向中央揃え */
}

#tab_hinan:hover {
    background: #a6b0f3;
}

/* #nav_button:active {
    background: #7485f0;
} */

.menu_text {
    padding: 0px 0px 0px 5px;
}

.SerchResult {
    width: 100%;
    height: 50px;
    cursor: pointer;
}

.SerchResult:hover {
    background: #dadada;
}

#legend_main {
    position: absolute;
    /* right: 5px; */
    /* top: 130px; */
    z-index: 500;
    width: 300px;
    height: 308px;
    margin: 5px;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid darkgray;
    background-color: white;
    align-content: center;
    text-align: center;
    display: block;
}

#legend_box {
    position: absolute;
    right: 5px;
    top: 130px;
    z-index: 500;
    width: 20px;
    height: 20px;
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid darkgray;
    background-color: white;
    align-content: center;
    text-align: center;
    display: none;
}

#invisible_area {
    position: absolute;
    right: 50px;
    top: 55px;
    z-index: 500;
    width: 150px;
    height: 40px;
    margin: 5px;
    padding: 10px;
    border-radius: 5px 5px 5px 5px / 5px 5px 5px 5px;
    border: 2px solid darkgray;
    background-color: white;
    align-content: center;
    text-align: center;
    display: block;
}

#helpbutton {
    right: 10px;
}

.map-note {
    /* background:white; */
    font-size: 20px;
    white-space: nowrap;
    color: #000;
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF,
        -1px 1px 0 #FFF, 1px -1px 0 #FFF,
        0px 1px 0 #FFF, 0-1px 0 #FFF,
        -1px 0 0 #FFF, 1px 0 0 #FFF;
}

/*tabの形状*/
.tab {
    display: flex;
    flex-wrap: wrap;
}

.tab li {
    display: block;
    background: #258bd6;
    /* margin: 0 2px; */
    width: 130px;
    height: 46px;
    text-align: center;
    line-height: 46px;
    border-left: solid;
    border-right: solid;
    /* writing-mode: vertical-rl; */
    /* padding: 10px 10px; */
}

.tab li:hover {
    background: #014a7e;
}

/*liにactiveクラスがついた時の形状*/

ul {
    list-style: none;
}

@media (min-width: 1000px) {
    .pc {
        display: inline;
    }

    .pctab {
        display: inline;
    }

    .sp {
        display: none;
    }
    .sm {
        display: none;
    }
    #ModeTextPc{
        display: inline;
    }
    #ModeTextSp{
        display: none;
    }
    .modalWrapper {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .kouzuiName{
        font-size: 14px;
    }
}

@media (max-width: 1000px) {
    .pc {
        display: none;
    }

    .pctab {
        display: none;
    }

    .sp {
        display: inline;
    }
    .sm {
        display: none;
    }
    #ModeTextPc{
        display: none;
    }
    #ModeTextSp{
        display: inline;
    }
    .modalWrapper {
        top: 0px;
        left: 0px;
        width: 90%;
        height: 65%;
    }
    .kouzuiName{
        font-size: 15px;
    }
}
@media (max-width: 500px) {
    .pc {
        display: none;
    }

    .pctab {
        display: none;
    }
    .sp {
        display: none;
    }
    .sm {
        display: inline;
        font-size: 20px;
    }
    #ModeTextSp{
        font-size: 20px;
    }
    .kouzuiName{
        font-size: 15px;
    }
}
/*　ハンバーガーボタン　*/
.hamburger {
    display: block;
    position: fixed;
    z-index: 1003;
    right: 13px;
    top: 3px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 6px;
    background: #fff;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 10px;
}

.hamburger span:nth-child(2) {
    top: 20px;
}

.hamburger span:nth-child(3) {
    top: 30px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
    top: 16px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
    top: 16px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

nav.globalMenuSp {
    position: fixed;
    z-index: 1001;
    top: 46px;
    right: 0;
    color: #000;
    /* background: #258bd6; */
    background: #ffffff;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.6s;
    max-width: 300px;
    width: 50%;
    font-size: 20px;
    vertical-align: middle; /* 上下中央に寄せる */ 
}

nav.globalMenuSp ul {
    /* background: #258bd6; */
    background: #ffffff;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid #fff;
}

nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

nav.globalMenuSp ul li:hover {
    background: #c0c0c0;
}

nav.globalMenuSp ul li a {
    display: block;
    color: #000;
    padding: 1em 0;
    text-decoration: none;
    border: solid;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
    transform: translateY(0%);
}

/* モーダルウィンドウ */
.modalArea {
    display: none;
    position: fixed;
    z-index: 9999;
    /*サイトによってここの数値は調整 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: scroll;
}

.modalBg {
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.9);
}

.modalWrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* top: 30px;
    left: 5%; */
    /* width: 90%; */
    /* max-width: 500px; */
    padding: 10px 30px;
    background-color: #fff;
}

.closeModal {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    cursor: pointer;
}

.OKModal {
    position: absolute;
    bottom: 1rem;
    right: 3rem;
    cursor: pointer;
    border: 2px solid #000;
    border-radius: 0;
    background: #fff;
}
.OKModal:hover {
    color: #fff;
    background: #000;
}

_::-webkit-full-page-media,
_:future,
:root .FMbutton_safari {
    background-image: url(./img/map-marker-wp_safari.png);
    background-repeat: no-repeat;
    background-size: 40px 40px;
    height: 40px;
    width: 40px;
    position: absolute;
    right: 250px;
    top: 55px;
    z-index: 9999;
}

_::-webkit-full-page-media,
_:future,
:root .FMbutton_hide {
    visibility: hidden;
}

.hinan_PopUp_table {
    font-family: "メイリオ", "Arial";
    font-size: 13px;
}

.box select{
    height: 25px;
    width: 60%;
    margin: 5px;
}

.box nobr{
    height: 25px;
}
.box nobr label{
    width: 70px;
    font-weight: normal;
}
.head{
    margin-left: 10px;
}
.s16em{
    font-size: 1.6em;
    vertical-align: middle;
}

.vertical-middle{
    display: inline-block; /* インライン要素にすることで横に回り込む */
    vertical-align: middle; /* 上下中央に寄せる */ 
}

.inside {
    width: 200px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
}

  /*トップページタイトル*/
  .head_test {
    margin:  0;                 /* デフォルトCSS打ち消し */
    padding: 0.7rem 1rem;
    border-radius: 2vh;
    background: #258bd6;
}

/*トップページマップ一覧の見出し*/
  h2 {
  padding: 0rem 1rem;
  border-left: 10px solid #33aed6;
  border-bottom: 2px solid #000000a4;

  }

  /*トップページ各マップの説明*/
  p.info {
    margin:  0;                 /* デフォルトCSS打ち消し */
    line-height: 1.7;             /* 行間調整 */
    padding-left: 10px;         /* 余白指定 */
    padding-top: 10px;         /* 余白指定 */
    padding-bottom: 10px;         /* 余白指定 */
}

/*マップ一覧リストの三角印*/
.list_triangle {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.list_triangle > li {
    position: relative;
    padding: 0px 0px 0px 1em;
}
.list_triangle > li::before {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    width: 0px;
    height: 0px;
    border: 0.4em solid transparent;
    border-left: 0.6em solid #000000a4;
    content: "";
}

/* p{
    font-size: clamp(1rem, 0.818rem + 0.91vw, 1.2rem);
  }*/

/*各マップ右側の画像配置*/
li img{
    vertical-align:top;
}

/*
.col-12 {
    margin:0px 0px;
    background:rgb(204, 204, 190);
    height:100%;
  }
  .test-box {
    width:100%;
    height:100%; 
    background:rgb(204, 204, 190);
  }
  */