@font-face {
    font-family: "Hiragino Kaku Gothic Pro";
    font-weight: 400;
    src: url("../public/Hiragino Kaku Gothic Pro W3.otf");
}

@font-face {
    font-family: "Hiragino Kaku Gothic Pro";
    font-weight: 600;
    src: url("../public/Hiragino Kaku Gothic Pro W6.otf");
}

:root {
    --font-size-normal: 4px;
    --stroke-extra-thin: .5px;
    --stroke-thin: .5px;
    --stroke-norm: 1px;
    --font-stroke: 2px;
    --stroke-bullet: 1px;
}

body {
    background-color: #333333;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.main {
    width: 1541.2px;
    height: 1541.2px;
    position: relative;
    background-image: url("../public/bg.png");
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.display {
    width: 1402.5px;
    height: 975px;
    padding: 35px;
    background: #fff4;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
}

.desc {
    height: 460px;
    width: 100%;
    /* padding-top: 20px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.desc-text {
    background: #fff;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 38px;
    font-family: "Hiragino Kaku Gothic Pro";
    font-weight: 600;
    margin: 0 50px;
    text-align: center;
}

.map-wrapper {
    width: 1402.5px;
    height: 875px;
    display: flex;
    overflow: hidden;
    position: relative;
}

.map-container {
    height: 100%;
    width: 199.0514285714286%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3c5568;
    line-height: 0;
}

#svg-object, .svg-overlay, .svg-underlay {
    height: 100%;
    width: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.svg-overlay, .svg-underlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 1741.7px;
    height: 100%;
    pointer-events: none;
    /* Allow clicks to pass through to the SVG map */
}

.labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.label-bg {
    position: absolute;
    top: 69.67px;
    left: -25px;
    width: 286px;
    height: 69px;
    background-color: #fff;
    transform: skewX(-27deg);
    border: solid 4px #0c49b2;
}

.label-text {
    font-family: "Hiragino Kaku Gothic Pro";
    font-weight: 600;
    position: absolute;
    top: 72.67px;
    left: 51px;
    font-size: 45.2px;
    color: #0c49b2;
}

.label-time {
    font-family: "Hiragino Kaku Gothic Pro";
    font-weight: 600;
    position: absolute;
    top: 142.67px;
    left: 0px;
    width: 290px;
    height: 54px;
    padding-left: 30px;
    font-size: 38.6px;
    color: #fff;
    background-color: #0008;
    line-height: 1.4;
}

.label-dist {
    font-family: "Hiragino Kaku Gothic Pro";
    font-weight: 600;
    position: absolute;
    bottom: 15px;
    padding: 10px;
    font-size: 30px;
    color: #fff;
    background-color: #0008;
    line-height: 1;
    border-radius: 10px;
    left: 15px;
}

#displayDist_small {
    font-size: 20px;
}

.text-norm, .text-norm-flip {
    font-family: "Hiragino Kaku Gothic Pro";
    font-size: var(--font-size-normal);
    stroke-width: var(--font-stroke);
    paint-order: stroke;
    font-weight: 600;
    stroke-linejoin: round;
}

.text-norm {
    stroke: #fff;
}

.text-norm-flip {
    fill: #fff;
    stroke: #000;
}

:is(.text-norm, .text-norm-flip).small {
    font-size: calc(var(--font-size-normal) / 2);
    stroke-width: 0;
}

.legend {
    font-family: "Hiragino Kaku Gothic Pro";
    font-weight: 600;
    background: #0853b2;
    border-top: solid 5px #08356f;
    color: #fff;
    font-size: 32px;
    display: flex;
    justify-content: center;
    height: 95px;
    align-items: center;
    flex-direction: column;
}

.legend-row {
    display: flex;
    gap: 25px;
}

.type {
    display: flex;
}

.circles {
    margin: 0 8px;
    font-size: 25px;
    display: flex;
    align-items: center;
}

.circle {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 1.25;
    border-radius: 100px;
}

.lvL {
    background: rgb(119, 119, 119);
    border: solid 5px rgb(71, 71, 71);
}

.lvE {
    background: rgb(236, 9 , 9 );
    border: solid 5px rgb(225, 225, 225);
}

.lv2 {
    background: rgb(45 , 216, 255);
    border: solid 5px rgb(27, 130, 153);
    color: #000;
}

.lv3 {
    background: rgb(255, 242, 126);
    border: solid 5px rgb(153, 145, 76);
    color: #000;
}

.lv4 {
    background: rgb(255, 169, 71 );
    border: solid 5px rgb(153, 101, 43);
    color: #000;
}

.lv5 {
    background: rgb(236, 9 , 9 );
    border: solid 5px rgb(142, 5, 5);
}

.lv6 {
    background: rgb(155, 0 , 52 );
    border: solid 5px rgb(93, 0, 31);
}

.lv7 {
    background: rgb(190, 12, 235);
    border: solid 5px rgb(114, 7, 141);
}

.lvRed {
    border: solid 5px #f20e0eff;
    background: #ff626244;
}

.lvYellow {
    background: #ecd10955;
    width: 40px;
    height: 40px;
}

.lvWhite {
    background: #fff;
    width: 20px;
    height: 20px;
}

.circle-desc {
    font-size: 25px;
}

.label-info {
    font-family: "Hiragino Kaku Gothic Pro";
    font-weight: 600;
    position: absolute;
    bottom: 71px;
    padding: 10px;
    font-size: 25px;
    color: #fff;
    background-color: #0008;
    border-radius: 10px;
    left: 15px;
}

.label-info-row {
    height: 35px;
    display: flex;
}

.label-info-type {
    width: 150px;
    display: block;
}

.label-info-value {
}

.btn {
    margin-top: 10px;
    font-size: 40px;
    background: #b4b4b4;
    border: solid 3px #666666;
    padding: 5px 10px;
    border-radius: 10px;
}

.btn:hover {
    background: #6e6e6e;
    border: solid 3px #313131;
    cursor: pointer;
}
