@charset "utf-8";

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

.hamburger {
	position: relative;
	width: auto;
	height: 100%;
	aspect-ratio: 1 / 1;
	background-color: #4F618E;
	font-weight: 900;
	cursor: pointer;
	z-index: 101;
}

.hamburger.is-active {
	/* background-color: #04B111; */
}

.hamburger p {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	width: fit-content;
	font-size: 0.6rem;
	font-weight: 700;
	color: #000;
}

.hamburger.is-active p {
	opacity: 0;
}

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

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

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

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

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

.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: 1%;
		right: 2%;
		width: 24px;
		height: 24px;
	}
}

@media screen and (min-width: 1280px) {
	.hamburger {
		top: 2%;
	}
}

@media screen and (min-width: 1440px) {
	.hamburger {
		top: 2%;
		width: 36px;
		height: 36px;
	}

	.hamburger p {
		bottom: -60%;
		font-size: 0.9rem;
	}
}

@media screen and (min-width: 1920px) {
	.hamburger {
		top: 2.5%;
		width: 48px;
		height: 48px;
	}

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

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

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

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

.drawer-inner {
	/* display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0; */
	width: 100%;
	height: 100%;
	margin: 0 0 0 auto;
	padding: 25% 0;
	background-color: #fff;
}

.drawer__nav {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 24px;
	width: 80%;
	margin: 0 auto 0;
}

.drawer__list {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0 auto;
}

.drawer__list li {
	width: 100%;
	padding: 1em 0;
	/* border-bottom: 2px #000 dotted; */
}

.drawer__list li:first-child {
	/* border-top: 2px #000 dotted; */
}

.drawer__list li a {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 12px;
	width: max-content;
	margin: 0 auto 0;
	padding: 0;
	font-size: 1.2rem;
	font-weight: 700;
}

.drawer__list li a::before {
	/* content: "";
	position: absolute;
	top: 50%;
	left: 10%;
	transform: translate(0, -50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-top: 0.5em solid transparent;
	border-bottom: 0.5em solid transparent;
	border-left: 0.5em solid #000;
	border-right: 0; */
}

.drawer__list li.logo a::before {
	/* content: none; */
}

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

.drawer__list li a span {
	display: block;
	width: fit-content;
	margin: 0 auto 0;
	text-align: center;
	line-height: 1;
}

.drawer__list li a span:nth-of-type(1) {
	font-size: 1em;
}

.drawer__list li a span:nth-of-type(2) {
	width: fit-content;
	text-align: left;
	font-size: 0.8em;
}

.drawer__list li.logo a img {
	display: block;
	width: 75%;
	margin: 0 auto 0;
}