@charset "UTF-8";

*{margin: 0px;}
*{padding: 0px;}
*{font-family: serif;font-weight: 500;}
header{
    display: block;
}
.top{
    width: 100%;
    display: flex;
}
#top_name_area{
    width: 30%;
    margin: 5px 0px;
    float: left;
    text-align: center;
}
#nav_parent{
    width: 70%;
    margin: auto;
}
#nav_parent ul{
    text-align: center;
}
#nav_parent ul li{
    width: 20%;
    margin: 0 0.5%;
    display: inline-block;
    background-color: rgb(163, 163, 163);
}
.top{
    width: 100%;
    height: 100%;
    margin: auto;
}
.top_name_area{
    text-align: center;
}

/*画像*/
.img_box{
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
}
#img_1{
    background-image: url("image/mati.jpg");
    background-color: rgba(0,16,74,0.2);
    background-blend-mode: color;
}
#img_2{
    background-image: url("image/mati2.jpg");
}
.message_box{
    display: inline-block;
    margin: auto;
}
.message{
    font-size: 35px;
    text-shadow: 4px 4px 7px  rgb(61, 61, 61);
}
#message_1{
    color: rgb(245, 255, 255);
}
/*コンテンツ*/
.content{
    display: block;
    overflow: hidden;
}
.container{
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}
.inner{
    max-width: 100%;
    margin: 0px;
    overflow: hidden;
}
/*コンテンツ1*/
.parent{
    text-align: center;
    overflow: hidden;
}
.front_1{
    margin: 50px;
}
.front_2{
    margin-bottom: 50px;
}
/*コンテンツ内の箱*/
.series{
    margin-bottom: 30px;
    padding: 0 0.5%;
    display: flex;
}
.series_box{
    width: 23.5%;
    margin: auto;
}
.series_box_img img{
    width: 100%;
    height: auto;
    margin-bottom: 5px;
    border-radius: 30px;
}
.series_box_sentence{
    margin-bottom: 5px;
    text-align: center;
}
/*コンテンツ2*/
.funnel{
    overflow: hidden;
}
.funnel-in{
    width: 100%;
    display: flex;
}
.funnel-img{
    width: 50%;
}
.funnel-img img{
    width: 100%;
    height: 100%;
}
.funnel-content{
    width: 50%;
}
.f-h{
    width: 100%;
    height: 40%;
    display: flex;
}
.f-h h3{
    margin: auto;
    font-size: 25px;
}
.f-p{
    width: 100%;
    height: 60%;
}
.f-p p{
    margin: 0 15%;
    font-size: 16px;
}












/*最初のアニメーション*/
.start{
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0em;
    z-index: 100;
    background-image: url("image/siro.png");
    opacity: 0;
    animation-name: siro;
    animation-duration: 12s;
}
.transparent{
    width: 0px;
    height: 0px;
    top: 300px;
    left: calc(50% - 32.5px);
    z-index: 100;
    position: fixed;
    background-image: url("image/flat.png");
    background-repeat: no-repeat;
    background-size: 100%;
    animation-name: rogo;
    animation-duration: 6.5s;
}
@keyframes rogo{
    2%{
        width: 0px;
        width: 0px;
        top: 50%;
        left: 50%;
    }
    17%{
        width: 250px;
        height: 250px;
        top: calc(50% - 125px);
        left: calc(50% - 125px);
    }
    23%{
        transform: rotate(0deg);
    }
    45%{
        transform: rotate(360deg);
    }
    53%{
        transform: rotate(360deg);
    }
    78%{
        transform: rotate(0deg);
    }
    85%{
        width: 250px;
        height: 250px;
        top: calc(50% - 125px);
        left: calc(50% - 125px);
    }
    94%{
        width: 350px;
        height: 350px;
        top: calc(50% - 175px);
        left: calc(50% - 175px);
    }
    100%{
        width: 0px;
        height: 0px;
        top: 50%;
        left: 50%;
    }
}
@keyframes siro{
    0%{
        background-image: url("image/siro.png");
        opacity: 1.0;
    }
    54%{
        opacity: 1.0;
    }
    100%{
        opacity: 0.0;
    }
}