@charset "utf-8";
/* CSS Document */
/* ヘッダー▼ */
header{
	background: #fefbf4;
}
.logo{
	width: 300px;
	height: auto;
}
#nav{
	display: none;
}
nav{
	width: 100%;
	height: 80px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	padding-top: 30px;
	padding-left: 5%;
	padding-right: 5%;
	z-index: 1;
}
nav ul{
	display: flex;
	width: 668px;
	height: 80px;
	padding-top:15px; 
}
nav ul li{
	font-weight: bold;
	padding-right: 35px;
}
nav ul li:nth-of-type(4){
	font-weight: bold;
	padding-right: 5px;
}
nav ul li:nth-of-type(5){
	font-weight: bold;
	padding-right: 0;
}
#g-menu{
	cursor: pointer;
}
#g-btn{
	width: 30px;
	height: 25px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
}
#g-btn span{
	display: block;
  width: 30px;
  height: 2px;
  background-color: #3e3e3e;
  transition: all 0.4s ease;
}
/*▼ナビホバー*/
.front-nav li a{
	 display: inline-block;
	 transition: transform 0.3s ease; 
}
.front-nav li:nth-of-type(-n+3) a:hover{
	transform: scale(1.1);
	color: #8bc300;
}
/*▼ナビアクティブ*/

#g-btn.active{
		cursor : pointer;
	}
#g-btn.active span:nth-of-type(1) {
  transform: translateY(2px) rotate(45deg);
}
#g-btn.active span:nth-of-type(2) {
  opacity: 0;
}
#g-btn.active span:nth-of-type(3) {
  transform: translateY(-2px) rotate(-45deg);
}
#g-btn.active{
	display: block;
	width: 30px;
	height: 25px;
	position: relative;
	z-index: 5;
	}
	
#nav.active{
	width: 500px;
	height: 75vh;
	position: absolute;
	z-index: 4;
	flex-direction: column;
	background: rgba(255,255,255,0.95);
	border-bottom-left-radius: 2%;
	display: block;
	top:0;
	right: 0;
}
#nav.active{
	padding-top: 50px;
	padding-left: 60px;
}
#nav.active li{
	margin-top: 1em;
}
#nav.active li:before {
  content: "・";
}
#nav.active li:nth-child(1){
	margin-top: 0;
	font-size: 24px;
}
#nav.active li:nth-child(2),
#nav.active li:nth-child(3),
#nav.active li:nth-child(4),
#nav.active li:nth-child(5){
	font-size: 18px;
	margin-top: 1.7em;
}
#nav.active li:nth-child(1):before,
#nav.active li:nth-child(2):before,
#nav.active li:nth-child(3):before,
#nav.active li:nth-child(4):before,
#nav.active li:nth-child(5):before{
	content: none;
}
/* 1100px以下▼ */
@media screen and (max-width:1100px) { 
.front-nav li:nth-of-type(1){
	display: none;
}
.front-nav li:nth-of-type(2){
	display: none;
}
.front-nav li:nth-of-type(3){
	display: none;
}
nav ul{
	display: flex;
	width: 94px;
	height: 80px;
	padding-top:15px; 
}
}
/* 599px以下▼ */
@media screen and (max-width:599px) { 
header{
	background: #fefbf4;
	padding-bottom: 50px;
}
.logo{
	width: 50%;
	height: auto;
	margin-top: 13px;
}
nav{
	width: 100%;
	height: 60px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	padding-top: 10px;
	padding-left: 2%;
	padding-right: 2%;
	z-index: 1;
}
#nav.active{
	width: 100%;
	height: 100vh;
	position: absolute;
	z-index: 4;
	flex-direction: column;
	background: rgba(255,255,255,0.95);
	border-bottom-left-radius: 0;
	display: block;
	top:0;
	right: 0;
	padding-top: 50px;
	padding-left: 15px;
}
#nav.active li:nth-child(2),
#nav.active li:nth-child(3),
#nav.active li:nth-child(4),
#nav.active li:nth-child(5){
	font-size: 18px;
	margin-top: 1.3em;
}
.logo{
	width: 50%;
	height: auto;
	margin-top: 13px;
}
}
