.tabs {
  &-nav {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid $border-color;
    &.left {
      justify-content: flex-start;
    }
  }
  &-scroller {
    position: relative;
    border-bottom: 1px solid $border-color;
    .tabs-nav {
      justify-content: flex-start;
      border-bottom: none;
      overflow: auto hidden;
      &::-webkit-scrollbar {
        display: none;
      }
    }
  }
  &-scroll-button__prev,
  &-scroll-button__next {
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: $white;
    padding: 0 8px;
    display: flex;
    align-items: center;
    z-index: 1;
    cursor: pointer;
  }
  &-scroll-button__prev {
    left: 0;
  }
  &-scroll-button__next {
    right: 0;
  }

  &-tab {
    position: relative;
    padding: 1.6rem 2.4rem;
    color: $black;
    white-space: nowrap;
    cursor: pointer;
    &.active {
      color: $blue;
      h4,
      span {
        color: $blue;
      }
      &:after {
        content: '';
        width: 6rem;
        height: 0.2rem;
        background-color: $blue;
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
      }
    }
  }
  &-section {
    padding-top: 3.2rem;
  }
  &-content {
    display: none;
    &.active {
      display: block;
    }
    img {
      max-width: 100%;
    }
  }
}
