*{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
html{
    font-size: 62.5%;
}

body{
    color:#1a1a1a;
    font-family:  'noto-sans-cjk-jp',Arial,'ヒラギノ角ゴ Pro W4', 'Hiragino Kaku Gothic Pro', Osaka, メイリオ, Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size:15px;
}
.mincho{
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
a:hover{
    cursor: pointer;
}
.main{
    position: fixed;
    width : 100vw;
    height: 100vh;
    background-attachment: scroll;
    background-image: url(../img/bk1.png),url(../img/bk2.png);
    background-position: top left,bottom right;
    background-repeat: no-repeat;
    background-color: #ECF4F2;
    background-size: 20% auto,20% auto;
    overflow-y: scroll;
/*    -ms-overflow-style: none;*//
/*    scrollbar-width: none;*/
}
.main::-webkit-scrollbar {
/*    display:none;*/
}
.container{
    width: 600px;
    margin: 0 auto;
    padding-top: 10em;
    padding-bottom: 10em;
}
.userdataarea{
    position: relative;
}
.userdataarea>p>span{
    background-color: #44BEB6;
    border-radius: 100vh;
    color : #F1FAF9;
    display: inline-block;
    padding: .2em .5em .3em .5em;
    margin-right: .8em;
}
.userdataarea>p:last-of-type{
    margin-top: .5em;
}
.mainarea{
    margin-top: 2em;
    color : #00A89D;
}
.mainarea .box{
    width: 100%;
    border-radius: 20px;
    background-color: #fff;
    margin-top: .5em;
    padding: 2em;
}
.mainarea .box.kiyaku{
    color : #272727;
    line-height: 2em;
    height: 12em;
    font-size: .8em;
    border-radius: 10px;
    overflow-y: scroll;

}
.mainarea .box.inputarea .reqtext{
    margin-top: .5em;
}
.mainarea .box.inputarea .birthday{
    margin-top: 1em;
    white-space: nowrap;
}
.mainarea .box.inputarea .birthday>div{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.mainarea .box.inputarea .birthday>div>select{
    width: 31%;
    border: 1px #44BEB6 solid;
    border-radius: 5px;
    padding: .5em 1em;
    color : #00A89D;
    margin-top: .4em;

}

.mainarea .box.inputarea select.noselect{
    color: #B3E5E2 !important;
}


.mainarea .box.kiyaku::-webkit-scrollbar {
  width: 20px;
}

.mainarea .box.kiyaku::-webkit-scrollbar-track {
  background-color: #fff;
  border-radius: 100px;
}
.mainarea .box.kiyaku::-webkit-scrollbar-thumb {
    border: 5px solid transparent;
    border-radius: 100px;
    background-color: #44BEB6;
    background-clip: content-box;
}
.mainarea p.kiyaku{
    margin-top: 2em;
    margin-bottom: .5em;
    letter-spacing: .1em;
    text-align: center;
    font-size: 1.6em;
    font-weight: bold;
}

.inputarea .error{
    color: #F36B3E;
    font-size: .9em;
    text-align: left;
    margin: 0 !important;

}
#tel_input,
#age_input{
    width: 100%;
    border: 1px #44BEB6 solid;
    border-radius: 5px;
    padding: .5em 1em;
    margin-top: 1em;
}
#sex_select{
    width: 100%;
    border: 1px #44BEB6 solid;
    border-radius: 5px;
    padding: .5em 1em;
    margin-top: 1em;
    color : #00A89D;
}

#tel_input::placeholder,
#age_input::placeholder{
    color : #B3E5E2;
}

.firstcheckarea{
    margin-top: 2em;
}
.firstcheckarea .error{
    color: #F36B3E;
    font-size: .9em;
    text-align: left;
    margin-left: 2em;
}
.kiyakubtn span{
    pointer-events: none;
}
.kiyakubtn{
    padding:1em;
    text-align: left;
    color: #202120;
    cursor: pointer;
}
.kiyakubtn>.check{
    display: inline-block;
    width: 2em;
    height: 2em;
    border-radius: 100vh;
    background-color: #fff;
    position: relative;
    top: .5em;
    margin-right: 1em;
    text-align: center;
}
.kiyakubtn>.check>span{
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    border-radius: 100vh;
    background-color: #ECF4F2;
    margin-top: .25em;
}
.kiyakubtn.on>.check>span{
    background-color: #D6DE20;
}
#startbtn{
    position: fixed;
    bottom : 10em;
    right : 20%;
    background-color: #C1C1C1;
    width: 5em;
    height: 5em;
    border-radius: 100vh;
    text-align: center;
    padding-top: 2em;
    color: #fff;
    font-size:1.2em;
    padding-top: 2em;
    filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.3));
    cursor: default;
}
#startbtn.on{
    background-color: #44BEB6;
    cursor: pointer;

}
#sectiontitle{
    margin-top: 2em;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}
.checkarea{
    display: flex;
    flex-direction: row;
    width: 80%;
    margin: 0 auto;
}
.checkarea>.check{
    margin-top: .5em;
    width : calc(100% / 3);
    text-align: center;
    position: relative;
    height: 7em;
    cursor: pointer;
}
.checkarea>.check.on>div::after{
    position: absolute;
    width: 80%;
    height: 80%;
    content: " ";
    background-color: #E4E88F;
    border-radius: 100vh;
    top:10%;
    left: 10%;
}
.checkarea>.check>p{
    pointer-events: none;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.checkarea>.check>div{
    pointer-events: none;
    width: 4em;
    height: 4em;
    margin: 0 auto;
    background-color: #fff;
    border: 2px #E3E3E3 solid;
    border-radius: 100vh;
    position: relative;
}
.checkarea>.check:nth-of-type(2)>div{
    margin-top: .5em;
    width: 3em;
    height: 3em;
}
#queview li{
    margin-top: 3em;
}
#queview li .error{
    margin-left: 4em;
    color: #F36B3E;
    font-size: .9em;
}
#queview .title{
    margin-left: 3em;
    margin-right: 3em;
    color : #1A1A1A;
    font-size: 1.2em;
    line-height: 2em;
}
#que .nextbtn{
    width: 5.5em;
    height: 5.5em;
    border-radius: 100vh;
    margin: 0 auto;
    margin-top: 3em;
    background-color: #E3E3E3;
    color: #fff;
    font-size:1.2em;
    text-align: center;
    padding-top: 2.2em;
    cursor: default;
}
#que .nextbtn.on{
    background-color: #44BEB6;
    cursor: pointer;
}
.errorimg,
.finimg{
    display: block;
    margin: 0 auto;
    width: 50%;
    margin-bottom: 3em;
}
#error .box p,
#fin .box p{
    line-height: 1.5em;
}
#fin .fintitle{
    margin-top: -2rem;
    margin-bottom: 2em;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    letter-spacing: .1rem;
}
#openbtn{
    position: fixed;
    top: 5em;
    right: 5em;
    font-size: 2em;
    color : #44BEB6;
    cursor: pointer;
    opacity: 1;
    transition: all 0.5s 0s ease;
}
#openbtn.close{
    opacity: 0;
}
#timearea{
    position: fixed;
    top: 10em;
    right: 1em;
    background-color: #fff;
    border-radius: 10px 0 0 10px;
    padding: 1em;
    width: 15em;
    transition: all 0.5s 0s ease;
}
#timearea.close{
    right: -15em;
}
#timearea .closebtn{
    color : #44BEB6;
    font-size: 0.9em;
    cursor: pointer;
}
.timecircle{
    position: relative;
    width: 8em;
    height: 8em;
    margin: 0 auto;
}
#basegrad{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    border-radius: 100vh;
    background-image: conic-gradient(rgba(57, 183, 134, 1) 0deg, rgba(57, 183, 134, 0) 360deg);
    animation: ugoki 1s linear infinite alternate;

}
@keyframes ugoki{
    0%{
        opacity: .6;
    }
    100%{
        opacity: 1;
    }
}
.timecircle>div:nth-of-type(2){
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    border-radius: 100vh;
    background-image: conic-gradient(from 0deg, rgba(68,190,182, 1) 0deg, rgba(0, 0, 0, 0) 0deg 180deg);
    padding-top:19%;
}
.timecircle .movesecstr{
    font-size: .8em;
    width: 7.5rem;
    height: 7.5rem;
    background-color: #fff;
    margin: 0 auto;
    border-radius: 100vh;
    text-align: center;
    padding-top: 1.3em;
    font-weight: bold;
    color: rgba(68,190,182, 1);
}
.timecircle>div:nth-of-type(2)>div>p>span{
    font-size:2.3em;
}
.timecircle>div:nth-of-type(2)>div>p:nth-of-type(2){
}
.memori{
    position: absolute;
    top: 0;
    left:0;
}
#timearea .title{
    margin-top: 2rem;
    color: #CECECE;
    font-size: .8em;
}
#timearea .str{
    color: #898A89;
}
.queprogress{
    border-top: 2px #E3E3E3 solid;
    padding-top: 1em;
    margin-top: 1em;
}
.queprogress>p:first-of-type{
    color: #CECECE;
    font-size: .8em;
}
.queprogress>p:nth-of-type(2){
    color: #44BEB6;
    font-size: 1.5em;
}
.queprogress>div{
    margin: 0 auto;
    margin-top: 1em;
    width: 90%;
    height: 5px;
    border-radius: 100vh;
    background-color: #e3e3e3;
    position: relative;
}
.movesecstr.last{
    color: #F47856;
}
.queprogress .progressbar{
    position: absolute;
    background-color: #44BEB6;
    border-radius: 100vh;
    top : 0;
    left: 0;
    width: 0%;
    height: 100%;
}
.queprogress .progresscircle{
    position: absolute;
    width: 1em;
    height: 1em;
    top: -.4em;
    left: 0%;
    border-radius: 100vh;
    background-color: #D6DE20;
}
.hdn{
    display: none;
}
.waitarea{
    width: 100vw;
    height: 100vh;
    background-image: url(../img/loading.gif);
    background-size: 50em auto;
    background-repeat: no-repeat;
    background-position: center;

    position: fixed;
    top: 0;
    left: 0;
}
.waitarea.start{
    background-color: rgba(255,255,255,.6);
}
.waitarea.last{
    background-color: rgba(255,255,255,.6);
}
.waitarea.last::after{
    content: "データ送信中です…\Aしばらくお待ちください";
    white-space: pre;
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    display: block;
    line-height: 2em;
    font-size: 3rem;
}
@media screen and (max-width:1000px){
    .main{
        background-size: 60% auto,60% auto;
        background-image: url(../img/sp-bk1.png),url(../img/sp-bk2.png);

    }
    .container{
        width: 90%;
        padding-bottom: 20em;
    }
    .userdataarea{
        left: 1em;
    }
    #startbtn{
        right: 38%;
        bottom: 2em;
    }
    #timearea{
        border-radius: 0 0 10px 10px;
        width: 100%;
        height: 10em;
        top: 0;
        right: auto;
        left:0;
    }
    #timearea.close{
        right: 0;
        top: -10em;
    }
    #timearea .title{
        display: none;
    }
    #timearea .str{
        display: none;
    }
    #timearea .closebtn{
        position: absolute;
        bottom: 1em;
        text-align: right;
        width: 100%;
        padding-right:2em;
    }
    #timearea .timecircle{
        position: absolute;
        left: 1em;
        top: 1em;
    }
    #timearea .queprogress{
        position: absolute;
        width: 60%;
        left: 40%;
        border: none;
    }
    #openbtn{
        top: 2em;
        left: 85%;
        right: auto;
    }
    #queview .title{
        margin: 0;
    }
    .waitarea.last{
        background-size: 70vw auto;
    }
    
}
