/* --------------------------------------------------- */
/* breadcrumb */
/* --------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 56px;
}
.breadcrumb li {
  font-size: 14px;
  font-weight: 600;
  color: #707070;
  line-height: 1;
  white-space: nowrap;
}
.breadcrumb img {
  margin-top: 1px;
}
.breadcrumb img:last-of-type {
  display: none;
}
@media (max-width: 1279px) {
  .breadcrumb {
    margin-top: 36px;
  }
}

/* --------------------------------------------------- */
/* common */
/* --------------------------------------------------- */
main {
  margin-top: var(--header-height);
}
.lower_top {
  width: 100%;
  padding-top: 72px;
}
.lower_top-title__caption {
  font-size: 24px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 32px;
}
.lower_top-title__text {
  font-size: 56px;
  text-align: center;
  line-height: 1.4;
  margin: -11.2px 0;
}
.lower_section__inner {
  padding: 132px 0;
}
.lower_section:not(:last-of-type) .lower_section__inner {
  border-bottom: 1px solid #ddd;
}

.lower_section-title__caption {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 32px;
}
.lower_section-title__text {
  font-size: 40px;
  line-height: 1.6;
  margin: -12px 0;
}
@media (max-width: 1279px) {
  .lower_top {
    padding-top: 32px;
  }
  .lower_top-title__caption {
    font-size: 20px;
    margin-bottom: 24px;
  }
  .lower_top-title__text {
    font-size: 40px;
    line-height: 1.5;
    margin: -10px 0;
  }
  .lower_section__inner {
    padding: 80px 0;
  }
  .lower_section-title__caption {
    margin-bottom: 20px;
  }
  .lower_section-title__text {
    font-size: 36px;
    margin: -10.8px 0;
  }
}

/* --------------------------------------------------- */
/* works list */
/* --------------------------------------------------- */
.works__base {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px 40px;
  margin-top: 100px;
}
.works-list__link:has(.works-category__link:hover) {
  opacity: 1;
}
.works-list__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}
.works__box:first-of-type {
  position: relative;
  margin-bottom: 28px;
}
.works__caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  background-color: #fff;
}
.works__size,
.works__price {
  color: var(--primary-color);
  font-weight: 600;
  line-height: 1;
}
.works__size {
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid #ddd;
}
.works__box:last-of-type {
  flex: 1;
}
.works-list__title {
  font-size: 18px;
  line-height: 1.75;
  font-weight: 600;
  margin: -6.75px 0;
}
.works__category {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.works-category__link {
  background-color: var(--primary-color);
  border-radius: 100vw;
  position: relative;
  padding: 10px 30px 10px 14px;
}
.works-category__link ::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 100vw;
  background-color: #fff;
}
.works-category__text {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}
@media (max-width: 1279px) {
  .works__top {
    padding-bottom: 48px;
    border-bottom: 1px solid #ddd;
  }
  .works__base {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 48px;
    margin-top: 48px;
  }
  .works__box:first-of-type {
    margin-bottom: 24px;
  }
  .works__caption {
    padding: 12px 16px;
  }
  .works-list__title {
    font-size: 16px;
    margin: -6px 0;
  }
  .works__size {
    padding-right: 16px;
    margin-right: 16px;
  }
  .works__category {
    margin-top: 20px;
  }
  .works__container {
    padding: 0 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .works_single_top {
    margin-bottom: 0 !important;
    padding: 88px 0 56px;
  }
}

/* --------------------------------------------------- */
/* pagination */
/* --------------------------------------------------- */
.pagination {
  margin-top: 100px;
  padding-top: 48px;
  border-top: 1px solid #ddd;
}
.page-numbers {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.page-numbers li {
  width: 32px;
  height: 40px;
  font-size: 20px;
  line-height: 1;
}
.page-numbers li span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--primary-color);
}
.page-numbers li span::before {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}
.page-numbers li a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-numbers li:has(.next.page-numbers) {
  position: absolute;
  width: auto;
  height: auto;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.page-numbers li:has(.prev.page-numbers) {
  position: absolute;
  width: auto;
  height: auto;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.page-numbers li:has(.next.page-numbers) a,
.page-numbers li:has(.prev.page-numbers) a {
  opacity: 1;
}
.pagination__pagelink {
  margin-top: 0;
}
.pagination__pagelink--next {
  flex-direction: row-reverse;
}
.pagination-pagelink__text {
  font-weight: 600;
}
@media (max-width: 1279px) {
  .page-numbers li {
    font-size: 16px;
  }
  .page-numbers li:has(.next.page-numbers),
  .page-numbers li:has(.prev.page-numbers) {
    display: none;
  }
}
