@charset "utf-8";

.akazukin {
  text-align: center;
}

.menuBox {
	display: flex;
	margin-bottom: 40px;
	align-items: flex-start;
	align-content: flex-start;
	gap: 2vw;
	align-self: stretch;
	flex-wrap: wrap;
	justify-content: center;
}
.menuBox li {
	color: var(--red);
	background: var(--white);
 border: 1px solid var(--red);
	display: flex;
	height: 30px;
	padding: 0 14px 4px;
	align-items: center;
	border-radius: 4px;
}
.menuBox li.current a:hover {
	color: var(--white);
}
.menuBox li:not(.current) a,
.menuBox li:not(.current) a:hover{
	color: var(--red);
}
.menuBox li.current {
	color: var(--white);
	background: var(--red);
}
.menuBox li::hover {
	cursor: pointer;
}
.recipe__list {
	container: layout inline-size;
	display: grid;
	grid-template-rows: masonry;
	grid-template-columns: 1fr;
	gap:1rem;
}
.recipe__text {
	display: flex;
  flex-direction: column;
    width: 100%;
}
.datetime {
	text-align: right;
}
.recipe__item img {
  width: 100%;
  height: auto;
  object-fit: cover;
	transition: transform .6s ease;
}
.recipe__item:hover img {
	transform: scale(1.1);
}

.recipe__item {
  overflow: hidden;
	display: flex;
	padding: 1rem;
	flex-direction: column;
	align-items: center;
	gap: 1vw;
	flex-shrink: 0;
	border-radius: 10px;
	border: 1px dashed var(--gray);
	background: var(--white);
}

@container (width >= 300px){
	.recipe__list {
		grid-template-columns: 1fr 1fr;
	}
}
@container (width >= 768px){
	.recipe__list {
		grid-template-columns: 1fr 1fr 1fr;
	}
}
@container (width >= 1024px){
	.recipe__list {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}
@container (width >= 1440px){
	.recipe__list {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	}
}


.more {
	padding: 2px 8px;
}
.more::hover {
	color: var(--red);
}

.more::after {
	font-family: "Font Awesome 7 Free";
	content: '\f054';
	font-weight: 900;
	padding-left: 5px;
}
.recipe__item:hover {
	border-color: var(--red);
	opacity: 0.4;
	background: var(--white);
	cursor: pointer;
}

.recipe__txt {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end;
	gap:1rem;
	align-self: stretch;
}
.recipe__detail {
	container: layout inline-size;
	margin: 20px 0;	
}
.datetime {
	margin-top: 1rem;
}
.detail__txt {
	text-align: left;
		margin: 20px 0;
}
@container (min-width: 768px) {
	.recipe__detail {
		container: layout inline-size;
		margin: 20px 0;
		display: flex;
    justify-content: center;
		gap:40px;
	}
	.detail__txt {
		margin: 0;
    width: 40%;
	}
}
.subttl__rescipe {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
}
.subttl__txt {
	margin: 1em 0;
}