/* ==========================================
   グローバルナビゲーション
   ========================================== */
#globalnavi {
	width: 100%;
	margin: 0 auto 10px;
	font-size: 13px;
}

#menu-btn-check { display: none; }

.menu-toggle {
	display: none;
	background-color: #008000;
	color: #ffffff;
	padding: 8px;
	text-align: center;
	font-weight: bold;
	cursor: pointer;
	border-radius: 3px;
}

.menu-toggle::after { content: " \25BC"; font-size: 0.8em; }

#globalnavi ul {
	display: grid;
	grid-template-columns: repeat(8, auto);
	list-style: none;
	padding: 0;
	margin: 0;
	border-top:  1px solid #73CC87;
	border-bottom:  1px solid #73CC87;
}

#globalnavi li {
	margin: 0;
}

#globalnavi li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 .5em;
    width: 100%;
	min-height: 43px;
	background-color: #f4f9f4;
	color: #008000;
	text-decoration: none;
	text-align: center;
	line-height: 1.2;
	border-left: 1px solid #008000;
	box-sizing: border-box;
}

#globalnavi li:last-child a {
	border-right: 1px solid #008000;
}

@media (hover: hover) {
	#globalnavi li a:hover {
		background-color: #008000;
		color: #ffffff;
	}
}


/* スマホ表示対応 (800px以下) */
@media screen and (max-width: 800px) {
	.menu-toggle { display: block; }

	#menu-btn-check:checked ~ ul { display: grid; }
	#menu-btn-check:checked ~ .menu-toggle::after { content: " \25B2"; }

	#globalnavi ul {
		display: none;
		grid-template-columns: 1fr;
		gap: 3px;
		margin-top: 6px;
		border: none;
	}

	#globalnavi li a {
		min-height: auto;
		padding: 8px;
		justify-content: flex-start;
		border-left: 4px solid #73CC87;
	}

	#globalnavi li:last-child a {
		border-right: none;
	}

}