@charset "utf-8";

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

.hamburger_bg {
	position: fixed;
	top: 15px;
	right: 15px;
	padding: 24px;
	background-color: #DC143C;
}

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

.hamburger p {
	position: absolute;
	left: 50%;
	top: 135%;
	transform: translate(-50%, -50%);
	width: fit-content;
	font-size: 0.5em;
	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: #0f2757;
}

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

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

.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;
}


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

.drawer {
	visibility: hidden;
	opacity: 0;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 130;
	width: 100%;
	height: 100vh;
	background-color: #fff;
	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; */
}

.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: #f1110b;
}

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