#gachatable {
    width: 100%;
    max-width: 1000px;
    margin: 0;
}

#ngachatable {
    justify-content: center;
}

#gachatable td {
    position: relative;
    padding: 0;
    max-width: 120px;
    max-height: 250px;
    overflow: hidden;
}

#gachatable td img {
    height: 100%;
}

.rsch {
    margin-top: 20%;
    position: absolute;
    overflow: hidden;
    left: 50%;
    transform: translate(-50%);

}

.raredo {
    width: 100%;
    max-width: 120px;
}

.tot {
    display: inline;
}

#gachalog {
    width: 100%;
    max-width: 300px;
    min-height: 100px;
    max-height: 502px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: scroll;
}

#resultdiv,
#fl {
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.logt {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 50px;
    max-height: 50px;
}

.gsprite {
    width: 100%;
    height: 100%;
}

.lcount {
    margin: 0;
    position: absolute;
    width: 20px;
    bottom: -0px;
    left: 30px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
}

#wishpick {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

#wishpick .sq {
    border: solid 1px rgba(0, 0, 0, 0.5);
}

.comp,
#elysion,
#missilis,
#tetra,
#pilgrim {
    width: 250px;
    max-width: 250px;
}

.comp,
#elysion td,
#missilis td,
#tetra td,
#pilgrim td {
    padding: 0;
    margin: 0;
    max-width: 50px;
}

.comp,
#elysion td p,
#missilis td p,
#tetra td p,
#pilgrim td p {
    font-size: 14px;
    padding: 0;
    margin: 0;
    align-items: center;
}

.sp {
    width: 50px;
    height: 50px;
    margin: 0;
    background-size: cover;
    position: absolute;
    z-index: 10;
}

input[type=checkbox] {
    display: none;
}

input[type=checkbox]:checked+label {
    background-image: url('../image/resource/nck.png');
}

input[type=checkbox]:disabled+label {
    background-image: none;
}

.planner {
    display: none;
}

#tarresult,
.form-select {
    width: 300px;
}

.form-control {
    width: 300px;
    display: initial;
}

#totnum {
    width: fit-content;
    min-width: 300px;
    max-width: 500px;
}

#loading {
    position: absolute;
    width: 300px;
    height: 100%;
    min-height: 100px;
    align-content: center;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 30px;
    display: none;
}

.banner img {
    max-width: 300px;
    height: auto;
}

.gebal {
    min-width: 300px;
    height: 300px;
    overflow-y: scroll;
}

.container {
    margin-top: 100px;
}

#bannerdiv,
#bannerimg {
    position: relative;
}

#bannerimg {
    width: 100%;
    opacity: 0.8;
}

#bannertxt {
    text-shadow: 2px 2px 2px gray;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 25px;
}

#startplanner {
    display: none;
}

.errs {
    max-width: 300px;
    min-width: 250px;
    margin: 0;
}

.lockicon img {
    width: 40px;
}

.lockicon {
    margin: 0;
    padding: 0;
    border: none;
}

.mainbanner img {
    max-width: 70%;
    height: auto;
}

.mainbanner {
    position: relative;
}

.mainupdate {
    padding: 10px;
    border-radius: 20px;
    position: absolute;
    top: 250px;
    left: 38%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: -1px 0 black;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.lead {
    margin: 0 20px 0 20px;
}

@media all and (max-width: 756px) {
    .mainupdate {
        display: none;
    }
}

#chart {
    width: 50%;
}
#newnikke {
    padding-left: 50px;
    padding-right: 50px;
}
#timer {
    font-size: 30px;
    color: blueviolet;
}
.square {
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 30px;
}
.square h1, #timer {
    font-family: "Jua", sans-serif;
    font-style: normal;
}