:root {
    color-scheme: light dark;
}

html{
     scroll-behavior: smooth;
}

body {
	margin: 0;
}

.header {
	height: 72px;
	background-color: light-dark(#f9f9f9,#000);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
}

.header-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: inherit;
	padding: 0 2%;
	position: relative;
	z-index: 31;
}

.header-logo a,
.header-logo-index {
	text-decoration: none;
	color: #7f7fff;
	font-size: 2.5em;
	font-family: "RocknRoll One", sans-serif;
	font-style: normal;
	line-height: 60px;
	margin-left: 15px;
}

.hikoshiki {
	font-size: 0.5em;
}

.hamburger {
	display: none;
}

.nav {
	height: 100%;
}

.nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
}

.nav-item a {
	text-decoration: none;
	color: light-dark(#000,#fafafa);
	border-bottom: 2px solid light-dark(#f9f9f9,#000);
	margin: 0px 3px;
	display: block;
	height: 70px;
	line-height: 72px;
}

.nav-item a:hover {
	border-bottom: 2px #7f7fff solid;
	background: light-dark(#c0c0c0,#666);
}

.header-box {
	height: 67px;
}

/* モバイル版　↓ */

@media screen and (max-width: 1023px) {

.header {
	height: 65px;
}

.header-logo a {
	font-size: 2em;
}

.hamburger {
	display: block;
	width: 50px;
	height: 65px;
	position: relative;
	appearance: none;/* ←よくわからんけど置いてる */
	border: 0;
	padding: 0;
	margin: 0px 15px 0px 0px;
	background-color: light-dark(#f9f9f9,#000);
}

.hamburger span,
.hamburger span::after,
.hamburger span::before {
	position: absolute;
	display: block;
	content: "";
	width: 34px;
	height: 2px;
	background-color: light-dark(#000,#c0c0c0);
	transition: all 0.5s;
	margin: 0px 8px;
}

.hamburger span::before {
	top: -10px;
	margin-left: 0px;
}

.hamburger span::after {
	bottom: -10px;
	margin-left: 0px;
}

.hamburger.open span {
  background-color: transparent;
}

.hamburger.open span::before {
	top: 0;
	transform: rotate(45deg);
}

.hamburger.open span::after {
	bottom: 0;
	transform: rotate(-45deg);
}

.menu-sign {
	display: block;
	color: light-dark(#000,#c0c0c0);
	position: relative;
	bottom: -14px;
	transition: all 0.5s;
}

.menu-sign.open {
	display: none;
}

.close-sign {
	display: none;
	color: light-dark(#000,#c0c0c0);
	transition: all 0.5s;
}

.close-sign.open {
	display: block;
	position: relative;
	bottom: -14px;
}

/* ==============メニューのスタイリング================ */

.nav {
	position: fixed;
	width: 260px;
	height: 100vh;
	top: 65px;
	right: -100%;
	background-color: #ccc;
	transition: all 0.5s;
	border-top: 1px solid #c0c0c0;
	z-index: 32;
}

.nav.open {
	right: 0;
}

.nav-list {
	display: block;
	background-color: light-dark(#ccc,#000);
}

.nav-item a {
	display: block;
	margin: 0;
	font-size: 20px;
	line-height: normal;
	height: auto;
	background-color: light-dark(#fff,#000);
	padding: 20px 0 20px 50px;
	border-bottom: 1px #c0c0c0 solid;
	text-transform: uppercase;
}

.nav-item a:hover {
	border-bottom: 1px #c0c0c0 solid;
	background-color: light-dark(#fff,#000);
}

.gray-cover.spread {
	position: fixed;
	background-color: rgba(0,0,0,.5);
	width: 100vw;
	height: 100vh;
	top: 65px;
	left: 0;
	transition: all 0.5s;
	z-index: 30;
}

.header-box {
	height: 60px;
}

}