/*opening animation*/
.ani_text{
    margin: 20px;
    font-size: 2.5em;
    margin-top: 0.8em;
}
.ani_text span{
    display: inline-block;
    animation: wave-text 0.5s ease-in-out;

}
/* アニメーション開始タイミングをずらす */
.ani_text span:nth-of-type(1){ animation-delay: 0.0s; }
.ani_text span:nth-of-type(2){ animation-delay: 0.1s; }
.ani_text span:nth-of-type(3){ animation-delay: 0.2s; }
.ani_text span:nth-of-type(4){ animation-delay: 0.3s; }
.ani_text span:nth-of-type(5){ animation-delay: 0.4s; }
.ani_text span:nth-of-type(6){ animation-delay: 0.5s; }
.ani_text span:nth-of-type(7){ animation-delay: 0.6s; }
.ani_text span:nth-of-type(8){ animation-delay: 0.7s; }
.ani_text span:nth-of-type(9){ animation-delay: 0.8s; }
.ani_text span:nth-of-type(10){ animation-delay: 0.9s; }
.ani_text span:nth-of-type(11){ animation-delay: 1.0s; }
.ani_text span:nth-of-type(12){ animation-delay: 1.1s; }
.ani_text span:nth-of-type(13){ animation-delay: 1.2s; }
.ani_text span:nth-of-type(14){ animation-delay: 1.3s; }
.ani_text span:nth-of-type(15){ animation-delay: 1.4s; }
.ani_text span:nth-of-type(16){ animation-delay: 1.5s; }

@keyframes wave-text {
    00%{
        transform: translateY(0em);
    }
    60%{
        transform: translateY(-0.8em);
    }
    100%{
        transform: translateY(0em);
    }
}

#landing, #main-content {
    display: none;
}

#landing.show {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #ff9898;
    color: #ffffff;
    font-size: 1.5em;
}

#main-content {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#main-content.visible {
    display: block;
    opacity: 1;
}

/* top catch copy text */
.blur{
    animation-name:blurAnime;
    animation-duration:2s;
    animation-fill-mode:forwards;
}

@keyframes blurAnime{
    from {
        filter: blur(10px);
        transform: scale(1.02);
        opacity: 0;
    }

    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

.blurTrigger{
    opacity: 0;
}

/* 下から上にpage出現 */
.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
}
.scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
}

/* top画像 読み込み時fadeIn */
.fadeIn{
    display:block;
    animation-name:fadeInAnime;
    animation-duration:3s;
    animation-fill-mode:forwards;
    opacity:0;
}

@keyframes fadeInAnime{
    from {
    opacity: 0;
    }
    
    to {
        opacity: 1;
    }
}

.fadeUp {
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity: 0;
display: grid;
}

@keyframes fadeUpAnime{
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*=================================
--FAQ---
===================================*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
    margin-bottom: 4rem;
}

.accordion-area li{
    margin: 10px 0;
}

.accordion-area section {
    border: 1px solid lightcoral;
}

/*アコーディオンタイトル*/
.actitle {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 3% 50px 3% 3%;
    transition: all .5s ease;
}

/*アイコンの＋と×*/
.actitle::before,
.actitle::after{
    position: absolute;
    width: 15px;
    height: 2px;
    background-color: lightcoral;
    content: '';
}
.actitle::before{
    top:48%;
    right: 15px;
    transform: rotate(0deg);
}
.actitle::after{    
    top:48%;
    right: 15px;
    transform: rotate(90deg);
}
/*　closeというクラスがついたら形状変化　*/
.actitle.close::before{
    transform: rotate(45deg);
}

.actitle.close::after{
    transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.faqbox {
    display: none;
    background: #f3f3f3;
    margin:0 3% 3% 3%;
    padding: 3%;
}

/*=================================
space スライダー用
===================================*/
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
    width:94%;
    margin:0 auto;
}

.slider img {
    width:75vh;/*スライダー内の画像を横幅100%に*/
    height:auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    transform: scale(0.8);/*左右の画像のサイズを80%に*/
    transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
    opacity: 0.5;/*透過50%*/
}
.slider .slick-slide.slick-center{
    transform: scale(1);/*中央の画像のサイズだけ等倍に*/
    opacity: 1;/*透過なし*/
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
	z-index: 3;
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #ccc;/*矢印の色*/
    border-right: 2px solid #ccc;/*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}