/* ============================================================
   レシピカード スタイル
   カラーパレット:
     ダークグリーン : #1E3932
     ゴールド       : #D2A049
     薄グレー背景   : #F6F6F6
     テキスト       : #333
   ============================================================ */

/* ---- レシピカード 外枠 ---- */
.recipe-card {
    margin: 40px 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ---- 概要バー（人数・調理時間） ---- */
.recipe-meta {
    display: flex;
    background: #f0f4f2;
    border-bottom: 2px solid #1E3932;
    padding: 14px 20px;
    gap: 30px;
    flex-wrap: wrap;
}
.recipe-meta__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1E3932;
    font-size: 15px;
    letter-spacing: 1px;
}
.recipe-meta__label {
    font-size: 13px;
    color: #555;
}
.recipe-meta__value {
    font-weight: 700;
    font-size: 16px;
    color: #1E3932;
}
@media screen and (max-width: 600px) {
    .recipe-meta {
        gap: 16px;
        padding: 12px 16px;
    }
    .recipe-meta__item {
        font-size: 13px;
    }
}

/* ---- 共通セクション（材料・作り方） ---- */
.recipe-section {
    margin-top: 0;
}

/* セクションヘッダー */
.recipe-section__header {
    background: #1E3932;
    color: #fff;
    padding: 10px 20px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 3px;
}

/* セクション本体 */
.recipe-section__body {
    background: #F6F6F6;
    padding: 20px 24px;
    margin-bottom: 12px;
}

/* ---- 材料リスト ---- */
.recipe-ingredients {
    list-style: none;
    margin: 0;
    padding: 0;
}
.recipe-ingredients__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 16px;
    letter-spacing: 1px;
}
.recipe-ingredients__name {
    color: #333;
}
.recipe-ingredients__qty {
    color: #555;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 20px;
}
@media screen and (max-width: 600px) {
    .recipe-ingredients__item {
        font-size: 14px;
    }
}

/* ---- 作り方リスト ---- */
.recipe-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: recipe-step;
}
.recipe-steps__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 1px;
    counter-increment: recipe-step;
}
.recipe-steps__item:last-child {
    border-bottom: none;
}
.recipe-steps__item::before {
    content: counter(recipe-step);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #1E3932;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 2px;
}
@media screen and (max-width: 600px) {
    .recipe-steps__item {
        font-size: 14px;
        gap: 12px;
    }
    .recipe-steps__item::before {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

/* ---- ポイント ---- */
.recipe-point {
    margin-top: 12px;
}
.recipe-point__header {
    background: #D2A049;
    color: #fff;
    padding: 10px 20px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 3px;
}
.recipe-point__body {
    background: #fffdf5;
    padding: 20px 24px;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 1px;
    color: #333;
    border: 1px solid #e8d9a0;
    border-top: none;
}
@media screen and (max-width: 600px) {
    .recipe-section__header,
    .recipe-point__header {
        font-size: 15px;
        padding: 10px 16px;
        letter-spacing: 2px;
    }
    .recipe-section__body,
    .recipe-point__body {
        padding: 16px;
    }
    .recipe-point__body {
        font-size: 14px;
    }
}
