@charset "utf-8";

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

.hamburger_bg {
	position: fixed;
	top: 6px;
	right: 8px;
	width: 40px;
	height: auto;
	border-radius: 100%;
	background-color: #826B63;
	aspect-ratio: 1 / 1;
}

.hamburger {
	position: fixed;
	top: 17px;
	right: 17px;
	z-index: 150;
	width: 22px;
	height: auto;
	cursor: pointer;
	color: #fff;
	aspect-ratio: 1 / 1;
}

.hamburger p {
	position: absolute;
	left: 50%;
	bottom: 15%;
	transform: translate(-50%, 0%);
	width: fit-content;
	font-size: 0.5em;
	color: #fff;
}

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

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

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

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

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

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

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

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

.hamburger.is-active p {
	bottom: -15%;
}

@media screen and (min-width: 768px) {
	.hamburger_bg {
		top: 15px;
		right: 15px;
		width: 90px;
		height: auto;
	}

	.hamburger {
		top: 48px;
		right: 44px;
		width: 30px;
		height: 33px;
	}

	.hamburger span {
		height: 3px;
	}

	.hamburger p {
		left: 50%;
		bottom: 15%;
		font-size: 0.7rem;
	}
}

@media screen and (min-width: 1024px) {
	.hamburger_bg {
		width: 120px;
		height: auto;
	}

	.hamburger {
		top: 60px;
        right: 49px;
        width: 50px;
        height: 40px;
	}

	.hamburger span {
		height: 4px;
	}

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

@media screen and (min-width: 1440px) {
	.hamburger_bg {
		top: 30px;
		right: 30px;
		width: 150px;
		height: auto;
	}

	.hamburger {
		top: 85px;
        right: 75px;
        width: 55px;
        height: 50px;
	}

	.hamburger span {
		height: 5px;
	}

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

@media screen and (min-width: 1920px) {
	.hamburger_bg {
		top: 40px;
		right: 40px;
		width: 200px;
		height: auto;
	}

	.hamburger {
		top: 115px;
        right: 101px;
        width: 75px;
        height: 75px;
	}

	.hamburger span {
		height: 7px;
	}

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

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

.drawer {
	visibility: hidden;
	opacity: 0;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 130;
	width: 100%;
	height: 100vh;
	background-color: rgba(130,107,99,0.9);
	transition: opacity .3s, visibility .3s;
}

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

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

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

.drawer__list {
	display: flex;
	flex-direction: column;
	gap: 35px;
}

.drawer__item {
	width: 100%;
}

.drawer__link {
	color: #000;
	display: flex;
	flex-direction: column;
}

.drawer__link > * {
	width: 100%;
	text-align: center;
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
}

.drawer__link > *:nth-of-type(1) {
	/* margin: 0;
	font-size: 0.8rem;
	color: #fff; */
}

.drawer__link > *:nth-of-type(2) {
	/* margin: 5% 0 0 0;
	font-size: 1.2rem;
	color: #806653; */
}

@media screen and (min-width: 768px) {
	.drawer {
		width: 50%;
	}

	.drawer__link > * {
		font-size: 1.6rem;
	}
}
