.top {
	width: 100%;
	height: 10.4167vw;
	background: url(img/topbj.png) no-repeat center center;
	background-size: 100% 100%;
	position: relative;
	display: flex;
	flex-direction: column;
}

.top-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	padding: 0 1.5vw;
}

.logo {
	height: 7.2917vw;
	margin: auto;
	width: 67.7083vw;
    display: flex;
    justify-content: space-between;
}

.logo img {
	margin-top: 1.8229vw;
	    width: 24.1667vw;
	    height: 3.4375vw;
	object-fit: contain;
}

.nav {
	width: 100%;
	height: 3.125vw;
	background-color: #721170;
	position: relative;
	z-index: 10;
}

.navli {
	width: 67.7083vw;
	height: 3.125vw;
	max-width: 100%;
	padding: 0 0.5208vw;
	margin: 0 auto;
	display: flex;
	align-items: center;
}

.nav-bar {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: stretch;
	border-left: 0.0521vw solid #7f207d;
	border-right: 0.0521vw solid #7f207d;
	width: 100%;
	height: 100%;
	transition: all 0.3s ease;
}

.nav-item {
	flex: 1 1 0;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
	position: relative;
	text-align: center;
	min-height: 3.125vw;
	border-left: 0.0521vw solid #7f207d;
	list-style: none;
}

.nav-item a {
	color: #fff;
	font-size: 20px;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.25s ease;
}

.nav-item:first-child {
	border-left: none;
}

.nav-item:hover {
	background-color: #80298C;
	border-top: 1px solid #cf6dda;
	color: #ded1de;
	transform: translateY(-0.1042vw);
	z-index: 2;
	box-shadow: 0 0.2083vw 0.625vw rgba(127, 32, 125, 0.15);
}

.activenav {
	background-color: #80298C;
	border-top: 1px solid #cf6dda;
	color: #ded1de;
	transform: translateY(-0.1042vw);
	z-index: 2;
	box-shadow: 0 0.2083vw 0.625vw rgba(127, 32, 125, 0.15);
}

.activenav::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-bottom: 4px solid #dcbe60;
	transition: border-top-color 0.25s ease, transform 0.25s ease;
	z-index: 1;
}

.activenav::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	height: 1px;
	background-color: #dcbe60;
	transition: width 0.3s ease, background-color 0.3s ease;
}

.nav-item:hover a {
	color: #ded1de;
}

.hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 8vw;
	height: 8vw;
	min-width: 44px;
	min-height: 44px;
	cursor: pointer;
	z-index: 101;
	gap: 0.8vw;
	padding: 1vw;
	background: transparent;
	border: none;
	outline: none;
	-webkit-tap-highlight-color: transparent;
	flex-shrink: 0;
}

.hamburger span {
	display: block;
	width: 6vw;
	max-width: 36px;
	height: 0.6vw;
	max-height: 3px;
	background-color: #fff;
	border-radius: 2px;
	transition: all 0.3s ease;
	transform-origin: center;
}

.hamburger.active span:nth-child(1) {
	transform: translateY(1.4vw) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
	transform: translateY(-1.4vw) rotate(-45deg);
}

.footer {
	width: 100%;
	height: 2.6042vw;
	background-color: #721170;
	color: rgba(255, 255, 255, 0.6);
	line-height: 2.6042vw;
	text-align: center;
	font-size: 0.8333vw;
	letter-spacing: 0.1em;
	margin-top: auto;
	flex-shrink: 0;
	/*margin-top: 2.6042vw;*/
}

@media screen and (max-width: 768px) {
	.top {
		height: auto;
		min-height: 18vw;
		background-size: cover;
		padding: 1.5vw 0;
		background: #842181 !important;
	}

	.top-inner {
		padding: 0 4vw;
		flex-wrap: nowrap;
		height: auto;
		min-height: 14vw;
	}

	.logo {
		flex: 0 1 auto;
		height: auto;
		max-width: 70%;
	}

	.logo img {
		margin-top: 0;
		width: 50vw;
		max-width: 200px;
		height: auto;
		max-height: 12vw;
		object-fit: contain;
	}

	.hamburger {
		display: flex;
	}

	.nav {
		height: auto;
		min-height: 0;
		background-color: #721170;
	}

	.navli {
		width: 100%;
		height: auto;
		padding: 0;
		margin: 0;
		display: block;
	}

	.nav-bar {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		height: auto;
		border-left: none;
		border-right: none;
		border-top: 0.2vw solid rgba(255, 255, 255, 0.15);
		background-color: #721170;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
		padding: 0 0;
		margin-top: 0;
		box-shadow: 0 4vw 6vw rgba(0, 0, 0, 0.2);
		position: relative;
		border-radius: 0 0 2vw 2vw;
	}

	.nav-bar.open {
		max-height: 120vw;
		opacity: 1;
		padding: 1vw 0 2vw 0;
		overflow-y: auto;
	}

	.nav-item {
		flex: none;
		width: 100%;
		min-height: 14vw;
		border-left: none;
		border-bottom: 0.2vw solid rgba(255, 255, 255, 0.08);
		padding: 1vw 2vw;
		justify-content: center;
		background-color: transparent;
	}

	.nav-item:last-child {
		border-bottom: none;
	}

	.nav-item a {
		font-size: 4.2vw;
		white-space: nowrap;
		letter-spacing: 0.05em;
		padding: 1vw 0;
		width: 100%;
		text-align: center;
	}

	.nav-item:first-child {
		border-left: none;
	}

	.nav-item:active {
		background-color: rgba(255, 255, 255, 0.12);
		transform: scale(0.98);
	}

	.nav-item:hover {
		transform: none;
		box-shadow: none;
	}

	.nav-item:hover a {
		color: #fff;
	}

	.nav-bar {
		border-left: none;
		border-right: none;
	}

	.footer {
		height: auto;
		min-height: 14vw;
		line-height: 1.6;
		padding: 3vw 4vw;
		font-size: 3.2vw;
		letter-spacing: 0.05em;
	}

	@media screen and (max-width: 480px) {
		.top {
			min-height: 0vw;
		}

		.logo img {
			width: 55vw;
			max-height: 14vw;
		}

		.nav-item a {
			font-size: 4.8vw;
		}

		.footer {
			font-size: 3.6vw;
			padding: 4vw 4vw;
		}

		.hamburger {
			width: 10vw;
			height: 10vw;
			gap: 1vw;
		}

		.hamburger span {
			width: 7vw;
			height: 0.8vw;
		}
	}
}

@media screen and (min-width: 769px) {
	.hamburger {
		display: none !important;
	}
}

.nav-bar {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.top {
	background-color: #f5f0f5;
}