/* ===========================
   Variables
=========================== */
:root {
  --color-bg: #F7F5EF;
  --color-text: #2c2c2c;
  --color-primary: #004759;
  --color-accent: #004759;

  --font-serif:
      "Hiragino Mincho ProN", "ヒラギノ明朝 ProN",
      "Hiragino Mincho Pro", "ヒラギノ明朝 Pro",
      "Hiragino Mincho", "ヒラギノ明朝",
      serif;
  --font-sans:
      "Hiragino Kaku Gothic ProN",
      "ヒラギノ角ゴ ProN",
      "Hiragino Sans",
      "ヒラギノ角ゴシック",
      "Yu Gothic",
      "Meiryo",
      sans-serif;
}

.--sp{
  display: block;
}
.--pc{
  display: none;
}

@media (min-width: 768px){
  .--sp{
    display: none;
  }
  .--pc{
    display: block;
  }
}

.recipe-set{
  margin-bottom: 50px;
  color: var(--color-text);
  background-image: url(/external/category/template/vegeota/common/imgs/bg.jpg);
}
@media (max-width: 500px) {
  .recipe-set {
      width: calc(100% + 30px);
      transform: translateX(-15px);
  }
  .recipe-set .ariko, .recipe-set .vegeota{
    width: auto;
    transform: none;
  }
}

.recipe-set * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===========================
   First View
=========================== */
.recipe-set-fv {
  background: var(--color-bg);
}

/* ===========================
   Head / Logo
=========================== */
.recipe-set-fv__head {
  background: var(--color-primary);
  padding: 28px 24px 32px;
  text-align: center;
  position: relative;
}

.recipe-set-fv__head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 24px;
  background: var(--color-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.recipe-set-fv__logo {
  width: 60%;
  max-width: 300px;
  margin: 0 auto;
}

/* ===========================
   Copy / Tagline
=========================== */
.recipe-set-fv__copy {
  padding: 32px 20px;
  text-align: center;
}

.recipe-set-fv__copy p {
  font-size: clamp(15px, 4vw, 18px);
  line-height: 1.85;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.04em;
  font-family: var(--font-serif);
}

/* ===========================
   Cards
=========================== */
.recipe-set-fv__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 10px ;
  position: relative;
}

/* ===========================
   Card
=========================== */
.recipe-set-fv__card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recipe-set-fv__card a{
  display: block;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  transition-duration: 0.3s;
}
.recipe-set-fv__card a:hover{
  text-decoration: none;
  opacity: 0.8;
}

/* Card lead text */
.recipe-set-fv__card-lead {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-accent);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.recipe-set-fv__card-lead-bar {
  flex-shrink: 0;
  display: block;
  width: 2px;
  align-self: stretch;
  background: var(--color-accent);
  border-radius: 1px;
}

.recipe-set-fv__card-lead-bar:first-child {
  transform: skewX(15deg);
}

.recipe-set-fv__card-lead-bar:last-child {
  transform: skewX(-15deg);
}

/* Card image wrapper */
.recipe-set-fv__card-image-wrap {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ダミー */

/* 親要素 */
.recipe-set-fv__card-img {
  width: 100%;
  aspect-ratio: 3 / 2.5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* はみ出したズーム背景を隠す（必須） */
}

/* --- 追加 ---
   背景画像用の要素を作り、これをズームさせる */
.recipe-set-fv__card-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.3s; /* アニメーションの速度と動き */
  z-index: 0; /* 一番後ろに配置 */
}

/* 各背景画像を ::before に当てる */
.recipe-set-fv__card-img.--vegeota::before {
  background: url('/external/category/template/4020/assets/imgs/nav_bg_vegeota.jpg') center / cover no-repeat;
}
.recipe-set-fv__card-img.--ariko::before {
  background: url('/external/category/template/4020/assets/imgs/nav_bg_ariko.jpg') center / cover no-repeat;
}

/* ホバー時に ::before を1.1倍に拡大 */
.recipe-set-fv__card a:hover .recipe-set-fv__card-img::before {
  transform: scale(1.1);
}

/* 黒のオーバーレイ */
.recipe-set-fv__card-img::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1; /* 背景(0)の上、中の画像(2)の下に配置 */
}

/* 中の画像 */
.recipe-set-fv__card-img img {
  width: 80%;
  position: relative;
  z-index: 2; /* 一番手前に配置 */
}

.recipe-set-fv__card-img.--vegeota img{
  width: 60%;
}


/* Caption */
.recipe-set-fv__card-caption {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  background: var(--color-primary);
  text-align: center;
  letter-spacing: 0.06em;
  padding: 8px 4px;
  width: 100%;
}

/* Arrow */
.recipe-set-fv__card-arrow {
  margin-top: 10px;
}

/* ===========================
   Slider Next Button
=========================== */
.recipe-set-fv__slider-next {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 54px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid #d0d0d0;
  border-radius: 6px 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
}

.recipe-set-fv__slider-next:hover {
  background: #fff;
}

/* ===========================
   Responsive — SP (< 375px)
=========================== */
@media (max-width: 374px) {
  .recipe-set-fv__copy p {
    font-size: 14px;
  }

}

/* ===========================
   Responsive — PC (≥ 768px)
=========================== */
@media (min-width: 768px) {

  .recipe-set-fv__head {
    padding: 36px 32px 40px;
  }

  .recipe-set-fv__copy {
    padding: 36px 32px;
  }

  .recipe-set-fv__copy p {
    font-size: 24px;
  }

  .recipe-set-fv__cards {
    gap: 20px;
    padding: 0 28px;
  }

  .recipe-set-fv__card-lead {
    font-size: 24px;
  }

  .recipe-set-fv__card-caption {
    font-size: 24px;
  }

}

.recipe-set-section{
  padding-top: 50px;
}

.recipe-set .recipe-set-section-title{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.recipe-set .recipe-set-section-title span{
  font-family: var(--font-sans);
  font-size: 16px;
}
.recipe-set .recipe-set-section-title.--vegeota span{
  color: #0F7350;
}
@media (min-width: 768px) {
  .recipe-set .recipe-set-section-title span{
    font-size: 24px;
  }
}

.recipe-set .recipe-set-section-title img{
  max-width: 400px;
  max-height: 58px;
  object-fit: contain;
  width: 80%;
}
