.works-fv {
  position: relative;
  min-height: 24.7vw;
  color: #ffffff;
  background: url("../images/webp/workstop.webp") center center / cover no-repeat;
}

.works-fv__content {
  position: absolute;
  top: 11.2vw;
  left: 45.6vw;
  color: #ffffff;
  text-align: center;
}

.works-fv__en {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-expanded);
  font-size: 1.65vw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.18vw;
}

.works-fv__title {
  margin-top: 1vw;
  color: #ffffff;
  font-size: 1vw;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.22vw;
}

.works-archive {
  padding: 2.8vw 0 8.4vw;
  background: #ffffff;
}

.works-archive__inner {
  width: 78%;
  margin: 0 auto;
}

.works-archive__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42vw;
  color: #0068b7;
  font-size: 0.54vw;
  font-weight: 500;
  line-height: 1.8;
}

.works-archive__breadcrumb a {
  color: #1a1a1a;
  text-decoration: none;
}

.works-filter {
  margin-top: 6.8vw;
  padding: 2.8vw 3vw 3.2vw;
  background: #f7f7f7;
}

.works-filter__title {
  margin: 0;
  color: #101010;
  font-size: 1.25vw;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.1vw;
}

.works-filter__groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.6vw 3.2vw;
  margin-top: 2.4vw;
}

.works-filter__group--wide {
  grid-column: 1 / -1;
}

.works-filter__group-title {
  margin: 0 0 1vw;
  padding-bottom: 0.8vw;
  color: #101010;
  font-size: 0.86vw;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.08vw;
  border-bottom: 0.0625rem solid #d8d8d8;
}

.works-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7vw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.works-filter__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9vw;
  padding: 0.35vw 0.9vw;
  color: #101010;
  font-size: 0.72vw;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 0.0625rem solid #101010;
  border-radius: 999px;
  background: #ffffff;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4vw 2.4vw;
  margin-top: 5.2vw;
}

.works-card__link {
  display: block;
  color: #101010;
  text-decoration: none;
}

.works-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.34 / 1;
  overflow: hidden;
  background: #f0f0f0;
}

.works-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-card__body {
  display: block;
  margin-top: 1.25vw;
}

.works-card__owner {
  display: block;
  color: #101010;
  font-size: 0.72vw;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08vw;
}

.works-card__title {
  display: block;
  margin-top: 0.65vw;
  color: #101010;
  font-size: 1vw;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.08vw;
}

.works-card__tags {
  display: block;
  margin-top: 0.85vw;
  color: #5c5c5c;
  font-size: 0.68vw;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.05vw;
}

.works-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8vw;
  margin-top: 5.2vw;
}

.works-pagination__item,
.works-pagination__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2vw;
  aspect-ratio: 1;
  color: #101010;
  font-size: 0.86vw;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.works-pagination__item {
  border: 0.0625rem solid #101010;
  border-radius: 50%;
}

.works-pagination__item.is-current {
  color: #ffffff;
  background: #101010;
}

.works-cta {
  padding: 9vw 0 8.5vw;
  color: #eeeeee;
  background: #000000;
}

.works-cta__inner {
  width: 80%;
  margin-inline: auto;
}

.works-cta__heading {
  text-align: center;
  color: #eeeeee;
}

.works-cta__title {
  margin: 0;
  color: #eeeeee;
  font-family: var(--font-expanded);
  font-size: 3.2vw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08vw;
}

.works-cta__subtitle {
  margin-top: 2vw;
  color: #eeeeee;
  font-size: 1.35vw;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.12vw;
}

.works-cta__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.5vw;
  width: 100%;
  margin: 6.2vw 0 0;
}

.works-cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  aspect-ratio: 1;
  padding: 3.7vw 2.3vw 2.8vw;
  overflow: hidden;
  color: #eeeeee;
  text-decoration: none;
  background: #414141;
}

.works-cta-card:visited {
  color: #eeeeee;
}

.works-cta-card::before,
.works-cta-card::after {
  position: absolute;
  right: 2.15vw;
  bottom: 2.05vw;
  width: 4.1vw;
  aspect-ratio: 1;
  pointer-events: none;
}

.works-cta-card::before {
  content: "";
  border: 0.0625rem solid #eeeeee;
  border-radius: 50%;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.works-cta-card::after {
  content: "→";
  display: grid;
  place-items: center;
  color: #eeeeee;
  font-family: var(--font-noto);
  font-size: 1.25vw;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease;
}

.works-cta-card:hover::before,
.works-cta-card:focus-visible::before {
  transform: scale(1.06);
  background: rgba(238, 238, 238, 0.08);
}

.works-cta-card:hover::after,
.works-cta-card:focus-visible::after {
  transform: translateX(0.22vw);
}

.works-cta-card__en {
  color: #eeeeee;
  font-family: var(--font-expanded);
  font-size: 1.08vw;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.03vw;
}

.works-cta-card__title {
  margin-top: 1.45vw;
  color: #eeeeee;
  font-size: 1.8vw;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.12vw;
}

.works-cta-card__tel {
  margin-top: 2.3vw;
  color: #eeeeee;
  font-family: var(--font-noto);
  font-size: 1.55vw;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08vw;
  white-space: nowrap;
}

.works-cta-card__text {
  margin-top: 2.2vw;
  max-width: 21vw;
  color: #eeeeee;
  font-size: 0.9vw;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.08vw;
}

@media (max-width: 767px) {
  .works-fv {
    min-height: 43vw;
    background-position: center center;
  }

  .works-fv__content {
    top: 18.5vw;
    left: 45vw;
  }

  .works-fv__en {
    font-size: 4vw;
    letter-spacing: 0.25vw;
  }

  .works-fv__title {
    margin-top: 2.1vw;
    font-size: 2.7vw;
    letter-spacing: 0.4vw;
  }

  .works-archive {
    padding: 6vw 0 14vw;
  }

  .works-archive__inner {
    width: 90vw;
  }

  .works-archive__breadcrumb {
    gap: 1.4vw;
    font-size: 2.2vw;
  }

  .works-filter {
    margin-top: 10vw;
    padding: 6vw 5vw;
  }

  .works-filter__title {
    font-size: 4vw;
  }

  .works-filter__groups {
    grid-template-columns: 1fr;
    gap: 6vw;
    margin-top: 5vw;
  }

  .works-filter__group--wide {
    grid-column: auto;
  }

  .works-filter__group-title {
    margin-bottom: 3vw;
    padding-bottom: 2.4vw;
    font-size: 3.2vw;
  }

  .works-filter__list {
    gap: 2vw;
  }

  .works-filter__list a {
    min-height: 7vw;
    padding: 1.4vw 3vw;
    font-size: 2.7vw;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 9vw;
    margin-top: 10vw;
  }

  .works-card__image {
    aspect-ratio: 1.34 / 1;
  }

  .works-card__body {
    margin-top: 3vw;
  }

  .works-card__owner {
    font-size: 2.6vw;
  }

  .works-card__title {
    margin-top: 1.6vw;
    font-size: 4vw;
    line-height: 1.6;
  }

  .works-card__tags {
    margin-top: 2vw;
    font-size: 2.6vw;
    line-height: 1.8;
  }

  .works-pagination {
    gap: 2vw;
    margin-top: 10vw;
  }

  .works-pagination__item,
  .works-pagination__dots {
    min-width: 7.5vw;
    font-size: 2.8vw;
  }

  .works-cta {
    padding: 17vw 0 28vw;
    background: #000000;
  }

  .works-cta__title {
    font-size: 8vw;
    line-height: 1.08;
    letter-spacing: 0.08vw;
  }

  .works-cta__subtitle {
    margin-top: 3vw;
    font-size: 3.6vw;
    letter-spacing: 0.18vw;
  }

  .works-cta__inner {
    width: 84%;
  }

  .works-cta__cards {
    grid-template-columns: 1fr;
    gap: 4vw;
    width: 100%;
    margin-top: 9vw;
  }

  .works-cta-card {
    aspect-ratio: auto;
    min-height: 38vw;
    padding: 6vw 20vw 6vw 6vw;
  }

  .works-cta-card::before,
  .works-cta-card::after {
    right: 5.3vw;
    bottom: 50%;
    width: 10.4vw;
    transform: translateY(50%);
  }

  .works-cta-card::after {
    font-size: 3.4vw;
  }

  .works-cta-card:hover::before,
  .works-cta-card:focus-visible::before {
    transform: translateY(50%) scale(1.06);
  }

  .works-cta-card:hover::after,
  .works-cta-card:focus-visible::after {
    transform: translate(0.8vw, 50%);
  }

  .works-cta-card__en {
    font-size: 3.05vw;
    line-height: 1.35;
    letter-spacing: 0.04vw;
  }

  .works-cta-card__title {
    margin-top: 2.3vw;
    font-size: 5vw;
    line-height: 1.35;
    letter-spacing: 0.16vw;
  }

  .works-cta-card__tel {
    margin-top: 3vw;
    font-size: 4vw;
    letter-spacing: 0.04vw;
  }

  .works-cta-card__text {
    margin-top: 3vw;
    max-width: none;
    font-size: 2.85vw;
    line-height: 1.7;
    letter-spacing: 0.08vw;
  }
}
