@charset "utf-8";




.wp-pagenavi {
    margin: 40px 0 0;
}

.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wp-pagenavi span {
    display: inline-block;
    margin-right: 20px;
    padding: 2px 15px 4px 15px;
    color: #333;
    border-radius: 3px;
    box-shadow: 0 2px 4px #999;
    background: #fff;
    font-size: 1.2rem;
}

.wp-pagenavi .page {
    display: inline-block;
    margin-right: 20px;
    padding: 2px 15px 4px 15px;
    color: #333;
    border-radius: 3px;
    box-shadow: 0 2px 4px #999;
    background: #fff;
    font-size: 1.2rem;
}

.wp-pagenavi span.pages {
    display: inline-block;
    margin-right: 20px;
    padding: 2px 15px 4px 15px;
    color: #333;
    border-radius: 3px;
    box-shadow: none;
    font-size: 1.2rem;
}


.wp-pagenavi .current {

    background: #0B1642;
    color: #fff;
}

.previouspostslink,
.nextpostslink {
    background: transparent;
    box-shadow: none;
    color: #0B1642;
    font-size: 2rem;
}

.previouspostslink {
    margin-right: 20px;
}


.dots {
    background: transparent;
    box-shadow: none;
}



/*========= ローディング画面のためのCSS ===============*/
#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999999;
    text-align: center;
    color: #fff;

}

#splash-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#splash-logo img {
    width: 150px;
}



/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/

.splashbg {
    display: none;
}

body.appear .splashbg {
    display: block;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    transform: scaleY(0);
    background-color: rgba(190, 200, 209, 0.7);

    /*伸びる背景色の設定*/
    animation-name: PageAnime;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;

}

@keyframes PageAnime {
    0% {
        transform-origin: left;
        transform: scaleX(0);
    }

    50% {
        transform-origin: left;
        transform: scaleX(1);
    }

    50.001% {
        transform-origin: right;
    }

    100% {
        transform-origin: right;
        transform: scaleX(0);
    }
}

/*画面遷移の後現れるコンテンツ設定*/

#wrapper {
    opacity: 1;
    /*はじめは透過0に*/
    overflow:clip;
}

/*bodyにappearクラスがついたら出現*/
body.appear #wrapper {
    animation-name: PageAnimeAppear;
    animation-duration: 1s;
    animation-delay: 0.4s;
    animation-fill-mode: forwards;
    opacity: 0;

}

@keyframes PageAnimeAppear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*
Smart phone menu
*/


#foot3Menu {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 67px;
    z-index: 100;

    padding: 0px 0px 0px 0px;
    line-height: 100%;

}

#foot3Menu {
    display: none;
}


.foot3btn {

    margin-left: 0;
    margin-right: 0;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0;

}

.foot3btn i {
    margin-right: .6rem;

}

.foot3btn a {
    padding: 12px 15px 12px 15px;
    line-height: 100%;
    display: block;
    color: #ffffff;
    border-right: 1px solid #fff;
    line-height: 120%;
    background-color: #e60020;
    border-radius: 0px 20px 0px 0px;
    display: flex;
    align-items: center;
    -webkit-transition: background 0.2s linear 0s, color 0.2s linear 0s;
    -moz-transition: background 0.2s linear 0s, color 0.2s linear 0s;
    -o-transition: background 0.2s linear 0s, color 0.2s linear 0s;
    transition: background 0.2s linear 0s, color 0.2s linear 0s;

}

.taiken.foot3btn a {
    color: #ffff01;
}

.foot3btn a:hover {

    background: #680412;
    color: #fff;
    text-decoration: none;
}


.foot3btn:last-child a {
    border-right: none;

}



@media only screen and (max-width: 767px) {
    #foot3Menu {
        display: block;
    }

}



/*===========================================================*/
/* バックボタン */
/*===========================================================*/

.back-btn {
    position: relative;
    display: inline-block;
    margin-top: 3rem;
    width: 100%;
}




.back-btn a {
    display: block;
    padding: 15px 10px;
    text-align: center;
    color: #111;
    border: 1px solid #111;
    text-decoration: none;
    outline: none;
    overflow: hidden;
    transition: all .4s;
}


/*背景の設定*/
.borderleft::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: -2;
    height: 100%;
    width: 100%;
    background: #fff;

}

/*背景の設定*/
.borderleft::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    height: 0%;
    width: 100%;
    background: #e6d367;
    transition: all .3s;
}

/*hoverをすると背景が伸びる*/
.borderleft:hover::after {
    width: 100%;
    height: 100%;
    color: #000;
}











/*===========================================================*/
/*クリックしたらナビが下から上に出現 */
/*===========================================================*/
#g-nav {
    position: fixed;
    z-index: 17;
    right: 120%;
    top: 0;
    width: 100%;
    height: 105vh;
    background: rgb(255, 255, 255, 1);
    transition: all 0.6s;
}


#g-nav.panelactive {
    right: 0;
    top: 0;
}


#g-nav #g-nav-list {
    position: fixed;
    z-index: 18;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav ul {
    position: absolute;
    z-index: 18;
    top: 60px;
    left: 50%;
    transform: translatex(-50%);
    margin-left: 0;
}


#g-nav li {
    list-style: none;

}

#g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

#g-nav li.g-navi-sns {
    margin-top:1rem;
    display:flex;
    justify-content: center;
    border-bottom:none;
    
}
#g-nav li.g-navi-sns a {
    width: 60px;
    
}





@media screen and (max-width:1200px) {
    #g-nav {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: -150%;
        left: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: rgba(255, 255, 255, 0.97);
        /*動き*/
        transition: all 0.6s;
    }

    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive {
        top: 0;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        width: 90%;
        margin: 0px auto 0 auto;
    }

    #g-nav ul ul {
        width: 100%;
        margin: 0;
    }

    /*プルダウンナビのCSS*/
    #g-nav ul li.has-child ul {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        visibility: visible;
        /*JSで制御するため一旦表示*/
        opacity: 1;
        /*JSで制御するため一旦表示*/
        display: none;
        /*JSのslidetoggleで表示させるため非表示に*/
        transition: none;
        /*JSで制御するためCSSのアニメーションを切る*/
        transform: none;
        margin-bottom:1rem;
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        border-bottom: 1px solid #aaa;

    }


    #g-nav li ul li {
        border-bottom: none;
    }


    #g-nav li a {
        color: #000;
        text-decoration: none;
        padding: 6px 10px;

        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
        width: 100%;

        display: flex;
        justify-content: start;
        align-items: center;
    }







    #g-nav li ul li a {
        color: #333;
        font-weight: 500;

    }



}







#g-nav_koutou {
    position: fixed;
    z-index: 17;
    right: 120%;
    top: 0;
    width: 100%;
    height: 105vh;
    background: rgb(255, 255, 255, 1);
    transition: all 0.6s;
}


#g-nav_koutou.panelactive {
    right: 0;
    top: 0;
}


#g-nav_koutou #g-nav-list {
    position: fixed;
    z-index: 18;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav_koutou ul {
    position: absolute;
    z-index: 18;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
}


#g-nav_koutou li {
    list-style: none;

}

#g-nav_koutou li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}



@media screen and (max-width:1200px) {
    #g-nav_koutou {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: -150%;
        left: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: rgba(255, 255, 255, 0.9);
        /*動き*/
        transition: all 0.6s;
    }

    /*アクティブクラスがついたら位置を0に*/
    #g-nav_koutou.panelactive {
        top: 0;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav_koutou.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    /*ナビゲーション*/
    #g-nav_koutou ul {
        /*ナビゲーション天地中央揃え*/
        width: 90%;
        margin: 0px auto 0 auto;
    }

    #g-nav_koutou ul ul {
        width: 100%;
        margin: 0;
    }

    /*プルダウンナビのCSS*/
    #g-nav_koutou ul li.has-child ul {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        visibility: visible;
        /*JSで制御するため一旦表示*/
        opacity: 1;
        /*JSで制御するため一旦表示*/
        display: none;
        /*JSのslidetoggleで表示させるため非表示に*/
        transition: none;
        /*JSで制御するためCSSのアニメーションを切る*/
        transform: none;
    }

    /*リストのレイアウト設定*/

    #g-nav_koutou li {
        list-style: none;
        border-bottom: 1px solid #aaa;

    }


    #g-nav_koutou li ul li {
        border-bottom: none;
    }


    #g-nav_koutou li a {
        color: #000;
        text-decoration: none;
        padding: 10px;

        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
        width: 100%;

        display: flex;
        justify-content: start;
        align-items: center;
    }







    #g-nav_koutou li ul li a {
        color: #333;
        font-weight: 500;

    }

    #g-nav_koutou h3 {
        font-size: 2rem;
    font-weight: 800;
    color: #0055AA;

    }

    #g-nav_koutou h3.senmon_title {
        font-size: 2rem;
    font-weight: 800;
    color: #DB002B;

    }
    



    #g-nav_koutou h3 span {
        font-size: 1rem;
    font-weight: 400;

    }

    



}




/*===========================================================*/
/*MENU */
/*===========================================================*/

.openbtn {
    position: fixed;
    z-index: 1000;
    /*ボタンを最前面に*/
    top: 0;
    right: 0;
    cursor: pointer;
    width: 80px;
    height: 80px;
    background: #000000;
}

.openbtn span {
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
}

.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(2),
.openbtn span:nth-of-type(3) {
    height: 2px;
    background: #fff;
    width: 30%;
    opacity: 1;
    top: 30px;
    left: 30px;
}

.openbtn span:nth-of-type(2) {
    top: 38px;
}

.openbtn span:nth-of-type(3) {
    top: 46px;
}


.openbtn.is-animation span:nth-of-type(1),
.openbtn.is-animation span:nth-of-type(2),
.openbtn.is-animation span:nth-of-type(3) {
    background: #fff;
}




.openbtn.active span:nth-of-type(1),
.openbtn.active span:nth-of-type(3) {
    opacity: 1;
}

.openbtn.active span:nth-of-type(1) {
    top: 33px;
    left: 30px;
    transform: translateY(6px) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 45px;
    left: 30px;
    transform: translateY(-6px) rotate(45deg);
}











.openkoutoubtn {
    position:absolute;
    z-index: 1000;
    /*ボタンを最前面に*/
    top: 0px;
    right: 0;
    cursor: pointer;
    width: 80px;
    height: 80px;
    background: #0055AA;
    color:#fff;
    text-align: center;
}

.openkoutoubtn span {
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
}




.openkoutoubtn span {
    bottom: 16px;
    right: 0;
  left: 0;
  margin: 0 auto;
  
}





.openkoutoubtn i {
    position: absolute;
    transform: translate(-6px, 0);
    
    right: 0;
  left: 10px;
  margin: 25px auto 0 auto;
}


.openkoutoubtn i:before, .openkoutoubtn i:after {
    content: "";
    position: absolute;
    background-color: #ffffff;
    width: 3px;
    height: 12px;
    transition: all 0.25s ease-in-out;
}

.openkoutoubtn i:before {
    transform: translate(3px, 0) rotate(45deg);
}

.openkoutoubtn i:after {
    transform: translate(-3px, 0) rotate(-45deg);
}

.openkoutoubtn.active i:before {
    transform: translate(-3px, 0) rotate(45deg);
}
.openkoutoubtn.active i:after {
    transform: translate(3px, 0) rotate(-45deg);
}







.opensenmonbtn {
    position:absolute;
    z-index: 1000;
    /*ボタンを最前面に*/
    top: 0px;
    right: 0;
    cursor: pointer;
    width: 80px;
    height: 80px;
    background: #DB002B;
    color:#fff;
    text-align: center;
}

.opensenmonbtn span {
    display: inline-block;
    transition: all .4s;
    /*アニメーションの設定*/
    position: absolute;
}




.opensenmonbtn span {
    bottom: 16px;
    right: 0;
  left: 0;
  margin: 0 auto;
  
}





.opensenmonbtn i {
    position: absolute;
    transform: translate(-6px, 0);
    
    right: 0;
  left: 10px;
  margin: 25px auto 0 auto;
}


.opensenmonbtn i:before, .opensenmonbtn i:after {
    content: "";
    position: absolute;
    background-color: #ffffff;
    width: 3px;
    height: 12px;
    transition: all 0.25s ease-in-out;
}

.opensenmonbtn i:before {
    transform: translate(3px, 0) rotate(45deg);
}

.opensenmonbtn i:after {
    transform: translate(-3px, 0) rotate(-45deg);
}

.opensenmonbtn.active i:before {
    transform: translate(-3px, 0) rotate(45deg);
}
.opensenmonbtn.active i:after {
    transform: translate(3px, 0) rotate(-45deg);
}






#header {
    position: fixed;
    top: 0;
    /*header固定*/

    /*Headerの高さ設定*/
    width: 100%;
    z-index: 11;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 255, 0);
    padding: .8rem 30px;



}

#header.is-animation {
    background: rgba(255, 255, 255, 0.9);

}





.site-logo a {
    padding: 0 2rem;

}


.site-logo a img {
    width: 100%;
    max-width: 360px;
    margin-right: 10px;
}










@media screen and (max-width:990px) {
    #header {
        padding: 0.8rem 10px;

    }
}

#pc-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;

    margin: 0 0 0 5%;
}

#header #pc-nav li a {
    color: #fff;
    display: block;
    text-decoration: none;
    padding: 0 16px;
    transition: all 0.3s;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: .1rem;
    white-space: nowrap;
}


#header.is-animation #pc-nav li a {
    color: #000;
}

#pc-nav li.current a,
#pc-nav li a:hover {
    color: #ebcd72;
}

/*===========================================================*/
/*スクロール合わせて線が伸びる*/
/*===========================================================*/

.scrollgress {
    z-index: 99;
}

/*===========================================================*/
/*下線が伸びて背景に変わる*/
/*===========================================================*/


.btnlinestretches3 {
    position: relative;
    color: #fff;
    padding: 5px 30px;
    display: inline-block;
    text-decoration: none;
    outline: none;
}


.btnlinestretches3 span {
    position: relative;
    z-index: 2;
}

.btnlinestretches3:hover span {
    color: #222;
}

.btnlinestretches3::after {
    content: '';
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    background: #0B1642;
    width: 100%;
    height: 100%;

    transition: all 0.3s ease-in-out;

}

.btnlinestretches3:hover::after {
    height: 3px;
}







.btnlinestretches4 {
    position: relative;
    color: #fff;
    padding: 5px 30px;
    display: inline-block;
    text-decoration: none;
    outline: none;
}

.btnlinestretches4 span {
    position: relative;
    z-index: 2;
}

.btnlinestretches4:hover span {
    color: #0B1642;
}

.btnlinestretches4::after {
    content: '';
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    background: #fff;
    width: 100%;
    height: 0px;

    transition: all 0.3s ease-in-out;
}

.btnlinestretches4:hover::after {
    height: 100%;
}



/*===========================================================*/
/*page top リンク*/
/*===========================================================*/

#page-top {
    margin: 0;
}

#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #cc0000;
    width: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;

    border-radius: 50%;
}

#page-top a:hover {
    background: #680412;
}

#page-top {
    position: fixed;
    right: 5px;
    bottom: 90px;
    z-index: 100;
    opacity: 0;
    transform: translateX(100px);
}


#page-top.LeftMove {
    animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

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



#page-top.RightMove {
    animation: RightAnime 0.5s forwards;
}

@keyframes RightAnime {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 1;
        transform: translateX(100px);
    }
}




#side-bnr {
    position: fixed;
    top: 20%;
    right: 0px;
    z-index: 1000;
    width:60px;
    background:#fff;
    border-radius:1rem 0rem 0rem 1rem;
    padding:2rem 0 0 .8rem;
    text-align:center;
    opacity: 0;
    transform: translateX(100px);
}





#side-bnr.LeftMove {
    animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

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



#side-bnr.RightMove {
    animation: RightAnime 0.5s forwards;
}

@keyframes RightAnime {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 1;
        transform: translateX(100px);
    }
}




/*===========================================================*/
/*アコーディオン メニュー*/
/*===========================================================*/

.accordion-area {
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin: 0 auto 10rem auto;
}

.accordion-area li {
    margin: 0 0 4rem 0;
}

.accordion-area section {}

.title {
    position: relative;
    cursor: pointer;
    font-size: 1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
}

@media screen and (max-width:768px) {
    .title {
        font-size: 0.9rem;
    }
}

/*アイコンの＋と×*/
.title::before,
.title::after {
    position: absolute;
    content: '';
    width: 15px;
    height: 2px;
    background-color: #fff;

}

.title::before {
    top: 48%;
    right: 15px;
    transform: rotate(0deg);

}

.title::after {
    top: 48%;
    right: 15px;
    transform: rotate(90deg);

}

.title.faqclose::before {
    transform: rotate(45deg);
}

.title.faqclose::after {
    transform: rotate(-45deg);
}

.title img {
    width:38px;
    margin-right:2rem;
}

.box {
    display: none;

    background: #F3EFEB;
    margin: 0 0 4rem 0;
    padding: 3rem;
    
}

.box p {
    margin: 0;
}



/*==================================================
機能編 6-1-7 複数画像を中央に注目させて見せる
===================================*/

.slider {
    position: relative;
    z-index: 1;
    background: #fff;
    overflow: hidden;
    margin-top: -2rem;
}

.slider img {
    width: 50vw;
    /*スライダー内の画像を50vwにしてレスポンシブ化*/
    height: auto;
    border-radius: 10px;
}

.slider .slick-slide {
    transform: scale(0.85);
    /*左右の画像のサイズを85%に*/
    transition: all .5s;
    /*拡大や透過のアニメーションを0.5秒で行う*/
}

@media screen and (max-width:1020px) {
    .slider img {
        width: 70vw;
        /*スライダー内の画像を55vwにしてレスポンシブ化*/
    }
}

@media screen and (max-width:768px) {
    .slider img {
        width: 96vw;
        /*スライダー内の画像を55vwにしてレスポンシブ化*/
    }

}

.slider .slick-slide.slick-center {
    transform: scale(1);
    /*中央の画像のサイズだけ等倍に*/
    opacity: 1;
    /*透過なし*/
}


/*矢印の設定*/

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

    /*矢印の色*/
    height: 40px;
    width: 40px;
}

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

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


@media screen and (max-width:600px) {
    .slick-prev {
        display: none !important;
    }

    .slick-next {
        display: none !important;
    }

}


/*ドットナビゲーションの設定*/

.slick-dots {
    text-align: center;
    margin: 20px 0 0 0;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 8px;
    /*ドットボタンのサイズ*/
    height: 8px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: #457703;
    /*ドットボタンの色*/
}

.slick-dots .slick-active button {
    background: #B25938;
    /*ドットボタンの現在地表示の色*/
}


/*===========================================================*/
/* スクロールすると1画面移動*/
/*===========================================================*/

/* Centered texts in each section
    * --------------------------------------- */
.section {
    text-align: center;
}


/* Backgrounds will cover all the section
    * --------------------------------------- */
#section0,
#section1,
#section2,
#section3,
#section4,
#section5,
#section6,
#section7,
#section8,
#section9,
#section10,
#section11,
#slide3-1,
#slide3-2,
#slide3-3,
#slide3-4,
#slide7-1,
#slide7-2,
#slide7-3,
#slide7-4,
#slide7-5 {
    background-size: cover;
    background-attachment: fixed;
}

/* Defining each sectino background and styles
    * --------------------------------------- */
#section0 {
    background-image: url(imgs/bg_02.jpg);
}

#section0 h1 {
    top: 45%;
    transform: translateY(-50%);
    position: relative;
}


#section1 {
    background-image: url(imgs/bg_03.jpg);
}

#section1 h1 {
    top: 60%;
    transform: translateY(-50%);
    position: relative;
}


#section2 {
    background-image: url(imgs/bg_04.jpg);
}

#section2 h1 {
    top: 40%;
    transform: translateY(-50%);
    position: relative;
}





#section3 {
    background-image: url(imgs/bg_05.jpg);
}

#section3 h1 {
    top: 65%;
    transform: translateY(-50%);
    position: relative;
}








/*===========================================================*/
/*ニュースティッカー*/
/*===========================================================*/

.slider a {
    display: block;
    background: #fff;
    padding: 10px 0;
}

.slider time {
    display: inline-block;
    font-size: 0.8rem;
    margin-right: 10px;
    color: #777;
}

@media screen and (max-width:768px) {
    .slider {
        padding: 20px;
        background: #fff;
    }

    .slider li {
        border-bottom: 1px dashed #ccc;
    }

    .slider li:last-child {
        border-bottom: none;
    }

    .slider time {
        display: block;
        padding-bottom: 10px;
    }
}


/*===========================================================*/
/* 動きいろいろ*/
/*===========================================================*/

/* fadeRight */

.fadeRight {
    animation-name: fadeRightAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeRightAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

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


/* fadeLeft */

.fadeLeft {
    animation-name: fadeLeftAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeLeftAnime {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

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



/*4シャッ（左から）*/
.bgextend {
    animation-name: bgextendAnimeBase;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    position: relative;
    overflow: hidden;
    opacity: 0;

}

@keyframes bgextendAnimeBase {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.bgappear {
    animation-name: bgextendAnimeSecond;
    animation-duration: .2s;
    animation-delay: 0.4s;
    animation-fill-mode: forwards;
    opacity: 0;
}



@keyframes bgextendAnimeSecond {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;

    }
}



.bgLRextend::before {
    animation-name: bgLRextendAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #2185D0;
    /*伸びる背景色の設定*/
    z-index: 5;
}


@keyframes bgLRextendAnime {
    0% {
        transform-origin: left;
        transform: scaleX(0);
    }

    50% {
        transform-origin: left;
        transform: scaleX(1);
    }

    50.001% {
        transform-origin: right;
    }

    100% {
        transform-origin: right;
        transform: scaleX(0);
    }
}





/* fadeIn */
.fadeIn {
    animation-name: fadeInAnime;
    animation-duration: 1s;
    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;
}

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

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




/* ふわっ（上から） */

.fadeDown {
    animation-name: fadeDownAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 1;
}

@keyframes fadeDownAnime {
    from {
        opacity: 1;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(5px);
    }
}





/* パタッ（左へ） */
.flipLeft {
    animation-name: flipLeftAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    perspective-origin: left center;
    opacity: 0;
}

@keyframes flipLeftAnime {
    from {
        transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
        opacity: 0;
    }

    to {
        transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
        opacity: 1;
    }
}

/* スマホ表示用。flipLeftTriggerを指定している親要素に指定しないとうまく動かない*/
#vision,
.service-area {
    transform: translate3d(0, 0, 0);
}


#service,
.service-area {
    transform: translate3d(0, 0, 0);
}


#price,
.service-area {
    transform: translate3d(0, 0, 0);
}


/* スクロールで出現する要素にはじめに透過0を指定　*/
.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger,
.fadeDownTrigger,
.fadeInTrigger,
.flipLeftTrigger,
.fadeLeftTrigger,
.fadeRightTrigger {
    opacity: 0;
}


/*===========================================================*/
/* スクロールすると下のエリアがヘッダーにかぶさる*/
/*===========================================================*/

#top-main {
    width: 100%;
    height: calc(100% - 70px);
    position: relative;
    overflow: hidden;
}


@media screen and (max-width:768px) {
    #top-main:before {
        background-position: top center;
        background-size: auto 90%;
    }
}

#container {
    position: relative;
    margin:0;
    padding-top:0px;
overflow: hidden;

}

#container.contact_area {

    background: #fff;
}


#wrapper-footer {
    position: relative;
    z-index: 10;
    background: #111;
    padding:3rem 0 10rem 0;
}