@charset "utf-8";

@media screen and (min-width: 1300px) {
  .works__inner {
    padding: 0 120px !important;
  }
}

.works-list > .webgene-blog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 20px;
}
@media screen and (min-width: 768px) {
  .works-list > .webgene-blog {
    grid-template-columns: repeat(3, 1fr);
    gap: 55px 28px;
  }
}

.works-list a {
  width: 100%;
}

.works__head {
  aspect-ratio: 357 / 244;
  width: 100%;
  height: auto;
  border-radius: 5px;
  overflow: hidden;
}

.works__head img{ 
  transition: transform 0.5s;
}

.works-list a:hover .works__head img{
  transform: scale(1.1);
}

.works__tag {
  margin-top: 17px;
  padding: 5px 8px 5px;
  background: #E0ECF5;
  color: #09305B;
  border: 1px solid #09305B;
  font-size: 11px;
  border-radius: 2px;
  line-height: 1;
  width: fit-content;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.works__title {
  margin-top: 11px;
  font-size: 13px;
  line-height: calc(27 / 16);
  letter-spacing: 0.08em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@media screen and (min-width: 900px) {
  .works__title {
    font-size: 16px;
  }
}

.works-category > .webgene-blog {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom:40px;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .works-category > .webgene-blog {
    margin-bottom:80px;
  }
}
@media screen and (min-width: 1300px) {
  .works-category > .webgene-blog {
    justify-content: start;
  }
}

.works__cat a{
  min-width: 110px;
  border: 1px solid transparent;
  background: #E0ECF5;
  border-radius: 10px;
  padding: 17px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #09305B;
  transition: background 0.3s;
}
@media screen and (min-width: 1100px) {
  .works__cat a{
    min-width: 128px;
  }
}

.works__cat a:hover {
  background: #09305B;
  color: #fff;
}
