@charset "UTF-8";

/* コンテンツ全体で共通 */
img {
	max-width: 100%;
	height: auto;
}
a {
	display: block;
}
ul {
	list-style-type: none;;
}
/* Loading背景画面設定　*/

#splash {
    /*fixedで全面に固定*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  background:#d1ebda;
  text-align:center;
  color:#fff;
}

/* Loadingバー中央配置　*/
#splash_text {
  position: absolute;
  top: 50%;
  left: 50%;
    z-index: 999;
  width: 100%;
  transform: translate(-50%, -50%);
  color: #fff;
}
/* Loading画像中央配置　*/
#splash_logo {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
  }
  
  /* Loading アイコンの大きさ設定　*/
  #splash_logo img {
	width:100px;
  }
.progressbar-text {
 display: none;
}

body {
	min-width: 765px;
	background: #fdfcf9;
	font-family: "Zen Kaku Gothic New", sans-serif;
	color: #333333;
	line-height: 2;
}
body header {
	width: 10%;
	height: 100vh;
	position: fixed;
	padding: 2%;
}

body header h1 img {
	width: 74%;
	border-radius: 50%;
}
body header h1 p {

	font-size: 15px;
	font-weight: 500;
	line-height: 17px;
	letter-spacing: 0.1em;
}
body header h1 p span {
	font-size: 13px;
	letter-spacing: 0.1em;
}
body header nav ul.g-nav {
	margin-top: 25px;
}
body header nav ul.g-nav li {
	padding-top: 10px;
	font-size: 20px;
	font-weight:500;
	color: #333333;
}
body header nav ul.g-nav li a {
	position: relative;
}
body header nav ul.g-nav li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: -5px;
    left: 0;
    /*線の形状*/
    width: 80%;
    height: 2px;
    background:#333333;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
}
body header nav ul.g-nav li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}
body header .sns ul {
	display: flex;
	justify-content: space-around;
	margin-top: 15px;
}
body header .sns ul li {
	width:28px;
}
body header .sns ul li:first-child {
	margin-right: 35px;
}

/* fadeUp */
.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);
	  }
	}
	
	/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
	.fadeUpTrigger{
		opacity: 0;
	}
	
.sp {
	display: none;
}


@media screen and (max-width:599px) {
	body {
		min-width: 100%;
		line-height: 1.7;
	}
	body header {
		position: absolute;
		z-index: 998;
		background: none;
		padding: 25px;
		width: 100%;
		height: inherit;
	}
	body header h1 img {
		display: none;
	}
	body header h1 p {
		position: absolute;
		z-index: 997;
	}
	body header .menu img {
		width: 71px;
	} 
	body header .menu {
		right: 1%;
		margin: auto;
	}
	body header .menu img {
		width: 62px;
	} 
	body header .logo img {
		width:72px;
	}
	body header nav .logo  {
		width: 100%;
		padding: 6px 5px 8px 6px;
	}
	body header nav {
		position:fixed;
    /*ナビのスタート位置と形状*/
		top:0;
		right: -120%;
		width:40%;
		height: 100vh;/*ナビの高さ*/
		/*動き*/
		background: #f8f05e;
		transition: all 0.6s;
	}
	body header nav.active {
		right: 0;
	}
	body header nav ul.g-nav {
		position: absolute;
		z-index: 999;
		top:20%;
		left:50%;
		transform: translate(-50%,-50%);
	}
	body header nav .sns {
		position: absolute;
		top: 40%;
		left: 50%;
		transform: translate(-50%,-50%);
	}
	

	body header nav.active .sns ul li:first-child {
		margin-right: 25px;
	}
/*==================================================
　5-2-6 3本線が回転して×に
===================================*/

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn{
	/*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
	position: fixed;
	top: 10px;
	right: 25px;
	cursor: pointer;
    width: 50px;
    height:50px;
	border-radius: 5px;
	z-index: 999;
	display: block;
}


/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 2px;
	background: #333333;
  }


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

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

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

/*activeクラスが付与されると線が回転して×になる*/

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

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

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

	.sp {
		display: block;
	}
}

