@charset "utf-8";

/*-------------------------
header
---------------------------*/
header {
	width: 100%;
	height: 84px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 30;
	pointer-events: none;
}
header > * {
	pointer-events: auto;
}
header h1 {
	width: calc(100% - 50px);
	max-width: 740px;
	position: absolute;
	bottom: 0;
	left: 50%;
	transition: .4s ease-out;
	-webkit-transform: translate(-50%, calc(100% + 10px));
	transform: translate(-50%, calc(100% + 10px));
}
header.scrollDown h1 {
	max-width: 180px;
	left: 110px;
	bottom: 10px;
	-webkit-transform: unset;
	transform: unset;
}
header h1 a:hover {
	opacity: .6;
}
header p {
	width: 100%;
	height: 84px;
	max-width: 320px;
	position: absolute;
	top: 0;
	right: 0;
}
header p a {
	display: -webkit-box;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	flex-direction: column;
	-webkit-box-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	align-items: center;
	background-color: var(--color-point);
	width: 100%;
	height: 100%;
	color: #000;
	font-weight: 900;
	line-height: 1.3;
	padding-right: 60px;
	border-bottom: 1px solid var(--color-point);
	border-left: 1px solid var(--color-point);
	border-radius: 0 0 0 20px;
	position: relative;
}
header p span {
	display: block;
}
header p span span {
	font-size: 1.3em;
}
header p a::before,header p a::after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	transition: inherit
}
header p a::before {
	width: 40px;
	height: 40px;
	border: 1px solid #000;
	right: 20px;
	border-radius: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
header p a::after {
	width: 6px;
	height: 6px;
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	right: 38px;
	-webkit-transform: translateY(-50%) rotate(45deg);
	transform: translateY(-50%) rotate(45deg);
}
header p a:hover {
	background-color: #000;
	color: var(--color-point);
}
header p a:hover::before,
header p a:hover::after {
	border-color: var(--color-point);
}
@media screen and (max-width: 1100px) {
	header h1 {
		max-width: 420px;
		-webkit-transform: translate(-50%, calc(100% + 80px));
		transform: translate(-50%, calc(100% + 80px));
	}
}
@media screen and (max-width: 640px) {
	header {
		height: auto;
		position: absolute;
	}
	header h1 {
		max-width: 320px;
		top: 90px;
		bottom: auto;
		-webkit-transform: translate(-50%, 0);
		transform: translate(-50%, 0);
	}
	main {
		padding-top: 50px;
	}
	header.scrollDown h1 {
		max-width: 320px;
		left: 50%;
		-webkit-transform: translate(-50%, 0);
		transform: translate(-50%, 0);
	}
	header p {
		max-width: none;
		height: 70px;
		position: fixed;
		top: auto;
		right: 0;
		bottom: 0;
	}
	header p a {
		padding-left: 60px;
		border-top: 1px solid var(--color-point);
		border-right: 1px solid var(--color-point);
		border-radius: 0;
	}
	body {
		padding-bottom: 70px;
	}
}