@charset "UTF-8";

/**
 * オリジナルcss
 */

.header_hm_button_wrap {
	display: none;
}

.hm_button {
	position: relative;
	z-index: 200;
	width: 36px;
	aspect-ratio: 20 / 16;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: space-between;

	.hm_button1,
	.hm_button2,
	.hm_button3 {
		display: block;
		width: 100%;
		height: 3px;
		border-radius: 100vw;
		background: var(--c2);
		transition: opacity 0.4s, transform 0.3s;
		opacity: 1;
		transform-origin: center;
	}

	/* スクロール時ハンバーガーメニューの色が変わる場合はここ */
	.hm_button.scroll .hm_button1,
	.hm_button.scroll .hm_button2,
	.hm_button.scroll .hm_button3 {
		/* background: var(--c1); */
	}

	&.hm_button_active .hm_button1 {
		transform: translateY(13px) rotate(45deg);
	}

	&.hm_button_active .hm_button2 {
		transform: translateX(5px);
		opacity: 0;
	}

	&.hm_button_active .hm_button3 {
		transform: translateY(-13px) rotate(-45deg);
	}
}


.hm_main {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 100;
	visibility: hidden;
	background: rgba(0, 0, 0, .7);
	transition: .6s;
	opacity: 0;
}

.hm_main_active {
	visibility: visible;
	opacity: 1;
}

.hm_main_inner {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	right: -100%;
	transition: .6s;
}

.hm_main_active .hm_main_inner {
	right: 0;
}

.hm_blank {
	width: 50%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.hm_body {
	background: #fff;
	max-width: 480px;
	width: 90%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	overflow-y: auto;
	padding: 16px 40px 10px 40px;
}

.hm_main_active .hm_body {
	right: 0;
}

.hm_logo {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 30px;

	img {
		width: auto;
		height: 36px;
	}
}

.hm_list {
	/* margin-left: 12px; */
	border-top: 1px solid #000;
}

.hm_menu_link a {
	text-decoration: none;
	display: block;
	padding: 6px 12px;
	border-bottom: 1px solid #000;
}

.hm_menu_link a:hover {
	background: rgba(0, 0, 0, .1);
}

.hm_line_icon {
	margin-top: 40px;
	line-height: 1.2;

	a {
		max-width: 320px;
		width: 100%;
		margin: 0 auto;
		background-color: #06C755;
		padding: 8px 16px;
		border-radius: 12px;
		color: #fff;
		text-decoration: none;
		font-size: 1.6rem;
		line-height: 1;
		font-weight: bold;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	a img {
		margin-right: 4px;
		width: 32px;
		height: 100%;
		object-fit: contain;
	}

}

.sns_area {
	margin-top: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 40px;
}

.sns_area a {
	display: block;
	width: 48px;
	aspect-ratio: 1;
}


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



@media screen and (max-width:1280px) {
	.header_hm_button_wrap {
		display: block;
	}
}

@media screen and (max-width:900px) {
	.hm_blank {
		display: none;
	}
}

@media screen and (max-width:768px) {
	.hm_button {
		width: 30px;

		&.hm_button_active .hm_button1 {
			transform: translateY(10px) rotate(45deg);
		}


		&.hm_button_active .hm_button3 {
			transform: translateY(-11px) rotate(-45deg);
		}
	}

	.hm_body {
		padding: 16px 20px 10px 20px;
	}
}

@media screen and (max-width:480px) {
	.hm_button {
		width: 20px;

		.hm_button1,
		.hm_button2,
		.hm_button3 {
			height: 2px;
		}

		&.hm_button_active .hm_button1 {
			transform: translateY(7px) rotate(45deg);
		}

		&.hm_button_active .hm_button3 {
			transform: translateY(-7px) rotate(-45deg);
		}
	}

	.hm_body {
		padding: 10px 16px 10px 16px;
	}

	.hm_logo img {
		height: 24px;

	}
}