@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: 46px 30px 0px;
}

@media screen and (max-width: 1150px) {
	.header_inner .site_id {
		width: 130px;
	}
}

@media screen and (min-width: 1045px) {
	.header_inner .site_id {
		width: 160px;
	}
}

.header_right {
	display: flex;
	flex-direction: row;
	gap: 20px;
}

.recruit a {
	display: block;
	padding: 10px 20px;
	background: linear-gradient(to right, #d95f82, #ec8c69);
	color: #ffffff;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	transition: opacity 0.3s ease;
}

.recruit a:hover {
	opacity: 0.7;
}

.recruit 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: #D26E76;
}

#g-nav li.active a {
	color: #D26E76;
}

.parent.open .accordion-btn {
	border-bottom: solid 1px #333;
}

.accordion-btn {
	text-align: left;
	width: 100%;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0 15px;
	color: #333;
	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 #333;
	border-left: solid 2px #333;
	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: #333;
	display: block;
	height: 1px;
	margin: auto;
	width: 60%;
}

.openbtn span:nth-of-type(2) {
	background-color: #333;
	display: block;
	height: 1px;
	margin: 7px auto;
	width: 100%;
}

.openbtn span:nth-of-type(3) {
	background-color: #333;
	display: block;
	height: 1px;
	margin: auto;
	width: 60%;
}

.menu:after {
	content: 'menu';
	display: block;
	margin: 5px auto 0;
	font-size: 12px;
	color: #333;
	transition: color 0.3s ease;
}

.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%
}

@media screen and (max-width: 767px) {
	.header_inner {
		padding: 10px 4%;
	}

	.header_right {
		gap: 10px;
	}
}