@charset "utf-8";

#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: 250px;
}
.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: linear-gradient(45deg, rgba(255, 255, 255, 0.9), rgba(236, 98, 0, 1));
    /*伸びる背景色の設定*/
    animation-name: PageAnime;
    animation-duration: 2.0s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}
@keyframes PageAnime {
    0% {
        transform-origin: top;
        transform: scaleY(0);
    }
    50% {
        transform-origin: top;
        transform: scaleY(1);
    }
    50.001% {
        transform-origin: bottom;
    }
    100% {
        transform-origin: bottom;
        transform: scaleY(0);
    }
}


#header {
    position: fixed;
    /*header固定*/
    right: 0;
    top: 0;
    width: 100%;
    height: 60px;
    z-index: 99;
    background: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    box-shadow: 0px 5px 10px -10px;
}
#header h1 img {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
}
@media screen and (max-width:550px) {
    #header h1 img {
        width: 150px;
    }
}


/* グローバルナビ */
#g-nav {
    width: 100%;
}
#g-nav ul {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    text-align: center;
    padding-right: 30px;
    margin: 0 20px;
    margin-right: 10%;
}
#g-nav ul li {
    margin: auto 30px;
    font-size: 0.8rem;
    font-weight: 600;
}
#g-nav ul li:nth-of-type(4) {
    margin-right: 5%;
}
#g-nav ul li.sns {
    margin: auto 15px;
    margin-top: 5px;
} 
#g-nav ul li.sns img {
    max-width: 30px;
}
#g-nav ul li a {
    color: #333;
    transition: all 0.3s;
}
#g-nav ul li a:hover {
    color: #fa9700;
}
#g-nav .now {
    color: #fa9700;
}

@media screen and (max-width:990px) {
    #g-nav {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 9999;
        /*ナビのスタート位置と形状*/
        right: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);
        transition: .3s ease;
        /*ナビの高さ*/
        background: rgba(0, 0, 0, 0.8);
    }
    body.open #g-nav{
        transform: translateX(0);
    }
    #g-nav ul {
        flex-flow: column;
        /*ナビゲーション天地中央揃え*/
        width: 88%;
        padding-top: 15vh;
        padding-right: 0;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
    }
    #g-nav ul li {
        padding: 5px 10px;
        margin: 15px;
        width: 350px;
        text-align: center;
        border-radius: 30px;
        background: #ec6200;
        font-size: 18px;
    }
    #g-nav ul li .box {
        color: #fff;
    }
    #g-nav ul li:nth-of-type(4) {
        margin-right: 15px;
        margin-bottom: 50px;
    }
    #g-nav ul li.sns {
        margin: 15px;
        padding-bottom: 0;
        width: 250px;
    } 
}
@media screen and (max-width:550px) {
    #g-nav ul {
        width: 84%;
    }
}
@media screen and (max-width:400px) {
    #g-nav ul li {
        max-width: 200px;
    }
    #g-nav ul li.sns {
        max-width: 200px;
    }

}

.g-nav-openbtn {
    display: none;
}
@media screen and (max-width:990px) {
    .g-nav-openbtn {
        display: block;
        position: fixed;
        z-index: 10000;
        /*ボタンを最前面に*/
        top: 10px;
        right: 2%;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*ボタン内側*/
    .g-nav-openbtn .openbtn-area {
        transition: all .4s;
    }
    .g-nav-openbtn span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 30%;
        height: 4px;
        border-radius: 2px;
        background: linear-gradient( 90deg, rgba(230, 0, 44, 1), rgba(250, 151, 0, 1));
        width: 45%;
    }
    .g-nav-openbtn span:nth-of-type(1) {
        top: 15px;
    }
    .g-nav-openbtn span:nth-of-type(2) {
        top: 23px;
    }
    .g-nav-openbtn span:nth-of-type(3) {
        top: 31px;
    }
    .g-nav-openbtn.active .openbtn-area {
        transform: rotateY(-360deg);
    }
    .g-nav-openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-135deg);
        width: 30%;
    }
    .g-nav-openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .g-nav-openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(135deg);
        width: 30%;
    }
}


/* 予約ボタン */
#yoyaku {
    position: fixed;
    bottom: 15%;
    right: 10%;
    z-index: 20;
}
#yoyaku img {
    max-width: 140px;
}
@media screen and (max-width:990px) {
    #yoyaku {
        right: 8%;
    }
    #yoyaku img {
        max-width: 100px;
    }        
}
@media screen and (max-width:768px) {
}
@media screen and (max-width:550px) {
    #yoyaku {
        right: 10%;
    }
    #yoyaku img {
        max-width: 80px;
    }            
}
@media screen and (max-width:400px) {
    #yoyaku {
        bottom: 20%;
        right: 10%;
    }
    #yoyaku img {
        max-width: 70px;
    }            
}


.btnlinestretches3 {
    /*線の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    color: #333;
    padding: 5px 30px;
    display: inline-block;
    text-decoration: none;
    outline: none;
}
/*テキストの設定*/
.btnlinestretches3 span {
    /*テキストを前面に出すためz-indexの値を高く設定*/
    position: relative;
    z-index: 2;
}
.btnlinestretches3:hover span {
    color: #fff;
}
/*線の設定*/
.btnlinestretches3::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    /*線の形状*/
    background: #333;
    width: 100%;
    height: 3px;
    /*アニメーションの指定*/
    transition: all 0.3s ease-in-out;
}
/*線が伸びて背景に*/
.btnlinestretches3:hover::after {
    height: 100%;
}


p#page-top {
    margin: 0;
}
/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 20px;
    bottom: 50px;
    z-index: 10;
    max-width: 60px;
    /*はじめは非表示*/
    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);
    }
}


.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: 1s;
    animation-delay: 0.6s;
    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: #fa9700;
    /*伸びる背景色の設定*/
}

@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: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

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

    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を指定している親要素に指定しないとうまく動かない*/

.smooth {
    animation-name: smoothAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    transform-origin: left;
    opacity: 0;
}

@keyframes smoothAnime {
    from {
        transform: translate3d(0, 100%, 0) skewY(12deg);
        opacity: 0;
    }

    to {
        transform: translate3d(0, 0, 0) skewY(0);
        opacity: 1;
    }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger,
.flipLeftTrigger,
.smoothTrigger {
    opacity: 0;
}


/* スクロールダウン */
.scrolldown1 {
    position: absolute;
    right: 5%;
    bottom: 0%;
    height: 50px;
}
.scrolldown1 span {
    transform: rotate(90deg);
    position: absolute;
    left: -7px;
    top: -9px;
    color: #333;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    font-weight: bold;
}
.scrolldown1::after {
    content: "";
    position: absolute;
    top: 0;
    width: 1px;
    height: 30px;
    background: #333;
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
}
@media screen and (max-width:550px) {
    .scrolldown1 {
        position: absolute;
        right: 10%;
        bottom: 0%;
        height: 50px;
    }
}

@keyframes pathmove {
    0% {
        height: 0;
        top: 0;
        opacity: 0;
    }

    30% {
        height: 30px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 50px;
        opacity: 0;
    }
}



.zoomOut {
    margin: 0 auto;
}

.zoomOut img {
    transform: scale(1.1);
    transition: .3s ease-in-out;
    /*移り変わる速さを変更したい場合はこの数値を変更*/
}

.zoomOut:hover img {
    /*hoverした時の変化*/
    transform: scale(1);
    /*拡大の値を変更したい場合はこの数値を変更*/
}

.zoomOut .mask {
    display: block;
    height: 13vw;
    overflow: hidden;
}

@media screen and (max-width:990px) {
    .zoomOut .mask {
        height: 14vw;
    }
}

@media screen and (max-width:550px) {
    .zoomOut .mask {
        height: 38vw;
    }
}

@media screen and (max-width:400px) {
    .zoomOut .mask {
        height: 43vw;
    }
}

