@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap');

*{
    font-family: 'BIZ UDPGothic', sans-serif;
    letter-spacing: 0.25px;;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing:border-box;
}

a,p,span,ul,li,ol,dl,dt,dd,h1,h2,h3,h4,h5,h6{
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

button:hover, input:hover, select:hover, textarea:hover {
    cursor: pointer;
    opacity:0.7;
}

/* margin :フレームワークを使用する際は、衝突回避のために接頭辞を付けるか、削除すること。*/
.mb-1 {margin-bottom: 4px;}
.mb-2 {margin-bottom: 8px;}
.mb-3 {margin-bottom: 12px;}
.mb-4 {margin-bottom: 16px;}
.mb-5 {margin-bottom: 20px;}
.mb-6 {margin-bottom: 24px;}

body {
    background-color: #e7f4ff;
    padding: 20px;
}
/* エラー検証用 */
#err{color:#a00;font-size:12px;margin-top:.5rem;display:none}

/* titleBlock */
.titleBlock h1{
    font-size: 28px;
    color: #0056b3;
    line-height: 1.2;
}

.titleBlock p.smallCaption{
    font-size:12px;
    color:#666;
    margin:0 0 8px;
}

/* howtoBlock */
.howtoBlock{
    background:#fbffff;
    border-radius:16px;
    padding:8px 16px;
    margin-bottom: 16px;;
}

.howtoBlock p{
    font-size:14px;
    color:#333;
}

.howtoBlock p span{
    font-size:16px;
    font-weight:bold;
    color:#fc294c;
}

#stage{
    border:1px solid #ccc;
    width:100%;
    height:clamp(450px,100vh,100%);
    background:#a1cce0;
    touch-action:none;
}

#prefRoot{
    width: 100%;
    height: 100%;
}
#map{
    position:relative;
    width:100%;
    height:100%;
    background:#fff;
    border-radius:8px;
    overflow:hidden;
}

#map .menuBlock{
    position:absolute;
    top:8px;
    left:8px;
    background:rgba(255,255,255,0.6);
    padding:8px 16px;
}

#map .menuBlockWrap{
    display: flex;
    align-items: center;
    gap: 8px;
}

#map .menuBlock label.att{
    font-size:14px;
    font-weight:bold;
    color:#0b8630;
}

#map .menuBlock select{
    font-size:14px;
    padding:4px;
    border-radius:4px;
    border:1px solid #ccc;
    background:#fff;
    margin-right: 16px;
}

/* flexBox */
.flexBox{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

#map{
    width:calc(80% - 8px);
}

#addBtn{
    font-size:14px;
    padding:6px 12px;
    background:#1aaa51;
    color:#fff;
    border:none;
    border-radius:4px;
    cursor:pointer;
}

#clearBtn{
    font-size:14px;
    padding:6px 12px;
    background:#d9534f;
    color:#fff;
    border:none;
    border-radius:4px;
    cursor:pointer;
    margin-left: auto;
}

#list{
    width:20%;
    background:#ffffff;
    padding:8px;
    max-height:clamp(450px,100vh,100%);
    overflow-y:auto;
}

#list h2{
    font-size: 14px;
    color: #0056b3;
    padding-bottom: 4px;
    margin-bottom: 8px;
    border-bottom:1px solid #ccc;
}

#addedList { margin-top:1em; padding:0; list-style:none; }
#addedList li { margin:4px 0; }


.btmBlock{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding: 8px;
    background:rgba(255,255,255,0.6);
    position:absolute;
    bottom:0;
    right:0;
}
.removeBtn {
    margin-left:8px;
    font-size:12px;
    cursor:pointer;
    color:#fff;
    background:#a33;
    border:none;
    border-radius:4px;
    padding:2px 6px;
}
#addedList li.selected {
    background: #eee;
    font-weight: bold;
}
.pc-none {
    display: none;
}
.sp-none {
    display: block;
}
@media (max-width: 768px) {
    /* titleBlock */
    .titleBlock {
        margin-bottom: 16px;
    }
    .titleBlock h1{
        font-size: 20px;
    }
    #map,#list{
        width:100%;
    }

    #map .menuBlock{
        margin-right:8px;
    }

    #map .menuBlockWrap{
        display:flex;
        flex-wrap:wrap;
        gap:8px;
    }
    #map .menuBlock label.att{
    font-size:14px;
    font-weight:bold;
    color:#0b8630;
    min-width:90px;
    line-height:1.3;
}
    .pc-none {
        display: block;
    }
    .sp-none {
        display: none;
    }

    #stage{
        height:calc(100vh - 480px);
    }

}
.exhibit{
    margin-top: 8px;
}
.exhibit,.copyright{
text-align: center;
font-size:12px;
color:#666;
}

.copyright a{
color:#0056b3;
}