@charset "UTF-8";
.works-body {
  background-color: #A4AE9C;
}

.wrapper {
  width: 1280px;
  margin: 0 auto;
  padding: 80px 15px;
}
@media screen and (max-width: 760px) {
  .wrapper {
    width: 100%;
  }
}

/*----- 一覧ページ(works.html) -----*/
.works-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.works-filter a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: #1D304F;
  text-decoration: none;
  border: 1px solid #A4AE9C;
  border-radius: 20% 80%;
}
.works-filter a.is-active, .works-filter a:hover {
  background-color: #2F4538;
  color: #fff;
  border-color: #2F4538;
}

.works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
@media screen and (max-width: 760px) {
  .works-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 550px) {
  .works-list {
    grid-template-columns: 1fr;
  }
}

.works-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.works-item_img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.works-item_img img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}
a:hover .works-item_img img {
  transform: scale(1.05);
}
.works-item_category {
  margin-top: 12px;
  font-size: 13px;
  color: #2F4538;
  letter-spacing: 0.05em;
}
.works-item_title {
  margin-top: 4px;
  font-weight: 700;
  color: #2A2120;
}

/*----- 詳細ページ(works/case01.html) -----*/
.works-detail_category {
  font-size: 13px;
  color: #A4AE9C;
  letter-spacing: 0.05em;
}

.works-detail_title {
  margin-top: 8px;
  font-size: 28px;
  color: #2F4538;
}

.works-detail_lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
}

/*before/afterのペア写真*/
.works-detail_pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media screen and (max-width: 550px) {
  .works-detail_pair {
    grid-template-columns: 1fr;
  }
}
.works-detail_pair .label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #2F4538;
}
.works-detail_pair img {
  width: 100%;
  aspect-ratio: 4/3;
}

/* ペアにならない単体写真(1枚 or 複数枚) */
.works-detail_singles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px;
}
@media screen and (max-width: 550px) {
  .works-detail_singles {
    grid-template-columns: 1fr;
  }
}
.works-detail_singles.is-single {
  grid-template-columns: 1fr;
}
.works-detail_singles.is-single .works-detail_single img {
  max-width: 600px;
  margin: 0 auto;
}

.works-detail_single .label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #2F4538;
}
.works-detail_single img {
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}

.works-detail_back {
  display: inline-block;
  margin-top: 60px;
  font-size: 14px;
  color: #2F4538;
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
}
.works-detail_back:hover {
  text-decoration: none;
}

#footer .wrapper {
  padding: 60px 15px 20px;
}/*# sourceMappingURL=style.works.css.map */