@charset "UTF-8";

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


.hm_button {
	display: none;
	position: relative;
	width: 20px;
	height: 20px;
	padding: 0;
	cursor: pointer;
	z-index: 200;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

.hm_button::after {
	content: "";
	display: block;
	width: 48px;
	height: 40px;
	/* background-color: #305F49; */
	border-radius: 0 0 0 24px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 1;
}

.hm_button.hm_button_active::after {
	background-color: #305F49;
}


.hm_button1,
.hm_button2,
.hm_button3 {
	display: block;
	position: absolute;
	width: 100%;
	height: 3px;
	left: 0;
	background: var(--c1);
	transition: .3s;
	border-radius: 100vw;
	z-index: 2;
}

.hm_button1 {
	top: 0;
}

.hm_button2 {
	top: 50%;
	transform: translateY(-50%);
}

.hm_button3 {
	bottom: 0;
}


.hm_button.hm_button_active {

	.hm_button1,
	.hm_button2,
	.hm_button3 {
		background: #fff;
	}

	.hm_button1 {
		transform: rotate(-45deg);
		top: 8px;
	}

	.hm_button2 {
		opacity: 0;
	}

	.hm_button3 {
		transform: rotate(45deg);
		bottom: 9px;
	}
}

/* トップページのメニューボタン */
.header_top {

	/* 通常色 */
	.hm_button {

		.hm_button1,
		.hm_button2,
		.hm_button3 {
			background: #fff;
		}
	}

	/* スクロール後 */
	.hm_button.scroll {

		.hm_button1,
		.hm_button2,
		.hm_button3 {
			background: var(--c1);
		}
	}

	/* アクティブ時 */
	.hm_button.hm_button_active {

		.hm_button1,
		.hm_button2,
		.hm_button3 {
			background: #fff;
		}
	}

}



.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 {
	position: absolute;
	top: 0;
	left: 0;
}

.hm_body {
	background: #fff;
	width: 50%;
	/* height: 100%; */
	position: absolute;
	top: 0;
	right: 0;
	overflow-y: auto;
	/* padding: 40px 40px 10px 40px; */
}

.hm_main_active .hm_body {
	right: 0;
}

.hm_logo {
	font-size: 22px;
	font-weight: bold;
	padding: 0 12px 4px;

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

.hm_list {
	/* margin-left: 12px; */
	/* border-top: 1px solid #000; */
	background-color: var(--c3);
}

.hm_menu {
	padding: 0 12px 24px;
}

.hm_menu_link a {
	font-family: var(--en);
	text-decoration: none;
	text-transform: uppercase;
	display: block;
	padding: 12px 24px 12px 12px;
	border-bottom: 1px solid #000;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

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

.hm_menu_link a::after {
	content: ">";
	font-size: 2.2rem;
}

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

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

	.hm_body {
		width: 100%;
	}

	.hm_button {
		display: flex;
	}
}

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