@charset "UTF-8";

/* CSS Document */
body {
  font-family: "A1 Gothic R";
}

dt {
  font-family: 'A1 Gothic M';
}

dd  {
  font-family: 'A1 Gothic R';
}
.yellow{
  background-color: cornsilk;
}

.reshipi {
    background-color: #eeffeb;
    padding: 30px;
    border-radius: 10px;
}

#information_free li .info_desc {
        max-width: 450px;
        margin: 0 auto;
        text-align: left;
        margin-bottom: 20px;
    }

.ingredients {
  list-style: none;
  padding: 0;
  max-width: 500px;
  margin: 0 auto;
}

.ingredients li {
  display: flex;
  align-items: flex-end; /* 2行になっても一番下の行に点線と分量を揃える */
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

/* 真ん中に自動で伸びる点線を入れる */
.ingredients li::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted #333;
  order: 2;
  margin-bottom: 0.7em; /* 文字の高さに合わせて点線を少し持ち上げる */
  min-width: 1rem;
}

.ingredients li span:first-child {
  order: 1;
}

.ingredients li span:last-child {
  order: 3;
  white-space: nowrap;
}
.steps {
  list-style: none;
  padding: 0;
  max-width: 500px; /* 材料リストと幅を揃える場合 */
  margin: 0 auto;
}

.steps li {
  display: flex;
  align-items: flex-start; /* 番号と1行目の上端を揃える */
  margin-bottom: 1.2rem;   /* 手順ごとの間隔 */
  line-height: 1.7;
}

.steps li span {
  flex-shrink: 0;          /* 番号が押し潰されないように固定 */
  margin-right: 0.3rem;    /* 番号と文章の間のちょっとした余白 */
}
#information_free li .info_desc ul {
  margin-left: 0 !important;
}
@media(min-width:640px) {
  .yellow{
    max-width: 700px !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding-left: 20px;
    padding-right: 20px;
  }
  .yellow > p {
    max-width: 27em;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 640px) {
  .yellow{
    margin-right: -20px !important;
    margin-left: -20px !important;
    padding-right: 20px;
    padding-left: 20px; 
  } 
}


.reshipi2 {
    background-color: #fff2eb;
    padding: 30px;
    border-radius: 10px;
}