.simuContainer{
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.pointTable{
    /* min-width: 18rem; */
    margin: 0 1rem;
    position: sticky;
    top: 8px;
}

.pointTable table, .btns{
    margin: 8px 0 0 auto;
    width: fit-content;
}
.pointTable td{
    padding: 0 4px;
}
.pointTable td:nth-child(even){
    text-align: right;
    min-width: 2rem;
}

#patternInput{
    width: 5.5rem;
    padding: 4px 2px;
}

.resultBox{
    text-align: right;
}

.questions form{
    display: grid;
    gap: 8px 0;
}
.questions fieldset{
    border-radius: 8px;
}

.questions label, .tanteiBtn{
    font-family: inherit;
    display: inline-block;
    padding: 3px 6px;
    margin: 2px 0;
    border: 1px solid #1e1815;
    border-width: 1px 2px 3px 1px;
    border-radius: 8px;
    background-color: #57453e;
    color: #fff;
    cursor: pointer;
    transition: .3s;
    user-select: none;
    min-width: 6rem;
    text-align: center;
}

:is(.questions label, .tanteiBtn):hover{
    filter: sepia(0.7);
}

.questions label.active, .tanteiBtn.active,
:is(.questions label, .tanteiBtn):active{
    background-color: #917265;
    color: #fff;
    border-color: #d9beb2;
    border-width: 1px;
    transform: translate(1px, 2px);
}

.questions label.dis{
    /* background-color: #ddd;
    color: #999;
    border-color: #aaa; */
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
}

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

.questions label span{
    display: none;
}

@media screen and (max-width: 700px) {
    .simuContainer{
        flex-direction: column-reverse;
    }
    .pointTable{
        position: relative;
        /* display: flex; */
        margin: 0 8px;
        width: calc(100% - 16px);
        top: 0;
    }

    .questions label, .tanteiBtn{
        min-width: 2rem;
    }
}