/* 女书字体 - 全部本地 */
@font-face {
	font-family: 'Nyushu';
	src: url('../Nyushu.ttf') format('truetype'),
	     url('../NotoSansNushu.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
	unicode-range: U+1B170-1B2FF;
}


.nushu {
	font-family: 'Nyushu', serif;
}

* {
	margin: 0;
	padding: 0;
}

/* 黑色导航栏 - 顶部默认显示 */
#top-black {
	width: 100%;
	height: 60px;
	background: #1a1a1a;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
}

#box-black {
	width: 1200px;
	height: 60px;
	margin: 0 auto;
}

#logo-black {
	width: 48px;
	height: 48px;
	margin: 6px 0 0 50px;
	float: left;
}

#box-black p {
	font-size: 20px;
	float: left;
	margin: 15px 0 0 10px;
	color: #C9A96E;
}

#box-black span {
	color: #C23B22;
}

#nav-black {
	width: 422px;
	height: 20px;
	margin: 20px 0 0 544px;
	float: left;
}

#nav-black li {
	list-style: none;
	float: left;
	padding-right: 15px;
}

#nav-black li:last-child {
	padding-right: 0;
}

#nav-black a {
	text-decoration: none;
	font-size: 14px;
	color: #5b5b5b;
	position: relative;
	top: 100%;
}

/* 白色导航栏 - 滚动 ≥ 64px 时出现 */
#top {
	width: 100%;
	height: 60px;
	background: #F5F0E8;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#top.visible {
	opacity: 1;
	visibility: visible;
}

#box {
	width: 1200px;
	height: 60px;
	margin: 0 auto;
}

#logo {
	width: 48px;
	height: 48px;
	margin: 6px 0 0 50px;
	float: left;
}

#box p {
	font-size: 20px;
	float: left;
	margin: 15px 0 0 10px;
}

#box span {
	color: #C23B22;
}

#nav {
	width: 422px;
	height: 20px;
	margin: 20px 0 0 544px;
	float: left;
	text-decoration: none;
}

#nav li {
	list-style: none;
	float: left;
	padding-right: 15px;

}

#nav li:last-child {
	padding-right: 0;
}

#nav a {
	text-decoration: none;
	font-size: 14px;
	color: #000;
	position: relative;
	top: 100%;
}

/* 导航链接悬停下划线（黑白共用） */
#nav a::after,
#nav-black a::after {
	position: absolute;
	height: 2px;
	background-color: #C23B22;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s ease;
	content: '';
	left: 0;
	right: 0;
	top: 100%;
}

#nav a:hover::after,
#nav-black a:hover::after {
	transform: scaleX(1);
}

#nav a:hover,
#nav-black a:hover {
	cursor: pointer;
}

@media screen and (orientation: portrait) and (max-device-width:1280px) {
	body {
		width: 1280px;
		margin: 0 auto;
		font-family: sans-serif;
	}

}

@media screen and (orientation:landscape) and (max-device-width:1280px) {
	body {
		width: 1280px;
		margin: 0 auto;
		font-family: sans-serif;
	}

}

.clear {
	clear: both;
}

#footer {
	width: 100%;
	height: 150px;
	background-color: #1a1a1a;
}

#footer p:nth-child(1) {
	text-align: center;
	font-size: 14px;
	line-height: 24px;
	color: aliceblue;
	padding-top: 65px;
}

#footer p:nth-child(2) {
	text-align: center;
	font-size: 14px;
	line-height: 14px;
	color: aliceblue;

}