/* ------------------------------
 width: all
------------------------------ */
main section.s01 .wrapper .maincontents {
  padding: 0 10px;
}
main section.s01 .wrapper .maincontents .cat {
  text-align: right;
  font-size: 0;
  letter-spacing: 0;
  border-bottom: 1px solid #3E3A39;
  padding-bottom: 15px;
}
main section.s01 .wrapper .maincontents .cat select {
  border: 1px solid #3E3A39;
  display: inline-block;
  vertical-align: top;
  width: 215px;
  font-size: 16px;
  padding: 3px 0 3px 10px;
}
main section.s01 .wrapper .maincontents .recipelist {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
main section.s01 .wrapper .maincontents .recipelist li {
  width: 333px;
  margin-bottom: 55px;
}
main section.s01 .wrapper .maincontents .recipelist li a {
  display: block;
  text-decoration: none;
}
main section.s01 .wrapper .maincontents .recipelist li .photobox {
  width: 100%;
  display: block;
}
main section.s01 .wrapper .maincontents .recipelist li .photobox img {
  width: 100%;
  display: block;
}
main section.s01 .wrapper .maincontents .recipelist li p {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 10px;
  color: #3E3A39;
}
main section.s01 .wrapper .maincontents .recipelist li .catbox {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 15px;
}
main section.s01 .wrapper .maincontents .recipelist li .catbox span {
  border: 1px solid #3E3A39;
  display: block;
  width: calc(50% - 5px);
  margin-top: 10px;
  text-align: center;
  font-size: 18px;
  color: #3E3A39;
}
main section.s01 .wrapper .maincontents .pagination {
  border-top: 1px solid #3E3A39;
  padding: 15px 0 12px;
  text-align: center;
  border-bottom: 1px solid #3E3A39;
  margin-top: 150px;
}
main section.s01 .wrapper .maincontents .pagination a {
  width: 38px;
  padding: 10px 15px;
  display: inline-block;
  vertical-align: top;
}
main section.s01 .wrapper .maincontents .pagination a img {
  width: 100%;
  display: block;
}
main section.s01 .wrapper .maincontents .pagination span {
  width: 240px;
  padding: 10px 15px;
  display: inline-block;
  vertical-align: top;
  text-align: center;
}

/* ------------------------------
 width < $width-1
------------------------------ */
@media screen and (max-width: 768px) {
  main section.s01 .wrapper .maincontents {
    padding: 0 15px;
  }
  main section.s01 .wrapper .maincontents .cat {
    text-align: right;
    font-size: 0;
    letter-spacing: 0;
    border-bottom: 1px solid #3E3A39;
    padding-bottom: 15px;
  }
  main section.s01 .wrapper .maincontents .cat select {
    border: 1px solid #3E3A39;
    display: inline-block;
    vertical-align: top;
    width: 165px;
    font-size: 12px;
    padding: 3px 0 3px 10px;
    color: #3E3A39 !important;
  }
  main section.s01 .wrapper .maincontents .recipelist {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  main section.s01 .wrapper .maincontents .recipelist li {
    width: calc(50% - 5px);
    margin-bottom: 30px;
  }
  main section.s01 .wrapper .maincontents .recipelist li a {
    display: block;
    text-decoration: none;
  }
  main section.s01 .wrapper .maincontents .recipelist li .photobox {
    width: 100%;
    display: block;
  }
  main section.s01 .wrapper .maincontents .recipelist li .photobox img {
    width: 100%;
    display: block;
  }
  main section.s01 .wrapper .maincontents .recipelist li p {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 4px;
    color: #3E3A39;
  }
  main section.s01 .wrapper .maincontents .recipelist li .catbox {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 5px;
  }
  main section.s01 .wrapper .maincontents .recipelist li .catbox span {
    border: 1px solid #3E3A39;
    display: block;
    width: calc(50% - 5px);
    margin-top: 10px;
    text-align: center;
    font-size: 11px;
    color: #3E3A39;
  }
  main section.s01 .wrapper .maincontents .pagination {
    border-top: 1px solid #3E3A39;
    padding: 5px 0 2px;
    text-align: center;
    border-bottom: 1px solid #3E3A39;
    margin-top: 10px;
  }
  main section.s01 .wrapper .maincontents .pagination a {
    width: 25px;
    padding: 10px 10px;
    display: inline-block;
    vertical-align: top;
  }
  main section.s01 .wrapper .maincontents .pagination a img {
    width: 100%;
    display: block;
  }
  main section.s01 .wrapper .maincontents .pagination span {
    width: 120px;
    padding: 10px 0px;
    font-size: 12px;
    display: inline-block;
    margin-top: -4px;
    vertical-align: top;
    text-align: center;
  }
}