.u-flex {
	display: flex;
	justify-content: center;
	align-items: end;
	gap: 10px;
}

.header-logo_sns {
	max-width: 30px;
	height: auto;
}

.logo .header-logo_sns:hover {
	opacity: 0.5;
	transition: linear;
}

.header-container {
	width: 1360px;
	max-width: 90vw;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	box-sizing: border-box;
	height: 100px;
	align-items: center;
}

#hanburger {
	display: none;
	/* チェックボックスを非表示 */
}

.menu_button {
	/* ボタンのスタイル */
	width: 50px;
	/* 幅 */
	height: 50px;
	/* 高さ */
	position: fixed;
	top: 20px;
	right: 20px;
	/* 背景色 */
	display: none;
	z-index: 10;
}

.menu_button::before {
	/* アイコンのスタイル */
	font-family: "Font Awesome 5 Free";
	content: "\f0c9";
	/* アイコン「３本線」 */
	font-weight: 900;
	position: absolute;
	color: #fff;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#hanburger:checked+.menu_button::before {
	/* アイコンのスタイル（チェック済み） */
	content: "\f00d";
	/* アイコン「×印」 */
}

.global_menu {
	height: 80%;
	top: 0;
	left: 0;
}

#hanburger:checked~.global_menu {
	/* メニュー全体のスタイル（チェック済） */
	visibility: visible;
	/* メニューを表示 */
}

.global_menu a {
	/* 各項目のスタイル */
	display: block;
	width: 100%;
}

.global_menu a:hover {
	/* 各項目のスタイル（ホバー時） */
}

.menu:not(:last-child) {
	margin-bottom: 20px;
}

.menu>a {
	/* 親項目のスタイル */
	font-weight: bold;
	padding: 10px 1rem;
}

.child_menu>li>a {
	padding: 10px 30px;
	font-size: 0.8em;
}



/* コンテンツを中央揃え */


.entry-button {
	background-color: #1F9884;
	color: #fff !important;
	border-radius: 5px;
	padding: 10px 20px;
	font-weight: bold;
	text-align: center;
	transition: background-color 0.3s ease;
	text-decoration: none;
	list-style: none;
	font-size: 0.85rem;
}


.entry-button:hover {
	background-color: #FBD224;
	color: #31130B !important;
}




.logo {
	flex: 0 0 auto;
}

.logo img {
	max-height: 40px;
	/* 必要に応じて調整 */
	width: 100%;
}


/* PC閲覧時のメガメニュー */

.menu {
	height: 100%;
	display: flex !important;
	align-items: center;
	width: fit-content;
}



.global_menu {
	/* メニュー全体のスタイル */
	position: relative;
	display: flex;
	justify-content: flex-end;
	padding: 0;
	color: #fff;
	/* 文字色 */
	/* 背景色 */
	visibility: visible;
}


.global_menu_pc {
	display: flex;
	width: 100%;
}



.menu:not(:last-child) {
	margin-bottom: 0;
}

.menu>a {
	/* 親項目のスタイル */
	font-weight: normal;
	padding: 10px 1rem;
	text-decoration: none;
	color: #31130B;

}



.child_menu {
	/* 下層メニューのスタイル */
	width: 100%;
	position: absolute;
	top: 70px;
	/* topを0に */
	left: 0;
	padding: 4rem;
	background: #1F9884;
	/* 背景色 */
	visibility: hidden;
	/* 下層メニューを非表示 */
	opacity: 0;
	transition: 1.5s top, 0.5s opacity;
	/* アニメーション設定 */
	z-index: 999;
	border-radius: 20px;
	display: flex;
	justify-content: space-between;
}

.cm-m {
	margin: 0.5rem 0;
	color: #fff;
}


.child_menu div {
	width: 20%;
	text-align: left;
}

.child_menu div a {
	text-decoration: none;
	color: #fff;
}

.child_menu_nav {
	display: flex !important;
	flex-wrap: wrap;
	width: 70%;
	gap: 20px;
	/* 行と行の間(縦方向)の余白 */

}

.child_menu_nav li {
	list-style: none;
	width: 30%;
	overflow: hidden;
	/* 拡大時に親要素をはみ出さないように設定 */
	transition: transform 0.3s ease;
	/* なめらかなアニメーション */
}

.child_menu_nav li a {
	color: #fff;
	text-decoration: none;
	overflow: hidden;
	font-size: 0.8rem;
}

.child_menu_nav li img {
	width: 100%;
	border-radius: 16px;
	transition: transform 0.3s ease;
	/* ホバー時の拡大アニメーション */
	height: 100%;

}

.child_menu_nav li a:hover {
	opacity: 0.5;

}

.menu:hover .child_menu {
	/* 下層メニューのスタイル（親項目ホバー時） */
	visibility: visible;
	/* 下層メニューを表示 */
	opacity: 1;
}

.menu-text {
	position: relative;
	/* 擬似要素の基準 */
	display: inline-block;
	/* テキスト幅に限定 */
	white-space: nowrap;
	font-size: 0.87rem;
	font-weight: 600;
}

.menu-text::after {
	content: "";
	/* 擬似要素を生成 */
	position: absolute;
	bottom: -1rem;
	/* テキストのすぐ下に配置 */
	left: 0;
	width: 0;
	height: 4px;
	background-color: #1F9884;
	transition: width 0.3s ease;
	/* アニメーションでスムーズに表示 */
}

.menu:hover .menu-text::after {
	width: 100%;
	/* ホバー時にテキスト幅いっぱいに拡大 */
}



.child_menu>li>a {
	padding: 10px 30px;
}

.child_menu>li>a:hover {
	background: unset;
	color: #fff;
}


#modal_nav_overlay {
	display: none;
}


@media screen and (max-width: 1260px) {

	.tab {
		display: block !important;
	}

	#hanburger:not(:checked)~.global_menu {
		overflow: auto;
	}

	#hanburger {
		display: none;
		/* チェックボックスを非表示 */
	}

	.menu_button {
		/* ボタンのスタイル */
		width: 50px;
		/* 幅 */
		height: 50px;
		/* 高さ */
		position: fixed;
		top: 20px;
		right: 20px;
		background: #fff;
		/* 背景色 */
		z-index: 999;
		display: block !important;
	}

	.menu_button::before {
		/* アイコンのスタイル */
		font-family: "Font Awesome 5 Free";
		content: "\f0c9";
		/* アイコン「３本線」 */
		font-weight: 900;
		position: absolute;
		color: #333;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	#hanburger:checked+.menu_button::before {
		/* アイコンのスタイル（チェック済み） */
		content: "\f00d";
		/* アイコン「×印」 */
		z-index: 999;
	}

	.global_menu {
		/* メニュー全体のスタイル */
		visibility: hidden;
		/* メニューを非表示 */
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		padding: 30px;
		color: #333;
		/* 文字色 */
		background: #fff;
		/* 背景色 */
		overflow-y: scroll;
		text-align: center;
		align-content: center;
		z-index: 998;
	}

	.global_menu_pc {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		margin: 0 auto;
	}

	#hanburger:checked~.global_menu {
		/* メニュー全体のスタイル（チェック済） */
		visibility: visible;
		/* メニューを表示 */
		list-style: none;
	}

	.global_menu a {
		/* 各項目のスタイル */
		display: block;
		width: 100%;
		text-align: left;
		margin-left: 1rem;
		font-size: 0.8rem;
		text-decoration: none;
		color: #31130B;
		margin-top: 0.5rem;

	}



	.menu:not(:last-child) {
		margin-bottom: 20px;
		height: auto !important;

	}

	.menu>a {
		/* 親項目のスタイル */
		font-weight: bold;
		padding: 0;
	}

	.child_menu_sp {
		list-style: none;
	}

	.child_menu>li>a {
		padding: 10px 30px;
		font-size: 0.8em;
	}


	.menu:hover .child_menu {
		visibility: hidden;
	}

	.entry-button {
		display: none !important;
	}

	.menu {
		display: block !important;
	}

}