@charset "utf-8";


#container {
	/* opacity: 0; */
	position: relative;
	z-index: 1;
}


@media screen and (max-width:1000px) {

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 800;
    /*ナビのスタート位置と形状*/
	top: 0;
	right: -120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:rgba(255,255,255,0.9);
    /*動き*/
	transition: all 0.6s;
	/* z-index: -5; */
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
	right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 800; 
    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; 
	margin-bottom: 0.5em;
}

#g-nav li a{
	text-decoration: none;
	display: block;
	text-transform: uppercase;
}

#g-nav .insta-link{
	margin: 0 auto;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

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

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

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

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    /* width: 30%; */
}

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

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    /* width: 30%; */
}

}

/*===========================================================*/
/*機能編  5-2-1　3本線が×に*/
/*===========================================================*/


.openbtn {
	display: none;
}


@media screen and (max-width:1000px) {

	.nav-menu{
		text-align: right;
	}

	.openbtn {
		display: inline-block;
		position: relative;
		top: 3%;
		right: 3%;
		z-index: 9999;
		/*ボタンを最前面に*/
		cursor: pointer;
		width: 89px;
		height: 89px;
		/* background-color: #666; */
	}

	/*×に変化*/
	.openbtn span {
		display: inline-block;
		transition: all .4s;
		position: absolute;
		right: 0;
		height: 2px;
		background-color: #000;
		width: 80%;
	}

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

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

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

	.openbtn.active span:nth-of-type(1) {
		top: 41px;
		left: 28px;
		transform: translateY(6px) rotate(-25deg);
		/* width: 30%; */
	}

	.openbtn.active span:nth-of-type(2){
		display: none;
	}

	.openbtn.active span:nth-of-type(3) {
		top: 52px;
		left: 28px;
		transform: translateY(-6px) rotate(25deg);
		/* width: 30%; */
	}

}


/*=================================
ページトップ
===================================*/

#page-top {
	position: fixed;
	bottom: 0;
	right: 0;
	/*font-size: 80%;*/
	z-index: 999;
}

#page-top a {
	display: block;
	/*background: #666;
    color: #fff;
    width: 100px;*/
	/*padding: 25px 0;*/
	text-align: center;
	text-decoration: none;
	/* border-radius: 10px;*/
}

#page-top a:hover {
	opacity: 0.7;
	-webkit-opacity: 0.7;
}


/*==================================================
機能編　5-3-11 左右から線が伸びて枠線になる
===================================*/

.nav05b li {
	/*線の基点とするためrelativeを指定*/
	position: relative;
	margin: 0 15px;
}

/*線の基点位置*/
/* .nav05b li::before, */
.nav05b li::after {
	content: "";
	/*絶対配置で線の位置を決める*/
	position: absolute;
	/*線の形状*/
	width: 0;
	height: 4px;
	background: #182578;
	/*アニメーションの指定*/
	transition: all 0.2s linear;
	transition-delay: 0.2s;
}

@media screen and (max-width:1370px) {

	/*線の基点位置*/
	.nav05b li::after {
		background: #fff;
	}
}

.nav05b li::after {
	left: 0;
	bottom: 0;
}



/*現在地とhoverした際の線の変化*/

.nav05b li.current::after,
.nav05b li:hover::after {
	width: 100%;
	/*横幅を100%に*/
}


/*====== 9-1-1 縦線が動いてスクロールを促す =======*/

/*スクロールダウン全体の場所*/
.scrolldown1{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	left:50%;
	bottom:10px;
    /*全体の高さ*/
	height:50px;
	z-index: 1;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
    /*描画位置*/
	position: absolute;
	left:-2.5em;
	top: -50px;
    /*テキストの形状*/
	color: #fff;
	font-size: 0.8em;
	font-family: 'ExtraLight', sans-serif;
}

/* 線の描写 */
.scrolldown1::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top: 0;
    /*線の形状*/
	width: 1px;
	height: 80px;
	background: #fff;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: pathmove 2s ease-in-out infinite;
	opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:-20px;
		opacity: 0;
	}
	30%{
		height:80px;
		opacity: 1;
	}
	100%{
		height:0;
		top:80px;
		opacity: 0;
	}
}


/*==================================================
印象編 4 最低限おぼえておきたい動き
===================================*/

/* 4-2 パタッ（下へ） */

.flipDown {
	animation-name: flipDownAnime;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	opacity: 0;
}

@keyframes flipDownAnime {
	from {
		transform: perspective(2500px) rotateX(100deg);
		opacity: 0;
	}

	to {
		transform: perspective(2500px) rotateX(0);
		opacity: 1;
	}
}

/* 4-1 ふわっ（下から） */

.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-1 ふわっ（左から）*/

.fadeLeft {
	animation-name: fadeLeftAnime;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
	opacity: 0;
}

@keyframes fadeLeftAnime {
	from {
		opacity: 0;
		transform: translateX(-100px);
	}

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

/* 4-1 ふわっ（右から） */

.fadeRight {
	animation-name: fadeRightAnime;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
	opacity: 0;
}

@keyframes fadeRightAnime {
	from {
		opacity: 0;
		transform: translateX(100px);
	}

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

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