/* ===========================
   カラー変数（レシピページ追加分）
   =========================== */
:root {
  --gold: #EEA703;
  --gold-light: #fff5df;
}

/* ===========================
   ページコンテナ
   =========================== */
.page-recipe {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===========================
   レシピコンテンツセクション
   =========================== */
.recipe-content {
  padding: 72px 0 80px;
}

/* ===========================
   キャプションエリア
   =========================== */
.recipe-caption {
  margin-bottom: 48px;
}

.recipe-caption__en {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 12px;
}

.recipe-caption__title {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

/* ===========================
   2カラムレイアウト
   =========================== */
.recipe-main {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 64px;
}

/* ===========================
   左カラム: 画像
   =========================== */
.recipe-media {
  flex: 0 0 55%;
}

.recipe-media__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.recipe-media__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.recipe-media__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===========================
   右カラム: 材料
   =========================== */
.recipe-ingredients {
  flex: 1 1 auto;
  min-width: 0;
}

.recipe-ingredients__header {
  background: var(--gold-light);
  padding: 12px 20px;
  margin-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.recipe-ingredients__header-text {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
}

.recipe-ingredients__table {
  width: 100%;
  border-collapse: collapse;
}

.recipe-ingredients__row {
  border-bottom: 1px solid rgba(14, 47, 114, 0.15);
}

.recipe-ingredients__row:first-child {
  border-top: 1px solid rgba(14, 47, 114, 0.15);
}

.recipe-ingredients__name,
.recipe-ingredients__amount {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  padding: 14px 8px;
  line-height: 1.5;
}

.recipe-ingredients__name {
  text-align: left;
}

.recipe-ingredients__amount {
  text-align: right;
  white-space: nowrap;
}

/* ===========================
   作り方セクション
   =========================== */
.recipe-steps {
  border: 2px solid var(--gold);
  border-radius: 30px;
  padding: 40px 48px;
}

.recipe-steps__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.recipe-steps__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.recipe-steps__title {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

/* ===========================
   ステップ
   =========================== */
.recipe-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
}

.recipe-step__badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-step__number {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.recipe-step__text {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.7;
  flex: 1;
  padding-top: 8px;
}

.recipe-step__divider {
  border: none;
  border-top: 1px solid rgba(14, 47, 114, 0.15);
  margin: 0;
}

/* ===========================
   会員セクション
   =========================== */
.membership-section {
  padding: 60px 0 80px;
}

/* ===========================
   レスポンシブ: 1100px以下
   =========================== */
@media (max-width: 1100px) {
  .recipe-main {
    flex-direction: column;
    gap: 32px;
  }

  .recipe-media {
    flex: none;
    width: 100%;
  }

  .recipe-ingredients {
    flex: none;
    width: 100%;
  }

  .recipe-steps {
    padding: 32px 36px;
  }
}

/* ===========================
   レスポンシブ: 767px以下
   =========================== */
@media (max-width: 767px) {
  .recipe-content {
    padding: 48px 0 60px;
  }

  .recipe-caption {
    margin-bottom: 32px;
  }

  .recipe-caption__en {
    font-size: 16px;
  }

  .recipe-caption__title {
    font-size: 20px;
  }

  .recipe-main {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
  }

  .recipe-media {
    flex: none;
    width: 100%;
  }

  .recipe-ingredients {
    width: 100%;
  }

  .recipe-steps {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .recipe-steps__header {
    margin-bottom: 24px;
    gap: 12px;
  }

  .recipe-steps__title {
    font-size: 24px;
  }

  .recipe-step {
    gap: 16px;
    padding: 20px 0;
  }

  .recipe-step__text {
    font-size: 14px;
  }

  .membership-section {
    padding: 40px 0 60px;
  }
}
