/* =========================================
   recipe detail
========================================= */
.recipe-detail {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
  color: #2f2a24;
  line-height: 1.95;
  background: #f7f4ee;
}

.rd-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.rd-narrow {
  max-width: 860px;
}

/* =========================================
   hero
========================================= */
.rd-hero {
  position: relative;
  overflow: hidden;
  background: #ddd7cd;
}

.rd-hero__media {
  position: relative;
  min-height: 560px;
}

.rd-hero__media img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.95) brightness(0.98);
}

.rd-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(247, 244, 238, 0.94) 0%,
      rgba(247, 244, 238, 0.86) 24%,
      rgba(247, 244, 238, 0.54) 48%,
      rgba(247, 244, 238, 0.18) 72%,
      rgba(247, 244, 238, 0.00) 100%
    ),
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.14) 0%,
      rgba(0, 0, 0, 0.00) 42%
    );
}

.rd-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.rd-hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 40px 0;
}

.rd-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  color: #856f46;
}

.rd-hero__title {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.26;
  font-weight: normal;
  color: #1f1a16;
}

.rd-hero__lead {
  margin: 0;
  font-size: 16px;
  color: #3f3933;
}

.rd-hero__actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================
   summary
========================================= */
.rd-summary {
  position: relative;
  margin-top: -34px;
  z-index: 3;
}

.rd-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rd-summary__item {
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid #e7dccb;
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2px);
}

.rd-summary__label {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  color: #8b7650;
}

.rd-summary__text {
  margin: 0;
  font-size: 15px;
  color: #38312a;
}

/* =========================================
   sections
========================================= */
.rd-section {
  padding: 76px 0;
}

.rd-section--intro {
  padding-top: 64px;
  padding-bottom: 36px;
}

.rd-section--steps {
  background: linear-gradient(180deg, #f8f5ef 0%, #f1ebe1 100%);
}

.rd-section--closing {
  padding-top: 42px;
  padding-bottom: 42px;
}

.rd-section--cta {
  padding-top: 24px;
  padding-bottom: 88px;
}

.rd-heading {
  margin-bottom: 26px;
}

.rd-heading--center {
  text-align: center;
}

.rd-heading__sub {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.16em;
  color: #8b7a59;
}

.rd-section h2 {
  margin: 0;
  font-size: 33px;
  line-height: 1.42;
  font-weight: normal;
  color: #201b17;
}

/* =========================================
   prose
========================================= */
.rd-prose p {
  margin: 0 0 1.2em;
  font-size: 17px;
  color: #433b34;
}

.rd-prose p:last-child {
  margin-bottom: 0;
}

.rd-prose--panel {
  margin-bottom: 22px;
}

.rd-prose--center {
  text-align: center;
}

.rd-prose--table-lead {
  margin-bottom: 20px;
}

/* =========================================
   points
========================================= */
.rd-point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.rd-point {
  background: #ece5d8;
  border-radius: 20px;
  padding: 28px 24px;
  box-sizing: border-box;
  min-height: 210px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.rd-point h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: normal;
  color: #2f281f;
}

.rd-point p {
  margin: 0;
  font-size: 15px;
  color: #4f473f;
}

/* =========================================
   panels
========================================= */
.rd-panel {
  background: #fffdfa;
  border: 1px solid #e9e0d2;
  border-radius: 20px;
  padding: 30px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.rd-panel__title {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: normal;
  color: #2a241d;
}

.rd-two-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* =========================================
   reference table
========================================= */
.rd-table-wrap {
  overflow-x: auto;
  background: #fffdfa;
  border: 1px solid #e8dece;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.rd-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fffdfa;
}

.rd-table thead th {
  padding: 16px 14px;
  background: #efe6d8;
  color: #342d25;
  font-size: 15px;
  font-weight: normal;
  text-align: center;
  border-bottom: 1px solid #dfd2be;
}

.rd-table tbody th,
.rd-table tbody td {
  padding: 14px 14px;
  font-size: 15px;
  color: #433b34;
  border-bottom: 1px solid #eee4d6;
  vertical-align: middle;
}

.rd-table tbody th {
  width: 34%;
  text-align: left;
  font-weight: normal;
  color: #2d271f;
  background: #fcfaf6;
}

.rd-table tbody td {
  text-align: center;
  width: 22%;
}

.rd-table tbody tr:last-child th,
.rd-table tbody tr:last-child td {
  border-bottom: none;
}

/* =========================================
   produce reference
========================================= */
.rd-ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.rd-ref-card {
  background: #fffdfa;
  border: 1px solid #e9dfd0;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.03);
}

.rd-ref-card__title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: normal;
  color: #2b241d;
}

.rd-ref-card__text {
  margin: 0;
  font-size: 15px;
  color: #4b433b;
  line-height: 1.85;
}

/* =========================================
   steps
========================================= */
.rd-step-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.rd-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fffdfa;
  border: 1px solid #eadfce;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.03);
}

.rd-step__no {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  background: #8a7446;
  color: #fff;
  font-size: 18px;
  line-height: 58px;
  text-align: center;
  letter-spacing: 0.04em;
}

.rd-step__body {
  flex: 1 1 auto;
}

.rd-step__title {
  margin: 2px 0 10px;
  font-size: 21px;
  line-height: 1.5;
  font-weight: normal;
  color: #2a241d;
}

.rd-step__text {
  margin: 0;
  font-size: 15px;
  color: #4b433b;
}

/* =========================================
   list
========================================= */
.rd-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rd-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 16px;
  color: #403932;
}

.rd-list li:last-child {
  margin-bottom: 0;
}

.rd-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #8b7a59;
}

.rd-list--check li::before {
  content: "✓";
  color: #8a7446;
  font-weight: bold;
}

/* =========================================
   closing
========================================= */
.rd-closing {
  background: #f1eadf;
  border-radius: 24px;
  padding: 42px 28px;
}

.rd-closing__actions {
  margin-top: 24px;
  text-align: center;
}

/* =========================================
   cta
========================================= */
.rd-cta {
  text-align: center;
  background: #efe6d7;
  border-radius: 24px;
  padding: 42px 24px;
}

.rd-cta__text {
  margin: 0 0 24px;
  color: #4d453d;
  font-size: 16px;
  line-height: 1.9;
}

/* =========================================
   buttons
========================================= */
.rd-btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 9999px;
  background: #8a7446;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid #8a7446;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.rd-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  text-decoration: none;
}

.rd-btn--ghost {
  background: transparent;
  color: #6c5a36;
  border: 1px solid #bfae88;
}

.rd-btn--light {
  background: rgba(255, 255, 255, 0.92);
  color: #5f4c2d;
  border: 1px solid rgba(255, 255, 255, 0.92);
}

/* =========================================
   responsive
========================================= */
@media (max-width: 1100px) {
  .rd-summary__grid,
  .rd-point-grid,
  .rd-step-list,
  .rd-two-grid,
  .rd-ref-grid {
    grid-template-columns: 1fr;
  }

  .rd-point {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .rd-container {
    padding: 0 16px;
  }

  .rd-hero__media,
  .rd-hero__media img {
    height: 440px;
  }

  .rd-hero__media::after {
    background:
      linear-gradient(
        to top,
        rgba(247, 244, 238, 0.96) 0%,
        rgba(247, 244, 238, 0.82) 34%,
        rgba(247, 244, 238, 0.22) 70%,
        rgba(247, 244, 238, 0.00) 100%
      );
  }

  .rd-hero__overlay {
    align-items: flex-end;
  }

  .rd-hero__content {
    max-width: 100%;
    padding-bottom: 22px;
  }

  .rd-hero__title {
    font-size: 31px;
  }

  .rd-hero__lead {
    font-size: 14px;
  }

  .rd-summary {
    margin-top: 0;
    padding-top: 16px;
  }

  .rd-summary__item {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .rd-section {
    padding: 54px 0;
  }

  .rd-section h2 {
    font-size: 27px;
  }

  .rd-prose p {
    font-size: 16px;
  }

  .rd-panel {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .rd-step {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .rd-step__no {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    font-size: 15px;
    line-height: 48px;
  }

  .rd-step__title {
    font-size: 18px;
  }

  .rd-step__text,
  .rd-list li,
  .rd-summary__text,
  .rd-ref-card__text {
    font-size: 14px;
  }

  .rd-ref-card__title {
    font-size: 18px;
  }

  .rd-closing,
  .rd-cta {
    padding: 30px 18px;
    border-radius: 18px;
  }

  .rd-table {
    min-width: 620px;
  }

  .rd-table thead th,
  .rd-table tbody th,
  .rd-table tbody td {
    padding: 12px 10px;
    font-size: 13px;
  }
}

/* =========================================================
   rd-visuals
   山菜イラスト表示調整版
========================================================= */

.rd-visuals {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 28px 0 0;
  justify-content: center;
  align-items: stretch;
}

.rd-visuals--single {
  justify-content: center;
}

.rd-visual-card {
  width: calc(33.333% - 14px);
  min-width: 150px;
  max-width: 190px;
  margin: 0;
  padding: 10px 10px 8px;
  box-sizing: border-box;
  background: #fffdf9;
  border: 1px solid #e8dfd3;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.rd-visuals--single .rd-visual-card {
  width: 100%;
  max-width: 220px;
}

.rd-visual-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}

.rd-visual-card__img img {
  display: block;
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.rd-visual-card__caption {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6f6253;
  letter-spacing: 0.02em;
}

.rd-section--intro .rd-visuals {
  margin-top: 24px;
}

.rd-panel .rd-visuals {
  margin-top: 16px;
}

.rd-closing .rd-visual-card {
  max-width: 180px;
}

.rd-closing .rd-visual-card__img img {
  max-height: 100px;
}

@media screen and (max-width: 767px) {
  .rd-visuals {
    gap: 12px;
    margin-top: 20px;
  }

  .rd-visual-card {
    width: calc(50% - 6px);
    min-width: 0;
    max-width: 160px;
    padding: 10px 8px 8px;
    border-radius: 14px;
  }

  .rd-visuals--single .rd-visual-card {
    width: 100%;
    max-width: 200px;
  }

  .rd-visual-card__img {
    min-height: 90px;
  }

  .rd-visual-card__img img {
    max-height: 95px;
  }

  .rd-visual-card__caption {
    font-size: 11px;
    margin-top: 6px;
  }
}

@media screen and (max-width: 480px) {
  .rd-visual-card {
    width: calc(50% - 6px);
    max-width: none;
  }

  .rd-visual-card__img img {
    max-height: 85px;
  }
}