@charset "utf-8";

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

html {
    height: 100vh;
    height: calc(var(--vh) * 100);
    /* width: 100%; */
    width: 100vw;
}

body {
    height: 100%;
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #333333;
    line-height: 1;
}

img {
    max-width: 100%;
}

/* .container {
    height: 100%;
    max-width: 1280px;
    position: relative;
    margin: 0 auto;
    background-color: lightgoldenrodyellow;
    border: solid 1px silver;
    border-color: lightslategray;
} */

.header {
    height: 67px;
    background-color: white;
    border-bottom: solid 2px silver;
    border-top: solid 1px silver;
    border-color: lightgrey;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    /* padding: 6px; */
    padding-left: 20px;
    /* border-bottom: solid 1px silver; */
    /* position: relative; */
}

.header_content {
    display: flex;
    align-items: center;
}

.header_menu {
    display: flex;
    align-items: center;
    margin-left: 16px;
    border-left: 2px solid silver;
    border-color: lightgray;
    display: none;
}

.header_menu img {
    margin: 6px 16px;
    /* display: inline; */
    cursor: default;
}

.header_menu button {
    min-height: 30px;
    min-height: 29px;
    max-height: 66px;
    overflow: hidden;
    text-align: center;
    /* letter-spacing: 2px; */
    background-color: white;
    /* border: 2px solid silver; */
    border-style: solid;
    border-width: 1px;
    border-color: #333333;
    border-radius: 100px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #333333;
    padding: 0 20px;
    margin: 0 8px;
    cursor: pointer;
}

.header_menu button:hover {
    color: white;
    background-color: #333333;
}


/* ハンバーガーメニュー */

/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
    display: flex;
    height: 60px;
    height: 67px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    /* 重なり順を一番上にする */
    cursor: pointer;
    border-left: 2px solid silver;
    border-color: lightgray;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
    bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
    top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
}

/* もし、二本線にするなら、最初から透明にしておけば？ */
/* .drawer_open span {
    background: rgba(255, 255, 255, 0);
} */

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* メニューのデザイン*/
.menu_content {
    width: 500px;
    max-width: 100vw;
    /* height: calc(100vh - 68px); */
    height: calc(100% - 68px);
    position: fixed;
    top: 67px;
    left: 100%;
    /* メニューを画面の外に飛ばす */
    z-index: 99;
    background-color: white;
    border: solid 2px silver;
    border-color: lightgray;
    transition: 0.5s;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked~.menu_content {
    /* left: 0; */
    /* メニューを画面に入れる */
    left: auto;
    right: 0;
}

.nav_list {
    margin-left: 10px;
    margin-right: 10px;
}

.nav_item {
    height: 108px;
    line-height: 88px;
    border-bottom: solid 2px silver;
    /* border-color: #dfdfdf; */
    border-color: lightgray;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #333333;
    padding: 10px;
}

.nav_item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_item div {
    display: flex;
}

.nav_item p {
    max-height: 86px;
    overflow: hidden;
}

.item_number {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 10px;
    margin: 0 16px 0 10px;
}

.menu_footer p {
    margin-top: 24px;
    margin-right: 24px;
    margin-bottom: 24px;
    margin-left: 30px;
}

.menu_footer .copyright {
    margin-top: 36px;
    font-family: 'Public Sans', sans-serif;
    font-weight: 300;
    font-size: 10px;
}

.main {
    display: block;
    /* height: calc(100vh - 67px); */
    /* height: calc(100vh - 68px); */
    height: calc(100% - 67px);
    background-color: aliceblue;
    border-bottom: solid 1px silver;
    border-color: lightgrey;
}

.map {
    height: 100%;
    /* width: 100%; */
    /* position: relative; */
}

/* コントロールボタン全般 */
/*
.ol-control {
    position: absolute;
    background-color: rgba(255, 255, 255, .4);
    border-radius: 4px;
    padding: 2px;
}
*/
/*
.map .ol-control button {
    display: block;
    margin: 1px;
    padding: 0;
    color: #fff;
    font-size: 1.14em;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    height: 1.375em;
    width: 1.375em;
    line-height: .4em;
    background-color: rgba(0, 60, 136, .5);
    border: none;
    border-radius: 2px;
}
*/

/*
.ol-zoom {
    top: 0.5em;
    left: 0.5em;
}
*/
.map .ol-zoom {
    top: auto;
    bottom: 0;
    /* attributionの分、上にずらす？ */
    /* bottom: 20px; */
    /* 表示レイヤーの分、上にずらす？ */
    /* bottom: 48px; */
    left: auto;
    right: 0;
    padding: 0;
    z-index: 10;
}

.map .ol-zoom button {
    /* display: block; */
    /* margin: 1px; */
    margin: 0;
    /* padding: 0; */
    /* color: #333333; */
    color: transparent;
    /* font-size: 1.14em; */
    /* font-size: 45px; */
    font-size: 3em;
    /* font-weight: 700; */
    font-weight: normal;
    /* text-decoration: none; */
    /* text-align: center; */
    /* height: 1.375em; */
    height: 50px;
    /* width: 1.375em; */
    width: 50px;
    /* line-height: .4em; */
    /* background-color: rgba(0, 60, 136, .5); */
    background-color: white;
    /* border: none; */
    border: solid 1px lightgray;
    border-radius: 2px;
}

/*
.ol-zoom .ol-zoom-in {
    border-radius: 2px 2px 0 0;
}
*/
.map .ol-zoom .ol-zoom-in {
    border-bottom: 0;
    background-image: url("../img/plus.svg");
    background-repeat: no-repeat;
    background-position: center;
}

.map .ol-zoom .ol-zoom-out {
    border-top: 0;
    background-image: url("../img/minus.svg");
    background-repeat: no-repeat;
    background-position: center;
}

#tool-zoom {
    /* position: absolute; */
    /* position: relative; */
    height: 50px;
    width: 50px;
    top: auto;
    bottom: 100px;
    left: auto;
    right: 0;
    background-color: white;
    border: solid 1px lightgray;
    border-radius: 2px;
    /* z-index: 100; */
}

.map .ol-zoomslider {
    background-color: rgba(0, 60, 136, 0.2);
    /* width: 22px; */
    border-color: rgba(255, 255, 255, 0.2);
    border-style: double;
}

.map .ol-box {
    /* border: 2px solid #00f; */
    border-width: 3px;
    border-color: #333333;
}

/*
.ol-attribution {
    text-align: right;
    bottom: 0.5em;
    right: 0.5em;
    max-width: calc(100% - 1.3em);
}
*/
/* .map .ol-attribution {
    left: 0.5em;
    right: auto;
} */

.map .ol-attribution ul {
    color: #333333;
}

/*
.ol-attribution.ol-uncollapsible {
    bottom: 0;
    right: 0;
    border-radius: 4px 0 0;
}
*/
.map .ol-attribution.ol-uncollapsible {
    right: 50px;
    /* bottom: 1px; */
}

/* スケールライン */
.map .ol-scale-line {
    background: rgba(0, 60, 136, 0.7);
}

/* 表示レイヤー */
#id_layerDiv {
    height: 48px;
    /* width : 690px; */
    /* width: fit-content; */
    max-width: calc(100vw - 50px);
    /* position : relative; */
    position: absolute;
    top: auto;
    bottom: 0;
    background-Color: white;
    border: solid 1px lightgray;
    display: flex;
    align-items: center;
    padding: 0 14px;
    z-index: 1;
}

#id_layerDiv p {
    font-Weight: 700;
    font-Size: 14px;
    padding-Right: 14px;
    max-Height: 40px;
}

#id_layerDiv span {
    height: 40px;
    max-Height: 40px;
    border-Right: solid 2px lightgray;
}

#id_layerDiv label {
    max-Height: 40px;
    cursor: pointer;
}

/* チェックボックス */
#id_layerDiv input[type="checkbox"] {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    position: relative;

    vertical-align: middle;
    padding-left: 30px;
    margin-Left: 16px;
    /* margin-Right: 6px; */
    cursor: pointer;
}

#id_layerDiv input[type="checkbox"]::after {
    content: "";
    display: block;
    position: absolute;

    width: 18px;
    height: 18px;
    transform: translateY(-45%);
    left: 5px;

    /* border-radius: 0%; */
    border: 2px solid #333333;
    background-color: white;
}

#id_layerDiv input[type="checkbox"]:checked::after {
    background-color: #333333;
}

.grayScale {
    mix-blend-mode: multiply;
    filter: grayScale(1);
}

.toggle {
    display: none;
}

.option {
    position: relative;
    margin-left: 20px;
}

.Label {
    padding: 1em;
    display: block;
    color: #333;
    margin-left: 1em;
}

.Label::before {
    content: "";
    position: absolute;
    left: 1.25em;
    top: 1.25em;
    width: 2px;
    height: 0.75em;
    background-color: #999;
    transition: all 0.3s;
    transform: rotate(90deg);
}

.explan {
    height: 0;
    overflow: hidden;
}

pre {
    font-family: inherit;
}

.toggle:checked+.Label+.explan {
    height: auto;
    transition: all 0.3s;
}

.toggle:checked+.Label::before {
    transform: rotate(0deg) !important;
}

@media (max-width: 800px) {
    .slash {
        display: none;
    }

    .header_menu button {
        padding: 0 12px;
    }

    /* 生物多様性 */
    #btn_001_1 {
        font-size: 0;
    }

    #btn_001_1:before {
        content: '標高';
        font-size: 13px;
        line-height: 2.1em;
    }

    #btn_001_2 {
        font-size: 0;
    }

    #btn_001_2:before {
        content: '水系';
        font-size: 13px;
        line-height: 2.1em;
    }

    #btn_001_3 {
        font-size: 0;
    }

    #btn_001_3:before {
        content: '生息';
        font-size: 13px;
        line-height: 2.1em;
    }

    /* カーボンニュートラル */
    #btn_002_1 {
        font-size: 0;
    }

    #btn_002_1:before {
        content: '成長量';
        font-size: 13px;
        line-height: 1.5em;
    }

    #btn_002_2 {
        font-size: 0;
    }

    #btn_002_2:before {
        content: '育成林';
        font-size: 13px;
        line-height: 1.5em;
    }

    #btn_002_3 {
        font-size: 0;
    }

    #btn_002_3:before {
        content: '管理対象';
        font-size: 13px;
        line-height: 1.1em;
    }

    /* 伐採・搬出可能な木材資源 */
    #btn_003_1 {
        font-size: 0;
    }

    #btn_003_1:before {
        content: '材積';
        font-size: 13px;
        line-height: 2.2em;
    }

    #btn_003_2 {
        font-size: 0;
    }

    #btn_003_2:before {
        content: '経営対象';
        font-size: 13px;
        line-height: 1.1em;
    }

    #btn_003_3 {
        font-size: 0;
    }

    #btn_003_3:before {
        content: '林道';
        font-size: 13px;
        line-height: 2.2em;
    }
}