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

a {
  text-decoration: none;
  color: #2B2A27;
}

.container {
  width: 100%;
  margin: 0 auto;
}

.firstview {
  background-image: url(../img/mainvisual.jpg);
  background-size: cover;
  width: 100%;
  height: 100vh;
  background-position: center;
  text-align: center;
  margin: 0 auto;
}

.title {
  margin: 80px auto;
}
.title .main-title {
  font-size: 2rem;
  margin: 20px auto;
  font-weight: bold;
}
.title .sub-title {
  line-height: 1.5;
}

.recipe {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: auto;
}
.recipe li {
  width: 33.3333333333%;
}
.recipe li .recipe-image {
  width: 100%;
  height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
  vertical-align: bottom;
}

.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) {
  .recipe {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .recipe li {
    width: 100%;
  }
}