@charset "utf-8";

/* header */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 40px 40px 0px;
	z-index: 888;
}

.header_inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 12px 12px 24px;
	border-radius: 16px;
	background: #fff;
}

.header_inner .site_id {
	width: 70px;
}

.header_right {
	display: flex;
	flex-direction: row;
	gap: 20px;
	align-items: center;
}

.pc_text_link {
	display: flex;
	gap: 20px;
}

.pc_text_link a {
	font-size: 16px;
	font-weight: bold;
}

.contact a {
	display: block;
	padding: 10px 24px;
	background: #8b1a3e;
	border-radius: 50px;
	color: #ffffff;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	transition: opacity 0.3s ease;
}

.contact a:hover {
	opacity: 0.7;
}

.contact a[target="_blank"]::after {
	content: none;
}

#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: #ffeff0;
	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 #333;
	font-size: 16px;
}

#g-nav li a {
	color: #333;
	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: #000067;
}

#g-nav li.active a {
	color: #000067;
}

.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;
	border-radius: 30px;
}

.openbtn span:nth-of-type(1) {
	background-color: #000067;
	display: block;
	height: 3px;
	margin: auto;
	width: 40%;
}

.openbtn span:nth-of-type(2) {
	background-color: #000067;
	display: block;
	height: 3px;
	margin: 4px auto;
	width: 80%;
}

.openbtn span:nth-of-type(3) {
	background-color: #000067;
	display: block;
	height: 3px;
	margin: auto;
	width: 40%;
}

.menu:after {
	content: 'menu';
	display: block;
	margin: 5px auto 0;
	font-size: 12px;
	font-weight: bold;
	color: #000067;
	transition: color 0.3s ease;
}

header:has(.openbtn.open) {
	position: fixed;
}
header:has(.openbtn.open) + .contents{
	display: none;
}

.openbtn.open span:nth-of-type(1) {
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
	width: 40%
}

.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: 40%
}

@media screen and (max-width: 767px) {
	header {
		padding: 20px 20px 0px;
	}

	.header_inner {
		padding: 10px 4%;
		border-radius: 8px;
	}

	.header_right {
		gap: 10px;
	}
}