@charset "UTF-8";
/* pepper 詳細ページ */
/* 全体レイアウト */
.pepper {
  padding-block: 40px;
}

.pepper__inner {
  margin-inline: auto;
  max-width: 1440px;
  padding-inline: clamp(20px, 0px + 5.56vw, 80px);
}

/* 詳細部分 */
.pepper__detail {
  margin-inline: auto;
  width: 100%;
  max-width: 800px;
}

.pepper__title {
  border-bottom: 2px solid var(--color-bk);
  color: var(--color-rd);
  font-size: 1.5rem;
  font-weight: 700;
  padding-block-end: 0.5em;
}

.pepper__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-block-start: 20px;
}
@media screen and (min-width: 640px) {
  .pepper__body {
    flex-direction: row;
  }
}

.pepper__img {
  align-self: center;
  border-radius: 4px;
  flex-shrink: 0;
  height: 300px;
  overflow: hidden;
  width: 300px;
}
@media screen and (min-width: 640px) {
  .pepper__img {
    height: clamp(200px, 166.667px + 9.26vw, 300px);
    width: clamp(200px, 166.667px + 9.26vw, 300px);
  }
}

.pepper__img img {
  aspect-ratio: 1;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.pepper__body .pepper__level,
.pepper__body .pepper__season,
.pepper__body .pepper__origin {
  font-size: 1rem;
  margin-block-end: 1em;
  margin-block-start: 0;
  text-align: left;
}

.pepper__body .pepper__introduction {
  border-top: 2px solid var(--color-bk);
  font-size: 1rem;
  padding-block-start: 1em;
  white-space: pre-wrap;
}

.pepper__body .pepper__note {
  color: var(--color-rd);
  font-size: 0.75rem;
  margin-block-start: 0.5em;
}

.pepper__data {
  border-bottom: 2px solid var(--color-bk);
  padding-block-end: 1.375em;
}

/* pepper swiper */
.swiper {
  overflow: visible;
}

.pepper__list {
  padding-block-end: clamp(40px, 26.667px + 3.7vw, 80px);
}

.pepper__item {
  color: var(--color-bk);
  transition: transform 0.4s ease-in-out;
  width: 290px;
}

.pepper__thumbnail {
  border-radius: 4px;
  box-shadow: 0 3px 5px rgba(var(--color-bk-shadow-rgb), 0.15);
  margin-inline: auto;
  overflow: hidden;
  position: relative;
  width: clamp(200px, 175px + 6.94vw, 275px);
}

.pepper__thumbnail img {
  aspect-ratio: 1;
  height: 100%;
  object-fit: cover;
  transition: filter 0.25s, transform 0.25s ease-in-out;
  width: 100%;
}

.pepper__name {
  font-weight: 700;
  margin-inline: auto;
  margin-block-start: 20px;
  text-align: justify;
  transition: color 0.25s;
  width: fit-content;
}

.pepper__season {
  font-size: 0.875rem;
  margin-block-start: 10px;
  text-align: center;
}

.pepper__level {
  font-size: 0.875rem;
  margin-block-start: 10px;
  text-align: center;
}
.pepper__level > span {
  color: var(--color-rd);
  display: inline-block;
  line-height: 1.5;
  vertical-align: middle;
}
.pepper__level > ._icons {
  display: inline-block;
  height: 20px;
}

.pepper__item:focus-visible .pepper__thumbnail img {
  filter: brightness(1.1);
  transform: scale(1.1);
}
.pepper__item:focus-visible .pepper__name {
  color: var(--color-rd);
}
@media (any-hover: hover) {
  .pepper__item:hover .pepper__thumbnail img {
    filter: brightness(1.1);
    transform: scale(1.1);
  }
  .pepper__item:hover .pepper__name {
    color: var(--color-rd);
  }
}

/* swiper-pagination */
.pepper__pagination.swiper-pagination-bullets {
  bottom: unset;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  width: 300px;
  z-index: 1;
}

.pepper__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  background-color: var(--color-bk);
  border-radius: 0;
  height: 3px;
  margin: 0;
  opacity: 1;
  transition: background-color 0.25s;
}

.pepper__pagination.swiper-pagination-bullets .swiper-pagination-bullet:first-child {
  border-radius: 3px 0 0 3px;
}

.pepper__pagination.swiper-pagination-bullets .swiper-pagination-bullet:last-child {
  border-radius: 0 3px 3px 0;
}

.pepper__pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background-color: var(--color-rd);
}

/* swiper-button */
.pepper__btnWrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-inline: auto;
  max-width: 720px;
}

.pepper__btnWrapper .swiper-button-prev,
.pepper__btnWrapper .swiper-button-next {
  color: var(--color-bk);
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.875rem;
  left: unset;
  letter-spacing: 0.2em;
  margin-block-start: 20px;
  min-width: 108px;
  padding: 1em 0;
  position: relative;
  right: unset;
  text-transform: uppercase;
  top: unset;
}
@media screen and (min-width: 640px) {
  .pepper__btnWrapper .swiper-button-prev,
  .pepper__btnWrapper .swiper-button-next {
    margin-block-start: -28px;
  }
}

.pepper__btnWrapper .swiper-button-prev > span,
.pepper__btnWrapper .swiper-button-next > span {
  display: inline-block;
}

.pepper__btnWrapper .swiper-button-prev > span {
  padding-left: 60px;
}

.pepper__btnWrapper .swiper-button-next > span {
  padding-right: 60px;
}

.pepper__btnWrapper .swiper-button-prev > svg,
.pepper__btnWrapper .swiper-button-next > svg {
  position: absolute;
  height: 40px;
  top: 50%;
  width: 40px;
}

.pepper__btnWrapper .swiper-button-prev > svg {
  left: 0;
}

.pepper__btnWrapper .swiper-button-next > svg {
  right: 0;
}

.pepper__btnWrapper .swiper-button-next ._arrow {
  transform: translate(1px, -50%);
}

.pepper__btnWrapper .swiper-button-next ._circle {
  transform: translateY(-50%) rotate(135deg) scale(1, -1);
}

.pepper__btnWrapper .swiper-button-prev ._arrow {
  transform: translate(-2px, -50%) rotateY(-180deg);
}

.pepper__btnWrapper .swiper-button-prev ._circle {
  transform: translateY(-55%) rotate(360deg) scale(1, -1);
}

.pepper__btnWrapper .swiper-button-prev::after,
.pepper__btnWrapper .swiper-button-next::after {
  display: none;
}

.pepper__btnWrapper .swiper-button-next:focus-visible {
  color: var(--color-rd);
}
.pepper__btnWrapper .swiper-button-next:focus-visible .svg-arrow {
  animation: arrow ease-out 1s;
  animation-delay: 0.5s;
  stroke: var(--color-rd);
}
.pepper__btnWrapper .swiper-button-next:focus-visible .svg-circle {
  animation: circle ease-in-out 0.5s;
  stroke: var(--color-rd);
}
@media (any-hover: hover) {
  .pepper__btnWrapper .swiper-button-next:hover {
    color: var(--color-rd);
  }
  .pepper__btnWrapper .swiper-button-next:hover .svg-arrow {
    animation: arrow ease-out 1s;
    animation-delay: 0.5s;
    stroke: var(--color-rd);
  }
  .pepper__btnWrapper .swiper-button-next:hover .svg-circle {
    animation: circle ease-in-out 0.5s;
    stroke: var(--color-rd);
  }
}

.pepper__btnWrapper .swiper-button-prev:focus-visible {
  color: var(--color-rd);
}
.pepper__btnWrapper .swiper-button-prev:focus-visible .svg-arrow {
  animation: arrow ease-out 1s;
  animation-delay: 0.5s;
  stroke: var(--color-rd);
}
.pepper__btnWrapper .swiper-button-prev:focus-visible .svg-circle {
  animation: circle ease-in-out 0.5s;
  animation-direction: reverse;
  stroke: var(--color-rd);
}
@media (any-hover: hover) {
  .pepper__btnWrapper .swiper-button-prev:hover {
    color: var(--color-rd);
  }
  .pepper__btnWrapper .swiper-button-prev:hover .svg-arrow {
    animation: arrow ease-out 1s;
    animation-delay: 0.5s;
    stroke: var(--color-rd);
  }
  .pepper__btnWrapper .swiper-button-prev:hover .svg-circle {
    animation: circle ease-in-out 0.5s;
    animation-direction: reverse;
    stroke: var(--color-rd);
  }
}

/* recipe swiper */
.swiper {
  overflow: visible;
}

.recipe__list {
  padding-block-end: clamp(40px, 26.667px + 3.7vw, 80px);
}
@media screen and (min-width: 1440px) {
  .recipe__list {
    gap: 60px 40px;
    justify-content: center;
    margin-inline: auto;
    max-width: 1280px;
  }
}

.recipe__item {
  color: var(--color-bk);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
  height: unset;
  transition: transform 0.4s ease-in-out;
  width: 290px;
}

.recipe__thumbnail {
  border-radius: 4px;
  box-shadow: 0 3px 5px rgba(var(--color-bk-shadow-rgb), 0.15);
  margin-inline: auto;
  overflow: hidden;
  position: relative;
  width: clamp(200px, 175px + 6.94vw, 275px);
}

.recipe__thumbnail img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: filter 0.25s, transform 0.25s ease-in-out;
}

.recipe__name {
  flex-shrink: 1;
  font-weight: 700;
  margin-inline: auto;
  text-align: justify;
  transition: color 0.25s;
  width: fit-content;
}

.recipe__level {
  font-size: 0.875rem;
  text-align: right;
  margin-block-start: auto;
}
.recipe__level > span {
  color: var(--color-rd);
  display: inline-block;
  line-height: 1.5;
  vertical-align: middle;
}
.recipe__level > ._icons {
  display: inline-block;
  height: 20px;
}

.recipe__item:focus-visible .recipe__thumbnail img {
  filter: brightness(1.1);
  transform: scale(1.1);
}
.recipe__item:focus-visible .recipe__name {
  color: var(--color-rd);
}
@media (any-hover: hover) {
  .recipe__item:hover .recipe__thumbnail img {
    filter: brightness(1.1);
    transform: scale(1.1);
  }
  .recipe__item:hover .recipe__name {
    color: var(--color-rd);
  }
}

/* swiper-pagination */
.recipe__pagination.swiper-pagination-bullets {
  bottom: unset;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  width: 300px;
  z-index: 1;
}

.recipe__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  background-color: var(--color-bk);
  border-radius: 0;
  height: 3px;
  margin: 0;
  opacity: 1;
  transition: background-color 0.25s;
}

.recipe__pagination.swiper-pagination-bullets .swiper-pagination-bullet:first-child {
  border-radius: 3px 0 0 3px;
}

.recipe__pagination.swiper-pagination-bullets .swiper-pagination-bullet:last-child {
  border-radius: 0 3px 3px 0;
}

.recipe__pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background-color: var(--color-rd);
}

/* swiper-button */
.recipe__btnWrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-inline: auto;
  max-width: 720px;
}

.recipe__btnWrapper .swiper-button-prev,
.recipe__btnWrapper .swiper-button-next {
  color: var(--color-bk);
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.875rem;
  left: unset;
  letter-spacing: 0.2em;
  margin-block-start: 20px;
  min-width: 108px;
  padding: 1em 0;
  position: relative;
  right: unset;
  text-transform: uppercase;
  top: unset;
}
@media screen and (min-width: 640px) {
  .recipe__btnWrapper .swiper-button-prev,
  .recipe__btnWrapper .swiper-button-next {
    margin-block-start: -28px;
  }
}

.recipe__btnWrapper .swiper-button-prev > span,
.recipe__btnWrapper .swiper-button-next > span {
  display: inline-block;
}

.recipe__btnWrapper .swiper-button-prev > span {
  padding-left: 60px;
}

.recipe__btnWrapper .swiper-button-next > span {
  padding-right: 60px;
}

.recipe__btnWrapper .swiper-button-prev > svg,
.recipe__btnWrapper .swiper-button-next > svg {
  position: absolute;
  height: 40px;
  top: 50%;
  width: 40px;
}

.recipe__btnWrapper .swiper-button-prev > svg {
  left: 0;
}

.recipe__btnWrapper .swiper-button-next > svg {
  right: 0;
}

.recipe__btnWrapper .swiper-button-next ._arrow {
  transform: translate(1px, -50%);
}

.recipe__btnWrapper .swiper-button-next ._circle {
  transform: translateY(-50%) rotate(135deg) scale(1, -1);
}

.recipe__btnWrapper .swiper-button-prev ._arrow {
  transform: translate(-2px, -50%) rotateY(-180deg);
}

.recipe__btnWrapper .swiper-button-prev ._circle {
  transform: translateY(-55%) rotate(360deg) scale(1, -1);
}

.recipe__btnWrapper .swiper-button-prev::after,
.recipe__btnWrapper .swiper-button-next::after {
  display: none;
}

.recipe__btnWrapper .swiper-button-next:focus-visible {
  color: var(--color-rd);
}
.recipe__btnWrapper .swiper-button-next:focus-visible .svg-arrow {
  animation: arrow ease-out 1s;
  animation-delay: 0.5s;
  stroke: var(--color-rd);
}
.recipe__btnWrapper .swiper-button-next:focus-visible .svg-circle {
  animation: circle ease-in-out 0.5s;
  stroke: var(--color-rd);
}
@media (any-hover: hover) {
  .recipe__btnWrapper .swiper-button-next:hover {
    color: var(--color-rd);
  }
  .recipe__btnWrapper .swiper-button-next:hover .svg-arrow {
    animation: arrow ease-out 1s;
    animation-delay: 0.5s;
    stroke: var(--color-rd);
  }
  .recipe__btnWrapper .swiper-button-next:hover .svg-circle {
    animation: circle ease-in-out 0.5s;
    stroke: var(--color-rd);
  }
}

.recipe__btnWrapper .swiper-button-prev:focus-visible {
  color: var(--color-rd);
}
.recipe__btnWrapper .swiper-button-prev:focus-visible .svg-arrow {
  animation: arrow ease-out 1s;
  animation-delay: 0.5s;
  stroke: var(--color-rd);
}
.recipe__btnWrapper .swiper-button-prev:focus-visible .svg-circle {
  animation: circle ease-in-out 0.5s;
  animation-direction: reverse;
  stroke: var(--color-rd);
}
@media (any-hover: hover) {
  .recipe__btnWrapper .swiper-button-prev:hover {
    color: var(--color-rd);
  }
  .recipe__btnWrapper .swiper-button-prev:hover .svg-arrow {
    animation: arrow ease-out 1s;
    animation-delay: 0.5s;
    stroke: var(--color-rd);
  }
  .recipe__btnWrapper .swiper-button-prev:hover .svg-circle {
    animation: circle ease-in-out 0.5s;
    animation-direction: reverse;
    stroke: var(--color-rd);
  }
}

@media screen and (min-width: 1440px) {
  .recipe__pagination,
  .recipe__btnWrapper {
    display: none;
  }
}