@charset "utf-8";
/*=================================================================================*/
/** 768px未満**/
/*===============================
	header_wrapper
===============================*/
.header{
	position: fixed;
	top: 0;
	width: 100%;
	padding: 2.25em 0; /* 高さ */
	display: flex;
	align-items: center;
	z-index: 1000;
	background-color: rgba(0, 0, 0, 0); /* 透明状態 */
	transition: background-color 0.3s ease; 
}
/* スクロールしたらヘッダーメニューのフォントカラー変更 */
.header.headerColorScroll {
	background-color: rgba(0, 0, 0, .8);
	backdrop-filter: blur(8px);
}
.logo{
	width: 45%;
	max-width: 235px;
	position: fixed;
	top: 50%em;
	left: 2em;
	z-index: 100;
	transform: translate(0,-50%);
}
/*===============================
	menur
===============================*/
.menu-wrapper {
	position: relative;
}
.menu-icon {
	box-sizing: border-box;
	background: #FF1E3C;
	padding: 1.5em 1em;
	width: 80px;
	position: fixed;
	top: 0;
	right: 0;
	cursor: pointer;
	z-index: 2000;
	display: inline-block;
	align-items: center;
}
.menu-icon span {
	display: block;
	height: 4px;
	background: #FFF;
	border-radius: 2px;
	transition: 0.4s;
}
.menu-icon span:nth-of-type(2) {
	margin: 6px 0;
}
/* ハンバーガーがXに変形 */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
	transform: translateY(10px) rotate(45deg);
}
#menu-toggle:checked + .menu-icon span:nth-child(2) {
	opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3) {
	transform: translateY(-10px) rotate(-45deg);
}
/* オーバーレイ背景 */
.overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	pointer-events: none;
	transition: 0.4s;
	z-index: 1;
}
#menu-toggle:checked ~ .overlay {
	opacity: 1;
	pointer-events: auto;
}
/* メニュー本体（右から出す） */
.menu {
	position: fixed;
	top: 0;
	right: -90%; /* ← 初期位置を右へ */
	width: 90%;
	height: 100%;
	background: #fff;
	box-shadow: 2px 0 8px rgba(0,0,0,0.2);
	transition: right 0.4s ease;
	z-index: 1200;
}
#menu-toggle:checked ~ .menu {
	right: 0; /* ← 開いたときは右0へ */
}
.menu ul {
	list-style: none;
	padding: 60px 40px;
}
.menu li {
	margin: 20px 0;
}
.menu a {
	text-decoration: none;
	color: #333;
	font-size: 1rem;
	transition: color 0.3s;
}
.menu a:hover {
	color: #007bff;
}
/*===============================
	mv
===============================*/
.mv{
	position: relative;
	display: block;
	/*height: 100vh;
	overflow: hidden;*/
}
.mv_img{
	position: relative;
	background-image: url(../img/top/mv_sp.jpg);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	height: 100vh;/* Dreamweaver向け */
	height: 100svh;/* モダンブラウザ向け */
	margin: 0 auto;
}
.mv img{
	box-sizing: border-box;
	width: 98%;
	margin: 1% auto 0;
}
.overlay-video {
	position: absolute; /* 画像の上に重ねる */
	top: 0;
	left: 0;
	width: 100%;       /* 画像と同じサイズにする */
	height: 100%;
	object-fit: cover;  /* 動画が歪まないように調整 */
	z-index: 1;         /* 動画を前面に */
	opacity: .12;
	pointer-events: none;
}
.catch{
	position: absolute;
	z-index: 500;
	width: 85%;
	max-width: 800px;
	bottom: 8%;
	left: 7.5%;
	animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.mv_catch__btn{
	display: block;
	background: #FF1E3C;
	color: #FFFFFF;
	font-size: 1.23rem;
	font-weight: 600;
	text-align: center;
	padding: 1em;
}
.mv_catch__btn:hover{
	background: #BE4B4B;
	color: #FFF;
}
@keyframes slideIn {
0% {
	transform: translateX(180px);
	opacity: 0;
}
100% {
	transform: translateX(0);
}
40%,100% {
	opacity: 1;
}
}
.mv_inner{
	position: relative;
}
.activity{
	animation: activity 3s ease-in-out infinite alternate;
	transition: 1.5s ease-in-out;
	position: absolute;
	bottom: -5em;
	right: 5%;
	width: 50%;
	max-width: 300px;
}
@keyframes activity {
	0% {
		transform:translate(0, 0) rotate(-7deg);
	}
	50% {
		transform:translate(0, -7px) rotate(0deg);
	}
	100% {
		transform:translate(0, 0) rotate(7deg);
	}
}
/*===============================
	footer
===============================*/
footer{
	background: #333;
	color: #FFF;
	padding: 1em 0 3em;
}
/*===============================
	pagetop
===============================*/
#page_top {
	position: fixed;
	display:block;
	width:auto;
	width: 15%;
	max-width:180px;
	z-index:50000;
	bottom:3%;
	right:3%;
}

/*=================================================================================*/
/** 768px以上　タブレット縦　サイズ画面  **/
@media (min-width : 768px) {
/*===============================
	menur
===============================*/
.menu {
	right: -450px; /* ← 初期位置を右へ */
	width: 450px;
}
/*===============================
	pagetop
===============================*/
#page_tops {
	bottom:0.5em;
	right:1em;
}
}
/*=================================================================================*/
/** 1200px以上　タブレット縦　サイズ画面  **/
@media (min-width : 1200px) {
/*===============================
	header
===============================*/
.header{
	padding: 2.1em; /* ← 高さはpaddingで作る */
}
}
@media (min-width : 1300px){ 
/*===============================
	header
===============================*/
.header{
	position: fixed;
	width: 100%;
	/*top: 3%;*/
	display: flex;
	justify-content: flex-end;
	padding: 2.02em 0 2.02em;
	z-index: 1000;
}
/*===============================
	menu
===============================*/
.menu-icon {
	padding: 1.5em 1em;
	width: 100px;
}
/*===============================
	mv
===============================*/
.mv_img{
	background-image: url(../img/top/mv.jpg);
	width: 100%;
	height: 100vh;     /* Dreamweaver向け */
	height: 100svh;    /* モダンブラウザ向け */
	margin: 0 auto;
}
.catch{
	bottom: 12%;
	width: 50%;
	max-width: 1000px;
}
.activity{
	bottom: -5.5em;
	right: 5%;
	width: 20%;
	max-width: 455px;
}
}