#visual {
  background-image: url(../images/recipe/visual-bg.jpg);
}
#visual .title-1:before {
  content: 'Recipe';
}

#main .recipe .list .item .date {
  width: 7em;
  font-family: 'Roboto',sans-serif;
  font-weight: 700;
}
#main .recipe .list .item .category {
  width: 7em;
  text-align: center;
  color: #fff;
  line-height: 1.33;
  padding: .3em 0;
  background: #ccc;
  margin: 0 1em;
  border-radius: 5px;
}

#main .recipe .list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  list-style: none;
  padding: 0;
}
#main .recipe .list li {
  background: #ff1f64; /* 背景色 */
  border-radius: 8px;
  flex: 0 0 calc(50% - 15px); /* 2列、gap30pxの半分を引く */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #fff;
}
#main .recipe .list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
#main .recipe .list li a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.5em 1em;
  height: 100%;
  font-weight: 700;
}
@media (max-width:768px) {
  #main .recipe .list li {
    flex: 0 0 100%;
  }
}

.page-single #main .recipe .main {
  width: calc(100% - 240px - 70px);
}
.page-single #main .recipe .main .header .title-2 {
  margin-bottom: .5em;
}
.page-single #main .recipe .main .header .meta {
  margin-bottom: 1.5em;
}
.page-single #main .recipe .main .header .meta .category {
  margin-left: .4em;
}
.page-single #main .recipe .main .header .meta .category > * {
  display: inline-block;
  color: #fff;
  line-height: 1;
  font-size: 1.3rem;
  padding: .5em;
  border-radius: 5px;
}
.page-single #main .recipe .side {
  width: 240px;
}
.page-single #main .recipe .side .title-3 {
  margin-bottom: 0;
}
.page-single #main .recipe .side .side-list {
  display: block;
}
.page-single #main .recipe .side .side-list .item {
  display: block;
  padding: 1.25em 0;
  border-bottom: 1px solid var(--c-gray);
}
.page-single #main .recipe .side .side-list .item:hover {
  color: var(--c-blue);
}
.page-single #main .recipe .side .side-list .item .meta {
  line-height: 1;
  margin-bottom: .75em;
}
.page-single #main .recipe .side .side-list .item .meta time {
  display: inline-block;
  font-size: 1.4rem;
  font-family: 'Roboto',sans-serif;
  font-weight: 700;
  margin-right: .5em;
}
.page-single #main .recipe .side .side-list .item .meta .category {
  display: inline-block;
}
.page-single #main .recipe .side .side-list .item .meta .category > * {
  font-size: 1.3rem;
  color: #fff;
  line-height: 1;
  padding: .25em 1em;
  border-radius: 5px;
}
.page-single #main .recipe .side .side-list .item .title {
  font-size: 1.4rem;
  line-height: 1.78;
  margin-top: 0;
}
.page-single #main .recipe .side .archive .title-3 {
  margin-bottom: .5em;
}
.page-single #main .recipe .side .archive ul li a {
  display: block;
  padding: .25em 0;
}
.page-single #main .recipe .side .archive ul li a:hover {
  color: var(--c-blue);
}
@media (max-width:1024px) {
  .page-single #main .recipe .main {
    width: calc(100% - 240px - 30px);
  }
}
@media (max-width:768px) {
  .page-single #main .recipe .main {
    width: 100%;
  }
  .page-single #main .recipe .side {
    width: 100%;
    margin-top: 50px;
  }
}