@charset "UTF-8";

#global_link {
	position: static; /* 固定配置で問題なければ static に変更 */
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	padding: 5px 10px;
	box-sizing: border-box;
	background: rgba(0,0,0,0.8);
	font-size: 12px !important;
}

#global_link a {
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none;
	color: #ccc;
	font-size: 12px !important;
	text-decoration: none !important;
}
#global_link a:hover { color: #fff;}

#global_link ul {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	width: auto !important; /* コンテンツ固定幅があれば指定 */
	margin: 0 80px !important;
	padding: 0 !important;
	background: none !important;
}

#global_link li {
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 8px !important;
	padding: 0 !important;
	background: none !important;
	letter-spacing: 0.05em;
}

#global_link li:first-child {
	margin: 0 8px 0 0 !important;
	padding: 0 !important;
	letter-spacing: 0 !important;
}

#global_link li:nth-of-type(2) {margin-left: auto !important;}
#global_link li:last-of-type { margin-right: 0 !important;}


#global_link li:not(:first-child) a {
	display: inline-block !important;
	position: relative;
	padding: 0 0 0 10px !important;
}

#global_link li:first-child a img { width: auto; height: 30px;}
#global_link li:first-child a:hover img { opacity: .7;}

#global_link li:not(:first-child) a:before {
	position: absolute;
	left: 0;
	top: 50%;
	border: 4px solid transparent;
	border-left: 5px solid #ccc;
	transform: translateY(-50%);
	content:'';
}

/* ########### 768px以下 ########## */
@media screen and (max-width:768px) {
	#global_link ul {
		display: flex !important;
		flex-wrap: wrap !important;
		width: auto !important; /* コンテンツ固定幅があれば指定 */
		margin: 0 !important;
		padding: 0 !important;
		background: none !important;
		text-align: center;
	}
	
	#global_link li {
		display: block !important;
		width: 50% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box !important;
/*		border-bottom: 1px dotted #999 !important; li非表示に伴う下線の削除 */
		background: none !important;
		letter-spacing: 0.05em !important;
	}
	#global_link li:first-child { width: 100% !important;}
	#global_link li:nth-last-child(-n+2) { border: none !important;}
	#global_link li:nth-child(2n) { border-right: 1px dotted #999 !important;}

	#global_link li a {
		display: block !important;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#global_link li:not(:first-child) a {
		display: flex !important;
		position: relative;
		padding: 5px 10px 5px 20px !important;
	}

	#global_link li:first-child a img { height: 30px;}

	#global_link li:not(:first-child) a:before {
		position: absolute;
		left: 10px;
		top: 50%;
		border: 4px solid transparent;
		border-left: 5px solid #ccc;
		transform: translateY(-50%);
		content:'';
	}

/* JMAロゴ 以外のボタンを削除*/
#global_link li:not(:first-child){
	display: none !important
}

}


/* ########### 725px以上 ########## */
@media (min-width: 725px) {
	
/* グローバルリンク幅調整 */
#global_link ul {
	margin: auto !important;
	/*width: 1240px !important;*/
}
}
/* ########### 1240px以上 ########## */
@media (min-width: 1240px) {
	
/* グローバルリンク幅調整 */
#global_link ul {
	margin: auto !important;
	width: 1240px !important;
}
}

#global_link ul .naviRed a {
	background: rgba(255,0,2,1.00) !important;
	border-left-color: #FF0004;
	border-right-color: #FF0004;
	border-left-style: solid;
	border-right-style: solid;
	border-left-width: 3px;
	border-right-width: 1px;
	color: #FFFFFF !important
}
#global_link ul .naviRed a:hover {
	background: #ff5656 !important;
	border-left-color: #ff5656;
	border-right-color: #ff5656;
}
#global_link ul .naviRed a:before {
	position: absolute;
	left: 0;
	top: 50%;
	border: 4px solid transparent;
	border-left: 5px solid #fff !important}
