/* ------------------------------------------
  works_archive
------------------------------------------ */

.works_archive {
  padding: 0 0 10rem;
  margin-top: 8rem;
}

.works_archive_main_links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.works_archive_main_links_item {
  width: calc((100% - 8rem) / 5);
  line-height: 5rem;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-align: center;
  color: #333;
  border: 1px solid #e0e0e0;
  position: relative;
  z-index: 0;
  transition: 0.3s;
}

.works_archive_main_links_item:hover {
  background-color: #333333;
  border: 1px solid #333333;
  color: #fff;
  opacity: 1;
}
/* 
.works_archive_main_links_item。current:hover::before {
  opacity: 1;
} */
.works_archive_main_links_item.current {
  background-color: #333333;
  border: 1px solid #333333;
  color: #fff;
  opacity: 1;
}

.works_archive_main_content {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
}

.works_archive_main_content_item {
  width: calc(33.3333% - 3.2rem);
  margin-left: 4.7rem;
  box-shadow: 0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.13);
}

.works_archive_main_content_item:nth-child(3n + 1) {
  margin-left: 0;
}

.works_archive_main_content_item:nth-child(n + 4) {
  margin-top: 7rem;
}

.works_archive_main_content_item a {
  display: block;
}

.works_archive_main_content_item_img {
  aspect-ratio: 200/140;
  background-color: #eee;
}

.works_archive_main_content_item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works_archive_main_content_item_text {
  padding: 2rem;
  background-color: #fff;
}

.works_archive_main_content_item_text_tag {
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-align: left;
}

.works_archive_main_content_item_text_tag.cat01 {
  color: #62ac47;
}

.works_archive_main_content_item_text_tag.cat02 {
  color: #e28408;
}

.works_archive_main_content_item_text_tag.cat03 {
  color: #1fa895;
}
.works_archive_main_content_item_text_tag.cat04 {
  color: #3494e0;
}
.works_archive_main_content_item_text_tag.cat05 {
  color: #dbba00;
}
.works_archive_main_content_item_text_tag.cat06 {
  color: #c32930;
}
.works_archive_main_content_item_text_tag.cat07 {
  color: #e06fa7;
}
.works_archive_main_content_item_text_tag.cat08 {
  color: #a036b9;
}

.works_archive_main_content_item_text_title {
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: left;
  color: #333;
  margin-top: 1.5rem;
}

.works_archive_main_content_item_text_desc {
  font-weight: normal;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  line-height: 1.7;
  text-align: left;
  color: #333;
  margin-top: 1.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media screen and (max-width: 767px) {
  .works_archive {
    padding: 0 0 4rem;
    margin-top: 4rem;
  }
  .works_archive_main_links {
    gap: 1.4rem;
  }
  .works_archive_main_links_item {
    width: calc(50% - 0.7rem);
  }

  .works_archive_main_links_item {
    line-height: 3.5rem;
    font-size: 1.1rem;
  }
  .works_archive_main_links_item::before {
    height: 1.4rem;
    width: 0.1rem;
    bottom: -0.7rem;
  }
  .works_archive_main_content {
    margin-top: 2rem;
  }
  .works_archive_main_content_item {
    width: 100%;
    margin-left: 0;
  }
  .works_archive_main_content_item:nth-child(3n + 1) {
    margin-left: 0;
  }
  .works_archive_main_content_item:nth-child(n + 4) {
    margin-top: 2rem;
  }
  .works_archive_main_content_item:nth-child(n + 2) {
    margin-top: 2rem;
  }
  .works_archive_main_content_item_text {
    padding: 1rem;
  }
  .works_archive_main_content_item_text_tag {
    font-size: 1.2rem;
  }
  .works_archive_main_content_item_text_title {
    font-size: 1.4rem;
    margin-top: 1rem;
  }
  .works_archive_main_content_item_text_desc {
    font-size: 1.2rem;
    margin-top: 1rem;
  }
}

/* ------------------------------------------
  works_single
------------------------------------------ */
.works_single {
  padding: 6rem 0;
}

.works_single_content {
  max-width: 80rem;
  margin: 0 auto;
}

.works_single_content .title {
  font-weight: 600;
  font-size: 2.4rem;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-align: center;
  color: #333;
}

.works_single_content .thumbnail {
  margin: 5rem auto 0;
  aspect-ratio: 2 / 1;
  background-color: #eee;
  box-shadow: 0 0 0.6rem rgba(0, 0, 0, 0.08);
}

.works_single_content .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.works_single_content .catch {
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  line-height: 1.7;
  text-align: center;
  color: #333;
  margin-top: 5rem;
}

.works_single_content .table {
  margin: 5rem auto 0;
  width: 100%;
  table-layout: fixed;
  border-top: 2px solid #eacbc4;
  border-bottom: 2px solid #eacbc4;
}

.works_single_content .table .row + .row {
  border-top: 1px solid #e0e0e0;
}

.works_single_content .table .row .head {
  font-weight: 700;
  width: 30%;
  border-right: 1px solid #e0e0e0;
  padding: 1.8rem 2rem;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 2;
  text-align: center;
  background-color: #ffeeeb;
}

.works_single_content .table .row .desc {
  padding: 0.7rem 4rem;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: left;
  color: #333;
  vertical-align: middle;
}

.works_single_content .table .row .desc a {
  text-decoration: underline;
}

.works_single_content .point {
  margin-top: 5rem;
}

.works_single_content .point .head {
  line-height: 2.6rem;
  border-left: 0.3rem #ddd solid;
  padding-left: 1rem;
  position: relative;
  z-index: 0;
  font-weight: 600;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  text-align: left;
  color: #333;
}
.works_single_content .point .text {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1.8;
  text-align: left;
  color: #333;
  margin-top: 1.5rem;
}
.works_single_content .point .head::before {
  position: absolute;
  background-color: #eacbc4;
  top: 0;
  left: -0.3rem;
  height: 1.3rem;
  width: 0.3rem;
  content: "";
}
.works-swiper-outer {
  margin-top: 5rem;
  position: relative;
  padding-bottom: 5rem;
}
.works-swiper-outer .head {
  line-height: 2.6rem;
  border-left: 0.3rem #ddd solid;
  padding-left: 1rem;
  position: relative;
  z-index: 0;
  font-weight: 600;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  text-align: left;
  color: #333;
}

.works-swiper-outer .head::before {
  position: absolute;
  background-color: #eacbc4;
  top: 0;
  left: -0.3rem;
  height: 1.3rem;
  width: 0.3rem;
  content: "";
}

.works-swiper {
  overflow: hidden;
  margin-top: 1.5rem;
}

.works-swiper .img {
  aspect-ratio: 645/400;
  width: 100%;
  background-color: #eee;
}

.works-swiper .img img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.works-swiper .caption {
  margin-top: 2rem;
  font-size: 1.5rem;
  line-height: 1.3;
}
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 0;
}
.swiper-pagination-bullet-active {
  background: #eacbc4;
}

.more_btn {
  border: 0.1rem solid #333;
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 6.3rem;
  margin: 7.5rem auto 0;
  max-width: 45rem;
  position: relative;
  text-align: center;
  transition: 0.3s ease;
}

.more_btn:hover {
  background-color: #000;
  color: #fff;
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .works_single {
    padding: 4rem 0;
  }

  .works_single_content .title {
    font-size: 2rem;
  }

  .works_single_content .thumbnail {
    margin: 3rem auto;
  }

  .works_single_content .catch {
    font-size: 1.5rem;
  }

  .works_single_content .table {
    margin: 4rem auto 0;
  }

  .works_single_content .table .row .head {
    width: 100%;
    border-right: none;
    padding: 1.5rem 0;
    display: block;
  }

  .works_single_content .table .row .desc {
    padding: 1.5rem 0;
    text-align: center;
    display: block;
  }

  .works_single_content .table .row .desc a {
    text-decoration: underline;
  }

  .works_single_content .point {
    margin-top: 5rem;
  }

  .works_single_content .point .head {
    line-height: 2rem;
    padding-left: 0.7rem;
    font-size: 1.8rem;
  }
  .works-swiper-outer {
    margin-top: 4rem;
    padding-bottom: 3rem;
  }
  .works-swiper-outer .head {
    line-height: 2rem;
    padding-left: 0.7rem;
    font-size: 1.8rem;
  }
  .works-swiper .caption {
    margin-top: 1.5rem;
    font-size: 1.4rem;
  }
  .more_btn {
    font-size: 1.6rem;
    line-height: 5.4rem;
    margin: 5.4rem auto 0;
    max-width: 29.5rem;
  }

  .more_btn::after {
    bottom: 2rem;
    height: 0.6rem;
    right: -1.9rem;
    transform: translateX(0);
    width: 5.7rem;
  }
}
