@charset "utf-8";
/* CSS Document */

#open_menu,
#sp_box {
	display: none;
}

#spicon span {
	border-bottom: 2px solid #6b5031;
}

#spicon:before {
	color: #6b5031;
}

#center_box {
	background-color: #fff8e8;
}

#spicon {
	position: fixed;
	top: 20px;
	right: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 56px;
	height: 56px;
	padding: 18px 10px;
	border: 1px solid #6b5031;
	border-radius: 50%;
	background: rgba(255, 248, 232, 0.94);
	z-index: 9999;
	cursor: pointer;
}

#spicon:before {
	display: none;
}

#spicon span {
	width: 100%;
	transition: 0.3s ease-in-out;
}

#spicon.m_active span:nth-child(1) {
	transform: translateY(8px) rotate(-45deg);
}

#spicon.m_active span:nth-child(2) {
	opacity: 0;
}

#spicon.m_active span:nth-child(3) {
	transform: translateY(-7px) rotate(-135deg);
}

#spicon.m_active:before {
	content: "CLOSE";
}

#open_menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 248, 232, 0.98);
	z-index: 9990;
}

#center_box {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	overflow-y: auto;
	padding-top: 120px;
	padding-bottom: 80px;
}

.spmenu_inner {
	width: 88%;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.spmenu_head {
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(107, 80, 49, 0.18);
}

.spmenu_logo {
	width: 100%;
	max-width: 280px;
	line-height: 0;
}

.spmenu_logo img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.spmenu_body {
	padding-top: 40px;
}

.spmenu_list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.spmenu_item > a,
.sp_switch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: "Zen Maru Gothic", sans-serif;
	font-size: 28px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.56px;
	color: inherit;
	margin: 15px 0;
}

.sp_switch {
	cursor: pointer;
}

.sp_arrow {
	position: relative;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-left: 20px;
	transition: transform 0.3s ease-in-out;
}

.sp_arrow:before,
.sp_arrow:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: #6b5031;
	transform: translate(-50%, -50%);
	transition: opacity 0.3s ease-in-out;
}

.sp_arrow:before {
	width: 16px;
	height: 2px;
}

.sp_arrow:after {
	width: 2px;
	height: 16px;
}

.spmenu_item.is_open .sp_arrow {
	transform: rotate(180deg);
}

.spmenu_item.is_open .sp_arrow:after {
	opacity: 0;
}

.sp_sub_menu {
	display: none;
	padding-top: 20px;
	padding-left: 24px;
}

.spmenu_subitem + .spmenu_subitem {
	margin-top: 16px;
}

.spmenu_subitem a {
	font-family: "Zen Maru Gothic", sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.36px;
	color: inherit;
}

.spmenu_btns {
	display: flex;
	gap: 16px;
	margin-top: 50px;
}

.spmenu_btns .header_btn {
	flex-grow: 1;
}

.spmenu_btns .header_btn a {
	justify-content: center;
	min-width: 0;
}

.spmenu_info {
	margin-top: 50px;
	padding-top: 40px;
	border-top: 1px solid rgba(107, 80, 49, 0.18);
}

.spmenu_address,
.spmenu_tel a {
	font-family: "Zen Maru Gothic", sans-serif;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.34px;
	color: inherit;
}

body.spmenu_open {
	overflow: hidden;
}

@media only screen and (max-width: 1024px) {
	#sp_box {
		display: block;
	}
}

@media only screen and (max-width: 768px) {
	#spicon {
		top: 14px;
		right: 25px;
	}

	#center_box {
		padding-top: 90px;
		padding-bottom: 50px;
	}


	.spmenu_head {
		padding-bottom: 30px;
	}

	.spmenu_logo {
		max-width: 220px;
	}

	.spmenu_body {
		padding-top: 30px;
	}

	.spmenu_list {
		gap: 20px;
	}

	.spmenu_item > a,
	.sp_switch {
		font-size: 22px;
	}

	.sp_arrow {
		width: 18px;
		height: 18px;
		margin-left: 16px;
	}

	.sp_arrow:before {
		width: 14px;
	}

	.sp_arrow:after {
		height: 14px;
	}

	.spmenu_btns {
		flex-direction: column;
		margin-top: 40px;
	}

	.sp_sub_menu {
		padding-top: 16px;
		padding-left: 18px;
	}

	.spmenu_subitem a {
		font-size: 17px;
	}

	.spmenu_info {
		margin-top: 40px;
		padding-top: 30px;
	}

	.spmenu_address,
	.spmenu_tel a {
		font-size: 16px;
	}
}
