@charset "utf-8";
/* CSS Document */

/* ローディング画面 */
#loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	overflow: hidden;
}
.loading-bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
}
.loading-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	width: 50%;
	max-width: 170px;
}
main {
	opacity: 0;
	transform: translateY(100px);
	transition: opacity 1s ease, transform 1s ease;
}
main.show {
	opacity: 1;
	transform: translateY(50px);
}
/* /ローディング画面 */

/* ハンバーガーメニュー */
.btn_hum {
	display: none;
	position: fixed;
	background: #00051175;
    width: 38px;
    height: 38px;
    z-index: 999999;
    top: 5px;
    right: 8px;
    border-radius: 50px;
}
.btn_hum span{
    display: inline-block;
    position: fixed;
    right: 17px;
    height: 2px;
    border-radius: 5px;
	background: #ffffff;
  	width: 20px;
	box-shadow: 0 7px 12px -4px #0006;
	transition: all .4s;
	z-index: 888888;
  }
.btn_hum span:nth-of-type(1) {
	top: 17px;	
}
.btn_hum span:nth-of-type(2) {
	top: 23px;
}
.btn_hum span:nth-of-type(3) {
	top: 29px;
}
.btn_hum.active span:nth-of-type(1) {
	top: 23px;
    transform: rotate(-45deg);
}
.btn_hum.active span:nth-of-type(2) {
    opacity: 0;
}
.btn_hum.active span:nth-of-type(3) {
	top: 23px;
	transform: rotate(45deg);
}
/* /ハンバーガーメニュー */


@media screen and (max-width: 1200px) {
	/* ハンバーガーメニュー */
	.btn_hum {
		display: block;
	}
	#nav {
		top: 50%;
		right: auto;
		left: 50%;
		transform: translate(-50%,-50%);
		width: 100%;
		height: 100vh;
		background: #0a0c11db;
		z-index: -50;
		opacity: 0;
		transition: all 0.5s ease-out;
	}
	#nav.active {
		z-index: 888888;
		opacity: 1;
	}
	#nav ul {
		display: none;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
	}
	#nav.active ul {
		display: block;
	}
	/* /ハンバーガーメニュー */
}
