@charset "utf-8";

/* --------- hamburger ---------- */

.hamburger_bg {
	position: fixed;
	top: 0;
	right: 0;
	padding: 24px;
	background-color: #066eb7;
	z-index: 100;
}

.hamburger {
	position: fixed;
	top: 3px;
	right: 11px;
	z-index: 150;
	width: 25px;
	height: 25px;
	cursor: pointer;
	color: #fff;
	z-index: 101;
}

.hamburger p {
	position: absolute;
	left: 50%;
	top: 125%;
	transform: translate(-50%, -50%);
	width: fit-content;
	font-size: 0.5rem;
	color: #fff;
}

.hamburger span {
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 2px;
	background-color: #fff;
	transition: transform .3s;
}

.hamburger.is-active span {
	background-color: #066eb7;
}

.hamburger span:nth-child(1) {
	top: 40%;
}

.hamburger span:nth-child(2) {
	top: 70%;
}

.hamburger span:nth-child(3) {
	top: 90%;
}

.hamburger.is-active span:nth-child(1) {
	top: 50%;
	transform: translate(-50%, -50%) rotate(135deg);
	opacity: 1;
}

.hamburger.is-active span:nth-child(2) {
	top: 50%;
	transform: translate(-50%, -50%) rotate(-135deg);
	opacity: 1;
}

.hamburger.is-active span:nth-child(3) {
	opacity: 0;
}

@media screen and (min-width: 768px) {
	.hamburger_bg {
		top: 0;
		right: 0;
		padding: 20px;
	}

	.hamburger {
		top: 0px;
		right: 8px;
		width: 24px;
		height: 24px;
	}

	.hamburger span {
		width: 100%;
	}

	.hamburger p {
		top: 115%;
	}

	.hamburger.is-active span:nth-child(1) {
		top: 65%;
	}
	
	.hamburger.is-active span:nth-child(2) {
		top: 65%;
	}
}

@media screen and (min-width: 1024px) {
	.hamburger_bg {
		padding: 24px;
	}

	.hamburger {
		top: 6px;
		right: 13px;
		width: 24px;
		height: 24px;
	}
}

@media screen and (min-width: 1440px) {
	.hamburger_bg {
		padding: 36px;
	}

	.hamburger {
		right: 17px;
		width: 36px;
		height: 36px;
	}

	.hamburger p {
		font-size: 0.8rem;
	}
}

@media screen and (min-width: 1920px) {
	.hamburger_bg {
		padding: 48px;
	}

	.hamburger {
		top: 9px;
		right: 23px;
		width: 48px;
		height: 48px;
	}

	.hamburger p {
		font-size: 1rem;
	}
}

/* ---------- drawer ---------- */

.drawer {
	visibility: hidden;
	opacity: 0;
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100svh;
	background-color: #fff;
	transition: opacity .3s, visibility .3s;
	z-index: 100;
	overflow: auto;
}

.drawer.is-active {
	visibility: visible;
	opacity: 1;
	z-index: 100;
}

.drawer-inner {
	position: relative;
	/* display: flex;
	justify-content: center;
	align-items: center; */
	width: 100%;
	height: 100%;
}

.drawer__nav {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}

.drawer__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 80%;
	margin: 0 auto;
}

.drawer__item {
	width: fit-content;
	margin: 0 auto;
}

.drawer__link {
	color: #000;
	/* display: flex; */
}

.drawer__link:hover span:nth-of-type(1) {
	/* color: #F7D205; */
}

.drawer__link span {
	display: block;
	/* width: 50%; */
	text-align: center;
	font-size: 1rem;
	font-weight: 500;
}

.drawer__link span:nth-of-type(1) {
	margin: 0;
	font-size: 0.8em;
	color: #066eb7;
}

.drawer__link span:nth-of-type(2) {
	margin: 2.5% 0 0 0;
}
