@charset "UTF-8";
/*====================================
グローバルナビ
=====================================*/
.g-nav_list li a {
	font-weight: bold;
}
.g-nav_list li a {
	font-weight: bold;
}
	/*====================================
	グローバルナビ	769px以上
	=====================================*/
	@media screen and (min-width: 769px) {
		.g-nav {
			width: 100%;
			margin-top: 1.5rem; /*学校名とグローバルナビの隙間*/
		}
		.g-nav_area {
			display: block;
			top: 1rem;
			border-radius: 2.7rem;
			padding: 1rem 1.5rem;
			width: 100%;
			z-index: 5;
		}
		.g-nav_list {
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex; /*listを横並びにする*/
			justify-content: space-between;
		}
		.g-nav_list li {
			flex: auto;
		}
		.g-nav_list li a {
			display: block;
			margin: 0 auto;
			border-radius: 2rem;
			text-align: center;
			font-size: 1.125rem;
			text-decoration: none;
			padding: 0.25rem 1rem;
		}
		.g-nav_list li+li {
			/*border-left: 1px solid #cecece;*/
			border-left: 2px dotted rgba(255,255,255,0.3);
		}
	}
	/*====================================
	グローバルナビ	768px以下
	=====================================*/
	@media screen and (max-width: 768px) {
		.g-nav_list {
			margin: 0 auto;
			padding: 0;
			width: 80%;
			overflow: auto;
		}
		.g-nav_list li {
			list-style-type: none;
			padding: 0;
			width: 100%;
			border-bottom-style: solid;
			border-bottom-width: 1px;
		}
		.g-nav_list li a {
			display: block;
			padding: 0.75rem 0;
			text-decoration :none;
		}
		.g-nav_list li a:before {
			font-family: "Font Awesome 5 Free";
			content: "\f152"; /* 右向きの矢印*/
			font-weight: 900;
			padding-right: 1rem;
		}
		.g-nav_list li a:hover {
			text-decoration: underline;
		}
}
/*====================================
ハンバーガーメニュー
=====================================*/
	/*====================================
	ハンバーガーメニュー	768px以下
	=====================================*/
	@media screen and (max-width: 768px) {
	/*　ハンバーガーボタン　*/
	.hamburger {
		position: fixed;
		z-index : 21;
		right : 0;
		top   : 0;
		width : 50px;
		height: 50px;
		cursor: pointer;
		text-align: center;
		box-shadow: -1px 1px 3px 0 rgba(0,0,0,0.1);
	}
	.hamburger span {
		display : block;
		position: absolute;
		width   : 28px;
		height  : 3px ;
		left    : 11px;
		-webkit-transition: 0.3s ease-in-out;
		-o-transition     : 0.3s ease-in-out;
		transition        : 0.3s ease-in-out;
		border-radius: 5px;
	}
	.hamburger .menu {
		width: 100%;
		position: absolute;
		top: 33px;
    	display: block;
		font-size: 10px;
		text-align: center;
		line-height: 1em;
	}
	.hamburger span:nth-child(1) {
		top: 8px;
	}
	.hamburger span:nth-child(2) {
		top: 16px;
	  }
	  .hamburger span:nth-child(3) {
		top: 24px;
	}
	/* ナビ開いてる時のボタン */
	.hamburger.active span:nth-child(1) {
		top : 16px;
		/*left: 9px;*/
		left: 11px;
		-webkit-transform: rotate(-45deg);
		-ms-transform        : rotate(-45deg);
			transform        : rotate(-45deg);
	}
	.hamburger.active span:nth-child(2),
	.hamburger.active span:nth-child(3) {
		top: 16px;
		-webkit-transform: rotate(45deg);
		-ms-transform        : rotate(45deg);
			transform        : rotate(45deg);
	  }
	/*開いたナビ*/
	.g-nav_area_sp {
		position: fixed;
		z-index : 20;
		top  : 0;
		left : auto;
		right: 0;
		-webkit-transform: translateX(100%);
			-ms-transform: translateX(100%);
				transform: translateX(100%);
		-webkit-transition: all 0.6s;
		-o-transition: all 0.6s;
		transition: all 0.6s;
		width: calc(100% - 20px);
		padding-top: calc(50px + 1rem); /*ハンバーガーボタンの分を空ける*/
		height: 100%;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		box-shadow: -1px 0px 3px 0px rgba(100,100,100,0.2);
	}

	/* このクラスを、jQueryで付与・削除する */
	.g-nav_area_sp.active {
		-webkit-transform: translateX(0%);
			-ms-transform: translateX(0%);
				transform: translateX(0%);
	}
}
