@charset "utf-8";

/* ========== ナビゲーション ========== */
header {
	align-items: center;
	background: rgba(0,182,73,0.85);
	box-shadow: 5px 5px 5px #999;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 10px 20px;
	position: fixed;
	max-width: 900px;
	width: 100%;
	top: 20px;
	z-index: 9999;
	
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}

/* スマホ用ボタン */
header button{display: none;}

/* ロゴ */
a.logo {width: 230px;}
a.logo:hover {opacity: 0.7;}
header img {
	max-height: 100%;
	max-width: 100%;
}

/* ナビ */
nav {
	box-sizing: border-box;
	display: inline-block;
	vertical-align: middle;
}

/* リスト */
.menu {padding-right: 130px;}
.menu li.menu_list {
	display: block;
	float: left;
	position: relative;
	cursor: pointer;
}

.menu li.menu_list a{
	box-sizing: border-box;
	color: #fff;
	display: inline-block;
	font-size: 16px;
	line-height: 40px;
	padding-right: 20px;
	width: 100%;
}

.menu li.menu_list:hover a {
	-webkit-transition: all .2s ease;
	transition: all .2s ease;
	opacity: 0.7;
}

.menu > li:hover {
	-webkit-transition: all .5s;
	transition: all .5s;
}

/* floatクリア */
.menu:before,
.menu:after {
    content: " ";
    display: table;
}
.menu li.menu_list:after
.menu:after {clear: both;}
.menu {*zoom: 1;}

/* 外部リンク_アイコン */
.icon {
	margin-bottom: 3px;
	padding-left: 5px;
	width: 14px;
}

/* 採用情報 */
.menu li.menu_list:last-child {display: none;}

/* ========== 採用情報_ボタン ========== */
#button_recruit{
	background: #fff;
	border: 1px solid #fff;
	box-sizing: border-box;
	display: inline-block;
	position: absolute;
	text-align: center;
	width: 150px;
	overflow: hidden;
	right: 0;
	top: 0;
	transition: .2s;
	vertical-align: middle;
}

#button_recruit a {
	color: #00b649;
	display: block;
	font-size: 16px;
	font-weight: bold;
	height: 58px;
	line-height: 58px;
	position: relative;
	z-index: 1;
}

#button_recruit:before{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: -100%;
	background-color: #00b649;
	transition: .2s;
	z-index: 0;
}

#button_recruit:hover a {color: #fff;}
#button_recruit:hover:before {left: 0;}

/* ===================================================================
 タブレット・スマホ共通
=================================================================== */
@media screen and (max-width: 1024px) {
header {max-width: 92%;}

}
/* ===================================================================
スマホ
=================================================================== */
@media screen and (max-width: 900px) {
header {
	box-shadow: none;
	max-width: 100%;
	top: 0;

	left: 0;
	transform: translateX(0);
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
}

/* ========== スマホ用ボタン ========== */
header button {
	width: 60px;
	height: 60px;
	display: block;
	background: none;
	border: none;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	cursor: pointer;
}

#nav-switch {
	width: 40px;
	height: 40px;
	display: block;
	position: absolute;
	top: 10px;
	right: 10px;
}

#nav-switch:before,
#nav-switch:after {
	content: '';
	width: 100%;
	height: 2px;
	display: block;
	background: #fff;
	border-radius: 1px;
	position: absolute;
	left: 0;
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

#nav-switch:before {top: 7px; box-shadow: 0 12px 0 #fff;}
#nav-switch:after {top: 30px;}

.nav-open #nav-switch:before {
	top: 18px;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	box-shadow: none;
}

.nav-open #nav-switch:after {
	top: 18px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/* ========== スマホ用開閉 ========== */
nav {
	background: rgba(0,182,73,0.85);
	width: 310px;
	height: 100vh;
	margin: 0;
	padding: 0;
	display: block;
	position: fixed;
	top: 0;
	right: 0; /* これで隠れる */
	z-index: 999;
	overflow-y: auto;
	transform: translateX(750px); /* right0から250px移動した位置 */
	transition: all .5s; /* 移動する速さ */
}

.nav-open nav {
	transform: translateX(0); /* right0まで-250px移動 */
	transition: all .5s; /* 移動する速さ */
}

.menu {
	height: 100vh;
	border-top: 0;
	box-sizing: border-box;
	padding: 60px 10px 0;
	display: block;
	width: 100%;
	height: 100%;
	background: none;
}

/* ========== ナビゲーション ========== */
header {height: 60px;}
.menu li.menu_list {
	line-height: 55px;
	border-top: 1px solid #fff;
	float: none;
	padding: 0;
	width: 100%;
}
.menu li.menu_list a {font-size: 18px; padding: 5px 10px;}

/* 採用情報 */
.menu li.menu_list:last-child {
	background: #fff;
	border-top: none;
	display: block;
}

.menu li.menu_list:last-child a {
	color: #00b649;
	line-height: 40px;
	padding: 8px 20px;
	font-size: 18px;
}
.menu li.menu_list:last-child a:hover {opacity: 0.6;}
.menu li.menu_list:last-child .icon {margin-bottom: 12px; width: 16px;}

/* ========== 採用情報_ボタン ========== */
#button_recruit{display: none;}

}
/* ===================================================================
スマホ
=================================================================== */
@media screen and (max-width: 750px){
/* ========== スマホ用開閉 ========== */
nav {width: 100%;}

.menu {
	height: 100%;
	background: none;
	text-align: center;
}

}