/* repaired */

body {
    margin: 0;
    font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
}

.loader {
    width: 120px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l11 2s infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes l11 {
    0% {
        background: conic-gradient(#2f147a 0, #0000 0)
    }
    12.5% {
        background: conic-gradient(#2f147a 45deg, #0000 46deg)
    }
    25% {
        background: conic-gradient(#2f147a 90deg, #0000 91deg)
    }
    37.5% {
        background: conic-gradient(#2f147a 135deg, #0000 136deg)
    }
    50% {
        background: conic-gradient(#2f147a 180deg, #0000 181deg)
    }
    62.5% {
        background: conic-gradient(#2f147a 225deg, #0000 226deg)
    }
    75% {
        background: conic-gradient(#2f147a 270deg, #0000 271deg)
    }
    87.5% {
        background: conic-gradient(#2f147a 315deg, #0000 316deg)
    }
    100% {
        background: conic-gradient(#2f147a 360deg, #0000 360deg)
    }
}

.loader-wrap {
    background: #fff;
    position: fixed;
    inset: 0;
    margin: 0;
}

.parking {
    width: min(98%, 450px);
    margin: 0 auto;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    height: 100vh;
}

.lane {
    border-left: 1px solid rgb(187, 187, 187);
}

.result3.lane {
    border-right: 1px solid rgb(187, 187, 187);
}

.car {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3px;
    font-size: 0.9em;
    /* background-position: bottom !important; */
}

.car .inner-wrap span {
    color: #0f0f0f;
    font-weight: bold;
    /* background-color: #fff; */
    /* border: 1px solid #000; */
    padding: 0.7em 0em;
    border-radius: 50px;
    white-space: nowrap;
    text-shadow: 0 -1px 0 #fff, 1px 0 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff;
    line-height: 1.5;
}

.car strong {
    text-shadow: 0 -1px 0 #fff, 1px 0 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff;
    margin-top: 0px;
    line-height: 1;
    white-space: nowrap;
}

.lane {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    padding: 0 0.1em;
}

.wish-1 {
    grid-row: 1/2;
}

.wish-2 {
    grid-row: 2/3;
}

.wish-3 {
    grid-row: 3/4;
}

.wish-4 {
    grid-row: 4/5;
}

.wish-5 {
    grid-row: 5/6;
}

[data-rank="lv10"] {
    background: url(img/stay-long.svg) no-repeat center/contain;
}

[data-rank="lv20"] {
    background: url(img/stay-little.svg) no-repeat center/contain;
}

[data-rank="lv30"] {
    background: url(img/normal.svg) no-repeat center/contain;
}

[data-rank="lv40"] {
    background: url(img/back-soon.svg) no-repeat center/contain;
}

[data-rank="lv50"] {
    background: url(img/late.svg) no-repeat center/contain;
}


/* 欠席の場合は画像表示をしない */


/* [data-rank="lv60"] {
    background: url(img/absent.svg) no-repeat center/contain;
} */

.load {
    border-left: 1px solid #bbbbbb;
    display: flex;
    justify-content: center;
    align-items: center;
    writing-mode: vertical-rl;
    background: #bbbbbb;
}

.other {
    border-right: 1px solid #bbbbbb;
    writing-mode: vertical-rl;
    display: flex;
    justify-content: center;
    align-items: center;
}

* {
    box-sizing: border-box;
}

span.inner-wrap {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* transform: rotate(20deg); */
    /* gap: 1px; */
    writing-mode: vertical-rl;
}

.parking {
    height: 80vh;
    margin-top: 10vh;
    height: 80svh;
    margin-top: 10svh;
}

.marker {
    position: absolute;
    bottom: 2.5vh;
    bottom: 2.5svh;
    left: 50%;
    transform: translate(-50%, 0);
    width: 50px;
    height: 30px;
    text-align: center;
    color: #fff;
    background: #222;
    clip-path: polygon(0 0, 100% 0, 50% 100%, 0 0);
}