@charset "UTF-8";

/* =========================================================
   /jp/recipe/assets/css/content-2020.css
   gcode: 2020
   冷蔵庫で育てる、わが家のぬか床。

   方針：
   ・2010系のrecipe_feature型を踏襲
   ・袋タイプではなく、保存容器で作るぬか床として見せる
   ・冷蔵庫、清潔感、発酵、手軽さを重視
   ・明朝体ベースで公式サイトらしく上品に
   ・スマホでも工程が読みやすい構成
========================================================= */

.recipe-content-2020 {
  color: #34352b;
  background: #fbfaf1;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  line-height: 1.95;
  overflow: hidden;
}

.recipe-content-2020 * {
  box-sizing: border-box;
}

.recipe-content-2020 img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.recipe-2020-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px 60px;
}

/* =========================================================
   HERO
========================================================= */

.recipe-2020-hero {
  position: relative;
  margin: 0 0 44px;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  background: #4b5136;
}

.recipe-2020-hero__image {
  position: relative;
  min-height: 440px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.recipe-2020-hero__image:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(38, 39, 29, 0.82) 0%,
    rgba(72, 70, 52, 0.55) 48%,
    rgba(72, 70, 52, 0.08) 100%
  );
}

.recipe-2020-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 22px 80px;
  color: #fff;
}

.recipe-2020-hero__label {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.recipe-2020-hero__title {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.38;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.recipe-2020-hero__lead {
  max-width: 720px;
  margin: 0;
  font-size: 18px;
  line-height: 2;
}

/* =========================================================
   COMMON
========================================================= */

.recipe-2020-section {
  margin: 0 0 46px;
}

.recipe-2020-card {
  padding: 32px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(65, 54, 39, 0.08);
}

.recipe-2020-label {
  margin: 0 0 10px;
  color: #71813a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.recipe-2020-title {
  margin: 0 0 18px;
  color: #2c3024;
  font-size: 28px;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.recipe-2020-lead {
  margin: 0 0 22px;
  color: #53584b;
  font-size: 16px;
  line-height: 1.95;
}

.recipe-2020-text {
  color: #34352b;
}

.recipe-2020-text p {
  margin: 0 0 12px;
  line-height: 2;
}

.recipe-2020-text p:last-child {
  margin-bottom: 0;
}

.recipe-2020-section-image {
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 24px;
  background: #edf0df;
}

.recipe-2020-section-image img {
  display: block;
  width: 100%;
}

/* =========================================================
   CATCH
========================================================= */

.recipe-2020-catch {
  margin: 0 0 38px;
  padding: 28px 22px;
  text-align: center;
  border-radius: 26px;
  background: linear-gradient(135deg, #f2f5dc 0%, #fbfaf1 54%, #fff1dc 100%);
  border: 1px solid #dbe2b5;
}

.recipe-2020-catch__main {
  margin: 0 0 8px;
  color: #4f5b25;
  font-size: 25px;
  line-height: 1.48;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.recipe-2020-catch__sub {
  max-width: 820px;
  margin: 0 auto;
  color: #5b5d50;
  font-size: 15px;
  line-height: 1.8;
}

/* =========================================================
   INTRO
========================================================= */

.recipe-2020-intro {
  max-width: 930px;
  margin-left: auto;
  margin-right: auto;
}

.recipe-2020-intro .recipe-2020-title {
  text-align: center;
}

.recipe-2020-intro .recipe-2020-text {
  font-size: 17px;
}

/* =========================================================
   IMPORTANT NOTE / INGREDIENTS
========================================================= */

.recipe-2020-note {
  position: relative;
  border: 1px solid #d9dfad;
  background: #fffef8;
  box-shadow: 0 16px 36px rgba(83, 67, 43, 0.08);
}

.recipe-2020-note:before {
  content: "";
  display: block;
  width: 52px;
  height: 5px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: #7b8b35;
}

.recipe-2020-note .recipe-2020-title {
  color: #4b5720;
}

.recipe-2020-note-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 18px;
}

.recipe-2020-note-list li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 34px;
  color: #45483a;
  line-height: 1.75;
  border-radius: 16px;
  background: #f8f8e8;
  border: 1px solid #dfe4c8;
}

.recipe-2020-note-list li:before {
  content: "●";
  position: absolute;
  left: 15px;
  top: 12px;
  color: #7b8b35;
  font-size: 12px;
}

/* =========================================================
   FEATURES
========================================================= */

.recipe-2020-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.recipe-2020-feature {
  padding: 24px 18px;
  border-radius: 22px;
  background: #f8f7ea;
  border: 1px solid #dfe4c9;
}

.recipe-2020-feature__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 0 14px;
  border-radius: 50%;
  background: #7b8b35;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(118, 128, 56, 0.22);
}

.recipe-2020-feature__title {
  margin: 0 0 10px;
  color: #2c3024;
  font-size: 18px;
  line-height: 1.45;
}

.recipe-2020-feature__body {
  margin: 0;
  color: #53584b;
  font-size: 15px;
  line-height: 1.85;
}

/* =========================================================
   STEP / HOWTO
========================================================= */

.recipe-2020-recipe {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.recipe-2020-recipe__image {
  position: sticky;
  top: 24px;
  overflow: hidden;
  border-radius: 26px;
  background: #f0e9dc;
}

.recipe-2020-recipe__image img {
  width: 100%;
  display: block;
}

.recipe-2020-recipe-list {
  display: grid;
  gap: 16px;
}

.recipe-2020-recipe-box {
  position: relative;
  padding: 23px;
  border-radius: 22px;
  background: #fbfaf1;
  border: 1px solid #dfe4c9;
}

.recipe-2020-recipe-box:before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: #7b8b35;
}

.recipe-2020-recipe-box__visual {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 18px;
  background: #ede6d8;
}

.recipe-2020-recipe-box__visual img {
  display: block;
  width: 100%;
}

.recipe-2020-recipe-box__name {
  margin: 0 0 8px;
  color: #4b5720;
  font-size: 18px;
  line-height: 1.5;
}

.recipe-2020-recipe-box__point {
  margin: 0 0 8px;
  color: #3f392f;
  font-size: 15px;
  line-height: 1.85;
}

.recipe-2020-recipe-box__memo {
  margin: 0;
  padding: 12px 14px;
  color: #5b5d50;
  font-size: 14px;
  line-height: 1.75;
  border-radius: 15px;
  background: #f6f6e2;
}

.recipe-2020-recipe-note {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff8ed;
  border: 1px solid #ead9bd;
  color: #6a502d;
  line-height: 1.75;
}

/* =========================================================
   TASTE / POINT MARK
========================================================= */

.recipe-2020-taste {
  border: 1px solid #d9dfad;
  background: linear-gradient(135deg, #fffef8 0%, #f6f6e2 100%);
}

.recipe-2020-taste-mark {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #788b34;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* =========================================================
   DAILY GRID / POINTS
========================================================= */

.recipe-2020-daily-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.recipe-2020-daily-item {
  padding: 22px;
  border-radius: 20px;
  background: #fff8ed;
  border: 1px solid #dfe4c9;
}

.recipe-2020-daily-item__title {
  margin: 0 0 9px;
  color: #694a1d;
  font-size: 17px;
  line-height: 1.45;
}

.recipe-2020-daily-item__body {
  margin: 0;
  color: #53584b;
  font-size: 15px;
  line-height: 1.8;
}

/* =========================================================
   START / CLOSING
========================================================= */

.recipe-2020-start {
  border: 1px solid #ded5c8;
  background: #fffef8;
}

.recipe-2020-closing {
  text-align: center;
  border: 1px solid #d9dfad;
  background: linear-gradient(135deg, #fbfaf1 0%, #f2f4d2 100%);
}

.recipe-2020-closing .recipe-2020-section-image {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.recipe-2020-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 24px 0 0;
  padding: 12px 24px;
  border-radius: 999px;
  background: #61722c;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.recipe-2020-button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* =========================================================
   2020 専用補足
========================================================= */

.recipe-content-2020 .recipe-2020-hero__image:before {
  background: linear-gradient(
    90deg,
    rgba(36, 34, 28, 0.84) 0%,
    rgba(70, 65, 48, 0.56) 48%,
    rgba(70, 65, 48, 0.10) 100%
  );
}

.recipe-content-2020 .recipe-2020-catch {
  background: linear-gradient(135deg, #fff1d8 0%, #fbfaf1 48%, #eef0cc 100%);
}

.recipe-content-2020 .recipe-2020-note-list li:nth-child(1),
.recipe-content-2020 .recipe-2020-note-list li:nth-child(2),
.recipe-content-2020 .recipe-2020-note-list li:nth-child(3) {
  background: #fff8ed;
  border-color: #ead9bd;
}

.recipe-content-2020 .recipe-2020-feature:nth-child(1),
.recipe-content-2020 .recipe-2020-feature:nth-child(3),
.recipe-content-2020 .recipe-2020-feature:nth-child(5) {
  background: #fbfaf1;
}

.recipe-content-2020 .recipe-2020-daily-item:nth-child(odd) {
  background: #f8f7ea;
}

/* =========================================================
   step_image_cards 用
========================================================= */

.recipe-2020-section--step-image-cards .recipe-2020-recipe,
.recipe-2020-recipe--step-image-cards {
  display: block;
}

.recipe-2020-section--step-image-cards .recipe-2020-recipe__body,
.recipe-2020-recipe--step-image-cards .recipe-2020-recipe__body {
  width: 100%;
}

.recipe-2020-section--step-image-cards .recipe-2020-recipe-list,
.recipe-2020-recipe--step-image-cards .recipe-2020-recipe-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.recipe-2020-section--step-image-cards .recipe-2020-recipe-box,
.recipe-2020-recipe--step-image-cards .recipe-2020-recipe-box {
  padding: 18px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media screen and (max-width: 1024px) {
  .recipe-2020-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recipe-2020-daily-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recipe-2020-note-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 820px) {
  .recipe-2020-hero__image {
    min-height: 390px;
  }

  .recipe-2020-hero__inner {
    padding: 58px 20px 64px;
  }

  .recipe-2020-hero__title {
    font-size: 33px;
  }

  .recipe-2020-hero__lead {
    font-size: 16px;
  }

  .recipe-2020-card {
    padding: 24px;
    border-radius: 22px;
  }

  .recipe-2020-title {
    font-size: 24px;
  }

  .recipe-2020-recipe {
    display: block;
  }

  .recipe-2020-recipe__image {
    position: static;
    margin: 0 0 22px;
  }

  .recipe-2020-section--step-image-cards .recipe-2020-recipe-list,
  .recipe-2020-recipe--step-image-cards .recipe-2020-recipe-list {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .recipe-2020-wrap {
    padding: 0 14px 46px;
  }

  .recipe-2020-hero {
    margin-bottom: 32px;
    border-radius: 0 0 22px 22px;
  }

  .recipe-2020-hero__image {
    min-height: 360px;
    background-position: center center;
  }

  .recipe-2020-hero__image:before {
    background: linear-gradient(
      180deg,
      rgba(36, 34, 28, 0.72) 0%,
      rgba(36, 34, 28, 0.70) 100%
    );
  }

  .recipe-2020-hero__inner {
    padding: 46px 18px 54px;
  }

  .recipe-2020-hero__label {
    font-size: 12px;
  }

  .recipe-2020-hero__title {
    font-size: 28px;
  }

  .recipe-2020-hero__lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .recipe-2020-catch {
    padding: 24px 18px;
  }

  .recipe-2020-catch__main {
    font-size: 22px;
  }

  .recipe-2020-card {
    padding: 20px;
  }

  .recipe-2020-section {
    margin-bottom: 34px;
  }

  .recipe-2020-feature-grid,
  .recipe-2020-daily-grid,
  .recipe-2020-note-list {
    grid-template-columns: 1fr;
  }

  .recipe-2020-title {
    font-size: 22px;
  }

  .recipe-2020-note-list li {
    padding-top: 11px;
    padding-bottom: 11px;
  }
}
