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

.tags-main h1 {
  margin-top: 36px;
  font-size: 24px;
  color: #BDBDBD;
  text-align: center;
  display: none;
}

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

.section-content__item a {
  display: block;
  /* width: 100%;
  height: 100%; */
}
.section-content__item  .tag-items {
 display: flex;
 gap: 0 4px;
}

.section-tags .tag-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
}
.section-content__item a:hover{
  color: #fff;
}

.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;
}
.pc-grid-box {
  margin: 18px 0;
}

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

.tag-infos .tag-works {
  font-size: 16px;
  color: #BDBDBD;
}
.pc-grid-box {
  display: none;
}
.contentBox {
  padding: 0 16px;
  box-sizing: border-box;
  margin-top: 16px;
  
}


@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;
  }
}
.grid-box {
  padding: 0 16px;
  box-sizing: border-box;
}

@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;
  }

  .dropdown-toggle {
    height: 38px !important;
  }
  .dropdown-item {
    font-size: 14px !important;
    color:#FFFFFFB2 !important; 
  }
  .tags-main .dropdown-menu li{
    text-align: left !important;
    padding-left: 16px !important;
  }
  .tags-main .dropdown-menu li.active {
    background-color: #393E42 !important;
  }
}
@media screen and (min-width: 768px) {
  .pc-grid-box {
    display: block;
  }
  .contentBox {
    padding: 0;
    margin-top: 36px;
  }
}

.tags-main .gl-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: sticky;
  top: 62px;
  z-index: 900;
  background-color: #000;
  padding: 12px 0;
}

.tags-main .gl-filter-title {
  font-family: PingFang SC;
  font-weight: 600;
  font-style: Semibold;
  font-size: 36px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
}

.tags-main .dropdown-menu {
  width: calc(100% - 32px);
  margin-right: 16px !important;
  padding:12px 0 !important;
}

.tags-main .dropdown-menu li {
  text-align: center;
  cursor: pointer;
}

.tags-main .dropdown-item {
  border: none !important;
  margin: auto;
}

@media screen and (min-width: 825px) {
  .tags-main .gl-filter {
    display: flex;
  }
}

@media screen and (min-width: 825px) and (max-width: 1366px) {
  .tags-main .gl-filter {
    top: 48px;
  }
}

@media screen and (max-width: 824px) {
  .tags-main .gl-filter {
    display: flex;
    top: 48px;
    padding: 8px 16px;
    box-sizing: border-box;
  }

  .tags-main .gl-filter .gldetail-new-header {
    display: none;
  }

  .tags-main .gl-filter .dropdown {
    width: 100%;
  }

  .tags-main .gl-filter .dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}



@media screen and (max-width: 824px) {
  .tags-main .gldetail-new-header {
    padding: 0 16px;
    margin-top: 12px;
  }
}
.tags-main .gldetail-new-header{
  padding: 0 !important;
}