@charset "utf-8";

/*
=====================
　プログレスバー＋数字カウントアップ
=====================
*/

#splash {
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	/*background:#eee;*/
    background: #fcf7f0;
	text-align:center;
	color:#e2aea8;
}

/* Loadingバー中央配置　*/
#splash_text {
	position: absolute;
	top: 50%;
	left: 50%;
    z-index: 999;
	width: 100%;
	transform: translate(-50%, -50%);
	color: #e2aea8;
}

/*IE11対策用バーの線の高さ*/
#splash_text svg{
    height: 2px;
}


/*===================================
　ナビ
===================================*/

#g-nav{
    position:fixed;
    z-index: 999;
    top:0;
    left: -120%;
    width:100%;
    height: 100vh;
    background: linear-gradient(to top right, rgba(226,174,168,1),rgba(237,224,223,1));/*背景色（グラデーション）*/ 
    transition: all 0.6s;
}

#g-nav.panelactive{
    left: 0;
}
#g-nav.panelactive #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: #42210B;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*==================================
　3本線が1本線に
===================================*/

.openbtn{
	position:fixed;
    z-index: 9999;
	top:0;
	left: 0;
	cursor: pointer;
    width: 70px;
    height:100vh;
    background:#fcf7f0;
    border-right:1px solid #42210B;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 18px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
    top:45vh;	
}

.openbtn span:nth-of-type(2) {
    top:46vh;
}

.openbtn span:nth-of-type(3) {
    top:47vh;
}

.openbtn.active span:nth-of-type(1) ,
.openbtn.active span:nth-of-type(3){
    top:46vh;
}

@media screen and (max-width:960px) {
 .openbtn{
    width: 60px;
    height: 60px;
     border:none;
}
    
.openbtn span:nth-of-type(1) {
    top: 19px;
    left: 15px;
}
    
.openbtn span:nth-of-type(2) {
    top: 28px;
    left: 15px;
}

.openbtn span:nth-of-type(3) {
    top: 37px;
    left: 15px;
}
    
.openbtn.active span:nth-of-type(1) ,
.openbtn.active span:nth-of-type(3){
    top:28px;
}
    
}


/*==================================
　影がついて浮き上がる
===================================*/
.float3{
	position:relative;
	top:0;
    padding:8px 40px;
    display: inline-block;
    border: 1px solid #42210B;
    color: #42210B;
    text-decoration: none;
    outline: none;
    transition: all .3s;
}
.float3:hover {
	top:-3px;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

/*===================================
　線から塗に変化（左から右）
===================================*/
.btn04 {
	position: relative;
    /*ボタンの形状*/
	display:inline-block;
    padding: 10px 30px;
	margin: 0 10px 10px 10px;
	color:#42210B;
	border:1px solid #ccc;
    text-decoration: none;
    outline: none;
 	overflow: hidden;
}

.btn04:hover {
	color:#fff;
	border-color: transparent;
	transition-delay: .6s;
}

.btn04 span{
    display: block;
    z-index: 2;
}

.borderleft span::before,
.borderleft span::after {
    content: '';
    position: absolute;
    width:0;
    height:1px;
    background: #42210B;
	transition: all .3s;
}

/*左上線*/
.borderleft span::before {
    left:0;
    top:0;
}

.borderleft span::after {
    left:0;
    bottom:0;
}
.borderleft:hover span::before,
.borderleft:hover span::after {
    width: 100%;
}
.borderleft::before{
	content: '';
	position: absolute;
	left: 0;
    bottom:0;
	z-index: -1;
	height: 100%;
	width: 0;
	background:#42210B;
	transition: all .3s;
}
.borderleft:hover::before{
	width: 100%;
	transition-delay: .4s;
}

/*====================================
/*ふわっ（上から）
/*===================================*/
.fadeDown{
animation-name: fadeDownAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeDownAnime{
  from {
    opacity: 0;
	transform: translateY(-100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*====================================
/*変形して出現
/*===================================*/
.smooth{
	animation-name: smoothAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    transform-origin: left;
	opacity:0;
}

@keyframes smoothAnime{
  from {
  transform: translate3d(0, 100%, 0) skewY(12deg);
  opacity:0;
  }

  to {
  transform: translate3d(0, 0, 0) skewY(0);
  opacity:1;
  }
}
.fadeDownTrigger,
.smoothTrigger{
    opacity: 0;
}

/*===========================================================*/
/* 流体シェイプ*/
/*===========================================================*/

.fluid {
    width:100%;
    height:100%;
    background: linear-gradient(45deg,rgba(226,174,168,1),rgba(237,224,223,1));/*背景色（グラデーション）*/ 
    animation: fluidrotate 20s ease 0s infinite;
}


@keyframes fluidrotate {  
	  
0%, 100% {
    border-radius: 55% 45% 54% 46%/55% 48% 52% 45%;
}
14% {
    border-radius: 40% 55% 50% 46%/49% 56% 45% 51%;
}
28% {
    border-radius: 54% 46% 40% 62%/49% 60% 40% 51%;
}
42% {
    border-radius: 58% 42% 55% 45%/58% 42% 58% 42%;
}
56% {
    border-radius: 58% 40% 62% 33%/60% 50% 50% 30%;
}
70% {
    border-radius: 50% 50% 38% 60%/56% 62% 39% 44%;
}
84% {
    border-radius: 46% 54% 50% 50%/35% 61% 43% 60%;
}
	  
}


/*===========================================================*/
/* 背景（サクラ）
/*===========================================================*/

#particles-js{ 
	position:fixed;
	z-index:-1;
	width: 100%;
	height: 100%;
    background-color: #fcf7f0;
}

#wrapper{
	position: relative;
	z-index: 1;
	width:100%;
	height: 100%;
}
/*===========================================================*/
/* 波
/*===========================================================*/

#waveCanvas{
    position: absolute;
    bottom: 0;
	left:0;
    width: 100%;
}
