.tags-main {
  padding: 36px 0;
}

.tags-main h1 {
  font-size: 24px;
  color: #BDBDBD;
  text-align: center;
}

.section-content.section-tags {
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.section-content__item a {
  display: block;
  width: 100%;
  height: 100%;
}

.section-tags .tag-cover {
  width: 100%;
  aspect-ratio: 2.2;
  border-radius: 6px;
}

.section-tags img {
  width: 100%;
  height: 100%;
}

.tag-infos {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.tag-infos .tag-text {
  font-size: 24px;
  font-weight: 500;
}

.tag-infos .tag-works {
  font-size: 16px;
  color: #BDBDBD;
}

@media screen and (max-width: 1366px) {
  .tag-infos {
    gap: 10px;
  }

  .tags-main .tag-text {
    font-size: 12px;
    line-height: 18px;
  }
  
  .tags-main .tag-works {
    font-size: 10px;
    line-height: 16px;
  }
}

@media screen and (max-width: 1024px) {
  .tag-infos {
    gap: 5px;
  }
}

@media screen and (max-width: 824px) {
  .tags-main {
    padding: 0;
  }

  .section-content.section-tags {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .tag-infos {
    gap: 0;
  }

  .tags-main h1 {
    display: none;
  }

  .tags-main .tag-text {
    font-size: 12px;
    line-height: 18px;
  }

  .tags-main .tag-works {
    font-size: 10px;
    line-height: 16px;
  }
}