@charset "utf-8";



/*========= ローディング画面のための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:50px;
}

/*========= 画面遷移のためのCSS ===============*/

@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クラスがついたら出現*/
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;
}
}


/*===========================================================*/
/* 追従メニューの現在地ハイライト*/
/*===========================================================*/

/*========= 現在地表示のためのCSS ===============*/

#header{
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	height: 100px;
	width:100%;
	padding-left: 7vw;
	padding-right: 7vw;
  z-index: 9;
	display: flex;
	justify-content: space-between;
	align-items: center;
  background: #fff;
}

@media screen and (max-width:990px) {
#header{
    height: 75px;
    }
}

#pc-nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
    text-transform: uppercase;
    margin: 0;
}

#pc-nav li a{
	position: relative;
	display: block;
	text-decoration: none;
	color: #333;
	padding: 10px 15px;
	transition: all 0.3s;
	border: solid 1px#333;
}

#pc-nav li.current a,
#pc-nav li a:hover{
	color:#eb6100;
	border-color: #eb6100;
}

/* #pc-nav li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 10%;
	width: 80%;
  height: 2px;
	background-color: #eb6100;
	transition: all .3s;
	transform: scale(0, 1);
	transform-origin: center top;
} */

/* #pc-nav li.current a::after,
#pc-nav li a:hover::after {
  transform: scale(1, 1);
} */

/*===========================================================*/
/* スクロールをするとエリアの高さに合わせて線が伸びる*/
/*===========================================================*/

.scrollgress{
	z-index:99;
}


/*===========================================================*/
/* ページの指定の高さを超えたら右から出現*/
/*===========================================================*/

/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#E90080;
	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);
  }
}

/*シャッ（左から）*/
.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: #1628F7; */
}
@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);
  }
}


/* 4-2　パタッ（左へ） */
.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;
  }
}

#vision,
.service-area{
    transform:  translate3d(0, 0, 0);
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger,
.flipLeftTrigger{
    opacity: 0;
}


#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/logo50.jpg") no-repeat center;
	background-size: cover;
}

@media screen and (max-width:768px) {
#top-main:before{
    background-position: top center;
    background-size:auto 90%;
    }
}

#container{
	position: relative;
	z-index:1;
	background:#fff;
}

/* お問い合わせ */
#about .about-list a{
	color: blue;
}
#about .about-list a:hover{
	opacity: .7;
}
#about .btn{
	text-align: center;
	margin-top: 50px;
}
#about .btn a:hover{
	opacity: .7;
}
#about .btn img{
	width: 26vw;
	/* box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 25%); */
}

@media screen and (max-width:550px) {
	#about .btn img{
		width: 50vw;
}
}
