html {
/* 一般的なブラウザのデフォルトフォントサイズが16pxと言われており、62.5%にすると10pxになる。
  ルートのフォントサイズが10px = 1rem となって今後のフォントサイズが指定しやすくなります */
  font-size: 62.5%;
}

body {
  background-color: #f8f4f1;
}

.inner {
  width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* header */

.site-header {
  background: #fff;
  padding: 20px 0;
}

.header-site-logo img {
  width: 290px;
}

/* main image */
.main-image img {
  display: block;
  width: 100%;
  display: none;
}

/* navigation */
.site-navi {
  background-color: #0cc5bc;
}

.site-navi-list {
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 8px 0;
}

.site-navi-list li {
  width: 163.3px;
  text-align: center;
  padding: 0 8px;
  box-sizing: border-box;
  font-size: 1.4rem;
  border-right: 1px solid #fff;
}

.site-navi-list li:first-child {
  border-left: 1px solid #fff;
}

.site-navi-list li a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 10px 0;
}

.site-navi-list li a:hover {
  background-color: #fff;
  border-radius: 4px;
  color: #0e2aa5;
}


/* main */
.main-contents {
  padding: 60px 0 80px;
}
h2 {
  font-size: 3.6rem;
  text-align: center;
}

h2::after {
  content: "";
  display: block;
  width: 130px;
  height: 5px;
  background-color: #dfd5c5;
  margin: 18px auto 40px;
}

/* ここからがレシピのCSS */


h3{
  font-size: 2.6rem;
  padding-top: 15px;
}
.about_list {
  margin: 0 5%;
  font-size: 1.8rem;
}

.about_list_items {
  padding: 25px 0;
  border-bottom: 1px solid #E6E6E6;
}

.area_about_list {
  margin: 0 5%;
  font-size: 1.8rem;
}

  .area_about_list_items {
    padding: 25px 0;
    border-bottom: 1px solid #E6E6E6;
  }
/* ここまでページコンテンツ*/
.flex {
  display: flex;
  margin-bottom: 60px;
}
.flex .image {
  width: 50%;
}
/*
高さは700pxで固定し、「object-fit: cover;」で
高さを固定したまま画面幅にあわせて画像を拡大縮小させる
*/
.flex .image img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  vertical-align: bottom;
}
.flex .recipe {
  width: 50%;
  padding: 40px 5% 0 5%;
}
.flex .recipe .recipe-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;
}

/* footer */
.site-footer {
  background-color: #dfd5c5;
  color: #393E46;
  padding: 20px 0 35px;
}

.footer-navi {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.footer-navi li {
  display: inline-block;
  margin-right: 20px;
  font-size: 1.3rem;
}

.footer-navi li a {
  color: #393E46;
  text-decoration: none;
  background: url(images/icon_footer-navi.png) no-repeat 0 50%;
  background-size: 7px 11px;
  padding-left: 15px;
}

.footer-navi li a:hover {
  text-decoration: underline;
}

/* 公開設定後削除 */
.footer-navi{
  display: none;
}
/* ここまで */

.footer-address {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

.footer-logo {
  width: 260px;
  margin-right: 50px;
}

.footer-address p {
  font-size: 1.4rem;
}

.copyright {
  text-align: center;
}

/* ここからメディアクエリ */
@media screen and (max-width: 834px) {
  /*-------------------------------------------
  Recipe
  -------------------------------------------*/
  .flex {
    flex-direction: column;
  }
  .flex .image {
    width: 100%;
  }
  /*
  画像の高さを固定していたのを解除する
  */
  .flex .image img {
    height: auto;
  }
  .flex .recipe {
    width: 100%;
  }
}
@media screen and (max-width:787px){
  .inner {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .h2 {
    font-size: 3rem;
  }


}

@media screen and (max-width:414px) {
  .inner {
    width: 94%;
  }

  .header-site-logo img {
    width: 200px;
    margin-left: 20px;
  }


  .footer-address {
    display: block;
    margin-bottom: 40px;
  }
  
  .footer-logo {
    width: 200px;
    margin-right: 0;
    margin-bottom: 20px;
  }
}