@charset "UTF-8";
/* CSS Document */

/**animation**/
.anime{
}
.anime .scale{
    transform:scale(1.2);
    transition: 1s linear;
}
.anime.active .scale{
    transform:scale(1);
}
/***ページ1**/
.title_w.anime.scale{
    transform:scale(1.05);
    transition: 1.5s linear;
}
.title_w.anime.scale.active{
    transform:scale(1);
}
.anime.moji_bg{
    color:#fff;
    transition:all .3s linear .5s;
    transform-origin: left;
    transform: scale(1, 0);
}
.anime.moji_bg.active{
    color:#fff;
    background-color:transparent;
    transform-origin: left;
    transform: scale(1, 1);
}

/**top2***/
/*slide_text**/
.top2 .slide_text.anime::after{
    content:"";
    opacity: 0;
    width:0;
    transition:1s linear;
    overflow: hidden;
    position:relative;    
}
.top2 .slide_text.anime.active::after{
    content:"";
    width:100%;
    opacity: 1;
    height: 100%;
    z-index: -1;
    position:absolute;
    left:0;
    top:0;
}
.top2 .slide_text_w{
    padding:15px 30px;
}
.top2 .slide_text_w h2{
    margin-bottom: 10px;
}
.top2 .slide_text_w h3.anime{
    font-size: 1.3em;
    opacity: 0;
}
.top2 .slide_text_w h3.anime.active{
    animation: text_fade 1s ease forwards;
    animation-delay: 1.8s;
}
.typing span{
    opacity: 0;
    animation: text_fade 1s ease forwards;
    display: inline-block;
}


@keyframes text_fade {
    0% {  opacity: 0;
    transform: translateY(10px);
    }
    100% {  opacity: 1;
    transform: translateY(0);}
}
.typing span:nth-child(1){
    animation-delay: .1s;
}
.typing span:nth-child(2){
    animation-delay: .2s;
}
.typing span:nth-child(3){
    animation-delay: .3s;
}
.typing span:nth-child(4){
    animation-delay: .4s;
}
.typing span:nth-child(5){
    animation-delay: .5s;
}
.typing span:nth-child(6){
    animation-delay: .6s;
}
.typing span:nth-child(7){
    animation-delay: .7s;
}
.typing span:nth-child(8){
    animation-delay: .8s;
}
.typing span:nth-child(9){
    animation-delay: .9s;
}
.typing span:nth-child(10){
    animation-delay: 1s;
}
.typing span:nth-child(11){
    animation-delay: 1.1s;
}
.typing span:nth-child(12){
    animation-delay: 1.2s;
}
.typing span:nth-child(13){
    animation-delay: 1.3s;
}
.typing span:nth-child(14){
    animation-delay: 1.4s;
}
.typing span:nth-child(15){
    animation-delay: 1.5s;
}
.typing span:nth-child(16){
    animation-delay: 1.6s;
}
.typing span:nth-child(17){
    animation-delay: 1.7s;
}
.typing span:nth-child(18){
    animation-delay: 1.8s;
}
.typing span:nth-child(19){
    animation-delay: 1.9s;
}
.typing span:nth-child(20){
    animation-delay: 2s;
}
/***画像hoverスケール***/
.img_scale a figure {
    overflow: hidden;
    margin-bottom: 0;
}
.img_scale img{
    object-fit: cover;
    width: 100%;
    transform: scale(1);
    transition: 0.4s linear;
    overflow: hidden;
}

.img_scale a:hover img{
    transform: scale(1.1)
}
