/* 凡例パネル */
.legend-box {
    background: white;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    font-size: 14px;
    line-height: 1.5;
}
.legend-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    white-space: nowrap;
}
.legend-swatch {
    width: 18px;
    height: 4px;
    border-radius: 2px;
    display: inline-block;
}

/* 出発地ピン（色付き丸＋ラベル） */
.start-pin {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.start-pin-label {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
}

/* にこ淵ピン（画像＋ラベル） */
.dest-pin-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    /* transform は削除！ */
}
.dest-pin-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,.45);
    object-fit: cover;
    background: #fff;
}
.dest-pin-label {
    position: absolute;
    top: 66px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #111;
    white-space: nowrap;
    box-shadow: 0 1px 5px rgba(0,0,0,.3);
}

/* 国道シールド風マーカー */
.route-shield {
    background: #fff;
    border: 2px solid #06a;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,.35);
    color: #06a;
    display: inline-block;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    padding: 2px;
    word-break: keep-all;
}




#route-map
{
    border: 1px solid #999;
    box-sizing: border-box;
    height: 450px;
}
.message
{
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 1em;
}
.message strong.iyoSaijo
{
    color: #3498db;
}
.message strong.otoyo
{
    color: #2ecc71;
}

