@charset "utf-8";
/* CSS Document */

.recipe-group {
	display: flex;
	margin: 0 auto 2em;
	flex-wrap: wrap;
	gap: 0 5px;
/*  max-width: 500px; */
	width: 100%;
}

.recipe-group img {
	width: 100%;
}

.recipe-group > label {
	flex: 1 1;
	order: -1;
	opacity: 0.5;
	min-width: 70px;
	padding: 2rem 1rem;
	border-radius: 10px 10px 0 0;
	background-color: #fff;
	color: #0e0e0e;
	font-size: 2.5rem;
	text-align: center;
	cursor: pointer;
	margin: 0;
	border: solid 3px;
}

.recipe-group > label:first-child {
	border-color: #84b87a #84b87a #fff;
}

.recipe-group > label:not(:first-child) {
	border-color: #f0c4e3 #f0c4e3 #fff;
}

.recipe-group > label:hover {
	opacity: 0.8;
}


.recipe-group label span::before {
	content: '';
	display: inline-block;
	width: 2.5rem;
	height: 2.5rem;
	background-size: contain;
	vertical-align: middle;
	margin-right: 1.25rem;
}

.recipe-group label span.recipe-cocoa::before {
	background-image: url(https://nobi-kids.jp/wp-content/themes/nobinobinokichi/images/nobiace_recipe/icon_crown.png);
}

.recipe-group label span.recipe-berry::before {
	background-image: url(https://nobi-kids.jp/wp-content/themes/nobinobinokichi/images/nobiace_recipe/icon_new.png);
	width: 4rem;
	height: 4rem;
}

.recipe-group input {
	display: none;
}

.recipe-group > div {
	display: none;
	width: 100%;
/*  padding: 1.5em 1em;
	background-color: #fff; */
}

.recipe-group label:has(:checked) {
	opacity: 1;
}

.recipe-group label:has(:checked):first-child {
	background-color: #84b87a;
	border-bottom-color: #84b87a;
	color: #fff;
}

.recipe-group label:has(:checked):not(:first-child) {
	background-color: #f0c4e3;
	border-bottom-color: #f0c4e3;
	color: #fff;
}

.recipe-group label:has(:checked) + div {
	display: block;
}

.sp {
  display: none !important;
}

@media screen and (max-width: 767px) {
	.recipe-group > label {
		font-size: 1.75rem;
	}
	.recipe-group label span::before {
		width: 1.75rem;
		height: 1.75rem;
	}
	.recipe-group label span.recipe-berry::before {
		width: 2.5rem;
		height: 2.5rem;
	}
	  .sp {
		display: block !important;
	  }
}