@charset "UTF-8";
/****************************************
header
*****************************************/
.site-header{
	background: rgba(255,255,255,0.8);
	padding: 20px;
	position: fixed;
	top: 0;
	transition: .5s;
	width: 100%;
	z-index: 999;
}

.site-header.hide{
	transform: translateY(-100%);
}

.site-logo__img{
	height: auto;
	width: 50%;
}
.gnav__menu__item{
	margin-left: 20px;
}

.gnav__menu__item__link{
	color: #333;
	font-size: 16px;
	font-weight: 700;
}

/****************************************
footer
*****************************************/
.site-footer{
	background: #333;
	color: #fff;
	padding: 80px 0;
}
/****************************************
contents
*****************************************/
.hero{
	margin-bottom: 120px;
	max-height: 600px;
	overflow: hidden;
}

.hero__img{
	height: auto;
	width: 100%;
}

.sec{
	margin-bottom: 120px;
}

.page-title{
	text-align: center;
}

.page-title__title{
	color: #333;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 40px;
}

.img-container{
	overflow: hidden;
	position: relative;
}

.img-container__img{
	display: block;
	opacity: 0;
	position: relative;
	transition:all .5s .3s ease; 
	z-index: 0;
}

.img-container:before{
	background: #333;
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transform: translateX(-100%);
	transition:all .8s 0s ease; 
	width: 100%;
	z-index: 1;		
}

.text-container{
	padding:0 60px;
}

.text-container__title{
	color: #333;
	display: inline-block;
	font-size: 60px;
	font-weight: 700;
	overflow: hidden;
	position: relative;
	z-index: 0;
}

.text-container__title:before{
	background: #333;
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transform: translateX(-100%);
	transition:all .8s .3s ease; 
	width: 100%;
	z-index: 1;		
}

.text-container__title__inner{
	display: inline-block;
	opacity: 0;
	transition: all .8s .5s ease;
}

.text-container__text{
	left: -50px;
	opacity: 0;
	position: relative;
	transition: all .5s .5s ease;
}

/*アニメーションするプロパティを設定します*/
.img-container.active img{
	opacity: 1;
}

.img-container.active:before{
	transform: translateX(100%);	
}

.text-container.active .text-container__title:before{
	transform: translateX(100%);
}

.text-container.active .text-container__title__inner{
	opacity: 1;
}

.text-container.active .text-container__text{
	left: 0;
	opacity: 1;
}

