@charset "utf-8";
/*========= ナビゲーションのためのCSS ===============*/

#g-nav {
	/*position:fixed;にし、z-indexの数値を大きくして前面へ*/
	position: fixed;
	z-index: 999;
	/*ナビのスタート位置と形状*/
	top: 0;
	right: -120%;
	width: 100%;
	height: 100vh; /*ナビの高さ*/
	/*background: #999;*/
	background: rgb(255,170,95);
	background: linear-gradient(180deg, rgba(255,170,95,1) 0%, rgba(255,255,225,1) 100%);
	/*動き*/
	transition: all 0.6s;
}
/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
	right: 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%);
	width: 90%;
}
/*リストのレイアウト設定*/
#g-nav li {
	list-style: none;
	text-align: center;
}
#g-nav li a {
	color: #333;
	text-decoration: none;
	padding: 10px;
	display: block;
	text-transform: uppercase;
	font-size: 1.6rem;
	letter-spacing: 0.1em;
	font-weight: bold;
	transition: .3s;
}
#g-nav li a:hover {
	color: #ffb400;
}
/*========= ボタンのための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: 18px;
}
.openbtn span:nth-of-type(2) {
	top: 26px;
}
.openbtn span:nth-of-type(3) {
	top: 34px;
}
.openbtn span.open_btn_text {
	font-size: 1.1rem;
	left: 10px;
	top: 40px;
	background: none;
}
.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%;
}
@media screen and (max-width:768px) {
	.openbtn span:nth-of-type(1) {
		top: 7px;
	}
	.openbtn span:nth-of-type(2) {
		top: 15px;
	}
	.openbtn span:nth-of-type(3) {
		top: 23px;
	}
	.openbtn span.open_btn_text {
		font-size: 1rem;
		top: 27px;
	}
	.openbtn.active span:nth-of-type(1) {
		top: 12px;
	}
	.openbtn.active span:nth-of-type(3) {
		top: 24px;
	}
}

.pc_nav {
	position: fixed; /*fixedを設定して固定*/
	height: 80px; /*高さ指定*/
	width: 100%; /*横幅指定*/
	z-index: 99; /*最前面へ*/
	/*以下はレイアウトのためのCSS*/
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: none;
	color: #333333;
	background-color: rgba(255,255,255,0.9);
	box-shadow: 0 0 5px 2px rgba(0,0,0,0.1);
	text-align: center;
	padding: 0 0 0 20px;
}
@media screen and (max-width:768px) {
	.pc_nav {
		height: 60px;
	}
}
.h_logo {
	width: 220px;
	position: relative;
	/*top: 13px;
    left: 10px;*/
	z-index: 100;
}
nav#pc_nav_menu {
	display: flex;
	flex-wrap: wrap;
	/*align-items: center;*/
	position: relative;
	right: 60px;
}
nav#pc_nav_menu .menu_link {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	margin-left: 10px;
}
nav#pc_nav_menu .menu_link a {
	width: 100px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ff5c36;
	color: #ffffff;
	font-weight: 600;
	border-radius: 25px;
}
nav#pc_nav_menu .menu_listbox {
	display: flex;
	flex-direction: column;
	padding: 7px 0;
}
nav#pc_nav_menu .menu_listbox .menu_list {
	list-style: none;
	display: flex;
	justify-content: flex-end;
	height: 50%;
}
/*2階層目以降は横並びにしない*/
nav#pc_nav_menu .menu_listbox .menu_list ul{
  display: block;
}
nav#pc_nav_menu .menu_listbox .menu_list li {
	position: relative;
}
nav#pc_nav_menu .menu_listbox .menu_list li a {
	/*display: block;*/
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: #333333;
	/*padding: 10px 15px;*/
	padding: 0 15px;
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 2;
	transition: all 0.3s;
	position: relative;
}
nav#pc_nav_menu .menu_listbox .menu_list li a::after {
	content: "";
	width: 94%;
	height: 1px;
	background-color: #ffb4af;
	position: absolute;
	bottom: 3px;
	left: 3%;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: .4s;
}
/*nav#pc_nav_menu .menu_listbox .menu_list li.current a,
nav#pc_nav_menu .menu_listbox .menu_list a:hover,
nav#pc_nav_menu .menu_listbox .menu_list a:active {
	color: #ffb400;
}*/
nav#pc_nav_menu .menu_listbox .menu_list li.current a::after,
nav#pc_nav_menu .menu_listbox .menu_list li a:hover::after,
nav#pc_nav_menu .menu_listbox .menu_list li a:active::after {
	transform: scale(1, 1);
}
nav#pc_nav_menu .menu_contact {
	width: 180px;
}
nav#pc_nav_menu .menu_contact li {
	height: 40px;
	border-bottom: 1px solid #333333;
	border-left: 1px solid #333333;
}
@media screen and (max-width:991px) {
	nav#pc_nav_menu .spnone {
		display: none;
	}
}
@media screen and (max-width:768px) {
	.h_logo {
		width: 160px;
	}
	nav#pc_nav_menu .menu_link a {
		display: none;
	}
}


/*　上に上がる動き　*/
#pcnav.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(-100px);
  }
}
/*　下に下がる動き　*/
#pcnav.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}







