@charset "utf-8";

/* header */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0;
	z-index: 888;
}
.header_inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 30px;
}
@media screen and (max-width: 1150px) {
	.header_inner .site_id {
		width: 130px;
	}
}
@media screen and (min-width: 1045px) { 
	.header_inner .site_id {
		width: 160px;
	}
}
#g-nav.panelactive {
	position: fixed;
	z-index: 888;
	top: 0;
	left: 0;
	width:100%;
	height: 100vh;
}
.circle-bg {
	position: fixed;
	z-index: 3;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: #f1f1f1;
	background: #0a3b95;
	transform: scale(0);
	right: -50px;
	top: -50px;
	transition: all .6s;
}
.circle-bg.circleactive {
	transform: scale(50);
}
#g-nav ul.menu-list {
	display: none;
	position: absolute;
	z-index: 999;
	top: 20vh;
	left: 50%;
	transform: translateX(-50%);
	max-width: 440px;
	width: 100%;
}
#g-nav.panelactive ul.menu-list {
	display: block;
}
#g-nav.panelactive ul.menu-list li {
	animation-name: gnaviAnime;
	animation-duration: 1s;
	animation-delay: .2s;
	animation-fill-mode: forwards;
	opacity: 0;
}
@keyframes gnaviAnime {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
#g-nav li {
	text-align: left;
	list-style: none;
	border-bottom: solid 1px #fff;
	font-size: 16px;
}
#g-nav li a {
	color: #fff;
	text-decoration: none;
	padding: 0 15px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	height: 60px;
	line-height: 60px;
}
#g-nav li a:hover,
#g-nav li button:hover,
#g-nav li.active a {
	color: #1d80c5;
	font-weight: bold;
}
#g-nav li.active a {
	color: #1d80c5;
	font-weight: bold;
}
.parent.open .accordion-btn {
	border-bottom: solid 1px #fff;
}
.accordion-btn {
	text-align: left;
	width: 100%;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0 15px;
	color: #fff;
	letter-spacing: 0.1em;
	line-height: 60px;
	display: flex;
	justify-content: space-between;
}
.accordion-btn .icon {
	font-size: 1.2rem;
}
.submenu {
	list-style: none;
	padding-left: 30px;
	margin: 0;
	display: none;
}
.submenu li:last-child {
	border: none !important;
}
.submenu li a {
	text-decoration: none;
	color: inherit;
}

/* 表示中のサブメニュー */
.parent.open .submenu {
	display: block;
}
.parent .icon::after {
	position: relative;
}
.parent .icon::after {
	content: "";
	border: 0;
	border-bottom: solid 2px #fff;
	border-left: solid 2px #fff;
	display: inline-block;
	transform: rotate(-45deg);
	width: 10px;
	height: 10px;
	transition: transform 0.3s ease;
}
.parent.open .icon::after {
	transform: rotate(135deg);
}
.menu {
	position: relative;
	z-index: 999;
	cursor: pointer;
	top: 6px;
}
.openbtn {
	-webkit-transform: rotate(-45deg);
	-webkit-transform-origin: center;
	transform: rotate(-45deg);
	transform-origin: center;
}
.openbtn span {
	transition: all .2s ease-in-out;
}
.openbtn span:nth-of-type(1) {
	background-color: #0a3b95;
	display: block;
	height: 2px;
	margin: auto;
	width: 60%;
}
.openbtn span:nth-of-type(2) {
	background-color: #0a3b95;
	display: block;
	height: 2px;
	margin: 7px auto;
	width: 100%;
}
.openbtn span:nth-of-type(3) {
	background-color: #0a3b95;
	display: block;
	height: 2px;
	margin: auto;
	width: 60%;
}
.menu:after {
	content: 'menu';
	display: block;
	margin: 5px auto 0;
	font-size: 12px;
	font-weight: 600;
	color: #0a3b95;
	transition: color 0.3s ease;
}
.openbtn.open span {
	background: #fff !important;
}
.openbtn.open span:nth-of-type(1) {
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
	width: 50%
}
.openbtn.open span:nth-of-type(2) {
	-webkit-transform: rotate(0);
	transform: rotate(0)
}
.openbtn.open span:nth-of-type(3) {
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
	width: 50%
}
.menu.white::after {
	color: white;
}
.menu.white::after {
	color: white;
}
.menu.white::after {
	color: white;
}
.menu.white span {
	background-color: white;
}
.menu:has(.open)::after {
	color: #fff !important;
}

/* スクロール後 */
header.scrolled .menu:after {
	color: #333;
}
header.scrolled .logo img {
	content: url(../images/h1_logo_blue.svg);
}
header.scrolled .openbtn span:nth-of-type(1),header.scrolled .openbtn span:nth-of-type(2),header.scrolled .openbtn span:nth-of-type(3) {
	background-color: #0a3b95;
}
@media screen and (max-width: 767px) {
	.header_inner {
		padding: 10px 4%;
	}
}