html,body,img,dl,dt,dd,ol,ul,li,form,label,table,tbody,tfoot,thead,tr,th,td,aside,footer,header,nav,section,a,h1,h2,h3,h4,h5,h6,p{margin:0;padding:0}
article,aside,footer,header,menu,nav,section{display:block}
nav ul{list-style:none}
img{width:100%;height: auto;display: block; margin: auto;}
dl>dd,dl>ul{margin:1em;}
a{text-decoration: none;color: black;}
button{border: none;background: none;display: block;cursor: pointer;}

html{
    scroll-behavior: smooth;
}

body{
    overflow-x: hidden;
    font-size: 16px;
    max-width: 850px;
    margin: auto;
}

.main{
    max-width: 850px;
    margin: auto;
    position: relative;
}


.video{
    position: fixed;
    z-index: -1;
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
    opacity: 0.7;
}

#video {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 56.25vh;
    height: 183.777778vw;
    min-width: 100%;
    min-height: 100%;
}



.top_back{
    position: relative;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    max-width: 850px;
    margin: auto;
    z-index: -1;
}
.first_title{
    position: absolute;
    top: 1.5%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    max-width: 850px;
}
.title2{
    position: absolute;
    z-index: 1;
    top: 15%;
    width: 65%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    animation: title_slide 1s forwards;
    opacity: 0;
}
.title{
    position: relative;
    top: 9%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    animation: title_slide 1s forwards;
    opacity: 0;
    animation-delay: 0.3s;
}
.title3{
    position: absolute;
    z-index: 1;
    top: 70%;
    width: 75%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    animation: title_slide 1s forwards;
    opacity: 0;
    animation-delay: 0.6s;
}
@keyframes title_slide{
    0%{
        -webkit-transform: translateX(-50%) translateY(100px);
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    100%{
        -webkit-transform: translateX(-50%) translateY(0%);
        transform: translateX(-50%) translateY(0%);
        opacity: 1;
    }
}
.back_circle{
    position: absolute;
    width: 76%;
    top: 17%;
    left: 50%;
    z-index: -1;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    animation: back_circle 1s forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transition: 0.3s;
}
@keyframes back_circle{
    0%{
        -webkit-transform: translateX(-50%) translateY(100px);
        transform: translateX(-50%) translateY(100px);
        opacity: 1;
    }
    100%{
        -webkit-transform: translateX(-50%) translateY(0%);
        transform: translateX(-50%) translateY(0%);
        opacity: 1;
    }
}

.seiza{
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    width: 95%;
    max-width: 780px;
    top: 24%;
}
.seiza a{
    width: calc(100% / 3);
    margin-bottom: 1%;
    display: block;
    animation: seiza 1.5s infinite; 
}
@keyframes seiza{
    0%,100%{
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50%{
        -webkit-transform: scale(1.03);
        transform: scale(1.03);
    }
}
.seiza a img{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    transform-origin: bottom;    
}
.seiza a:nth-child(2) img{
    width: 95%;
}
.seiza a:nth-child(3) img{
    -webkit-transform: scale(1.16);
    transform: scale(1.16);
    transform-origin: bottom;
}
.seiza a:nth-child(6) img{
    width: 86%;
}
.seiza a:nth-child(7) img{
    width: 89%;
}
.seiza a:nth-child(10) img{
    width: 87%;
}
.seiza a:nth-child(11) img{
    width: 90%;
}
.seiza a:nth-child(12) img{
    width: 83%;
}

.first_cta{
    position: absolute;
    top: 53.7%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 95%;
    max-width: 850px;
}
.voice{
    position: absolute;
    top: 66%;
    width: 85%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.voice1{
    margin-bottom: 8%;
}

.last_cta{
    position: absolute;
    top: 94.5%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 95%;
    max-width: 850px;
}
footer{
    padding: 5%;
    text-align: center;
    background: #09004c;
    color: white;
}
footer a{
    color: white;
    text-decoration: underline;
    display: block;
    margin-bottom: 15px;
}
.first_cta a ,.last_cta a{
    display: block;
    overflow: hidden;
}
.first_cta a img,.last_cta a img{
    animation: cta_btn 1.5s infinite;
}
@keyframes cta_btn{
    0%,100%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.05);
    }
}

.overlay{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: black;
    z-index: -1;
}
.result img{
    width: 95%;
}

.form_inner{
    width: calc(85% - 10px);
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}
.form_inner p{
    display: block;
    padding: 20px 10px;
    background: #f3c201eb;
    width: calc(5em + 20px);
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
    height: auto;
    align-content: center;
}
.form_inner p:nth-child(2n) {
    background: white;
    width: calc(100% - 5em - 60px);
    text-align: left;
}

   
input,select{
    border: none;
    padding: 10px 5px;
    border-radius: 5px;
    font-size: 18px;
    background: white;
    color: black;
    border: 1px solid;
}
input[type="submit"]{
    padding: 16%;
    width: 100%;
    background: none;
    background-image: url(img/confirm.webp);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    border: none;
}
input[type="text"]{
    width: calc(100% - 17px);
}
.support_all{
    width: 90%;
    margin: 45px auto;
}
.support_all a{
    display: block;
    text-align: center;
    width: calc(100% - 6px);
    padding: 25px 0;
    background: #eeecffde;
    border: 3px solid #09004c;
    color: black;
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0;
}
.support_all a:last-child{
    background:#09004c ;
    color: white;
}
.support_content{
    width: calc(90% - 60px);
    margin: 35px auto;
    padding: 45px 30px 35px;
    background: #eeecffde;
    font-size: 14px;
}
.support_content h2{
    text-align: center;
    margin-bottom: 25px;
    color: #09004c;
}
.support_content h3{
    border: 1px solid #09004c;
    border-left: 10px solid #09004c;
    padding: 5px 0 5px 0.5em;
}
.support_content p{
    white-space: break-spaces;
    margin: 10px 0px 25px;
}

@media (max-width:750px) {
    body{
        overflow-x: hidden;
        font-size: 12px;
    }
    footer a{
        margin-bottom: 5px;
    }
    .form_inner p {
        display: block;
        padding: 10px 0px;
        background: #f3c201eb;
        width: calc(4em + 7px);
        text-align: center;
        font-size: 12px;
        margin-bottom: 10px;
        font-weight: bold;
        height: auto;
        align-content: center;
    }
    .form_inner p:nth-child(2n) {
        background: white;
        width: calc(100% - 4em - 1px);
        font-size: 16px;
        padding: 10px 5px;
    }
    .form_inner {
        width: calc(90% - 10px);
    }
    .support_all a {
        padding: 15px 0;
        margin: 10px 0;
        font-size: 14px;
    }
    .support_all {
        margin: 20px auto;
    }
    .support_content {
        width: calc(90% - 30px);
        margin: 15px auto;
        padding: 25px 15px 15px;
        background: #eeecffde;
        font-size: 12px;
    }
    input, select {
        font-size: 16px;
        padding: 10px 2.5px;
    }
    input[type="text"] {
        width: calc(100% - 8px);
    }
}
