/* css */
@import url(../css/reset.css);
body {
  font-family: HelveticaNeue, Arial, HiraginoSans, Meiryo, sans-serif;
  color: #2B2A27;
}

main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.recipe-image {
  width: 50%;
}
.recipe-image img {
  width: 100%;
  height: 700px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
}

.recipe-detail {
  width: 50%;
  padding: 5%;
}
.recipe-detail .recipe-title {
  font-size: 28px;
  font-weight: bold;
}
.recipe-detail .recipe-info {
  margin-top: 20px;
}
.recipe-detail .sub-title {
  margin-top: 40px;
  font-size: 20px;
  border-bottom: 1px solid #CCCCCC;
  font-weight: bold;
}
.recipe-detail .recipe-ingredient {
  margin-top: 20px;
}
.recipe-detail .recipe-ingredient table {
  width: 100%;
}
.recipe-detail .recipe-ingredient table tr td {
  border-bottom: 1px dotted #CCCCCC;
  padding: 5px;
}
.recipe-detail .recipe-ingredient table tr td #right {
  text-align: right;
}
.recipe-detail .recipe-process ol {
  margin-top: 20px;
  padding-left: 20px;
}
.recipe-detail .recipe-process ol li {
  list-style: decimal;
  border-bottom: 1px dotted #CCCCCC;
  padding: 5px;
}
.recipe-detail .recipe-process ol li .step-title {
  font-weight: bold;
}

footer {
  text-align: center;
}
footer .recipe-btn {
  width: 232px;
  height: 50px;
  border: solid 1px #2B2A27;
  margin: 80px auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
footer ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
footer ul li {
  list-style: none;
  text-decoration: underline;
  margin: 30px 20px;
}
footer p {
  margin-bottom: 20px;
}

@media (max-width: 834px) {
  main {
    display: block;
  }
  .recipe-image {
    width: 100%;
  }
  .recipe-detail {
    width: 100%;
  }
}