header nav ul li.works {
  border-bottom: 2px solid #fff;
}

.titleArea {
  background-image: url(../images/mainimg.jpg);
}

.mainArea {
  max-width: 1200px;
  margin: 0 auto;
}
@media screen and (max-width: 1260px) {
  .mainArea {
    max-width: 100%;
    margin-left: 30px;
    margin-right: 30px;
  }
}
@media screen and (max-width: 668px) and (orientation: portrait) {
  .mainArea {
    max-width: 100%;
    margin-left: 25px;
    margin-right: 25px;
  }
}
.mainArea {
  padding-top: 100px;
  padding-bottom: 100px;
}
@media screen and (max-width: 960px) {
  .mainArea {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
.mainArea .list {
  display: flex;
  flex-wrap: wrap;
}
.mainArea .list > section {
  width: calc(25% - 27px);
}
@media screen and (max-width: 960px) {
  .mainArea .list > section {
    width: calc(25% - 15px);
  }
}
@media screen and (max-width: 800px) {
  .mainArea .list > section {
    width: calc(33.3333333333% - 12px);
  }
}
@media screen and (max-width: 668px) and (orientation: portrait) {
  .mainArea .list > section {
    width: 100%;
  }
}
.mainArea .list > section {
  margin-bottom: 40px;
}
.mainArea .list > section:not(:nth-child(4n+1)) {
  margin-left: 36px;
}
@media screen and (max-width: 960px) {
  .mainArea .list > section:not(:nth-child(4n+1)) {
    margin-left: 20px;
  }
}
@media screen and (max-width: 800px) {
  .mainArea .list > section:not(:nth-child(4n+1)) {
    margin-left: 0;
  }
}
@media screen and (max-width: 800px) {
  .mainArea .list > section:not(:nth-child(3n+1)) {
    margin-left: 18px;
  }
}
@media screen and (max-width: 668px) and (orientation: portrait) {
  .mainArea .list > section:not(:nth-child(3n+1)) {
    margin-left: 0;
  }
}
.mainArea .list > section .photo {
  margin-bottom: 20px;
}
.mainArea .list > section .photo span {
  display: block;
  height: 0;
  padding-top: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.mainArea .list > section .cate {
  margin-bottom: 10px;
}
.mainArea .list > section .cate span.cate-item {
  display: inline-block;
  font-size: 1.2rem;
  background-color: #aaa;
  color: #fff;
  padding: 3px 15px;
}
.mainArea .list > section .cate span.cate-item:not(:first-child) {
  margin-left: 5px;
}
.mainArea .pagination {
  margin-top: 0 !important;
}