@charset "utf-8";

/* support iOS */
html{
  height: -webkit-fill-available;
}
body{
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

/*ローディング*/
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #A59A94;
	z-index: 9999999;
	text-align:center;
}

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

/*画面遷移アニメーション*/
body{
    background:#a59a94;
}

body.appear{
    background:#e2e0dc;
}

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

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg1,
body.appear .splashbg2{
	display:block;
}

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

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

	100% {
		transform-origin:top;
		transform:scaleY(0);
	}
}

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

@keyframes PageAnime2{
	0% {
		transform-origin:bottom;
		transform:scaleY(1);
	}
	100% {
		transform-origin:bottom;
		transform:scaleY(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{
    position:fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width:100%;
    height: 100vh;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background: #E2E0DC;
	transform: translateY(300%);
    transition: all 0.6s;
}

#g-nav.panelactive{
    transform: translateY(0);
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overflow: hidden;
    -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;
	text-transform: uppercase;
}

#g-nav li a{
	color: #2E2210;
	text-decoration: none;
	padding: 5px;
	display: flex;
	align-items: center;
	text-transform: uppercase;
	font-weight: 700;
	position: relative;
	font-size: 1rem;
}

#g-nav li a:hover{
	color: #83d0d6;
}

#g-nav li a::before{
	content: "";
	width: 20px;
	border-top: 1px solid #83D0D6;
	position: absolute;
    top: 45%;
    left: -25px;
}


/*ナビその他*/
.g-nav_cake{
	width: 70px;
	position: absolute;
	bottom: 10px;
	right: 30px;
}

.g-nav_copyright{
	position: absolute;
	bottom: 10px;
	left: 30px;
	font-size: 0.7rem;
	font-weight: 400;
	text-transform: initial;
}

/*ボタンの変化*/
.openbtn{
	display: none;
}
@media screen and (max-width: 820px) {
	.openbtn{
		display: block;
		position: fixed;
		left: 20px;
		z-index: 99999999;
		cursor: pointer;
		width: 50px;
		height: 50px;
		border: 1px solid #83D0D6;
		border-radius: 50px;
	}

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

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

	.openbtn span:nth-of-type(2) {
		top: 23px;
		width: 50%;
		left: 45%;
	}

	.openbtn span:nth-of-type(3) {
		top: 31px;
		width: 40%;
		left: 42%;
	}

	.openbtn.active span:nth-of-type(1) {
		top: 16px;
		left: 10px;
		transform: translateY(6px) rotate(-45deg);
		width: 60%;
		background-color: #2E2210;
	}

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

	.openbtn.active span:nth-of-type(3){
		top: 28px;
		left: 10px;
		transform: translateY(-6px) rotate(45deg);
		width: 60%;
		background-color: #2E2210;
	}
}

@media screen and (max-width: 820px) {
	.openbtn{
		bottom: 100px;
	}
}

/*---現在地ハイライト---*/
#brank-header{
	position: fixed;
	width: 100%;
	height: 100px;
	background-color: transparent;
	z-index: -1;
}

#header{
	position: fixed;
	height: 100vh;
	width: 250px;
    z-index: 99;
	background-color: #E2E0DC;
}

#pc-nav ul{
	list-style: none;
	margin-left: 80px;
	line-height: 2;
}

#pc-nav ul li{
	position: relative;
	margin-bottom: 10px;;
}

#pc-nav ul li a:before{
	content: "";
	width: 20px;
	border-top: 1px solid #83D0D6;
	position: absolute;
    top: 45%;
    left: -25px;
}

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

@media screen and (max-width: 820px) {
	#header{
		width: 100%;
		height: 80px;
	}
	
    #pc-nav{
        display: none;
    }
}
/*---タイピングテキスト---*/
.TextTyping span {
	display: none;
}

.TextTyping::after {
 	content: "|";
	animation: typinganime .8s ease infinite;
}

@keyframes typinganime{
	from{opacity:0}
	to{opacity:1}
}

/*---ページトップ---*/
#page-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 9;
	opacity: 0;
	transform: translateX(100px);
}

#page-top a{
	display: flex;
	flex-direction: column;
	justify-content:center;
	align-items:center;
	border:1px solid #83d0d6;
	border-radius: 50px;
	width: 50px;
	height: 50px;
	color: #2e2210;
	text-align: center;
	text-decoration: none;
	font-size: 1.5rem;
	transition:all 0.3s;
}

#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);
  }
}

/*---トップのパララックス部分---*/
#top-main{
	width: 100%;
	height: 100vh;
	padding-left: 250px;
	position: relative;
} 

#top-main:before{
	content: '';
	position:fixed;
	z-index:-1;
}

#container{
	position: relative;
	z-index: 1;
	background: #E2E0DC;
	padding-left: 250px;
	overflow: hidden;
}

@media screen and (max-width: 1024px) {
	#top-main{
		height: 50vh;
	}
}

@media screen and (max-width: 820px) {
	#top-main,
	#container{
		padding-left: 0;
	}
}

@media screen and (max-width: 540px) {
	#top-main{
		height: 100vh;
	}
}

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

/*下から*/
.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);
  }
}

/* 左から */

.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);
  }
}

/* 右から */

.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);
  }
}

.fadeUpTrigger,
.fadeLeftTrigger,
.fadeRightTrigger{
    opacity: 0;
}

/*---br---*/
.br-sp{
	display: none;
}
@media screen and (max-width: 540px) {
	.br-sp{
		display: block;
	}
	
	.br-pc{
		display: none;
	}
}
