@charset "UTF-8";

.header {
	position: fixed;
	z-index: 20;
	top: 0;
	left: 0;
	width: 100%;
}

.header .inner {
	display: flex;
	max-width: 1024px;
	height: 66px;
	align-items: center;
	justify-content: space-between;
}

.header .logo {
	width: 25%;
	max-width: 230px;
}

.header .list {
	display: flex;
	align-items: center;
	gap: 34px;
	font-size: 1.2rem;
	font-weight: 700;
}

.header .list li:last-child a {
	display: flex;
	width: 158px;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border: 1px solid #ffffff;
	line-height: 1.2;
}

.header .check,
.header .drawer,
.header .menu {
	display: none;
}

.header .is-current {
	border-bottom: 1px solid var(--main);
}

@media screen and (max-width: 960px) {
	.header .inner {
		width: calc(100% - 30px);
	}

	.header .list {
		gap: 18px;
	}
}

@media screen and (max-width: 560px) {
	.header .inner {
		width: 100%;
		padding: 0 12px;
	}

	.header .logo {
		width: 100%;
		max-width: 260px;
	}

	.header .logo img {
		width: 100%;
	}

	.header .nav {
		display: none;
	}

	.header .menu {
		display: flex;
		position: relative;
		z-index: 24;
		width: 22px;
		height: 22px;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}

	.header .menu::before,
	.header .menu::after,
	.header .menu span {
		position: absolute;
		left: 1px;
		width: 20px;
		height: 2px;
		background: #ffffff;
		content: "";
		transition: transform .2s ease, top .2s ease, opacity .2s ease;
	}

	.header .menu::before {
		top: 4px;
	}

	.header .menu span {
		top: 10px;
	}

	.header .menu::after {
		top: 16px;
	}

	.header .check:checked+.menu::before {
		top: 10px;
		background: #008fc2;
		transform: rotate(45deg);
	}

	.header .check:checked+.menu span {
		opacity: 0;
	}

	.header .check:checked+.menu::after {
		top: 10px;
		background: #008fc2;
		transform: rotate(-45deg);
	}

	.header .drawer {
		display: block;
		position: fixed;
		z-index: 22;
		top: 0;
		right: -70.2vw;
		width: 70.2vw;
		height: 100vh;
		background: #ffffff;
		color: #000000;
		transition: right .25s ease;
	}

	.header .check:checked~.drawer {
		right: 0;
	}

	.header .drawer .list {
		display: flex;
		align-items: center;
		flex-direction: column;
		gap: 8.2vw;
		padding-top: 24vw;
		font-size: 4vw;
		font-weight: 400;
		line-height: 1;
	}

	.header .is-current {
		color: var(--main);
		border-bottom: 0;
	}

	.header .list li:last-child a {
		display: block;
		width: auto;
		min-height: auto;
	}
}