
.search-area {
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  text-align: left;
  background: #fff;
}

h2#search {
  margin-bottom: 20px;
  padding: 10px;
  border-top: 5px solid #ffacb6;
}

.category-sort-area {
  height: 100%;
}

.paging {
  margin: 0 auto;
  text-align: center;
}

.item-box5 a,
.item-box5 a:hover,
.item-box3 a,
.item-box3 a:hover {
  text-decoration: none;
}

@media screen and (min-width: 520px) {

  .wrap-main-contents .flex-box-start {
    display: flex;
    align-items: flex-start;
  }

  .wrap-main-contents .search-area {
    width: 69%;
    margin: 0 1% 0 0;
  }

  .wrap-main-contents .side-area {
    width: 30%;
    margin: 0;
  }

  .category-sort-area {
    width: 100%;
    margin: 10px 0;
    text-align: right;
  }

  .paging {
    width: 100%;
  }
}

@media screen and (max-width: 519px) {

  .wrap-main-contents .flex-box-start {
    display: block;
  }

  .wrap-main-contents .search-area,
  .wrap-main-contents .side-area {
    width: 90%;
    margin: 0 auto 10px auto;
  }

  .category-sort-area {
    width: 90%;
    margin: 10px auto;
    text-align: center;
    box-sizing: border-box;
  }

  .paging {
    width: 90%;
  }
}