@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;
	line-height:140%;
}

#global_link a {
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	color: #ccc !important;
	font-size: 12px !important;
	text-decoration: none !important;
}
#global_link a:hover { color: #fff !important;}

#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:'';
}

/*#global_link li:last-child a {
    padding: 0 0.5em !important;
    background: #DE0105 !important;
    color: #fff !important;
}*/

@media screen and (max-width:789px) {
	/*===== Box Setting =====*/
  #smartapp { margin-bottom: -5px;}
  
  	#global_link {
	position:static;
	z-index:990;
	top: 0;
	left: 0;
	padding-top:60px;}
  
  #global_link ul {
		display: flex !important;
		align-items: stretch !important;
		flex-wrap: wrap !important;
		width: auto !important; /* コンテンツ固定幅があれば指定 */
		margin: 0 !important;
		padding: 0 !important;
		background: none !important;
		text-align: center !important;
	}
	
	#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;
		background: none !important;
		letter-spacing: 0.05em !important;
	}
	#global_link li:first-child {
		margin: 0 !important;
	}
#global_link li:nth-last-child(-n+2) { border: none !important;}/*コロナ対応が無いとき*/
	#global_link li:nth-child(odd) { border-right: 1px dotted #999 !important;}
	/*#global_link li:last-child{ width:100%!important;border-right: none !important;}/*コロナ対応*/

	#global_link li a {
		display: block !important;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		text-align: left !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;
		margin: 0 !important;
		padding: 0 0 0 10px !important;
	}

	#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:'';
	}
}
