/* header */

.header {
	background: #fff;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 99;
}

.header__wrap {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding-left: 27px;
	position: relative;
}

.header__logo {
	display: block;
	width: 314px;
}

.header__button {
	align-items: center;
	aspect-ratio: 1/1;
	background: #006835;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 19px;
	justify-content: center;
	position: relative;
	width: 100px;
}

.header__button span {
	background: #fff;
	display: block;
	height: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	width: 60px;
}

.header__button.--open span:nth-child(1) {
	transform: translateY(21px) rotate(45deg);
}

.header__button.--open span:nth-child(2) {
	opacity: 0;
}

.header__button.--open span:nth-child(3) {
	transform: translateY(-21px) rotate(-45deg);
}

.header__nav {
	opacity: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 100px;
	transition: 0.2s;
}

.header__nav-bg {
	height: 100dvh;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	width: 100vw;
	z-index: 0;
}

.header__nav.--open {
	opacity: 1;
	pointer-events: all;
}

.header__nav.--open .header__nav-bg {
	pointer-events: all;
}

.header__tel {
	display: none;
}

.header__tel-icon {
	width: 48px;
}

.header__tel-content {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.header__tel-text {
	font-size: 16px;
	line-height: 1;
}

.header__tel-num {
	font-size: 32px;
	font-weight: bold;
	line-height: 1;
}

.header__lists {
	background: #f7f7f7;
	position: absolute;
	right: 0;
	top: 0px;
	width: 480px;
	z-index: 1;
}

.header__list {
	border-top: 1px solid #d8d8d8;
}

.header__link {
	display: block;
	font-size: 20px;
	font-weight: 500;
	padding: 35px 37px;
}

@media screen and (min-width: 1080px) {

.header__wrap {
	padding: 20px 50px 30px 50px;
}

.header__logo {
	max-width: 590px;
	min-width: 314px;
	width: 35%;
}

.header__button {
	display: none;
}

.header__nav {
	align-items: end;
	display: flex;
	flex-direction: column;
	gap: 27px;
	opacity: 1;
	pointer-events: all;
	position: static;
}

.header__nav-bg {
	display: none;
}

.header__tel {
	align-items: center;
	display: flex;
	gap: 8px;
}

.header__lists {
	background: transparent;
	display: flex;
	gap: 30px;
	position: static;
	width: auto;
}

.header__list {
	border: none;
}

.header__list:first-of-type,
.header__list:last-of-type {
	display: none;
}

.header__link {
	font-size: 18px;
	padding: 0;
}

}

@media screen and (min-width: 1380px) {

.header__wrap {
	padding: 31px 115px 45px 120px;
}

.header__lists {
	gap: 67px;
}

}

