@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;
    position:relative;
    /*はじめは透過0に*/

    width:100%;
    height:100%;

}





/*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: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


#g-nav li {
    list-style: none;
    text-align: center;
}

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

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

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

}

.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: #3862ac;
    width: 30%;
    opacity: 1;
    top: 25px;
    left: 25px;
}

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

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


.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: #333;
}




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

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

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

.openbtn.active span:nth-of-type(3) {
    top: 40px;
    left: 30px;
    transform: translateY(-6px) 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;

    -webkit-transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    -ms-transition: .2s ease-in-out;
    -o-transition: .2s ease-in-out;
    transition: .2s ease-in-out;

}

#header.is-animation {
    

    -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        background-color: rgba(255, 255, 255, .7);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);

}



.site-logo a {
    color: #111;
    letter-spacing: 0.2rem;
    

}

#header .site-logo a span {
    font-size: .7rem;
}

#header .site-logo a img {
    width: 100%;
    width: 180px;
    transition: all .3s ease-in-out;
}



#header.is-animation .site-logo {
    width: 320px;

}


#header.is-animation .site-logo a span.en {
    font-size: .6rem;
}







@media screen and (max-width:990px) {
    #header {}
}

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

    margin: 0 0 0 5%;
}

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


#header #pc-nav li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #000000;
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
    transition: transform 0.3s;  /*変形の時間*/
    }
    
    #header #pc-nav li a:hover::after {
    transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
    transform-origin: left top; /*左から右に向かう*/
    }



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

#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: #3862ac;
    width: 60px;
    height: 55px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;

    border-radius: 3rem;
}

#page-top a:hover {
    background: #4482ef;
}

#page-top {
    position: fixed;
    right: 5px;
    bottom: 5px;
    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);
    }
}

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

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

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

.accordion-area section {
    border: 1px solid #ccc;
    border-radius:5px;
}

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

.open h4{
    line-height:1;
    margin:1rem 0;
}


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

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

}

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

}

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

}

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

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


.box {
    display: none;

    background: #f3f3f3;
    margin: 0 3% 3% 3%;
    padding: 3%;
}



/*==================================================
機能編 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: 1.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

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

    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: #c5241c;
    /*伸びる背景色の設定*/
    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);
    }
}






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

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

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

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


/* パタッ（左へ） */
.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,
.fadeInTrigger,
.flipLeftTrigger,
.fadeLeftTrigger,
.fadeRightTrigger,
.fadeRightTriggersecond,
.fadeRightTriggerthird,
.fadeRightTriggerfourth {
    opacity: 0;
}


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

#top-main {
    width: 100%;
    min-width: 1140px;;
    position: relative;
    margin-top:85px;
    display:flex;
    align-items: center;
}





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

#container {
    position: relative;
    z-index: 10;
    background:#fff;
}


#wrapper-footer {
    position: relative;
    z-index: 10;
}