/* ヘッダーのナビ部分 */
.header__nav {
	position: fixed;
	right: -280px;
	top: 0;
	width: 280px;
	height: 100vh;
	transform: translateX(100%);
	background-color: #fffffff0;
	transition: ease .4s;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
}

.nav-items {
	padding: 0;
	margin: 0;
	list-style: none;
}

/* ナビのリンク */
.nav-items__item a {
    color: #363636;
    width: 100%;
    display: block;
    margin-bottom: 19px;
}

.nav-items__item:last-child a {
    margin-bottom: 0;
}

/* ハンバーガーメニュー */

.header__hamburger {
    width: 48px;
    height: 48px;
}
.hamburger {
	background-color: #FFF;
	border-color: #363636;
	z-index: 9999;
	position: fixed;
	right: 4px;
	top: 4px;
	cursor: pointer;
	border-width: 1px;
}

/* ハンバーガーメニューの線 */
.hamburger span {
    width: 100%;
    height: 4px;
    background-color: #000;
    position: relative;
    transition: ease .4s;
    display: block;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    margin: 8px 0;
}

.hamburger span:nth-child(3) {
    top: 0;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
	transform: translateX(0);
	right: 0;
}

.hamburger.active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;

}

.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
}