@charset "UTF-8";
/* CUSTOM VARIABLE */
/*TRANSITION*/
/*BREAKPOINT*/
/* Font */
.firstRow {
  padding: 30px 0 130px;
}

@media screen and (max-width: 1000px) {
  .firstRow {
    padding: 30px 0 80px;
  }
}

@media screen and (max-width: 767px) {
  .firstRow {
    padding: 0 0 80px;
  }
}

.firstRow .boxPortfolio {
  max-width: 1110px;
  width: 100%;
  margin: auto;
}

@media screen and (max-width: 1200px) {
  .firstRow .boxPortfolio {
    padding: 0 5%;
  }
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio {
    padding: 0 8%;
  }
}

.firstRow .boxPortfolio .listCategory {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px;
  color: #666666;
}

@media screen and (max-width: 1000px) {
  .firstRow .boxPortfolio .listCategory {
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .listCategory {
    flex-wrap: wrap;
    margin-bottom: 40px;
  }
}

.firstRow .boxPortfolio .listCategory .item {
  padding: 0 30px;
  border-left: 1px solid #666666;
  display: flex;
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .listCategory .item {
    padding: 0 10px;
  }
}

.firstRow .boxPortfolio .listCategory .item:first-child {
  border-left: 0;
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .listCategory .item:first-child {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
  }
}

.firstRow .boxPortfolio .listCategory .item a {
  font-size: 20px;
  line-height: 1;
  font-family: "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-weight: normal;
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .listCategory .item a {
    font-size: 12px;
  }
}

.firstRow .boxPortfolio .portfolioList {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

@media screen and (max-width: 1000px) {
  .firstRow .boxPortfolio .portfolioList {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList {
    justify-content: space-between;
  }
}

.firstRow .boxPortfolio .portfolioList li {
  width: 29.73%;
  margin-right: 5.406%;
  position: relative;
}

@media screen and (max-width: 1200px) {
  .firstRow .boxPortfolio .portfolioList li {
    width: 30%;
    margin-right: 5%;
  }
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList li {
    margin-right: 0;
    width: 45.1%;
  }
}

.firstRow .boxPortfolio .portfolioList li:nth-child(1) a, .firstRow .boxPortfolio .portfolioList li:nth-child(2) a, .firstRow .boxPortfolio .portfolioList li:nth-child(3) a {
  padding-top: 0;
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList li:nth-child(3) a {
    padding-top: 11.5%;
  }
}

.firstRow .boxPortfolio .portfolioList li:nth-child(3n) {
  margin-right: 0;
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList li:nth-child(11), .firstRow .boxPortfolio .portfolioList li:nth-child(12), .firstRow .boxPortfolio .portfolioList li:nth-child(13), .firstRow .boxPortfolio .portfolioList li:nth-child(14), .firstRow .boxPortfolio .portfolioList li:nth-child(15) {
    display: none;
  }
}

.firstRow .boxPortfolio .portfolioList li a {
  padding: 10% 0;
  display: block;
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList li a {
    padding: 11.5% 0;
  }
}

.firstRow .boxPortfolio .portfolioList li a .img {
  width: 100%;
  height: 17.5vw;
  overflow: hidden;
  margin-bottom: 20px;
}

@media screen and (max-width: 1200px) {
  .firstRow .boxPortfolio .portfolioList li a .img {
    height: 20vw;
  }
}

@media screen and (max-width: 1000px) {
  .firstRow .boxPortfolio .portfolioList li a .img {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList li a .img {
    height: 27.5vw;
  }
}

.firstRow .boxPortfolio .portfolioList li a .img div {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  transform: scale(1);
}

.firstRow .boxPortfolio .portfolioList li a .content {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList li a .content {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
  }
}

.firstRow .boxPortfolio .portfolioList li a .content .text {
  flex: 1;
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList li a .content .text {
    flex: unset;
    width: 100%;
  }
}

.firstRow .boxPortfolio .portfolioList li a .content .text h2 {
  font-size: 20px;
  font-weight: normal;
  font-family: "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

@media screen and (max-width: 1000px) {
  .firstRow .boxPortfolio .portfolioList li a .content .text h2 {
    font-size: 15px;
  }
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList li a .content .text h2 {
    font-size: 14px;
    text-align: center;
  }
}

.firstRow .boxPortfolio .portfolioList li a .content .text p {
  font-size: 18px;
}

@media screen and (max-width: 1000px) {
  .firstRow .boxPortfolio .portfolioList li a .content .text p {
    font-size: 14px;
  }
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList li a .content .text p {
    text-align: center;
  }
}

.firstRow .boxPortfolio .portfolioList li a .content .logo {
  width: 90px;
  text-align: right;
}

@media screen and (max-width: 1000px) {
  .firstRow .boxPortfolio .portfolioList li a .content .logo {
    width: 80px;
  }
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList li a .content .logo {
    width: 100%;
    text-align: center;
  }
}

.firstRow .boxPortfolio .portfolioList li a .content .logo .house {
  width: 65px;
}

@media screen and (max-width: 1000px) {
  .firstRow .boxPortfolio .portfolioList li a .content .logo .house {
    width: 55px;
  }
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList li a .content .logo .house {
    width: 65px;
  }
}

.firstRow .boxPortfolio .portfolioList li a .content .logo .tree {
  width: 80px;
}

@media screen and (max-width: 1000px) {
  .firstRow .boxPortfolio .portfolioList li a .content .logo .tree {
    width: 70px;
  }
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .portfolioList li a .content .logo .tree {
    width: 80px;
  }
}

.firstRow .boxPortfolio .portfolioList li a:hover .img div {
  transform: scale(1.03);
}

.firstRow .boxPortfolio .pagination .page-item {
  margin: 0 5px;
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .pagination .page-item {
    margin: 0 2px;
  }
}

.firstRow .boxPortfolio .pagination .page-item .page-link {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-family: 'Times New Roman', Times, serif;
  color: #000000;
  border-radius: 0;
  border: 1px solid #ACACAC;
}

@media screen and (max-width: 767px) {
  .firstRow .boxPortfolio .pagination .page-item .page-link {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

.firstRow .boxPortfolio .pagination .page-item.active .page-link {
  background-color: #ACACAC;
  border-color: #ACACAC;
  color: #FFF;
}

/*# sourceMappingURL=portfolioList.css.map */