@charset "utf-8";

/* --------- --------- --------- --------- header --------- */
header {
	width: 100%;
	margin: 0 auto;
	padding: .5rem 1rem;
	height: 80px;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	background-color: #f8efe2c0;
	backdrop-filter: blur(4px);
}
header .header {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	width: 100%;
	max-width: 992px;
	margin: 0 auto;
	position: relative;
}
header .header > a {
	display: flex;
	flex-direction: column;
	width: 220px;
	margin-right: 2rem;
	position: relative;
}
header .header > a span {
	display: inline-block;
	margin-left: 4rem;
	font-size: .625rem;
	font-weight: 700;
	text-align: center;
}
header .header > a img {
	width: 100%;
}
header .header > nav {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	flex: 1;
	position: relative;
}
header .header > nav ul.main_menu {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 2rem;
	flex: 1;
}
header .header > nav ul.main_menu li a {
	font-size: .875rem;
	font-weight: 900;
	line-height: 1;
}
header .header > nav ul.user_menu {
	display: flex;
	margin-left: 2rem;
	flex-direction: row;
	flex-wrap: nowrap;
	position: relative;
	right: -1rem;
}
header .header > nav ul.user_menu li a {
	display: flex;
	flex-direction: column;
	width: 60px;
}
header .header > nav ul.user_menu li a > img {
	width: 28px;
	margin: 0 auto;
}
header .header > nav ul.user_menu li a > span {
	display: inline-block;
	margin-top: .5rem;
	font-size: .75rem;
	font-weight: 700;
	text-align: center;
	line-height: 1;
	transform: scale(.9);
}
header .header > nav ul.user_menu li.cart {
	position: relative;
}
header .header > nav ul.user_menu li.cart .cart_item_count {
	width: 1.125rem;
	height: 1.125rem;
	background-color: #e58f16;
	border-radius: 50%;
	position: absolute;
	top: -4px;
	left: 5px;
	transition: opacity .2s;
}
header .header > nav ul.user_menu li.cart .cart_item_count.hidden {
	opacity: 0;
}
header .header > nav ul.user_menu li.cart .cart_item_count span {
	display: inline-block;
	width: 100%;
	color: #ffffff;
	font-size: .625rem;
	font-weight: 800;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(90%);
	transition: opacity .2s, background-color .2s;
}
header .header > .mobile {
	flex: 1;
	display: none;
	align-items: center;
	width: 100%;
	position: relative;
}
header .header > .mobile > span {
	flex: 1;
	display: inline-block;
	padding: .5rem 1rem;
	font-size: .75rem;
	font-weight: 700;
}
header .header > .mobile > ul.user_menu {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-end;
	position: relative;
}
header .header > .mobile > ul.user_menu li a {
	display: flex;
	flex-direction: column;
	width: 52px;
}
header .header > .mobile > ul.user_menu li a > img {
	width: 24px;
	margin: 0 auto;
}
header .header > .mobile > ul.user_menu li a > span {
	display: inline-block;
	margin-top: .25rem;
	font-size: .75rem;
	font-weight: 700;
	text-align: center;
	line-height: 1;
	transform: scale(.9);
}
header .header > .mobile > ul.user_menu li.mypage a {
	width: 60px;
}
header .header > .mobile > ul.user_menu li.cart {
	position: relative;
}
header .header > .mobile > ul.user_menu li.cart .cart_item_count {
	width: 1.125rem;
	height: 1.125rem;
	background-color: #e58f16;
	border-radius: 50%;
	position: absolute;
	top: -4px;
	left: 5px;
	transition: opacity .2s;
}
header .header > .mobile > ul.user_menu li.cart .cart_item_count.hidden {
	opacity: 0;
}
header .header > .mobile > ul.user_menu li.cart .cart_item_count span {
	display: inline-block;
	width: 100%;
	color: #ffffff;
	font-size: .625rem;
	font-weight: 800;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(90%);
	transition: opacity .2s, background-color .2s;
}
header .header > .mobile > div {
	width: 3.5rem;
}
header .header > .mobile > div label {
	display: block;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0 .5rem;
	position: relative;
	background-color: #53340a20;
	border-radius: .5rem;
	cursor: pointer;
}
header .header > .mobile > div label::before {
	content: '';
	width: 1.5rem;
	height: 2px;
	background-color: #53340a;
	border-radius: 1px;
	position: absolute;
	top: 10px;
	left: 8px;
}
header .header > .mobile > div label::after {
	content: '';
	width: 1.5rem;
	height: 2px;
	background-color: #53340a;
	border-radius: 1px;
	position: absolute;
	top: 17px;
	left: 8px;
}
header .header > .mobile > div label input {
	display: none;
	pointer-events: none;
}
header .header > .mobile > div label span {
	font-size: .75rem;
	font-weight: 800;
	transform-origin: left center;
	transform: scale(71%);
	position: absolute;
	top: 21px;
	left: 7px;
}
#mobile_menu {
	display: none;
	width: 100%;
	height: 100vh;
	margin: 0;
	position: fixed;
	top: 0;
	right: -100%;
	z-index: 9998;
	background-color: #ffffffe0;
	transition: right .2s, opacity .2s;
}
#mobile_menu > ul {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-top: 60px;
}
#mobile_menu > ul li {
	background-color: #fffffff0;
	border-bottom: solid 1px #53340a;
}
#mobile_menu > ul li.signin {
	display: none;
}
#mobile_menu > ul li a {
	display: block;
	padding: 1.75rem 1rem;
	font-size: .875rem;
	font-weight: 900;
	line-height: 1;
}
@media (max-width: 768px) {
	header {
		width: calc(100% + 2px);
		height: 60px;
		padding: 0;
		background-color: #f8efe2c0;
		backdrop-filter: blur(4px);
		left: calc(50% - 1px);
	}
	header .header > a {
		align-items: center;
		width: initial;
		margin: 0;
		padding: .75rem;
	}
	header .header > a span {
		display: none;
	}
	header .header > a img {
		width: 180px;
	}
	header .header > nav {
		display: none;
	}
	header .header > .mobile {
		display: flex;
	}
	#mobile_menu {
		display: block;
		right: -100vw;
		opacity: 0;
	}
	#mobile_menu.active {
		right: 0;
		opacity: 1;
	}
}
@media (max-width: 640px) {
	header .header > .mobile > span {
		display: none;
	}
	header .header > .mobile > ul.user_menu {
		flex: 1;
	}
}
@media (max-width: 480px) {
	header .header > .mobile > ul.user_menu li.signin {
		display: none;
	}
	#mobile_menu > ul li.signin {
		display: list-item;
	}
}
