#header {
	width: 100%;
	position: fixed;
	top: 0;
	background: #ffffff;
	/* padding: 15px 20px; */
	padding: 15px 0 15px 0;
	z-index: 9999;

	@media (max-width: 768px) {
		padding: 0;
	}

	.-wrapper {
		display: flex;
        justify-content: space-between;
        width: 100%;
		align-items: center;

		h1 {
			width: fit-content;

			.-logo {
				height: min(calc(100vw * (24 / 1440)), 24px);
				width: auto;
	
				img {
					width: auto;
					height: 100%;
				}
			}
		}

		.-container {
			display: flex;

			.-menu {
				display: flex;
				gap: min(calc(100vw * (20 / 1440)), 20px);
				align-items: center;

				a {
					font-size: min(calc(100vw * (14 / 1280)), 14px);
					font-weight: 700;
					text-align: center;

					&.-btn {
						height: 32px;
						line-height: 32px;
						padding-inline: 20px;
						border-radius: 9999px;
						font-size: 1.2rem;
					}
				}
			}
		}
	}
}

@media (769px <= width) {
	/* #header .-wrapper {
		display: flex;
		justify-content: space-between;
		width: 100%;
		align-items: center;
		padding: 0 2rem;
	} */
	/* #header .-logo {
		height: min(calc(100vw * (24 / 1440)), 24px);
		width: auto;
	} */
	/* #header .-logo img {
		width: auto;
		height: 100%;
	} */
	/* #header .-container {
		display: flex;
	}
	#header .-menu {
		display: flex;
		flex-direction: row;
		gap: min(calc(100vw * (20 / 1440)), 20px);
		align-items: center;
	}
	#header .-menu a {
		font-size: min(calc(100vw * (14 / 1280)), 14px);
		font-weight: 700;
		text-align: center;
	}
	#header a.-btn {
		background-color: #f47808;
		color: white;
		padding: 1rem 2rem;
		border-radius: 2rem;
		font-size: 1.2rem;
		font-weight: 700;
	} */
	.openbtn {
		position: relative;
		z-index: 9999;
		/*ボタンを最前面に*/
		cursor: pointer;
		width: 50px;
		height: 50px;
	}
	/*×に変化*/
	.openbtn span {
		display: inline-block;
		transition: all 0.4s;
		position: absolute;
		left: 14px;
		height: 3px;
		border-radius: 2px;
		background-color: #1a1a1a;
		width: 45%;
	}
	.openbtn span:nth-of-type(1) {
		top: 15px;
	}
	.openbtn span:nth-of-type(2) {
		top: 23px;
	}
	.openbtn span:nth-of-type(3) {
		top: 31px;
	}
	.openbtn.active span:nth-of-type(1) {
		top: 18px;
		left: 18px;
		transform: translateY(6px) rotate(-45deg);
		width: 30%;
	}
	.openbtn.active span:nth-of-type(2) {
		opacity: 0;
	}
	.openbtn.active span:nth-of-type(3) {
		top: 30px;
		left: 18px;
		transform: translateY(-6px) rotate(45deg);
		width: 30%;
	}
	#g-nav {
		position: fixed;
		z-index: 999;
		top: -120%;
		left: 0;
		width: 100%;
		height: 400px;
		background: rgba(255, 255, 255, 0.96);
		transition: all 0.6s;
		font-weight: bold;
		box-shadow: 1px 2px 18px 0px rgba(0, 0, 0, 0.28);
		-webkit-box-shadow: 1px 2px 18px 0px rgba(0, 0, 0, 0.28);
		-moz-box-shadow: 1px 2px 18px 0px rgba(0, 0, 0, 0.28);
	}
	#g-nav.panelactive {
		top: 0;
	}
	#g-nav a {
		color: #242533;
		background: transparent;
		text-align: left;
		padding: 0;
	}
	#g-nav #g-nav-list {
		padding: 80px;
	}
	#g-nav #g-nav-list ul {
		display: flex;
		align-items: flex-start;
		flex-wrap: wrap;
		width: 100%;
	}
	#g-nav #g-nav-list ul li {
		width: 32%;
		margin-bottom: 16px;
	}
	#g-nav #g-nav-list ul li ul {
		display: block;
	}
	#g-nav #g-nav-list ul li ul li {
		width: -moz-fit-content;
		width: fit-content;
		margin-bottom: 12px;
		font-size: 0.8em;
	}
	#g-nav #g-nav-list ul li ul li p {
		font-size: initial;
	}
	#g-nav #g-nav-list ul li ul .list {
		display: grid;
		gap: 12px;
		padding-left: 16px;
	}
	#g-nav #g-nav-list ul li ul li .title {
		font-size: 14px;
	}
	#g-nav #g-nav-list ul li ul li .anchor {
		font-size: 14px;
		padding-left: 14px;
	}
	/*アクティブクラスがついたら位置を0に*/
	#g-nav.panelactive {
		top: 0;
	}
	/*ナビゲーションの縦スクロール*/
	#g-nav.panelactive #g-nav-list {
		/*ナビの数が増えた場合縦スクロール*/
		position: fixed;
		z-index: 999;
		width: 100%;
		/*表示する高さ*/
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}
	#header .is_sp {
		display: none;
	}
	#header .corporate-training {
		display: flex;
		align-items: center;
		position: relative;
		padding-left: 1.5rem;
	}
	#header .corporate-training::after {
		content: '';
		width: 1px;
		height: 2rem;
		background: #cecece;
		/* display: inline-block; */
		position: absolute;
		margin-left: -1.5rem;
	}
}
@media (768px <= width) {
	#header .-menu a {
		font-weight: 700;
		text-align: center;
	}
}
@media (max-width: 768px) {
	#header .-wrapper.is_sp {
		display: flex;
		height: 4.8rem;
		padding: 0 1.6rem;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
	#header .-wrapper.is_sp a {
		height: 1.6rem;
		font-size: 1.4rem;
	}
	#header .-wrapper.is_sp a img {
		height: 100%;
		width: auto;
	}
	#g-nav_sp {
		position: fixed;
		z-index: 999;
		top: 4.8rem;
		right: -120%;
		width: 90%;
		height: 100%;
		background: rgba(0, 0, 0, 0.9);
		transition: all 0.6s;
		padding: 20px;
	}
	#g-nav_sp.panelactive {
		right: 0;
	}
	#g-nav_sp a {
		font-weight: 700;
		color: #ffffff;
		background: transparent;
		text-align: left;
		padding: 0;
	}
	#g-nav_sp #g-nav-list_sp ul {
		display: flex;
		align-items: flex-start;
		flex-wrap: wrap;
		width: 100%;
		font-size: 0.9em;
		padding: 10px 0;
		gap: 1rem;
	}
	#g-nav_sp #g-nav-list_sp ul:nth-of-type(2) {
		border-bottom: 1px solid #ffffff;
		border-top: 1px solid #ffffff;
		gap: 1rem;
	}
	#g-nav_sp #g-nav-list_sp ul:nth-of-type(2) p {
		color: #ffffff;
		font-size: 1.4rem;
		font-weight: bold;
	}
	#g-nav_sp #g-nav-list_sp ul:nth-of-type(3) {
		border: none;
	}
	#g-nav_sp #g-nav-list_sp ul:nth-of-type(3) li a {
		font-size: 2em;
	}
	#g-nav_sp #g-nav-list_sp ul:nth-of-type(3) li:nth-of-type(n + 3) {
		margin: 10px 0;
	}
	#g-nav_sp #g-nav-list_sp ul:nth-of-type(3) li:nth-of-type(n + 3) a {
		font-size: 1.4em;
	}
	#g-nav_sp #g-nav-list_sp ul:nth-of-type(3) li:last-of-type a::after {
		background: url(../img/link_blank.svg) center center no-repeat;
		background-size: cover;
		content: '';
		display: inline-block;
		width: 18px;
		height: 14px;
		margin-left: 6px;
	}
	#g-nav_sp #g-nav-list_sp .unorder-list {
		padding: 0;
	}
	#g-nav_sp #g-nav-list_sp ul li {
		width: 100%;
	}
	#g-nav_sp #g-nav-list_sp ul .top a {
		font-size: 1.6rem;
	}
	#g-nav_sp #g-nav-list_sp ul li ul .list {
		display: grid;
		gap: 1rem;
		padding-left: 1.6rem;
	}
	#g-nav_sp #g-nav-list_sp ul li ul li .title {
		font-size: 1.4rem;
	}
	#g-nav_sp #g-nav-list_sp ul li ul li .anchor {
		font-size: 1.4rem;
		padding-left: 1.4rem;
	}
	/*ナビゲーションの縦スクロール*/
	#g-nav_sp.panelactive #g-nav-list {
		/*ナビの数が増えた場合縦スクロール*/
		position: fixed;
		z-index: 999;
		width: 100%;
		height: 350px;
		/*表示する高さ*/
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}
	/*========= ボタンのためのCSS ===============*/
	.openbtn_sp {
		position: relative;
		z-index: 9999;
		/*ボタンを最前面に*/
		cursor: pointer;
		width: 50px;
		height: 50px;
	}
	/*×に変化*/
	.openbtn_sp span {
		display: inline-block;
		transition: all 0.4s;
		position: absolute;
		left: 14px;
		height: 3px;
		border-radius: 2px;
		background-color: #1a1a1a;
		width: 45%;
	}
	.openbtn_sp span:nth-of-type(1) {
		top: 15px;
	}
	.openbtn_sp span:nth-of-type(2) {
		top: 23px;
	}
	.openbtn_sp span:nth-of-type(3) {
		top: 31px;
	}
	.openbtn_sp.active span:nth-of-type(1) {
		top: 18px;
		left: 18px;
		transform: translateY(6px) rotate(-45deg);
		width: 30%;
	}
	.openbtn_sp.active span:nth-of-type(2) {
		opacity: 0;
	}
	.openbtn_sp.active span:nth-of-type(3) {
		top: 30px;
		left: 18px;
		transform: translateY(-6px) rotate(45deg);
		width: 30%;
	}
	#header .is_pc {
		display: none;
	}
	#header .corporate-training {
		display: flex;
		gap: 1rem;
	}
	#header .corporate-training::after {
		content: '';
		width: 1.5rem;
		height: 1.5rem;
		background: url(../img/arrow-icon.svg);
		background-size: contain;
		background-repeat: no-repeat;
		display: block;
	}
}