@charset "UTF-8";

/*==========================================================================
common
==========================================================================*/

#gmenu .result a {
  background-color: #009a8e;
  color: #fff;
}

#main-image-area {
  background-color: #1b1464;
}

.result-content {
  position: relative;
  padding-top: 70px;
}

.result-area {
  background-color: #fff;
}

article {
  float: left;
  width: 210px;
  margin-left: 40px;
  margin-top: 30px;
}

article:nth-of-type(-n+4) {
  margin-top: 0;
}

article:nth-of-type(4n+1) {
  margin-left: 0;
  clear: both;
}

article a {
  color: #000;
}

.post-img {
  border: 1px solid #afafaf;
  box-sizing: border-box;
}

.post-img img {
  width: 100%;
  height: auto;
}

.post-category {
  color: #fff;
  font-size: 14px;
  width: 115px;
  padding: 4.5px 10px;
  margin-top: 10px;
}

.post-category.result-1 {
  background-color: #ec881e;
}

.post-category.result-2 {
  background-color: #2e3187;
}

.post-category.result-3 {
  background-color: #a8a8a8;
}

.post-date {
  margin-top: 12px;
  font-size: 12px;
}

.post-title {
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
}


/*==========================================================================
media
==========================================================================*/

@media screen and (max-width: 1095px) {
  .result-content {
    width: 1080px;
  }
}

@media screen and (max-width: 768px) {
  #page-link {
    display: block;
  }
  #page-link .results-category li {
    width: 50%;
    border-top: 1px solid #fff;
    box-sizing: border-box;
    text-align: left;
  }
  #page-link .results-category li:nth-of-type(2n) {
    border-left: 1px solid #fff;
  }
  #page-link .results-category li:nth-of-type(-n+2) {
    border-top: none;
  }
  #page-link .results-category li i {
    margin: 0 10px 0 20px;
  }
  .result-content {
    width: auto;
    padding: 30px 0 0;
  }
  .result-area {
    margin: 0 20px;
  }
  article {
    width: 31.33%;
    margin-left: 3%;
    margin-top: 25px;
  }
  article:nth-of-type(4n+1) {
    margin-left: 3%;
    clear: none;
  }
  article:nth-of-type(3n+1) {
    margin-left: 0;
    clear: both;
  }
  article:nth-of-type(-n+4) {
    margin-top: 25px;
  }
  article:nth-of-type(-n+3) {
    margin-top: 0;
  }
}

@media screen and (max-width: 574px) {
  article {
    width: 48.5%;
  }
  article:nth-of-type(3n+1) {
    margin-left: 3%;
    clear: none;
  }
  article:nth-of-type(2n+1) {
    margin-left: 0;
    clear: both;
  }
  article:nth-of-type(-n+3) {
    margin-top: 25px;
  }
  article:nth-of-type(-n+2) {
    margin-top: 0;
  }
}

@media screen and (max-width: 380px) {
  #page-link .results-category li {
    font-size: 12px;
  }
  #page-link .results-category li i {
    margin-right: 3px;
    line-height: 12px;
  }
  article {
    width: 100%;
    float: none;
    margin-left: 0;
  }
  article:nth-of-type(3n+1) {
    margin-left: 0;
  }
  article:nth-of-type(-n+2) {
    margin-top: 25px;
  }
  article:nth-of-type(1) {
    margin-top: 0;
  }
}
