@charset "UTF-8";
.wrapper--works-archive .header__wrapper{
  padding-bottom: 150px;
}
.header__wrapper {
  display: flex;
  justify-content: space-between;
  padding-bottom: 375px;
}
.works__sort-container {
  text-align: right;
  width: 100%;
  margin-top: 30px;
}
.works__sort-list {
  font-size: 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 60px;
  margin-bottom: 35px;
}
.works__sort-list .sort-item {
  color: #A3BABF;
  transition: 0.3s;
  cursor: pointer;
}
.works__sort-list .sort-item:hover {
  color: #131313;
}
/* ソートの文字色変更 */
.works__sort-list .sort-item.active {
  color: #131313;
}
.works-archive {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.works__image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.works__image {
  width: 33%;
  aspect-ratio: 215/124;
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
}
.works__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease, filter 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
  .works__image:hover img {
    transform: scale(1.05);
    filter: brightness(50%);
  }
}
.works__image .works__image-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25%);
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .works__image:hover .works__image-title {
    opacity: 1;
  }
}
@media screen and (max-width: 767px) {
  .wrapper--works-archive .header__wrapper{
    padding-bottom: 32px;
  }
  .works__sort-list {
    font-size: 1.8rem;
    justify-content: flex-start;
    gap: 55px;
    margin-bottom: 25px;
  }
  .works-archive {
    width: 100%;
  }
  .works__image {
    width: 49.3%;
    margin-bottom: 24px;
  }
}



/* ////////////////////
architecture
//////////////////// */
.architecture {
  width: 68.8%;
}
.architecture__image {
  margin-bottom: 20px;
}
.architecture__image:nth-last-of-type(2) {
  margin-bottom: 40px;
}
.architecture__title {
  font-size: 2.8rem;
  margin-right: 70px;
}
.architecture__info {
  display: flex;
  margin-bottom: 250px;
}
.architecture__info-unit {
  padding-top: 8px;
}
.architecture__location {
  font-size: 1.5rem;
}


@media screen and (max-width: 767px) {
  .architecture {
    width: 100%;
      overflow: hidden;
  }
  .architecture__image {
    margin-bottom: 15px;
  }
  .architecture__title {
    font-size: 2.6rem;
    margin-right: 0px;
    margin-bottom: 40px;
  }
  .architecture__info {
    display: block;
    margin-bottom: 120px;
  }
}

/* ページネーション */
.pagination__wrap {
  font-size: 2.0rem;
  display: flex;
  justify-content: space-between;
}
.pagination-unit {
  display: flex;
  justify-content: space-between;
  width: 206px;
  padding: 0 25px;
}
.pagination__prev,
.pagination__next,
.pagination__back {
  transition: .1s;
}
@media (hover: hover) and (pointer: fine) {
  .pagination__prev:hover,
  .pagination__next:hover,
  .pagination__back {
    transition: .1s;
  }
}

/* ページネーションの文字と矢印をホバーで赤く */
@media (hover: hover) and (pointer: fine) {
  .pagination__prev:hover,
  .pagination__next:hover,
  .pagination__back:hover {
    color: #E6141E; /* 文字色を赤に */
  }
}
/* 疑似要素の矢印も同じ赤に */
@media (hover: hover) and (pointer: fine) {
  .pagination__prev:hover::before,
  .pagination__next:hover::before {
    border-top-color: #E6141E;
    border-right-color: #E6141E;
  }
}


.arrow,.arrow-back,.deco-slash {
  position: relative;
}
.arrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  position: absolute;
  top: 10px;
  right: -20px;
  border-top: 1px solid #131313;
  border-right: 1px solid #131313;
  transform: rotate(45deg)
}
.arrow-back::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  position: absolute;
  top: 10px;
  left: -20px;
  border-top: 1px solid #131313;
  border-right: 1px solid #131313;
  transform: rotate(225deg);
}
.deco-slash {
  display: block;
}
.deco-slash::before {
  content: "";
  display: inline-block;
  width: 160px;
  height: 160px;
  position: absolute;
  bottom: -70px;
  left: -40px;
  border-top: 1px solid #131313;
  transform: rotate(-45deg)
}

@media screen and (max-width: 767px) {
  .pagination__wrap {
    justify-content: space-between;
  }
  .pagination-unit {
    width: 123px;
  }
  .pagination__text {
    display: none;
  }
  .pagination__back {
    font-size: 2.5rem;
  }
  .deco-slash::before {
    bottom: -67px;
    left: 0px;
  }
  .arrow::before {
    width: 18px;
    height: 18px;
  }
  .arrow-back::before {
    width: 18px;
    height: 18px;
  }
  .deco-slash::before {
    bottom: -67px;
    left: 0px;
  }
}