@charset "utf-8";

/*------------------------------------------------
   施工事例
------------------------------------------------*/

/*------------------------------------------------
   一覧ページ
------------------------------------------------*/

#works {
  width: 100%;
}

#works .worksBlock {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 0 10px;
}

#works .worksBlock .worksHeading {
  font-size: 1.2rem;
  line-height: 1.9;
  font-weight: 500;
  text-align: center;
  margin-bottom: 30px;
}

#works .worksList {
  width: 100%;
}

.worksBox {
  width: 210px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.worksBox:last-child {
  margin-bottom: 0;
}

.worksBox a {
  display: block;
  text-decoration: none;
  transition: all 0.5s;
}

.worksBox .imageBlock {
  width: 100%;
  margin-bottom: 10px;
  transition: all 0.5s;
}

.worksBox .imageBlock .image {
  width: 210px;
  border: 1px solid #828283;
}

.worksBox .imageBlock .image img {
  width: 100%;
  height: auto;
}

.worksBox .textBlock {
  width: 100%;
  transition: all 0.5s;
  text-align: center;
}

.worksBox .textBlock .worksTitle {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
}

.worksBox .textBlock .worksTitle span {
  font-size: 1em;
  margin-left: 0.6em;
}

.worksBox .textBlock .worksPeriod {
  font-size : 1.4rem;
  font-weight: 500;
}

.worksBox a:hover .textBlock {
  color: var(--main-color);
}

@media print, screen and (min-width: 601px) {

  #works .worksBlock {
    width: 880px;
    max-width: none;
    margin: 0 auto;
    padding: 0;
  }

  #works .worksBlock .worksHeading {
    font-size: 2.6rem;
    margin-bottom: 60px;
  }
  
  .worksList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .worksBox {
    margin: 0;
  }

  .worksBox a:hover .imageBlock {
    opacity: 0.8;
  }

}


/*------------------------------------------------
   カタログページ
------------------------------------------------*/

#catalog {
  width: 100%;
}

#catalog .catalogBlock {
  width: 100%;
  max-width: 320px;
  text-align: center;
  margin: 0 auto;
  padding: 0 10px;
}

#catalog .catalogBlock .book {
  margin-bottom: 40px;
}

@media print, screen and (min-width: 601px) {

  #catalog .catalogBlock {
    width: 940px;
    max-width: none;
    margin: 0 auto;
    padding: 0;
  }

}
