@charset "UTF-8";
/* p-contents
---------------------------------------------------------------------------- */
.p-contents {
  padding-block: 1rem 10rem;
}

.p-recipe-index-ttl-group {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  --line-height: 0.4rem;
  padding-bottom: 1rem;
  border-bottom: var(--line-height) solid #f5f5f5;
  position: relative;
  margin-bottom: 2rem;
}

.p-recipe-index-ttl-group::before {
  content: "";
  width: 20%;
  height: var(--line-height);
  background-color: #26563b;
  position: absolute;
  top: 100%;
  left: 0;
}

.p-recipe-index-ttl {
  font-size: 3.2rem;
  line-height: 1.5;
  font-weight: 700;
}

.p-recipe-index-ttl-num {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
}
.p-recipe-index-ttl-num em {
  font-size: 2.6rem;
  font-weight: 700;
  margin-inline: 0.5rem;
}

.p-recipe-index-category-wrap {
  padding-block: 2rem;
  padding-inline: 2rem;
  background-color: #f5f5f5;
  margin-bottom: 2rem;
}

.p-recipe-index-category-ttl {
  font-size: 2rem;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 1rem;
}

.p-recipe-index-category-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.p-recipe-index-category-link {
  display: block;
  padding-block: 0.5rem;
  padding-inline: 2rem;
  background-color: #fff;
  border-radius: 1rem;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
  color: #333;
  border: 1px solid #587f68;
}

@media (any-hover: hover) {
  .p-recipe-index-category-link:hover {
    background-color: #587f68;
    color: #fff;
  }
}
.p-contents-main-contents:not(:first-of-type) {
  margin-top: 4rem;
}

.p-contents-main-contents-ttl-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 0.2rem solid #959fa8;
  margin-bottom: 3rem;
}

.p-contents-main-contents-ttl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 2.8rem;
  line-height: 1.5;
  font-weight: 700;
}

.p-contents-main-contents-ttl-num {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
}
.p-contents-main-contents-ttl-num em {
  font-size: 2.6rem;
  font-weight: 700;
  margin-inline: 0.5rem;
}

.p-recipe-index-card-layout {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.p-recipe-card-index-link {
  display: grid;
  place-content: center;
  height: 100%;
  color: #333;
  text-align: center;
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.3);
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
  padding-block: 2rem;
  padding-inline: 1rem 3rem;
  position: relative;
}

.p-recipe-card-index-link::before {
  content: "";
  --arrow-size: 1.3rem;
  --arrow-border-width: 0.3rem;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  translate: 0 -50%;
  width: var(--arrow-size);
  height: var(--arrow-size);
  border-top: var(--arrow-border-width) solid currentColor;
  border-right: var(--arrow-border-width) solid currentColor;
  transform: rotate(45deg);
  transition: translate 0.3s;
}

@media (any-hover: hover) {
  .p-recipe-card-index-link:hover::before {
    translate: 0.5rem -50%;
  }
}
@media screen and (max-width: 767px) {
  .p-contents {
    padding-block: 2.6666666667vw 13.3333333333vw;
  }
  .p-recipe-index-ttl-group {
    --line-height: calc(4/375 * 100vw);
    padding-bottom: 2.6666666667vw;
    margin-bottom: 5.3333333333vw;
  }
  .p-recipe-index-ttl-group::before {
    width: 20%;
    height: var(--line-height);
  }
  .p-recipe-index-ttl {
    font-size: 5.8666666667vw;
  }
  .p-recipe-index-ttl-num {
    font-size: 3.7333333333vw;
  }
  .p-recipe-index-ttl-num em {
    font-size: 5.3333333333vw;
    margin-inline: 0.5333333333vw;
  }
  .p-recipe-index-category-wrap {
    padding-block: 2.6666666667vw;
    padding-inline: 2.6666666667vw;
    margin-bottom: 5.3333333333vw;
  }
  .p-recipe-index-category-ttl {
    font-size: 4.2666666667vw;
    margin-bottom: 2.6666666667vw;
  }
  .p-recipe-index-category-layout {
    gap: 2.6666666667vw;
  }
  .p-recipe-index-category-link {
    padding-block: 1.3333333333vw;
    padding-inline: 2.6666666667vw;
    border-radius: 2.6666666667vw;
    font-size: 3.7333333333vw;
  }
  .p-contents-main-contents:not(:first-of-type) {
    margin-top: 10.6666666667vw;
  }
  .p-contents-main-contents-ttl-group {
    padding-bottom: 2.6666666667vw;
    border-bottom: 0.5333333333vw solid #959fa8;
    margin-bottom: 4vw;
  }
  .p-contents-main-contents-ttl {
    font-size: 5.3333333333vw;
  }
  .p-contents-main-contents-ttl-num {
    font-size: 3.7333333333vw;
  }
  .p-contents-main-contents-ttl-num em {
    font-size: 4.8vw;
    margin-inline: 0.5333333333vw;
  }
  .p-recipe-index-card-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.6666666667vw;
  }
  .p-recipe-card-index-link {
    border-radius: 2.6666666667vw;
    box-shadow: 0 0 2.6666666667vw 0 rgba(0, 0, 0, 0.3);
    font-size: 3.7333333333vw;
    padding-block: 2.6666666667vw;
    padding-inline: 1.3333333333vw 5.3333333333vw;
  }
  .p-recipe-card-index-link::before {
    --arrow-size: calc(8/375 * 100vw);
    --arrow-border-width: calc(2/375 * 100vw);
    right: 2.6666666667vw;
    width: var(--arrow-size);
    height: var(--arrow-size);
    border-top: var(--arrow-border-width) solid currentColor;
    border-right: var(--arrow-border-width) solid currentColor;
  }
}
/* カテゴリ
-------------------------------------- */
.p-recipe-taxonomy-card-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.p-recipe-taxonomy-card-layout._row-1 {
  grid-template-columns: repeat(1, 1fr);
}

.p-recipe-taxonomy-card-link {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 0;
  height: 100%;
  color: #333;
  text-align: center;
  background-color: #fff;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.3);
}

.p-recipe-taxonomy-card-demo {
  display: grid;
  place-items: center;
  min-height: 20rem;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
  padding-block: 0;
  padding-inline: 0.5rem;
}
.p-recipe-taxonomy-card-demo iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.p-recipe-taxonomy-card-link-ttl {
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1.5;
  font-weight: 700;
  opacity: 1;
  transition: opacity 0.3s;
  padding-block: 1rem;
  background-color: #e4e4e4;
  position: relative;
}

.p-recipe-taxonomy-card-link-ttl::before {
  content: "";
  --arrow-size: 1.3rem;
  --arrow-border-width: 0.3rem;
  position: absolute;
  top: 50%;
  right: 2.5rem;
  translate: 0 -50%;
  width: var(--arrow-size);
  height: var(--arrow-size);
  border-top: var(--arrow-border-width) solid currentColor;
  border-right: var(--arrow-border-width) solid currentColor;
  transform: rotate(45deg);
  transition: translate 0.3s;
}

@media (any-hover: hover) {
  .p-recipe-taxonomy-card-link:hover .p-recipe-taxonomy-card-link-ttl {
    opacity: 0.7;
  }
  .p-recipe-taxonomy-card-link:hover .p-recipe-taxonomy-card-link-ttl::before {
    translate: 0.5rem -50%;
  }
}
.p-recipe-taxonomy-button {
  margin-top: 4rem;
}

@media screen and (max-width: 767px) {
  .p-recipe-taxonomy-card-layout {
    grid-template-columns: repeat(1, 1fr);
    gap: 5.3333333333vw;
  }
  .p-recipe-taxonomy-card-link {
    border-radius: 5.3333333333vw;
    box-shadow: 0 0 2.6666666667vw 0 rgba(0, 0, 0, 0.3);
  }
  .p-recipe-taxonomy-card-demo {
    min-height: 53.3333333333vw;
    font-size: 3.7333333333vw;
    padding-inline: 1.3333333333vw;
  }
  .p-recipe-taxonomy-card-link-ttl {
    font-size: 4.2666666667vw;
    padding-block: 2.6666666667vw;
  }
  .p-recipe-taxonomy-card-link-ttl::before {
    --arrow-size: calc(8/375*100vw);
    --arrow-border-width: calc(2/375*100vw);
    right: 5.3333333333vw;
    width: var(--arrow-size);
    height: var(--arrow-size);
    border-top: var(--arrow-border-width) solid currentColor;
    border-right: var(--arrow-border-width) solid currentColor;
  }
  .p-recipe-taxonomy-button {
    margin-top: 5.3333333333vw;
  }
}
