#gHeader {
	width: 100%;
	display: flex;
	position: fixed;
	left: 0;
	top: 0;
	background: #fff;
	z-index: 1000;
}

#gHeader h1 {
	box-sizing: border-box;
	padding: 7px 10px 15px 0;
	width: 200px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.menuBox {
	flex: 1;
	border-top: 17px solid #64bcfc;
}

#gNavi {
	padding: 2px 15px 0 15px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

#gNavi .naviList {
	margin-right: 4px;
	display: flex;
}

#gNavi .naviList>li {
	padding: 0 14px;
	position: relative;
	height: 71px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#gNavi .naviList>li::after {
	content: '';
	width: 1px;
	height: 28px;
	background: #222;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

#gNavi .naviList>li:last-child::after {
	display: none;
}

#gNavi .naviList>li .mynavi {
	margin-top: -7px;
}

#gNavi .naviList>li>a {
	padding: 5px 10px 3px;
	display: block;
	text-align: center;
	color: #222;
	font-size: 16px;
	letter-spacing: 0.06em;
	line-height: 1.2;
}

#gNavi .naviList>li>a>span {
	font-size: 12px;
	display: block;
	margin-top: -1px;
}


/* ★★★ サブメニューのスタイル調整と初期状態 (PC用) ★★★ */


#gNavi .naviList>li>.subList li:not(:last-of-type) {
	margin-bottom: 2px;
}

#gNavi .naviList>li>.subList li a {
	padding: 10px 24px;
	display: block;
	text-align: center;
	color: #333;
	font-size: 14px;
	font-weight: normal;
	letter-spacing: 0.07em;
	white-space: nowrap;
	word-break: keep-all;
}

#gNavi .naviList>li>.subList li a:hover {
	background-color: #82cccd;
}

/* ★★★ ここまでPC用サブメニュー ★★★ */

#gNavi .searchBox {
	margin-right: 10px;
	width: 187px;
	position: relative;
}

#gNavi .searchBox input[type="text"] {
	padding: 5px 50px 5px 12px;
	width: 100%;
	height: 50px;
	text-align: left;
	font-size: 16px;
	font-weight: normal;
	color: #222;
	letter-spacing: 0.15em;
	background: #fff;
	border-radius: 0;
	border: 1px solid #222;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

#gNavi .searchBox input[type="text"]::placeholder {
	opacity: 1;
	color: #222;
}

#gNavi .searchBox input[type="submit"] {
	padding: 0;
	width: 48px;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	font-size: 0;
	line-height: 0;
	border: 0;
	border-radius: 0;
	background: url("../img/common/icon01.png") no-repeat center center / 31px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	z-index: 1;
	cursor: pointer;
}

#gNavi .hBtn {
	width: 165px;
}

#gNavi .hBtn a {
	padding: 15px 20px 14px;
	display: block;
	color: #fff;
	font-size: 14px;
	font-weight: normal;
	letter-spacing: 0.07em;
	text-align: center;
	background: #64bcfc url("../img/common/icon02.png") no-repeat right 10px center;
}

#gNavi .hBtn a:hover {
	opacity: 0.7;
}

.recruit .menuBox {
	border-color: #82cccd;
}

.recruit #gNavi .naviList {
	margin-right: 22px;
}

.recruit #gNavi .naviList>li {
	padding: 0 20px;
}

.recruit #gNavi .hBtn a {
	color: #151e2d;
	background-color: #82cccd;
	background-image: url("../img/common/icon08.png");
}

.recruit #gNavi .searchBox input[type="button"] {
	background-image: url("../img/common/icon07.png");
}

@media all and (min-width: 897px) {
	.menuBox {
		display: block !important;
	}

	#gNavi .naviList>li>a:hover {
		color: #fff;
		background: #64bcfc;
	}

	.recruit #gNavi .naviList>li>a:hover {
		background: #82cccd;
	}

	#gNavi .naviList>li>.subList {
		padding: 10px 0;
		display: none;
		position: absolute;
		left: 50%;
		top: 100%;
		background: #fff;
		transform: translateX(-50%);
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		min-width: 150px;
		z-index: 1010;
	}

	/* ★★★ PC: ホバーでサブメニューを表示 ★★★ */
	#gNavi .naviList>li:hover>.subList {
		display: block;
	}

	/* ★★★ ここまでPCホバー ★★★ */
}

@media all and (min-width: 897px) and (max-width: 1399px) {
	.recruit #gNavi .naviList>li {
		padding: 0 15px;
	}
}

@media all and (min-width: 897px) and (max-width: 1340px) {
	#gHeader h1 {
		padding: 0.522vw 0.746vw 1.119vw 0;
		width: 14.925vw;
	}

	#gNavi {
		padding: 0 1.194vw 0 1.119vw;
	}

	#gNavi .naviList {
		margin-right: 0.299vw;
	}

	#gNavi .naviList>li {
		padding: 0 1.045vw;
	}

	#gNavi .naviList>li::after {
		height: 2.09vw;
	}

	#gNavi .naviList>li>a {
		padding: 0.373vw 0 0.224vw;
		font-size: 1.6vw;
	}

	#gNavi .naviList>li>.subList {
		padding: 0.746vw 0;
	}

	#gNavi .naviList>li>.subList li:not(:last-of-type) {
		margin-bottom: 0.149vw;
	}

	#gNavi .naviList>li>.subList li a {
		padding: 1.045vw 3.284vw 0.97vw 1.791vw;
		font-size: 1.045vw;
		background-position: right 20px center;
	}

	#gNavi .searchBox {
		margin-right: 0.746vw;
		width: 13.955vw;
	}

	#gNavi .searchBox input[type="text"] {
		padding: 0.373vw 3.731vw 0.373vw 0.896vw;
		height: 3.731vw;
		font-size: 1.194vw;
		letter-spacing: 0.1em;
	}

	#gNavi .searchBox input[type="submit"] {
		width: 3.582vw;
		background-size: 2.313vw;
	}

	#gNavi .hBtn {
		width: 12.313vw;
	}

	#gNavi .hBtn a {
		padding: 1.119vw 1.493vw 1.045vw;
		font-size: 1.045vw;
		letter-spacing: 0.05em;
		background-position: right 10px center;
	}

	.recruit #gNavi .naviList {
		margin-right: 1vw;
	}

	.recruit #gNavi .naviList>li {
		padding: 0 1vw;
	}
}

@media all and (max-width: 896px) {
	#gHeader {
		display: block;
	}

	#gHeader h1 {
		padding: 13px 10px;
		width: auto;
		display: block;
		text-align: left;
		background: #fff;
		border-top: 5px solid #64bcfc;
	}

	#gHeader.recruit h1 {
		border-color: #82cccd;
	}

	#gHeader h1 a {
		width: 91px;
		display: inline-block;
	}

	.menu {
		margin-top: 2px;
		width: 35px;
		height: 35px;
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
		cursor: pointer;
		background: #64bcfc;
		z-index: 10;
		transition: 0.3s;
	}

	.recruit .menu {
		background-color: #82cccd;
	}

	.menu span {
		width: 21px;
		height: 1px;
		display: block;
		position: absolute;
		left: 7px;
		background: #fff;
		transition: 0.3s;
	}

	.menu span:nth-child(1) {
		top: 12px;
	}

	.menu span:nth-child(2) {
		top: 22px;
	}

	.menu.on {
		background-color: #454545;
	}

	.menu.on span {
		width: 19px;
		left: 8px;
	}

	.menu.on span:nth-child(1) {
		top: 17px;
		/* 線の中心を合わせる */
		transform: rotate(45deg);
	}

	.menu.on span:nth-child(2) {
		top: 17px;
		transform: rotate(-45deg);
	}

	.menuBox {
		width: calc(100% - 23px);
		height: 100%;
		position: fixed;
		right: 0;
		top: 0;
		border-top: none;
		background-color: rgba(100, 188, 252, 0.949);
		z-index: 9;
		overflow: auto;
		transform: scale(0);
		transform-origin: right top;
		transition: 0.5s;
		opacity: 0;
		visibility: hidden;
	}

	.menuBox.on {
		transform: scale(1);
		opacity: 1;
		visibility: visible;
	}

	.recruit .menuBox {
		background: rgba(130, 204, 205, 0.95);
	}

	#gNavi {
		padding: 65px 11px 22px 8px;
		display: block;
	}

	#gNavi .naviList {
		margin: 0 0 22px;
		display: block;
	}

	#gNavi .naviList>li {
		padding: 0;
		height: auto;
		display: block;
		border-bottom: 1px solid #fff;
	}

	#gNavi .naviList>li::after {
		display: none;
	}

	#gNavi .naviList>li>a {
		padding: 11px 20px 7px 9px;
		text-align: left;
		font-size: 20px;
		letter-spacing: 0.25em;
		color: #fff;
		background: url("../img/common/icon05.png") no-repeat right 6px center;
		background-size: 9px;
		position: relative;
	}

	#gNavi .naviList>li>a::after {
		content: '';
		display: none;
	}

	#gNavi .naviList>li.parent>a {
		background: transparent;
	}

	/* ★★★ SP: サブメニューのトグルボタン ★★★ */
	#gNavi .naviList>li.parent .toggle {
		width: 48px;
		height: 48px;
		position: absolute;
		right: 0;
		top: 0;
	}

	#gNavi .naviList>li.parent .toggle::after {
		content: "+";
		width: 16px;
		height: 9px;
		position: absolute;
		right: 16px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 24px;
		color: #fff;
		line-height: 9px;
		transition: 0.3s;
		z-index: 1;
		cursor: pointer;
	}

	#gNavi .naviList>li.parent .toggle.on::after {
		content: "-";
		transform: translateY(-50%) rotate(0deg);
	}

	#gNavi .naviList>li>.subList {
		position: static;
		left: auto;
		top: auto;
		transform: none;
		background: transparent;
		box-shadow: none;
		border-radius: 0;
		display: none;
	}


	#gNavi .naviList>li>.subList li:not(:last-of-type) {
		margin-bottom: 0;
	}

	#gNavi .naviList>li>.subList li a {
		padding: 8px 20px 7px 36px;
		text-align: left;
		font-size: 20px;
		letter-spacing: 0.25em;
		white-space: normal;
		word-break: normal;
		color: #fff;
		background: url("../img/common/icon05.png") no-repeat right 6px center;
		background-size: 9px;
	}

	#gNavi .naviList>li>.subList li a:hover {
		background-color: transparent;
	}

	#gNavi .menuClose {
		text-align: center;
	}

	#gNavi .searchBox {
		display: none;
	}

	#gNavi .hBtn {
		display: none;
	}

	.recruit .menu.on {
		background-color: #222;
	}

	.recruit #gNavi .naviList>li {
		border-color: #222;
	}
}
