@charset "UTF-8";

/*--------------------------------
reset
--------------------------------*/
html,body,div,p,img,iframe,a,span,blockquote,q,address,cite,
pre,code,em,small,strong,b,i,
header,article,section,nav,figure,figcaption,hgroup,menu,aside,footer,time,
h1,h2,h3,h4,h5,h6,
ul,ol,li,dl,dt,dd,
table,tbody,thead,tfoot,th,tr,td,
form,fieldset,legend,label,select,input,textarea,button{
    margin: 0;
    padding: 0;
    border: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: baseline;
}
header,article,section,nav,figure,figcaption,hgroup,menu,aside,footer{
    display: block;
}
ul li{
    list-style-type: none;
}
h1,h2,h3,h4,h5,h6{
    font-weight: 500;
}
body{
    line-height: 1;
}
a{
    text-decoration: none;
}
img{
    vertical-align: middle;
}
table{
    border-collapse: collapse;
    border-spacing: 0;
}
select,option,input:not([type=checkbox]):not([type=radio]),textarea,button{
    font: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}
blockquote::before,blockquote::after,q::before,q::after{
    content: '';
    content: none;
}
[type=submit],[type=button],[type=reset],[type=file],button{
    cursor: pointer;
}
:focus{
    outline: none;
}

/*--------------------------------
base
--------------------------------*/
html,body,.wrap{
    height: 100%;
}
body{
    background: url(../images/bg2.webp);
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #323232;
}
h1,h2,h3,h4,h5,h6{
    font-weight: normal;
    line-height: 1.1;
}
a{
    color: #29bbff;
}
img{
    max-width: 100%;
    height: auto;
}
.wrap{
    margin: auto;
    max-width: 440px;
}
.frame.hidden,
.result .app-box.hidden{
    display: none;
}
.frame{
    padding: 16px;
    min-height: 100%;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.frame .inner{
    padding: 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.heading{
    margin-bottom: 16px;
}
.h1,
.h2,
.h3,
.hero .form-btn button,
.question .form .btn .marker,
.app-info .btn,
.result .item .h4,
.result .box .h5,
.result .item .btn-balloon,
.result .btn-store{
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}
.h1{
    margin-bottom: 8px;
}
.h1 .strong{
    color: #996f4c;
}
.h2{
    margin: 0 0 12px;
    padding: 8px;
    border: solid 2px #807040;
    position: relative;
    text-align: center;
    font-size: 22px;
}
.h2 .small{
    font-size: 18px;
}
.h2 .strong{
    color: #807040;
}
.h2::before,
.h2::after{
    width: 16px;
    height: 16px;
    background: #807040;
}
.h2::before{
    top: -4px;
    left: -4px;
    clip-path: polygon(0 0, 0 100%, 100% 0);
}
.h2::after{
    right: -4px;
    bottom: -4px;
    clip-path: polygon(100% 100%, 0 100%, 100% 0);
}
.h2 .h2-inner::before{
    border: solid 1px #807040;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
}
.h2 .strong-box{
    margin-bottom: 6px;
    padding: 6px;
    display: block;
    background: #7e6e3e;
    font-size: 16px;
    color: white;
}
.h3{
    margin-top: -4px;
    margin-bottom: 16px;
    text-align: center;
    font-size: 18px;
}
.h3 .h3-top{
    margin-bottom: 2px;
    display: flex;
    align-items: center;
}
.h3 .h3-top-hr,
.result .h3::before{
    width: 100%;
    height: 5px;
    flex: 1;
    border-top: solid 2px #807040;
    border-bottom: solid 1px #807040;
}
.h3 .h3-top-text{
    margin: 0 6px;
    color: #807040;
}
.h3 .h3-btm-hr,
.result .h3::after{
    margin-top: 4px;
    width: 100%;
    height: 5px;
    display: block;
    border-top: solid 1px #807040;
    border-bottom: solid 2px #807040;
}
.result .h3::before,
.result .h3::after{
    height: 2px;
    left: 0;
}
.result .h3::before{
    top: 0;
}
.result .h3::after{
    bottom: 0;
}
.h2::before,
.h2::after,
.h2 .h2-inner::before,
.hero .form label::after,
.hero .form-btn::before,
.hero .form-btn::after,
.question .form .btn .text::after,
.result .h3::before,
.result .h3::after,
.result .box .h5::after,
.result .item .btn-balloon::before,
.result .item .btn-balloon::after,
.result .btn::before,
.result .btn::after,
.result .btn-store::before,
.result .btn-store::after{
    margin: auto;
    content: "";
    position: absolute;
}

/*--------------------------------
contents
--------------------------------*/
.hero{
    background-image: url(../images/bg1.webp);
}
.hero h1{
    position: relative;
    overflow: hidden;
    line-height: 0;
}
.hero .h1-bg,
.hero .h1-text{
    display: block;
}
.hero .h1-text{
    width: 100%;
    background: url(../images/hero-text.webp) no-repeat top center;
    background-size: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.hero .h1-text.start-scroll{
    animation: hero_text 30s linear forwards;
}
@keyframes hero_text {
    0% {
        background-position: center top;
    }
    100% {
        background-position: center bottom;
    }
}
.hero .inner,
.question1 .inner{
    border-image: url(../images/question1-frame.webp) 64 fill / 32px / 0px stretch;
}
.hero .form label{
    margin-bottom: 12px;
    display: flex;
    align-items: end;
    position: relative;
}
.hero .form label::after{
    margin: auto;
    width: 8px;
    height: 8px;
    border-left: solid 1px #323232;
    border-bottom: solid 1px #323232;
    top: -4px;
    right: 38px;
    bottom: 0;
    pointer-events: none;
    transform: rotate(-45deg);
}
.hero .form select,
.hero .form button{
    width: 100%;
}
.hero .form select,
.question .form .btn{
    margin-right: 8px;
    padding: 8px;
    height: 60px;
    display: block;
    background: none;
    border: solid 1px #323232;
    -webkit-appearance: none;
}
.hero .form select{
    font-size: 16px;
    color: #323232;
    -webkit-text-fill-color: #323232;
    appearance: none;
    -webkit-appearance: none;
}
.hero .form-btn{
    margin-top: 4px;
    position: relative;
}
.hero .form-btn button,
.result .btn-store{
    padding: 8px 41px 8px 8px;
    width: 100%;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(../images/btn-bg.webp) center / 30px;
    text-align: center;
    font-size: 22px;
    line-height: 1.2;
    color: white;
}
.result .btn-store{
    position: relative;
}
.hero .form-btn::before,
.hero .form-btn::after,
.result .btn-store::before,
.result .btn-store::after{
    top: 0;
    bottom: 0;
    pointer-events: none;
}
.hero .form-btn::before,
.result .btn-store::before{
    width: 27px;
    height: 27px;
    border: solid 1px white;
    border-radius: 24px;
    right: 12px;
}
.hero .form-btn::after,
.result .btn-store::after{
    width: 8px;
    height: 8px;
    border-top: solid 1px white;
    border-right: solid 1px white;
    right: 24px;
    transform: rotate(45deg);
}
.question{
    background: url(../images/question-bg.webp) no-repeat top center / cover;
}
.question1 .inner{
    border-image: url(../images/question1-frame.webp) 64 fill / 32px / 0px stretch;
}
.question2 .inner{
    border-image: url(../images/question2-frame.webp) 64 fill / 32px / 0px stretch;
}
.question3 .inner{
    border-image: url(../images/question3-frame.webp) 64 fill / 32px / 0px stretch;
}
.question4 .inner{
    border-image: url(../images/question4-frame.webp) 64 fill / 32px / 0px stretch;
}
.question5 .inner{
    border-image: url(../images/question5-frame.webp) 64 fill / 32px / 0px stretch;
}
.question .form .btn{
    margin: 0 0 12px;
    padding: 0;
    height: inherit;
    display: flex;
    position: relative;
    line-height: 1.4;
    font-size: 14px;
    color: #323232;
    cursor: pointer;
}
.question .form .btn::after{
    border-left: solid 12px #323232;
}
.question .form .btn:last-child{
    margin: 0;
}
.question .form .btn .marker{
    margin-right: 8px;
    padding: 2px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #323232;
    font-size: 12px;
    color: white;
}
.question .form .btn .text{
    padding: 6px 24px 6px 0;
    display: block;
    flex: 1;
    position: relative;
}
.question .form .btn .text::after{
    width: 8px;
    height: 8px;
    border-top: solid 1px #323232;
    border-right: solid 1px #323232;
    transform: rotate(45deg);
    top: 0;
    right: 16px;
    bottom: 0;
}
.result{
    background: url(../images/result-bg.webp) no-repeat top / contain, url(../images/bg1.webp);
}
.result_b{
    background: url(../images/result-bg.webp) no-repeat top / cover, url(../images/bg1.webp);
}
.result > .inner{
    justify-content: flex-start;
    border-image: url(../images/result-frame.webp) 64 fill / 32px / 0px stretch;
}
.result .text-box{
    margin-bottom: 16px;
    text-align: center;
}
.result_b .text-box{
    margin-bottom: 0px;
}
.result .h3{
    margin: 0 0 9px;
    padding: 10px 0;
    position: relative;
}
.result .result-text,
.result .app-text{
    text-align: left;
}
.result .item{
    margin-bottom: 24px;
    padding: 8px;
    background: url(../images/fortune-bg.webp) center / 120px;
}
.result .item:last-child{
    margin-bottom: 0;
}
.result .item .heading{
    margin-bottom: 8px;
    align-items: center;
}
.result .item .icon{
    margin-right: 8px;
    width: 60px;
    border-radius: 4px;
    overflow: hidden;
}
.result .icon img{
    width: 100%;
}
.result .item .h4{
    padding: 10px 8px;
    min-height: 60px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(../images/app-heading-L.webp) no-repeat top left / 22px, url(../images/app-heading-R.webp) no-repeat right bottom / 22px;
    text-align: center;
    font-size: 22px;
    color: white;
}
.result .item .box{
    margin-bottom: 8px;
    padding: 8px;
    background: rgba(255,255,255,0.9);
    overflow: hidden;
}
.result .item .box:last-child{
    margin-bottom: 0;
}
.result .box .h5{
    margin-bottom: 10px;
    padding: 6px 4px 6px 34px;
    background: no-repeat left center / 28px;
    position: relative;
    font-size: 16px;
}
.result .box .h5::after{
    width: 100%;
    height: 1px;
    background: #323232;
    left: 0;
    bottom: -6px;
}
.result .box .h5 .small{
    display: block;
    line-height: 1.6;
    font-size: 12px;
}
.result .box:nth-child(2) .h5{
    background-image: url(../images/app-heading-icon1.webp);
}
.result .box:nth-child(3) .h5{
    background-image: url(../images/app-heading-icon2.webp);
}
.result .box:nth-child(4) .h5{
    padding: 2px 4px 2px 34px;
    background-image: url(../images/app-heading-icon3.webp);
}
.result .review{
    display: flex;
    overflow-x: scroll;
}
.result .review-item{
    margin: 8px 8px 0 0;
    padding: 116px 8px 8px 8px;
    flex: 0 0 90%;
}
.result .review-item:last-child{
    margin: 8px 0 0 0;
}
.result .review-item:nth-child(5n+1){
    background: url(../images/app-review1.webp) no-repeat top 8px center / 100px, #ebe6da;
}
.result .review-item:nth-child(5n+2){
    background: url(../images/app-review2.webp) no-repeat top 8px center / 100px, #ebe6da;
}
.result .review-item:nth-child(5n+3){
    background: url(../images/app-review3.webp) no-repeat top 8px center / 100px, #ebe6da;
}
.result .review-item:nth-child(5n+4){
    background: url(../images/app-review4.webp) no-repeat top 8px center / 100px, #ebe6da;
}
.result .review-item:nth-child(5n+5){
    background: url(../images/app-review5.webp) no-repeat top 8px center / 100px, #ebe6da;
}
.result .review span{
    display: block;
    text-align:right;
}
.result .item .btn-balloon{
    margin-bottom: 15px;
    padding: 4px;
    border: solid 1px #a25893;
    text-align: center;
    position: relative;
    line-height: 1.2;
    font-size: 16px;
    color: #a25893;
}
.result .item .btn-balloon::before,
.result .item .btn-balloon::after{
    width: 0;
    left: 0;
    right: 0;
}
.result .item .btn-balloon::before{
    border: solid 8px transparent;
    border-top: solid 12px #a25893;
    bottom: -20px;
}
.result .item .btn-balloon::after{
    border: solid 8px transparent;
    border-top: solid 12px rgb(240 238 235);
    bottom: -19px;
}
.footer{
    padding: 16px;
    background: #1a1a1a;
}
.footer .text{
    font-size: 14px;
    text-align: center;
    color: white;
}