html{
    font-size: 16px;
}

body {
    max-width: 95%;
    margin: 0 auto;
    background-color: #e2f0d9;
}

.main{
    position: relative;
    background-color: #fff;
    border: 2px solid #498fcf;
    width: 80%;
    height: 8rem;
    margin: 1rem auto;
}

.conteiner{
    position: relative;
    background-color: #fff;
    border: 2px solid #498fcf;
    /* width: 95%; */
    margin: 0 auto;
    padding: 1rem 0;
}

h1{
    font-size: 2.0rem;
    text-align: center;
    margin: 0 auto;
}

h2{
    font-size: 1.5rem;
    text-align: center;
    margin: 0 0 1rem 0;
}

p{
    font-size: 1.3rem;
    /* height: 3rem; */
    margin-top: -1px;
    margin-bottom: -1px;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.title{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    white-space: nowrap;
    /* padding: 3rem; */
    /* margin: 3rem; */
    display: block;
}
.titbtn{
    text-align: center;
}

.none{
    display: none;
}

.quiz{
    border: 1px solid;
    padding: 2rem;
}
.quiz .flex{
    /* height: 3rem; */
    margin: 0;
}
.number{
    color: #888888;
}

.question{
    justify-content: center;
    text-align: left;
    /* padding: 10px 0; */
}

/* .choice{
    margin: 1rem 0; */
    /* background-color: #fff;
    border: 2px solid #498fcf; */
/* } */

.code{
    justify-content: center;
}

.code div{
    position: relative;
    /* background-color: #498fcf; */
    border: 3px solid #498fcf;
    width: 7rem;
    height: 3rem;
    margin: 0.5vw;
    text-align: center;
    flex-wrap: wrap;
}

.drag{
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #498fcf;
    font-weight: 600;
    cursor: pointer;
}

.drop{
    color: #222222;
    text-decoration: underline;
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*ボタン*/
button{
    width: 220px;
    height: auto;
    text-align: center;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    background-color: #498fcf;
    box-shadow: 3px 3px 2px 1px #396b9b;
    margin: 1rem 0;
}
button:hover{
    cursor: pointer;
    background-color: #396b9b;
    box-shadow: none;

}

.button{
    text-align: right;
}

.location-menu{
    justify-content: space-between;
}

.menu{
    justify-content: space-around;
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/**/

.hint{
    /* width: 10rem; */
    /* margin-right: 85%; */
    font-size: 1rem;
    margin-left: 2rem;
    color: #498fcf;
    cursor: pointer;
}

.hint_box{
    font-size: 1.5rem;
    color: #666666;
    margin: 0,1px,0,0;

}
.hint_box p{
    /* height: 3rem; */
    margin-left: 2rem;
    border: 1px solid #cde0f3;
    background-color: #cde0f3;
    border-radius: 2px;
    font-size: 1rem;
}

.ta-center{
    text-align: center;
}

.flex{
    flex-wrap: wrap;
    display: flex;
}

/* .bgcolor-grey{
    background-color: #fff;
    border: 2px solid #498fcf;
} */

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.back_pop{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.7;
    z-index: 1;
}

.answer_pop{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 70rem;
    height: 35rem;
    background-color: lightskyblue;
    z-index: 2;
}
.answer_pop h1{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    /* height: 9rem; */
}
.answer_pop button{
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(calc(-50% - 10px),-50%);
}
@media all and (max-width: 767px) {
    h1{
        font-size: 1.5rem;
    }
    h2{
        font-size: 1rem;
    }
    .question{
        margin: 0;
    }
    p{
        font-size: 1rem;
        height: 2rem;
        margin-top: -1px;
        margin-bottom: -1px;
    }
    button{
        font-size: 1rem;
        color: #fff;
        background-color: #498fcf;
    }
    .number{
        padding-left: 20px;
    }
    .answer_pop{
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 40rem;
        height: 20rem;
        background-color:lightskyblue;
    }
}

@media all and (max-width: 1250px) {
    .code>div{
        width: calc(20% - 23px);
    }
}