@charset "utf-8";
/*-------------------------------------------
main
-------------------------------------------*/
.recipe ul,
ol {
  list-style: auto;
  margin-bottom: 40px;
}

.main {
  padding-top: 0;
  align-items: center;
}

.title {
  height: 310px;
  background-image: url(../images/recipe/recipe_bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-shadow: 1px 1px 10px #4b2c14;
 }

 .title h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  font-weight: bold;
 }

 .title p {
  font-size: 14px;
  margin-top: 15px;
 }

/*-------------------------------------------
Recipe
-------------------------------------------*/
.flex {
  display: flex;
  margin-bottom: 60px;
  justify-content: space-between;
  width: 930px;
  max-width: 90%;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
}
.flex .image {
  width: 50%;
}
/*
高さは700pxで固定し、「object-fit: cover;」で
高さを固定したまま画面幅にあわせて画像を拡大縮小させる
*/
.flex .image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  vertical-align: bottom;
}
.flex .recipe {
  width: 50%;
  padding: 40px 5% 0 5%;
}
.flex .recipe .page-title {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.flex .recipe .content-title {
  border-bottom: solid 1px #ccc;
  font-size: 1.25rem;
  padding-bottom: 5px;
  margin: 40px 0 15px 0;
}
.flex .recipe .ingredient-list {
  display: flex;
  flex-wrap: wrap;
}
/*
border-bottom に「dotted」を指定して点線にする
*/
.flex .recipe .ingredient-list dt {
  width: 85%;
  border-bottom: dotted 1px #ccc;
  padding: 6px 0;
}
.flex .recipe .ingredient-list dd {
  width: 15%;
  border-bottom: dotted 1px #ccc;
  padding: 6px 0;
  text-align: right;
}
.flex .recipe .step-list li {
  border-bottom: dotted 1px #ccc;
  padding: 6px 0;
  margin-left: 20px;
}

/*-------------------------------------------
Button
-------------------------------------------*/
.link-button-area {
  text-align: center;
  margin-top: 20px;

}

.link-button {
  background-color: #f4dd64;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: 'Motserrat' sans-serif;
  font-size: 14px;
  font-weight: bold;
}

.link-button:hover {
  background-color: #d8b500;
}

 .recipe .link-button {
  background-color: #f9b66e;
}

.recipe .link-button:hover {
  background-color: #e0a668;
}



@media (max-width: 800px) {

/*-------------------------------------------
  Recipe
  -------------------------------------------*/ 

    .flex {
      flex-direction: column;
    }
    .flex .image {
      width: 100%;
    }
    /*
    画像の高さを固定していたのを解除する
    */
    .flex .image img {
      height: auto;
    }
    .flex .recipe {
      width: 100%;
    }

    ol {
      margin-bottom: 40px;
    }

}

