@charset "utf-8";

.top-works__body {
  margin-top: 29px;
}

.top-works__card-inner {
  position: relative;
}
.top-works__swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}
.top-works__swiper-container,
.top-works__swiper,
.top-works__swiper-wrapper,
.top-works__swiper-slide {
  position: relative;
  align-items: start;
}
.swiper-button-prev,
.swiper-button-next {
  top: unset;
  bottom: unset;
  left: unset;
  right: unset;
  margin: 0;
  padding: 0;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: ""; /* デフォルトのものを初期化 */
}

.swiper-button-prev,
.swiper-button-next {
top: calc(100% + 10px);
    width: 35px;
  height: 35px;
}
@media screen and (min-width: 1200px) {
  .swiper-button-prev,
  .swiper-button-next {
    top: calc(100% - 29px);
      width: 45px;
  height: 45px;
  }
}

.swiper-button-prev {
  right: 42px;
  background: url("../images/prev.svg") center / contain no-repeat;
}
@media screen and (min-width: 1200px) {
  .swiper-button-prev {
    right: 52px;
  }
}

.swiper-button-next {
  right: 0;
  background: url("../images/next.svg") center / contain no-repeat;
}

.works__head {
  aspect-ratio: 720 / 480;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.works__head img{
  transition: scale 0.5s;
}

.works__wrap a:hover .works__head img,
.top-works__swiper-slide a:hover .works__head img {
  scale: 1.1;
}

.works__body {
margin: 10px 0 0 0;
  display: flex;
  gap: 5px;
  align-items: start;
      flex-direction: column;
}
@media screen and (min-width: 1200px) {
  .works__body {
margin: 20px 100px 0 0;
        flex-direction: row;
      gap: 20px;
      align-items: center;
  }
}

.works__body--detail {
  margin: 20px 0 0 0;
  display: flex;
  gap: 17px;
  align-items: start;
  flex-direction: column;
}

.works__title {
  font-size: 18px;
  line-height: calc(30 / 18);
  letter-spacing: 0;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.works__body--detail > .works__title {
  -webkit-line-clamp: 2;
}

.works-list > .webgene-blog {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 35px 20px;
  width: fit-content;
  margin: 0 auto;
}
@media screen and (min-width: 450px) {
  .works-list > .webgene-blog {
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 28px;
  }
}
@media screen and (min-width: 1024px) {
  .works-list > .webgene-blog {
    grid-template-columns: repeat(3, 1fr);
    gap: 53px min(calc(50 / 1366 * 100vw), 50px);
  }
}

.works__meta {
  display: flex;
  align-items: center;
  gap: 16px;
      flex-shrink: 0;
}

.works__date {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0;
  color: #ACACAC;
  display: inline;
}