@charset "utf-8";
li {
  list-style: none;
}

/* ここからarchive */
.works_archive_top {
  position: relative;
  min-height: 30vh;
}

.archive_main_img {
  min-height: 30vh;
}

.archive_main_img img {
  min-height: 30vh;
}

.page_title_container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: absolute;
  /* bottom: 100px; */
    top: 45%;
  /* left: 142px; */
  left: 10.142857142857142vw;
}

@media (max-width:768px) {
  .page_title_container {
    bottom: 20px;
    left: 20px;

  }
}

.page_title {
  color: var(--color-black);
  font-family: var(--font-lato);
  font-weight: 700;
  /* font-size: 48px; */
  font-size: clamp(28px, 3.428571428571429vw, 48px);
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width:768px) {
  .page_title {
    font-size: 32px;
  }
}

.page_title_ja {
  color: var(--color-black);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
}

.link_line_container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.link_line {
  color: var(--color-black);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
}

.link_line.link_underline:before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--color-black);
  position: absolute;
  bottom: 0;
  left: 0;
}

.link_line_arrow {
  max-width: 13px;
}




.category_list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 100px auto 0;
}

.category_item {
  padding: 8px 20px;
  border-radius: 25px;
  transition: background-color .4s ease;
}

@media (max-width:768px) {
  .category_item {
    padding: 8px 12px;
    font-size: 16px;
  }
}

.category_item .is-current {
  background: var(--color-black);
  padding: 8px 20px;
  border-radius: 25px;
  color: var(--color-white);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.65;
  text-align: center;
}
@media (max-width:768px) {
  .category_item .is-current{
        padding: 8px 12px;
    font-size: 16px;
  }
}

.category_item:hover {
  background-color: var(--color-black);
}

.category_item a {
  color: var(--color-black);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.65;
  text-align: center;
  cursor: pointer;
  transition: color .4s ease;
}

.category_item:hover.category_item a {
  color: var(--color-white);
}

@media (max-width:768px) {
    .category_item {
              padding: 8px 12px;
    font-size: 16px;
  }
}

.works_container {
  gap: 19px;
    display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  max-width: 1118px;
  margin: 80px auto 200px;
}

@media (max-width: 1250px) {
  .works_container {
    max-width: 739px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px 12px;
  }
}

.works_img {
  display: block;
  aspect-ratio: 360 / 240;
  width: 100%;
  overflow: hidden;
}


.works_img img {
  height: auto;
  transition: transform .6s ease;
  /* ゆっくり変化させる */
  width: 100%;
}

.works_page_link:hover .works_img img {
  transform: scale(1.1);
  /* 拡大 */
}


.works_name {
  display: block;
  color: var(--color-black);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  padding-top: 12px;
  padding-bottom: 4px;
}
@media (max-width:768px) {
  .works_name {
font-size: 14px;
}
}

.works_text_wrapper {
  display: flex;
}
@media (max-width:768px) {
  .works_text_wrapper {
display: block;
}
}

.works_category_name,
.works_address {
  color: var(--color-black);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

@media (max-width:768px) {
  .works_category_name,
.works_address  {
  line-height: 1.5;
  text-align: left;
}
}

.works_category_name {
  padding-right: 8px;
  border-right: 1px solid var(--color-lite-gray);
}
@media (max-width:768px) {
  .works_category_name {
  padding-right: 0;
  border-right: none;
}
}
.works_address {
  padding-left: 8px;
}

@media (max-width:768px) {
  .works_address {
  padding-left: 0;
}
}
