.bg-team {
  background-color: var(--g-color--blue);
}
.team__title {
  &::after {
    width: 11.5rem;
  }
  @media (min-width: 1024px) {
    &::after {
      width: min(100%, var(--border-length));
    }
  }
}

.team__table {
  display: block;
  overflow-x: scroll;
  white-space: nowrap;
  height: auto;
  padding-bottom: 1.5rem;
  width: auto;
  @media (min-width: 1024px) {
    overflow-x: auto;
    padding-bottom: 0;
    width: 100%;
  }
  &.team__table::-webkit-scrollbar {
    -webkit-appearance: none;
  }
  &.team__table::-webkit-scrollbar-vertical {
    width: 0;
  }
  &.team__table::-webkit-scrollbar-horizontal {
    height: 1.2rem;
  }
  &.team__table::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #d1d5d4;
  }
  &.team__table::-webkit-scrollbar-track {
    background-color: #d1d5d4;
    display: block;
    margin: 0 1.5rem;
  }
}
.team__table-thumb {
  width: 55rem;
  @media (min-width: 1024px) {
    width: 100%;
  }
}

.team__articles {
  display: grid;
  gap: 3rem;
  @media (min-width: 1024px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}
.team__article {
  border: 1px solid var(--g-color--text);
  display: grid;
  padding: 2rem 1.5rem;
  @media (min-width: 1024px) {
    padding: 3rem 2rem;
  }
}
.team__article-set {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.team__article-thumb img {
  width: 100%;
}
.team__article-contents {
  display: grid;
}
.team__article-content {
  display: grid;
  gap: 1.5rem;
}
.team__article-title-set {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  @media (min-width: 1024px) {
    align-items: center;
    flex-direction: row;
    gap: 1.3rem;
  }
}
.team__article-title {
  color: var(--g-color--blue--student);
  font-weight: 500;
}
.team__article-title-label {
  align-items: center;
  background-color: var(--g-color--heading--blue);
  color: var(--g-color--white);
  display: flex;
  font-size: 1.5rem;
  font-weight: 700;
  height: 3.1rem;
  padding: 0 2rem;
}
.team__article-title-text {
  color: var(--g-color--text);
  display: flex;
  font-size: var(--g-fz--p2);
  flex-direction: column;
}
.team__article-label {
  border-top: 1px solid var(--g-color--curriculum-1);
  color: var(--g-color--text);
  display: flex;
  flex-direction: column;
  font-size: var(--g-fz--p2);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}
