/*共通*/
body {
    font-family: "Helvetica Neue, Arial, Hiragino Sans, Meiryo, sans-serif", sans-serif;
    letter-spacing: 0.05em;
    color: #555;
  }
  
  img {
    width: 100%;
  }


  .find{
    margin-bottom: 80px;
    text-align: center;
  }
  .find_text{
    display: inline-block;/*display: inline-blockとborder: solid 1px #555のぺアで枠線つくる*/
    border: solid 1px #555;
    font-weight: bold;
    padding: 10px  20px;
  }
  footer{
    margin-bottom: 20px ;
    text-align: center;
    width: 30%;
    margin: 0 auto;
  }
  .footer_list{
    padding: 20px 100px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
  }
  .footer_item{
    border-bottom: solid 1px #555;
  }
  .footer_item + .footer_item{
    margin-left: 10px;
  }

/*index.html main*/
.mainvisual img{
  width: 100%;/*画像の幅を親要素の幅に合わせて100%に設定します。これにより、画像は横幅いっぱいに広がります。*/
  height: 100vh;/*画像の高さをビューポートの高さ（100vh）に設定します。これにより、画像は画面全体の高さにフィットします。*/
  object-fit: cover;/*画像のアスペクト比を保持しつつ、親要素に収まるように拡大または縮小します。これにより、画像の一部が切り取られる場合がありますが、全体がカバーされるようになります。*/
  object-position: center top;/*画像の表示位置を指定します。ここでは、画像の中央と上部を基準に配置されるため、画像の上部分が常に表示されます。*/
  margin-bottom: 80px;
}
/*index.html recette_top*/
.recette_top h3{
  font-weight: bold;
  margin-bottom: 20px;
}
.recette_top{
  text-align: center;
  margin-bottom: 80px;
}
/*index.html 写真リスト3枚*/
.list_items{
  display: flex;
  margin-bottom: 80px;
}
.list_items li{
  width: calc(100%/3);
  /*「calc(100%/3);」で、widthの値が3等分になるよう計算する。
  /*※「calc」は、割り切れない数で均等に配置したい場合などに便利。*/
}
.list_items li img{
  width: 100%;
  height: 500px;
  object-fit: cover;/*「object-fit: cover;」で、高さを固定したまま
  画面幅に合わせて画像を伸縮させることができる。*/
  vertical-align: bottom;/*「vertical-align: bottom;」で画像の下にできる隙間を消す*/
}

/***********************************
recette_detail_index.html page css
************************************/
.wrapper{
  margin-bottom: 80px;
  display: flex;
  flex-wrap: wrap;
}
.wrapper_img{
  width: 50%;
  height: 700px;
  object-fit: cover;
  vertical-align: bottom;
}
.recette{
  height: 700px;
  width: 50%;
  padding: 40px 5% 0 5%;
  flex-wrap: wrap;
  text-align: left;
  margin-bottom: 80px;
}
.right_title{
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 20px;
}
.right_text{
 margin-bottom: 20px;
}
.right_sub_title{
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 20px;
  border-bottom: solid 1px #ccc;
}
.ingredient-list {
 display: flex;
 flex-wrap: wrap;/*複数行の表示に対応するために、flex-wrap: wrap;を指定します。*/
 width: 100%;
}
dt {
  width: 30%;/*dtとddの合計の幅がdlと同じ幅になるように指定します*/
  border-bottom: dotted 1px #ccc;
}
dd {
  width: 70%;/*dtとddの合計の幅がdlと同じ幅になるように指定します*/
  border-bottom: dotted 1px #ccc;
}
ol li{
  border-bottom: dotted 1px #ccc;
}




@media screen and (max-width: 834px) {
/*index.html page*/
  .list_items{
    width: 100%;
    flex-direction: column;
  }
  .list_items li{
    width: 100%;
  }
  footer{
    width: 100%;
  }
  .footer_list{
    padding: 0 40px;
  }
  /*recette detail index page*/
    .wrapper{
      width: 100%;
    }
    .wrapper_img{
      width: 100%;
      object-fit: cover;
    }
    .recette{
      width: 100%;
   
    }
    .right_sub_title{
      text-align-last: left;
    }
    .right_title{
      text-align: center;
    }
    dl{
      margin-bottom: 50px;
    }
    dt{
      display: block;
      text-align: left;
    }
    dd{
      text-align: right;
    }


}