@charset "UTF-8";



/* ----------メニュー---------- */

/* 共通 */

nav {
	position: fixed;
	top: 0;
	height: 100%;
	width: 100px;
	z-index: 3;
}

nav div {
	height: 450px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	position: absolute;
}

nav ul:not(:last-child) {
	margin-bottom: 25px;
}

nav li:last-child {
	font-size: 12px;
}

nav ul a {
	text-decoration: none;
	text-align: center;
	display: block;
	color: black;
	transition: none;
}

nav ul a:hover {
	text-decoration: none;
	color: #f7b400;
	opacity: 1;
	transition: none;
}

nav ul li:last-child a:hover {
	color: black
}

nav ul a:last-child:hover {
	text-decoration: underline;
}

nav .fa-home,
nav .fa-comment-alt,
nav .fa-wrench,
nav .fa-building,
nav .fa-envelope {
	font-size: 35px;
}



/* ハンバーガーメニュー無効化 */

header {
	display: none;
}



/* ウィンドウ幅が0?479pxの場合に適用するCSS */
@media screen and ( max-width:479px )
{



/* ----------メニュー---------- */

/* PC用無効化 */

nav {
	display: none;
}



/* ハンバーガーメニュー */

/* 共通 */

header {
	display: inline-block;
	height: 50px;
	width: 100%;
	background: white;
	position: fixed;
	top: 0;
	z-index: 3;
	-webkit-filter: drop-shadow(0 0 3px rgba(0,0,0,.3));
	filter: drop-shadow(0 0 3px rgba(0,0,0,.3));
}

/* アイコン */

.toggle {
	position: fixed; /* bodyに対しての絶対位置指定 */
	left: 8px;
	top: 4px;
	display: block;
	width: 45px;
	height: 43px;
	cursor: pointer;
	z-index: 10;
}

.toggle span {
	display: block;
	position: absolute; /* .toggleに対して */
	width: 60%;
	border-bottom: solid 3px black;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
	padding-top: 10px;
	left: 9px;
}

.toggle span:nth-child(1) {
	top: 0;
}

.toggle span:nth-child(2) {
	top: 10px;
}

.toggle span:nth-child(3) {
	top: 20px;
}

/* 最初のspanをマイナス45度に */

.toggle.active span:nth-child(1) {
	top: 11px;
	left: 5.5px;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */

.toggle.active span:nth-child(2),
.toggle.active span:nth-child(3) {
	top: 11px;
	left: 12.5px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* メニューテキスト */

.toggle p {
	margin: 0;
	color: white;
	font-size: 12px;
	position: absolute;
	top: 30px;
	left: 10px;
}

/* メニュー */

.global_nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	transform: translateY(-100%);
	z-index: 9;
	padding: 40px 0 10px;
	text-align: center;
	color: #000;
	background: #ffe499;
	transition: all 0.8s;
}

.global_nav .nav_li {
	display: block;
width: 85%;
	margin: 0 auto;
	padding: 7px 0;
	list-style-type: none;
}

.global_nav .nav_li:not(:last-child) {
	border-bottom: solid 0.3px #e6cb8a;
}

.global_nav .nav_li a {
	display: block;
	color: black;
    text-decoration: none;
}

/* .global_navに.activeが追加 */

.global_nav.active {
	transform: translateY(0%);
}

/* SNSアイコン */

.global_nav li:last-child a {
	display: inline-block;
}

.global_nav li:last-child a:first-child,
.global_nav li:last-child a:nth-child(2) {
	padding-right: 13px;
}

.global_nav li:last-child img {
	width: 25px;
}



}