@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:50px;
}

/*========= 画面遷移==============*/
.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: #eb6100;/*伸びる背景色の設定*/
	animation-name:PageAnime;
	animation-duration:1s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;

}

@keyframes PageAnime{
	0% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
	50% {
		transform-origin:bottom;
		transform:scaleY(1);
	}
	50.001% {
		transform-origin:top;
	}
	100% {
		transform-origin:top;
		transform:scaleY(0);
	}
}

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

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

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

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

#g-nav{
    position:fixed;
    z-index: 999;
	bottom:-120%;
	width:100%;
    height: 100vh;
	background:#eb6100;
	transition: all 0.6s;
}

#g-nav.panelactive{
    bottom: 0;
}

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

#g-nav ul {
    position: absolute;
    z-index: 999;
    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: 9999;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 80px;
    height: 70px;
    border-left: 2px solid #333;
}

.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
}

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

.openbtn span:nth-of-type(2) {
	top:22px;
	left:18px;
	text-transform: uppercase;
	color: #333;
    font-size: 0.9rem;
}

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

.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;
    height: 100px;
    width: 100vw;
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

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

#pc-nav li a{
	display: block;
	text-decoration: none;
	color: #333;
	padding:0 15px;
	transition:all 0.3s;
}

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


.scrollgress{
	z-index:99;
}

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

.btnlinestretches3 span{
	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%;
}

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

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

#page-top {
	position: fixed;
	right: 0;
	bottom:0;
	z-index: 2;
	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);
  }
}

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

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

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

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

.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger,
.flipLeftTrigger{
    opacity: 0;
}

#header h1{
	width: 70px;
    position: absolute;
    top: 15%;
    left: 7%;;
}

@media screen and (max-width:550px) {
	#header h1{
	    width: 45px;
	    position: absolute;
	    top: 20%;
	    left: 7%;
	}

}

#top-main{
	width:100%;
	height: 100vh;
	position: relative;
}

#top-main:before{
	content: '';
    position: fixed;
    top: 10vh;
    left: 5%;
    z-index: -1;
    width: 90%;
    height: 80vh;
	background:url("../img/fv_img.jpg") no-repeat center;
	background-size:cover;
}

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

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

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

@media screen and (max-width:768px) {
	#top-main:before{
		background-position: top center;
    background-size:auto 90%;
	}
	.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;
	}
}
@media screen and (max-width:550px) {
	.openbtn span:nth-of-type(2) {
		font-size: 0.8rem;
	}
}
@media screen and (max-width:375px){
	#top-main{
		height: 80vh;
	}
}
