.center{
    text-align: center;
}
section{
    margin:20px auto;
    padding:20px 80px;
    max-width:560px;
    background-color:#f2f1ef;
    border-radius: 20px;
    font-size: 18px;
}
section h1{
    margin: 50px auto 40px;
    font-size: 22px;
    text-align: center;
}
section h1 span{
    color: #369251;
    font-size: 28px;
    padding-right:6px;
}
section p{
    margin-bottom:50px;
}
section button{
    border:none;
    padding:12px;
    border-radius: 10px;
    display: block;
    margin:auto;
    position: relative;
    cursor: pointer;
    width: 100%;
    cursor: pointer;
    margin-bottom:20px;
}
button.start{
    background-color:#369251;
    color: #fff;
    margin-bottom:50px;
}
button.start:hover{
    background-color:#276138 ;
}
button.start::after{
    position: absolute;
    content: '';
    width: 24px;
    height: 24px;
    background: url('../images/start.png');
    background-size: contain;
    top:calc(50% - 12px);
    right:30px;
}
/* ナビゲーション */
.nav{
    background-color:#e8e8e8;
    margin:-20px -80px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: center;
    position: relative;
    padding-inline-start: 0;
    z-index:5;
}
.nav::before{
    position: absolute;
    content: '';
    width:300px;
    border-top:solid 1px #000;
    top:36px;
    left:0;
    right:0;
    margin: auto;
    z-index:6;
}
.nav li{
    display: block;
    list-style-type: none;
    background-color:#fff;
    width:34px;
    height:34px;
    margin:20px 5px;
    border: solid 1px #848484;
    border-radius: 50%;
    text-align: center;
    padding:6px 0 0 0;
    font-size: 14px;
    z-index:7;
}
.nav li.current{
    background-color: #369251;
    color: #fff;
}

section figure{
    margin-bottom: 30px;
    text-align: center;
}
section img{
    max-width: 100%;
}
section .ill img{
    height: 100px;
}
/* 選択肢 */
section figure + ul{
    margin:0;
    padding: 0;
}
section figure + ul li{
    list-style-type: none;
    background-color: #fff;
    border-radius: 10px;
    padding:10px 20px;
    margin:10px;
    cursor: pointer;
    margin:0 0 10px 0;
    font-size: 16px;
    text-align: center;
    border:solid 2px #ccc;

}
section figure + ul li:hover{
    background-color: #e4f6e2;
}
section.result div h1{
    margin-bottom: 20px;
}
section.result h1 span{
    color:#000;
    font-size: 16px;
    display: block;
}
section.result p{
    font-size: 16px;
    margin:0 -20px 30px;
}
section.result figure{
    background-color:#fff;
    border-radius: 10px;
    padding:10px;
    margin-bottom:30px;
    position: relative;
}
section.result figure:before{
    content: 'お届けする日本酒は';
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    display: block;
    height: 30px;
}
section.result figcaption{
    text-align: left;
    font-size: 14px;
    padding:4px 0;
    width: fit-content;
    margin: auto;
}
button.buy{
    background-color:#d95350;
    color: #fff;
    margin-bottom:50px;
}
button.buy:hover{
    background-color:#d85f5c ;
}
button.buy a{
    display: block;
    color:#fff;
}
.link{
    display: flex;
    justify-content: space-between;
    margin:0 0 20px;
    padding:0;
}
.link li{
    list-style-type: none;
}
.link li a{
    color: #000;
    font-size:14px;
}

/* 判断結果 */
.result > h1{
    background-color:#369251;
    color: #fff;
    margin:-20px -80px;
    padding:20px;
    border-radius: 10px 10px 0 0;
}
.result > h1::before{
    position: absolute;
    content: url('../images/clip.png');
    width: 32px;
    height:32px;
    position: absolute;
    left:calc(50% - 9rem);
}
#review.result > h1{
    margin-bottom:50px;
}
#review.result > h1::before{
    left:calc(50% - 13rem);
}
.sns{
    display: flex;
    justify-content: center;
    padding:0;
}
.sns li{
    list-style-type: none;
    width: 50px;
    padding:8px;
}
.comment{
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    position: relative;
    margin-bottom: 20px;
}
.comment:nth-child(2n):before{
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    border: 8px solid transparent;
    border-right: 18px solid #fff;
    transform: rotate(20deg);
    left:-22px;
    top:40%;
}
.comment:nth-child(2n+1):before{
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    border: 8px solid transparent;
    border-left: 18px solid #fff;
    transform: rotate(-20deg);
    right:-22px;
    top:40%;
}
.comment span{
    display: block;
    color:#276138;
    font-weight: 600;
    margin-bottom: 8px;
}
.comment i{
    display: block;
    text-align: right;
}

@media screen and ( max-width:640px ){
    section{
        padding:20px;
    }
    .nav{
        margin:-20px;
        width:100vw;
    }
    .result > h1{
        margin:-20px;
    }
    .result p{
        padding:0 20px;
    }
}