html{
    font-size: 16px;
}
body {
    max-width: 95%;
    margin: 0 auto;
    background-color: #e2f0d9;
}
h1{
    font-size: 2rem;
    text-align: center;
    margin: 2rem auto 0.5rem;
    position: relative;
    background-color: #fff;
    border: 2px solid #498fcf;
    width: 80%;
}
h2{
    font-size: 1.5rem;
    margin: 0 auto;
    margin-top: 0.5rem;
}
h3{
    font-size: 1.3rem;
    margin: 0 auto;
    margin-top: 0.5rem;
}

p{
    font-size: 1.5rem;
    margin: 0.5rem;
}
button{
    text-align: center;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    background-color: #498fcf;
    margin-top: 0.5rem;
    width: fit-content;
    height: auto;
    box-shadow: 3px 3px 2px 1px #396b9b;
    margin: 20px 0 20px 0;
    padding: 0 10px;
}
button:hover{
    cursor: pointer;
    background-color: #396b9b;
    box-shadow: none;
}
.display{
    width: 80%;
    margin: 0.5rem auto;
}

.none{
    display: none;
}
.flex{
    display: flex;
    flex-wrap: wrap;
}
.flex-spacebetween {
    display: flex;
    justify-content: space-between;
}
.ta-center{
    text-align: center;
}
.ta-right{
    text-align: right;
}
.jc-center{
    justify-content: center;
}
.bgcolor-lightpink{
    background-color: lightpink;
}
.title {
    margin: 20px 0 0 0;
    text-align: center;
}
.title input{
    width: 800px;
    text-align: center;
    border: 0px solid black;
    font-size: 2.5rem;
    text-decoration: underline;
    background: #ffffff;
}
/* --------------------------------------------------------------------------- */
/*問題文*/
.prc,.dragprc{
    justify-content: space-evenly;
    width: 80%;
    margin: 1rem auto;
}
.prc p{
    margin: 0;
}
.prc img{
    width: 12vw;
    height: 12vw;
}
.dragprc img{
    width: 8vw;
    height: 8vw;
}
.dropbox1,.dropbox2{
    text-align: center;
    width: 20rem;
    height: 20rem;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dropbox1 img{
    width: 100%;
    height: 80%;
    padding: 10px;
}
.dropbox2 img{
    width: 100%;
    height: 100%;
}
.prc3{
    align-items: flex-end;
    justify-content: space-evenly;
    width: 80%;
    margin: 0 auto;
}
.prc3 img{
    display: block;
    margin: 0 auto;
}
.prc3 div:nth-of-type(1) img{
    /* width: 10vw; */
    height: 12vw;
}
.prc3 div:nth-of-type(2) img{
    /* width: 12vw; */
    height: 16vw;
}
.prc3 div:nth-of-type(3) img{
    /* width: 14vw; */
    height: 20vw;
}
.prc3 div:nth-of-type(4) img{
    /* width: 16vw; */
    height: 24vw;
}

.hint{
    font-size: 16px;
}

/* --------------------------------------------------------------------------- */
/*選択肢*/
.select{
    width: 80%;
    font-size: 1.5rem;
    margin: 0 auto;
    background-color: #fff;
    padding: 2px 0.3rem;
    border: 2px solid #498fcf;
    margin: 0.5rem auto;
}
.select:hover{
    background-color: #498fcf;
    color: #fff;
    cursor: pointer;
}
.active{ /* 選択状態 */
    background-color: skyblue;
    cursor: pointer;
    width: 78%;
}
.oneselect{
    text-align: center;
    border: 2px solid #498fcf;
}
.oneselect:hover{
    cursor: pointer;
    background-color: #396b9b;
}
.oneactive{
    background-color: skyblue;
    border: 2px solid #396b9b;
}

/* --------------------------------------------------------------------------- */
/* 正誤表示 */
.comment{
    margin: 2rem;
    justify-content: center;
    text-align: center;
    position: relative;
    width: 80%;
}
.comment p{
    position: absolute;
    font-size: 4rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.comment img{
    width: 18rem;
    height: 20rem;
    top: 50%;
    left: 50%;
    transform: translate(80%, 0);
}
.good,.bad{
    display: none;
}
.good,.bad{
    position: fixed;
    text-align: center;
    top: 50%;
    left: 50%;
    font-weight: bold;
    transform: translate(-50%,-50%);
}
.good .result,.bad .result{
    text-align: center;
    font-size: 20vw;
    margin: 0%;
}
.good .result{
    color: #ff4500;
}
.bad .result{
    color: #498fcf;
}