@charset "utf-8";

/*--ローディング画面--*/
#splash-logo{
    width:200px;
}

#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #F4B01A;
	z-index: 9999999;
	text-align:center;
}

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

/*--画面遷移--*/

body{
    background: #F4B01A;
}

body.appear{
    background:#fff;
}

/* 画面遷移アニメーション */
.splashbg1,
.splashbg2{
    display: none;
}

body.appear .splashbg1,
body.appear .splashbg2{
	display:block;
}

/* 右に消えるエリア */
body.appear .splashbg1{
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	left:50%;
    transform: scaleX(1);
    background-color: #F4B01A;
}

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

/* 左に消えるエリア */
body.appear .splashbg2{
	animation-name:PageAnime2;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	right:50%;
    transform: scaleX(1);
    background-color: #F4B01A;
}

@keyframes PageAnime2{
	0% {
		transform-origin:right;
		transform:scaleX(1);
	}

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

/*--画面遷移の後現れるコンテンツ設定--*/
#wrapper{
	opacity: 0;
}

body.appear #wrapper{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay:0.2s;
	animation-fill-mode:forwards;
	opacity: 0;
}

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

/*--ナビゲーション--*/

#g-nav.panelactive{
    position:fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    height: 100vh;
}

/*丸の拡大*/
.circle-bg{
    position: fixed;
    z-index: 99;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    transform: scale(0);
    left: -50px;
    top: calc(50% - 50px);
    transition: all .6s;
}

.circle-bg.circleactive{
  transform: scale(50);
}

/* ナビゲーションの縦スクロール */
#g-nav-list{
    display: none;
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     display: block;
}

/* ナビゲーション */
#g-nav-list .g-nav-main{
    opacity: 0;
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    line-height: 1.5;
}

#g-nav.panelactive #g-nav-list .g-nav-main{
    opacity: 1;
}

#g-nav.panelactive #g-nav-list .g-nav-main li{
	animation-name: gnaviAnime;
	animation-duration: 1s;
	animation-delay: .2s;
	animation-fill-mode: forwards;
	opacity: 0;
    text-align: center;
}

@keyframes gnaviAnime{
0% {
    opacity: 0;
    }   
100% {
    opacity: 1;
    }
}

/* リストのレイアウト */
.g-nav-logo{
    width: 180px;
}

#g-nav-list .g-nav-main li a{
    color: #093D8F;
    text-decoration: none;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-transform: uppercase;
}

#g-nav-list li a:hover{
	opacity: 0.5;
}

#g-nav-list .g-nav-main .sns-list{
    margin-top:  40px;
}

#g-nav-list .g-nav-main .sns-list a{
    padding: 0; 
}

#g-nav li.jnda-btn{
    margin-top: 20px;
    height: auto;
    padding: 0 30px;
    min-width: 200px;
}

#g-nav li.jnda-btn a{
    color: #fff;
    margin: 0 auto;
}

/* ボタンの変化 */
.openbtn{
	position: fixed;
	top: 0;
	left:  0;
	z-index: 9999;
	cursor: pointer;
    width: 80px;
    height: 80px;
    background-color: #F4B01A;
}

.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    height: 3px;
	left: 50%;
    top: 50%;
	transform: translate(-50%,-50%);
    border-radius: 2px;
    background-color: #fff;
    width: 30%;
  }

.openbtn span:nth-of-type(1) {
  top: 30px; 
}

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

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

.openbtn.active{
    background-color: #fff;
}

.openbtn.active span:nth-of-type(1) {
    top: 33px;
    left: 33%;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
	background-color: #093D8F;
}

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

.openbtn.active span:nth-of-type(3){
    top: 45px;
    left: 33%;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
	background-color: #093D8F;
}

@media screen and (max-width: 550px) {
    .openbtn span:nth-of-type(2) {
        font-size: 0.8rem;
    } 
}

/*--現在地ハイライト--*/
#header{
	position: fixed;
	height: 80px;
	width: 100%;
    z-index: 9;
	display: flex;
	justify-content: flex-end;
	align-items: center;
    background: #fff;
}

/*--ページトップ--*/
#page-top {
	position: fixed;
	right: 10px;
	bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
	z-index: 9;
	opacity: 0;
	transform: translateY(100px);
}

#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	color: #093D8F;
    font-weight: bold;
	text-align: center;
	text-decoration: none;
	font-size: 90%;
    width: 60px;
    height:60px;
    text-transform: uppercase;
	transition:all 0.3s;
    position: relative;
    line-height: 1.2;
    border: 1px solid #093D8F;
    background-color: #fff;
}

#page-top a:hover{
    color: #fff;
    background-color: #093D8F;
    border: 1px solid #fff;
}

#page-top.TopMove{
	animation: TopAnime 0.5s forwards;
}

@keyframes TopAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

/*--スクロールアニメーション--*/

/* 枠線が伸びて出現 */
.lineTrigger{
    position: relative;
    opacity:0;
}

.lineTrigger.lineanime{
    animation-name: lineAnimeBase;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes lineAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
  }
}

/*上下線*/
.lineTrigger::before,
.lineTrigger::after{
    position: absolute;
    content:'';
    width:0;
    height: 1.5px;
    background: #F4B01A;
}

/*左右線*/
.line2::before,
.line2::after{
    position: absolute;
    content:"";
    width: 1.5px;
    height:0;
    background: #F4B01A;
}

/*上線*/
.lineTrigger::before {
    top:0;
    left:0;
}

.lineTrigger.lineanime::before {
    animation: lineAnime .5s linear 0s forwards;
}

/*右線*/
.line2::before{ 
    top:0;
    right:0;
}

.lineTrigger.lineanime .line2::before {
    animation: lineAnime2 .5s linear .5s forwards;
}

/*下線*/
.lineTrigger::after { 
    bottom:0;
    right:0;
}

.lineTrigger.lineanime::after {
    animation: lineAnime .5s linear 1s forwards;
}

/*左線*/
.line2::after{ 
    bottom:0;
    left:0;
}

.lineTrigger.lineanime .line2::after {
    animation: lineAnime2 .5s linear 1.5s forwards;
}

@keyframes lineAnime {
    0% {
        width:0%;
        }
    100%{
        width:100%;
        }
}

@keyframes lineAnime2 {
    0% {
        height:0%;
        }
    100%{
        height:100%;
        }
}

/*枠線内側の要素*/
.lineTrigger.lineanime .lineinappear{
animation: lineInnerAnime .5s linear 1.5s forwards;
opacity: 0;
}

@keyframes lineInnerAnime{
0% {opacity:0;}
    100% {opacity:1;}
}

/* テキストが左から右へ */
/*-共通-*/
.slide-in {
	overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
	display: inline-block;
}

/* 左右のアニメーション */
.leftAnime{
    opacity: 0;
}

.slideAnimeLeftRight {
	animation-name:slideTextX100;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
  from {
	transform: translateX(-100%);
        opacity: 0;
  }

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

.slideAnimeRightLeft {
	animation-name:slideTextX-100;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
  from {
	transform: translateX(100%);
    opacity: 0;
  }

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

/* フェードイン */
.fadeIn{
    animation-name:fadeInAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
    opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*--テキストが光りながら出現--*/
.glowAnime span{
    opacity: 0;
}

.glowAnime.glow span{
    animation:glow_anime_on 1s ease-out forwards;
}

@keyframes glow_anime_on{
	0% {
        opacity:0; text-shadow: 0 0 0 #fff,0 0 0 #fff;
    }
	50% {
        opacity:1;text-shadow: 0 0 10px #fff,0 0 15px #fff;
    }
	100% {
        opacity:1; text-shadow: 0 0 0 #fff,0 0 0 #fff;
    }
}

/*--br--*/
.br-sp{
    display: none;
}

@media screen and (max-width: 428px) {
    .br-sp{
        display: block;
    }
}