@charset "UTF-8";
/* CSS Document */

body{
    width: 100%;
    margin: 0 auto;
    color: #42210b;
    background-color: #fff9d9;
    font-family:YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"
}

li{
    list-style: none;
}
h1{
    font-weight: 600;
}

a {
  text-decoration: none;
   color: #42210b;
}


/*最後のアニメーションの設定*/
#anm{
    background-color: #fff9d9;
    position: fixed;
    width: 100%;
    height: 100%;
      -moz-animation: cssAnimation 0s ease-in 3s forwards;
    /* Firefox */
    -webkit-animation: cssAnimation 0s ease-in 3s forwards;
    /* Safari and Chrome */
    -o-animation: cssAnimation 0s ease-in 3s forwards;
    /* Opera */
    animation: cssAnimation 0s ease-in 3s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
@keyframes cssAnimation {
    to {
        width:0;
        height:0;
        overflow:hidden;
    }
}
@-webkit-keyframes cssAnimation {
    to {
        width:0;
        height:0;
        visibility:hidden;
    }
}
.anm-wrap{
    margin-top: 55%;
    text-align: center;
}
.sumahho_anm{
    width: 35%;
}

/*タイトル*/
.header{
    margin-top: 1.5em;
    display: flex;
    justify-content: center;
}


header img{
    width: 90%; 
}

/*質問*/
#question{
    margin-top: 2.5em;
}

.sumahho{
    width: 15%;
    margin-left: 2em;
    margin-bottom: 1em;
}

.wrap_q2{
    position: relative;
}

.question{
    font-size:1em;
    position: absolute;
    left: 7.5em;
    bottom: 6em;
}

.txt-wrap{
    width: 60%;
    position: absolute;
    left: 7.5em;
    bottom: 2.5em;
}
.txt{
    font-size: 1.5em;
}

.fukidashi{
    width: 68%;
    position: absolute;
    left: 6em;
    bottom: 1.5em;
}

/*2択*/
.choices_2_wrap{
    display: flex;
    padding: 1em;
}

.choices_2 img{
    width: 90%;
}

.choices_2{
   text-align: center;
}

/*3択*/
.choices_3{
    text-align: center;
}

.btn3{
    width: 80%;
}

/*5択*/
.choices_5_wrap_top{
   display: flex;
    justify-content: center;
}
.choices_5_wrap_bottm{
   display: flex;
    justify-content: center;
}

.btn5{
    width: 7em;
    margin: 0.2em;
}



/*フッター*/
.wine_foot{
    margin-top: 0.3em;
     display: flex;
    justify-content: center;
    
}


.wine{
    width: 13%;
}


/*最後の画面の設定*/
.txt-answer-top{
    display: flex;
}

.text-y{
   margin-left: 0.5em;
    margin-top: 2.5em; 
    font-weight: 600;
}

.sumahho4{
    width: 20%;
    margin-left: 5em;
    margin-top: 0.5em;
}

.number-img{
    width: 65%;
    margin: 0.5em 0;
}
.number{
    text-align: center;
}

.txt-answer-bottom{
    line-height: 1.3em;
    text-align: center;
     font-weight: 600;
}

/*戻るボタン*/

.return{
    padding: 0.6em 1em;
    background: #FFFFFF;
    text-align: center;
    margin: 1.5em 3em 2em;
    border-radius: 1em;
}


/*PC版*/
@media (min-width: 62.5rem) {
    body{
    width: 800px;
}
    
/*アニメーションの設定*/
#anm{
    width: 800px;}
    
.anm-wrap{
    margin-top: 120px;
}
.sumahho_anm{
    width: 120px;
}
    
/*タイトル*/
header{
margin-top: 60px;        
    }
.header{
    width: 400px;
    margin: 0 auto;
}
    
.txt{
        font-size: 30px;
    }
    
.txt-wrap{
    left: 280px;
    bottom: 100px;
}
    
/*質問*/
.question{
    font-size:20px;
    left: 290px;
    bottom: 150px;
}

    
.fukidashi{
    position: absolute;
    left: 240px;
    bottom: 40px;
}
    
.sumahho{
    margin-left: 110px;
    margin-bottom: 20px;
}
    
    
/*2択*/
.choices_2_wrap{
justify-content: center;        
    }
.wine_foot{
margin:60px 0;         
    }
    
.sumahho{
        width: 100px;
}
    
/*5択*/  
.btn5{
    width: 190px;
    margin: 10px;
    }
    
.btn3{
    width: 600px;
    margin: 10px;
    }

/*最後の画面*/
.txt-answer-top{
    justify-content: center;
}
.sumahho4{
        width: 100px;
}
    
.text-y{
    margin-top: 45px; 
}
.number-img{
        width: 300px;
}
}