:root {
  --rice-navy: #0e2f72;
  --rice-cyan: #5dc2d0;
  --rice-gold: #eea703;
  --rice-cream: #ecd7ab;
}

.page-mineral-rice {
  background: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'M PLUS 1', sans-serif;
  color: var(--rice-navy);
}

/* 動画セクション下から背景テクスチャ適用 */
.rice-recipe-intro,
.rice-cards,
.membership-section {
  background: url('../assets/images/rice-bg-texture.jpg') repeat;
  background-size: 600px auto;
}

/* ===== 動画セクション ===== */
.rice-video-section {
  padding: 100px 0 80px;
  text-align: center;
}

.rice-section__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: var(--rice-cyan);
  margin: 0 0 8px;
  line-height: 39px;
}

.rice-section__title {
  font-family: 'M PLUS 1', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--rice-navy);
  line-height: 42px;
  margin: 0 0 48px;
}

.rice-video__frame {
  max-width: 849px;
  margin: 0 auto;
  aspect-ratio: 849 / 471;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.rice-video__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== レシピ導入 ===== */
.rice-recipe-intro {
  padding: 80px 0 48px;
  text-align: center;
  background: url('../assets/images/rice-bg-texture.jpg') repeat;
  background-size: 600px auto;
}

.rice-recipe-intro__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 26.72px;
  color: var(--rice-gold);
  margin: 0 0 8px;
  line-height: 52px;
  letter-spacing: 0.05em;
}

.rice-recipe-intro__title {
  font-family: 'M PLUS 1', sans-serif;
  font-weight: 700;
  font-size: 37.4px;
  color: var(--rice-navy);
  line-height: 56px;
  margin: 0 0 16px;
}

.rice-recipe-intro__desc {
  font-family: 'M PLUS 1', sans-serif;
  font-weight: 500;
  font-size: 21px;
  color: var(--rice-navy);
  line-height: 37px;
  margin: 0;
}

/* ===== レシピカード ===== */
.rice-cards {
  padding: 0 0 80px;
  background: url('../assets/images/rice-bg-texture.jpg') repeat;
  background-size: 600px auto;
}

.rice-cards .content-wrap {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.rice-card {
  background: #fff;
  border: 5px solid var(--rice-cream);
  border-radius: 30px;
  padding: 30px;
  position: relative;
}

.rice-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-left: 30px;
}

.rice-card__icon {
  width: 40px;
  height: auto;
  display: block;
}

.rice-card__title {
  font-family: 'M PLUS 1', sans-serif;
  font-weight: 500;
  font-size: 32px;
  color: var(--rice-cyan);
  letter-spacing: 0.05em;
  margin: 0;
}

.rice-card__body {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 0 30px 20px;
}

.rice-card__media {
  flex-shrink: 0;
  width: 281px;
}

.rice-card__photo {
  width: 281px;
  height: 257px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.rice-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.rice-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.rice-step__num {
  font-family: 'M PLUS 1', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--rice-navy);
  line-height: 28px;
  flex-shrink: 0;
  min-width: 24px;
}

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

.rice-step__text p {
  margin: 0;
}

.rice-step__highlight {
  font-family: 'M PLUS 1', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--rice-gold);
}

.rice-step__note {
  font-size: 14px;
}

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

/* ===== レスポンシブ ===== */
/* カード内を早めに縦積みにしてすっきりさせる */
@media (max-width: 960px) {
  .rice-card__body {
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px 12px;
    gap: 24px;
  }

  .rice-card__media {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .rice-card__photo {
    width: 100%;
    height: 240px;
  }
}

@media (max-width: 767px) {
  .rice-video-section {
    padding: 64px 0 48px;
  }

  .rice-section__eyebrow {
    font-size: 14px;
    line-height: 1.5;
  }

  .rice-section__title {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .rice-recipe-intro {
    padding: 48px 0 32px;
  }

  .rice-recipe-intro__eyebrow {
    font-size: 18px;
    line-height: 1.5;
  }

  .rice-recipe-intro__title {
    font-size: 24px;
    line-height: 1.4;
  }

  .rice-recipe-intro__desc {
    font-size: 14px;
    line-height: 1.7;
    padding: 0 16px;
  }

  .rice-card {
    padding: 20px;
    border-width: 3px;
    border-radius: 20px;
  }

  .rice-card__header {
    padding-left: 0;
    gap: 12px;
    margin-bottom: 16px;
  }

  .rice-card__title {
    font-size: 22px;
  }

  .rice-card__icon {
    width: 28px;
  }

  .rice-card__body {
    flex-direction: column;
    padding: 0;
    gap: 20px;
  }

  .rice-card__media {
    width: 100%;
  }

  .rice-card__photo {
    width: 100%;
    height: 200px;
  }

  .rice-step__num {
    font-size: 17px;
  }

  .rice-step__highlight {
    font-size: 17px;
  }
}
