
/* ここから絞り込み検索 */
.archive_works_article {
  margin: 10rem 5rem 15rem 5rem;
  font-family: var(--NotoSans);
}

.works_search_field_wrap {
  display: flex;
  gap: 3rem;
  font-weight: 400;
  align-items: center;
  margin: 0 5.5rem 5rem 5.5rem;
}

.works_search_field {
  position: relative;
  width: fit-content;
  &:before {
    content: "";
    width: 0.8rem;
    height: 0.8rem;
    border: 0;
    border-bottom: solid 0.1rem #20399f;
    border-right: solid 0.1rem #20399f;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 2rem;
    bottom: 0.2rem;
    margin: auto;
  }
}

.works_category_wrap {
  width: 24rem;
  height: 3.8rem;
  border: 0.1rem solid #BBBBBB;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  font-size: 1.4rem;
  color: #1B242F;
  &:before {
    content: "";
    width: 0.8rem;
    height: 0.8rem;
    border: 0;
    border-bottom: solid 0.1rem #20399f;
    border-right: solid 0.1rem #20399f;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 2rem;
    bottom: 0.2rem;
    margin: auto;
  }
}

.works_category_search {
  width: 12rem;
  height: 3.1rem;
  padding: 0.5rem 3.1rem;
  background-color: #1B242F;
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-left: 1.5rem;
}

.article_list_relative {
  position: relative;
  width: 24rem;
  height: 16rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 500;
  background-color: lightgray;
}

.article_list_image {
  width: 24rem;
  height: 16rem;
}

.car_model_info {
  width: 12rem;
  height: 3.1rem;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.5rem 0;
  text-align: center;
  color: #FFFFFF;
  position: absolute;
  top: 12.9rem;
  left: 0;
}

.article_list_wrap {
  display: flex;
  gap: 3rem;
  padding-left: 6rem;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 0.1rem solid #EFEFEF;
}

.article_list_heading {
  color: #0F257A;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.article_list_overview_wrap {
  display: flex;
  gap: 3rem;
  text-align: center;
}

.article_list_flex {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.article_list_overview {
  font-size: 1.2rem;
  color: #1B242F;
  font-weight: 400;
}

.article_list_title {
  margin-bottom: 0.5rem;
}

.article_list_info {
  font-weight: 500;
  font-size: 1.4rem;
}

.article_car_model {
  display: flex;
  gap: 2rem;
  margin-top: 2.3rem;
}

.car_model_list {
  font-size: 1.5rem;
  color: #1B242F;
  font-weight: 700;
  display: flex;
  gap: 1rem;
}

.car_model_items {
  display: flex;
  gap: 1rem;
}

.car_model_items p {
  background-color: #EFEFEF;
  padding: 0.5rem 1rem;
}

.works_pagination {
  height: 3rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.page-numbers {
  font-size: 1.6rem;
  font-weight: 400;
  padding: 0.3rem 1rem 0.3rem 1.1rem;
  border: 0.1rem solid #0F257A;
  color: #0F257A;
}

.dots {
  border: none;
  padding: 0;
  margin-top: 0.6rem;
}

.current {
  background-color: #0F257A;
  color: #FFFFFF;
}

@media screen and (max-width: 699.98px) {
  /* ここからレスポンシブ */
  .archive_works_article {
    margin: 7rem 1.5rem 16rem 1.5rem;
  }

  .works_search_field_wrap {
    flex-direction: column;
    gap: 1.5rem;
    align-items: start;
    margin: 0 0 5.5rem 0;
  }

  .article_list_wrap {
    flex-direction: column;
    gap: 0;
    padding-left: 0;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .works_category_search {
    margin-left: 0;
  }

  .article_list_heading {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }

  .article_list_relative {
    width: 34.5rem;
    height: 17.5rem;
    margin-bottom: 1.4rem;
  }

  .works_article_list_wrap {
    width: 34.5rem;
  }

  .article_list_overview_wrap {
    flex-direction: column;
    gap: 1rem;
  }

  .article_list_flex {
    gap: 1rem 1.5rem;
  }

  .article_list_overview {
    min-width: 13.8rem;
    font-size: 1.3rem;
  }

  .article_list_title {
  margin-bottom: 0.2rem;
}

  .car_model_info {
    top: 14.4rem;
  }

  .article_car_model {
    margin-top: 2.3rem;
  }

  .car_model_list {
    font-weight: 500;
    gap: 1.5rem;
  }
}