@charset "UTF-8";
/* CSS Document */
html{font-size: 16px;}
body{
    max-width: 95%;
    margin: 0 auto;
    background-color: #e2f0d9;
}
h1{
    margin: 10rem auto 0.5rem;
    font-size: 2rem;
    text-align: center;
}
h2{
    margin-top: 1rem;
    font-size: 1.5rem;
    text-align: center;
    line-height: 2rem;
}
h3{
    font-size: 2rem;
}
p{
    font-size: 1rem;
    line-height: 1.5rem;
}
.main{
    position: relative;
    width: 80%;
    margin: 1rem auto;
}
.flex{
    display: flex;
}
.color-red{
    color: red;
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
button{
    text-align: center;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    background-color: #498fcf;
    margin: 1rem;
    width: 10rem;
    box-shadow: 3px 3px 2px 1px #396b9b;
    padding: 0 10px;
}
button:hover{
    cursor: pointer;
    background-color: #396b9b;
    box-shadow: none;
}

.start-button{
    text-align: center;
    margin: 1rem;
}
.start-button button{
    width: 10rem;
    height: 5rem;
}
.next-button{
    text-align: right;
    /* margin: 1rem; */
}
.return-button{
    text-align: right;
    /* margin: 1rem;
    margin-right: 2vmin; */
}
.buttonmenu{
    width: 80%;
    justify-content: right;
    margin: 0 auto;
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
.selectbox{
    width: 80%;
    margin: 0 auto;
    justify-content: space-around;
    flex-wrap: wrap;
}
.select,.noselect{
    /* align-items: center; */
    /* justify-content: center; */
    text-align: center;
    width: 15rem;
    height: 10rem;
    background-color: #fff;
    border: 2px solid #498fcf;
    /* font-size: 2.5rem; */
    cursor: pointer;
    /* user-select: none; */
    margin: 0.5rem 0;
    position: relative;
}
.select p:nth-child(1){
    /* width: 1rem; */
    text-align: left;
    padding: 0.5rem;
}
.none{
    display: none;
}
.on{/* 選択状態 */
    background-color: skyblue;
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
.prctext{
    width: 80%;
    margin: 0 auto;
    justify-content: center;
    /* font-size: 2.2rem; */
    flex-wrap: wrap;
    /* margin: 5vw; */
}
.prctext .box{
    width: 80%;
    padding: 2rem;
    background-color: skyblue;
    border: 1px solid #396b9b;
    border-radius: 1rem;
}
.comment{
    font-size: 1.5rem;
    line-height: 3rem;
}
.comment>span{
    border-bottom: 2px solid black;
}
input{
    width: 90%;
    height: 2rem;
    margin: 0.5rem;
}
.commentarytext{
    width: 80%;
    margin: 0 auto;
    background-color: skyblue;
    border: 1px solid #396b9b;
    border-radius: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.commentarytext div{
    padding: 5rem;
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
.clickbox{
    position: relative;
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    margin: 1.5rem auto;
}
.click{
    position: relative;
    text-align: center;
    width: 36vw;
    height: 20vmin;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
}
.left{
    text-align: left;
}

.front{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;
    background-color: #fff;
    border: 4px solid #498fcf;
    transform: rotateY(-180deg);
    overflow-y: scroll;
}
.clicks .front{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotateY(0);
    width: 80%;
    height: 80%;
    z-index: 2;
}
.front div{
    width: 80%;
    margin: 1.5rem auto;
}
.front p{
    margin-top: 1rem;
    font-size: 1.5rem;
    line-height: 2rem;
}
.front button{
    margin: 1rem;
    width: 80%;
    padding: 1.5rem;
}
.clicks .back{
    transform: rotateY(180deg);
}
.back{
    transition: all 0.6s;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;
    background-color: #498fcf;
}
.card-box{
    display: flex;
    height: 100%;
    width: 100%;
    align-items:center;
    justify-content:center;
}
.card-box p{
    font-size: 1.5rem;
    line-height: 2rem;
    color: #fff;
}
.blackback{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.7;
    z-index: 1;
}
.returntext{
    margin: 2rem;
    color: #666666;
    font-size: 1rem;
    text-decoration: underline;
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
.endtext{
    width: 80%;
    margin: 0 auto;
    background-color: skyblue;
    border: 1px solid #396b9b;
    border-radius: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    top: 50%;
    left: 50%;
    transform: translate(0,50%);
}
.endtext div{
    padding: 5rem;
}

footer{
    margin-top:186px;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* .click button{
    width: 60vw;
}
#anscount{
    text-align: center;
    font-size: 3rem;
    color: red;
}

.indextext{
    margin-top: 15%;
    font-size: 5rem;
    text-align: center;
}
.box{
    margin-top: 10px;
    margin-left: 2.5%;
    margin-right: 2.5%;
    width: 95%;
    border: solid 2px black;
    border-radius: 15px;
    box-sizing: border-box;
    padding: 15px;
    font-size: 5rem;
}

.check{
    width: 5rem;
    height: 5rem;
    border-radius: 100%;
    border: solid 2px black;
    display:flex;
    align-items: center;
    justify-content: center;
    background-color: greenyellow;
}

.oneselect{
    display:flex;
}

.text{
    font-size: 5rem;
}
.serch{
    text-align: center;
    padding: 10px 15px;
}

.textbox{
    height: 4rem;
    width: 60rem;
    font-size: 3rem;
}

.anstext{
    margin-top: 10px;
    font-size: 5rem;
} */