@charset "UTF-8";

@media screen and (max-width:1024px) {

	/* ----------メニュ関係---------- */
	.hamburger {
		display: block;
		position: absolute;
		right: 20px;
		top: 10px;
		width: 42px;
		height: 42px;
		cursor: pointer;
		text-align: center;
	}

	.hamburger span {
		display: block;
		position: absolute;
		width: 30px;
		height: 2px;
		left: 6px;
		background: #f3eaea;
		-webkit-transition: 0.3s ease-in-out;
		-moz-transition: 0.3s ease-in-out;
		transition: 0.3s ease-in-out;
	}

	.hamburger span:nth-child(1) {
		top: 20px;
	}

	.hamburger span:nth-child(2) {
		top: 30px;
	}

	.hamburger span:nth-child(3) {
		top: 40px;
	}

	.hamburger.active span:nth-child(1) {
		top: 30px;
		left: 6px;
		background: #f3eaea;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	.hamburger.active span:nth-child(2),
	.hamburger.active span:nth-child(3) {
		top: 30px;
		background: #f3eaea;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	/* メニュー背景　*/

	ul.menu li {
		list-style-type: none;
		vertical-align: middle;
		width: 80%;
		margin: 0 auto;
		transition: .4s all;
		height: 50px;
	}

	ul.menu li:last-child {
		padding-bottom: 0;
	}

	ul.menu li:hover {
		background: #ddd;
	}

	ul.menu li:not(.current-menu-item) a {
		display: block;
		color: #fff;
		padding: 1em 0;
		text-decoration: none;
	}

	li.current-menu-item a {
		display: block;
		color: palevioletred;
		padding: 1em 0;
		text-decoration: none;
	}


	li.menu-item {
		background-color: #333333;
		font-size: 14px;
	}

	ul.menu.active {
		display: block;
	}

	ul.menu {
		position: fixed;
		top: 70px;
		left: 0;
		color: #fff;
		background: rgba(0, 0, 0, 0.6);
		text-align: center;
		width: 100%;
		height: calc(100vh + 1px);
		margin-left: 100%;
		padding-top: 70px;
		opacity: 0;
	}

	li.current-menu-item a {
		color: lightpink;
	}

	/* ----------------------------- */
}

@media screen and (min-width:1024px) {

	/* メニュー */
	li.menu-item {
		display: inline-block;
		width: 100px;
		font-size: 14px;
		height: 100%;
		line-height: 80px;
		text-align: center;
		margin: 0 8px;
	}

	li.menu-item a {
		display: inline-block;
		text-decoration: none;
		color: #f3eaea;
		transition: all 1s;
	}

	li.menu-item:not(.current-menu-item) a:hover {
		color: palevioletred;
		transition: all 1s;
		-webkit-transform: translateX(3px);
		transform: translateX(3px)
	}

	li.current-menu-item a {
		color: palevioletred;
	}

	.current-menu-item a {
		text-decoration: none;
		background: transparent;
		cursor: default;
	}
}