@charset "utf-8";
/* CSS Document */

#open_menu,
#sp_box {
	display: none;
}

#spicon {
	position: fixed;
	top: 18px;
	right: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 64px;
	height: 64px;
	padding: 19px 15px;
	border: 1px solid #d8aa4e;
	border-radius: 50%;
	background-color: #ffffff;
	box-shadow: 0 8px 20px rgba(51, 51, 51, 0.12);
	cursor: pointer;
	z-index: 9999;
}

#spicon:before {
	display: none;
}

#spicon span {
	width: 100%;
	border-bottom: 2px solid #e86e30;
	transition: 0.3s ease-in-out;
}

#spicon.m_active {
	border-color: #e86e30;
	background-color: #e86e30;
}

#spicon.m_active span:nth-child(1) {
	transform: translateY(10px) rotate(-45deg);
	border-color: #ffffff;
}

#spicon.m_active span:nth-child(2) {
	opacity: 0;
}

#spicon.m_active span:nth-child(3) {
	transform: translateY(-11px) rotate(-135deg);
	border-color: #ffffff;
}

#open_menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100dvh;
	background-color: #ffffff;
	z-index: 9990;
}

#center_box {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100dvh;
	padding: 110px 32px 48px;
	overflow-y: auto;
	background-color: transparent;
}

.spmenu_in {
	width: 100%;
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

.spmenu_logo img {
	width: 220px;
	height: auto;
}

.spmenu_list {
	margin-top: 40px;
	border-top: 1px solid #ebe5de;
}

.spmenu_item {
	padding-top: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid #ebe5de;
}

.spmenu_item > a,
.spmenu_title {
	display: block;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.08em;
	color: #333333;
}

.spmenu_item_has_child .spmenu_title {
	position: relative;
	width: 100%;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 36px;
	border: 0;
	background-color: transparent;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.spmenu_item_has_child .spmenu_title:after {
	content: "";
	position: absolute;
	top: 15px;
	right: 7px;
	width: 10px;
	height: 10px;
	border-right: 2px solid #e86e30;
	border-bottom: 2px solid #e86e30;
	transform: rotate(45deg);
	transition: transform 0.3s ease-in-out;
}

.spmenu_item_open .spmenu_title:after {
	transform: rotate(-135deg);
}

.spmenu_sub_list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 26px;
	margin-top: 0;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	transition: margin-top 0.3s ease-in-out, max-height 0.3s ease-in-out, opacity 0.2s ease-in-out;
}

.spmenu_item_open .spmenu_sub_list {
	margin-top: 24px;
	max-height: 900px;
	opacity: 1;
	pointer-events: auto;
}

.spmenu_sub_list li {
	width: 100%;
}

.spmenu_sub_list li a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding-right: 14px;
	padding-left: 14px;
	padding-top: 14px;
	padding-bottom: 14px;
	min-height: 108px;
	border-radius: 14px;
	background-color: #fbfbfb;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0.08em;
	color: #333333;
	height: 100%;
}

.spmenu_sub_top {
	grid-column: 1 / -1;
}

.spmenu_sub_list .spmenu_sub_top a {
	min-height: auto;
	padding-top: 16px;
	padding-bottom: 16px;
	background-color: #f9f4f0;
}

.spmenu_sub_list .spmenu_sub_top p {
	color: #e86e30;
}

.spmenu_sub_list .hov_icon {
	width: 38px;
	height: 38px;
	flex-shrink: 0;
}

.spmenu_sub_list .hov_icon img {
	width: 100%;
	height: auto;
}

.spmenu_sub_list li p {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.08em;
	color: #333333;
	text-align: center;
}

.spmenu_contact {
	margin-top: 40px;
	padding: 30px 32px 32px;
	border-radius: 30px;
	background-color: #f9f4f0;
}

.spmenu_contact_text {
	font-size: 14px;
	font-weight: 300;
	line-height: 30px;
	letter-spacing: 0.08em;
}

.spmenu_tel a {
	display: block;
	margin-top: 8px;
	font-family: "Quicksand", sans-serif;
	font-size: 34px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.05em;
	color: #e86e30;
}

.spmenu_web {
	margin-top: 22px;
}

.spmenu_web a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	border-radius: 28px;
	background-color: #d8aa4e;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.06em;
	color: #ffffff;
}

@media only screen and (max-width: 1024px) {
	#sp_box {
		display: block;
	}

	.header .h_right {
		display: none;
	}
}

@media only screen and (max-width: 768px) {
	#spicon {
		top: 14px;
		right: 15px;
		width: 58px;
		height: 58px;
		padding: 17px 13px;
	}

	#spicon.m_active span:nth-child(1) {
		transform: translateY(9px) rotate(-45deg);
	}

	#spicon.m_active span:nth-child(3) {
		transform: translateY(-10px) rotate(-135deg);
	}

	#center_box {
		padding: 90px 20px 36px;
	}

	.spmenu_logo img {
		width: 190px;
	}

	.spmenu_list {
		margin-top: 28px;
	}

	.spmenu_item {
		padding-top: 22px;
		padding-bottom: 22px;
	}

	.spmenu_item > a,
	.spmenu_title {
		font-size: 20px;
		line-height: 1.6;
	}

	.spmenu_item_has_child .spmenu_title {
		padding-right: 30px;
	}

	.spmenu_item_has_child .spmenu_title:after {
		top: 12px;
		right: 4px;
		width: 9px;
		height: 9px;
	}

	.spmenu_sub_list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.spmenu_item_open .spmenu_sub_list {
		margin-top: 18px;
		max-height: 900px;
	}

	.spmenu_sub_list li a {
		font-size: 16px;
		line-height: 1.7;
		gap: 8px;
		padding-right: 12px;
		padding-left: 12px;
		padding-top: 12px;
		padding-bottom: 12px;
		min-height: 96px;
	}

	.spmenu_sub_list .spmenu_sub_top a {
		min-height: auto;
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.spmenu_sub_list .hov_icon {
		width: 34px;
		height: 34px;
	}

	.spmenu_sub_list li p {
		font-size: 16px;
		line-height: 1.5;
	}

	.spmenu_contact {
		margin-top: 28px;
		padding: 24px 20px;
		border-radius: 24px;
	}

	.spmenu_tel a {
		font-size: 28px;
	}

	.spmenu_web a {
		min-height: 52px;
		font-size: 16px;
	}
}
