html {
    scroll-behavior: smooth;
  }
  .active123 {
    color: red !important;
  }
.box-tabs {
    padding: 50px 0px;
}

.tab-heling {
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    margin: 0px auto;
}

.tab-heling ul {
    list-style: none;
    padding: 0px;
    display: flex;
}

.tab-heling ul li.active {
    border-bottom: 2px solid var(--bg-2);
}

.tab-heling ul li {
    /* margin: 0px 20px; */
    cursor: pointer;
    margin-right: 20px;
    border-bottom: 2px solid transparent;
}

.tab {
    display: none;
}

.tab.active {
    display: block;
}

.history__number {
    font-style: normal;
    font-weight: 700;
    line-height: 117px;
    letter-spacing: -0.02em;
    text-align: left;
    color: var(--color-4);
    text-transform: uppercase;
    transform: rotate(-90deg);
    top: 40px;
}

.history-section {
    padding: 20px 0px;
    border-bottom: 1px solid var(--color-border);
}

.history__desc {
    max-height: 130px;
    overflow: hidden;
    position: relative;
}

.history__button {
    display: block;
    margin-top: 5px;
    cursor: pointer;
    color: var(--color-2);
}

.tab-year {
    padding: 10px 16px 0px 0;
}

.tab-year ul {
    float: left;
    width: 100%;
    position: relative;
    list-style: none;
    z-index: 0;
}

.tab-year ul li {
    width: 100%;
    position: relative;
    padding-right: 25px;
}

.category.active a {
    color: var(--color-2);
}

.tab-year ul li a {
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0px;
    float: left;
    color: var(--color-4);
    width: 100%;
    text-align: right;
    margin: 44px 0px 0px;
    position: relative;
    padding-right: 36px;
    text-decoration: none;
    /* font-size: 16px !important; */
}

.tab-year ul li a::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 100%;
    position: absolute;
    right: -30px;
    background: rgb(222, 223, 224);
    display: block;
    top: 5px;
    z-index: 9;
}

.tab-year ul::after {
    content: "";
    width: 1px;
    border-right: 1px dashed rgb(222, 223, 224);
    height: calc(100% - 15px);
    position: absolute;
    right: -24px;
    top: 55px;
}

.warp-content {
    flex-direction: column-reverse;
}

.tab-year ul li a {
    margin: 0px 0px 32px;
    padding-right: 0px;
    text-align: center;
}

.tab-year ul {
    display: flex;
    /* margin-bottom: 50px; */
    overflow-x: auto;
}

.tab-year ul li a::before {
    top: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tab-year ul::after {
    display: none;
}

.history__number {
    transform: revert;
    top: -100px;
    left: 40%;
}

.history-section {
    border: none;
}

.history__button {
    margin-bottom: 15px;
}

/* tab-2 */
.chairperson {
    padding: 60px 0px;
}

.chairperson__image {
    width: 100px;
}

.chairperson__image img {
    width: 100%;
    border-radius: 10px;
}

.chairperson__profile {
    padding-left: 30px;
}

.chairperson__vocative {
    font-weight: 400;
}

.chairperson__name {
    text-transform: uppercase;
    margin-bottom: 15px;
}

.chairperson__position {
    font-size: 16px;
}

.chairperson__desc {
    position: relative;
    font-size: 14px;
    padding-top: 16px;
}

.chairperson__desc::after {
    content: "";
    height: 1px;
    width: 200px;
    background: var(--color-border);
    position: absolute;
    left: 0px;
    float: left;
    bottom: -16px;
    top: 0px;
}

.bt-user {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.tab-year ul li::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: 23px;
    height: 1px;
    background-color: var(--color-border);
    width: 100%;
}

#fixed-tab-year {
    position: relative;
    padding: 0 20px 0;
    right: 0;
    z-index: 999; 
  }
  
@media(min-width:768px) {
    .chairperson__name {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .chairperson__vocative {
        font-size: 25px;
    }
}

@media(min-width:992px) {
    .history__number_wrap{
        padding-inline: 0;
    }
    .tab-year ul li::before{
        content: unset;
    }
    .tab-year ul{
        overflow-x: unset;
    }
    .history-section{
        padding: 50px 0;
    }

    .chairperson__name {
        font-size: 22px;
    }
    
    .chairperson__vocative {
        font-size: 34px;
    }
    .history__button {
        margin-bottom: 15px;
    }

    .history__number {
        transform: rotate(-90deg);
        top: 40px;
        left: 0px;
    }

    .warp-content {
        flex-direction: row;
    }

    .tab-year ul {
        display: block;
    }

    .tab-year ul li a::before {
        top: 42%;
        left: unset;
        transform: translate(-50%, -50%);
        right: -42px;
    }
}

@media(min-width:1200px) {
    .box-tabs {
        padding: 50px 0px;
    }

    .tab-heling {
        overflow: hidden;
        border-bottom: 1px solid var(--color-border);
        margin: 0px auto;
    }

    .tab-heling ul {
        list-style: none;
        padding: 0px;
        display: flex;
    }

    .tab-heling ul li.active {
        border-bottom: 2px solid var(--bg-2);
    }

    .tab-heling ul li {
        /* margin: 0px 20px; */
        cursor: pointer;
        border-bottom: 2px solid transparent;
    }

    .tab {
        display: none;
    }

    .tab.active {
        display: block;
    }

    .history__number {
        font-style: normal;
        font-weight: 700;
        line-height: 117px;
        letter-spacing: -0.02em;
        text-align: left;
        color: var(--color-4);
        text-transform: uppercase;
        transform: rotate(-90deg);
        /* margin-left: 85px; */
    }

    .history-section {
        padding: 50px 0px;
        border-bottom: 1px solid var(--color-border);
    }

    .history__desc {
        max-height: 161px;
        overflow: hidden;
        position: relative;
    }

    .history__button {
        display: block;
        margin-top: 5px;
        cursor: pointer;
        color: var(--color-2);
    }

    .tab-year {
        padding: 10px 16px 58px;
    }

    .tab-year ul {
        float: left;
        width: 100%;
        position: relative;
        list-style: none;
        z-index: 0;
    }

    .tab-year ul li {
        width: 100%;
    }

    .category.active a {
        color: var(--color-2);
    }

    .tab-year ul li a {
        font-weight: 400;
        line-height: 21px;
        letter-spacing: 0px;
        float: left;
        color: var(--color-4);
        width: 100%;
        text-align: right;
        margin: 44px 0px 0px;
        position: relative;
        padding-right: 36px;
        text-decoration: none;
        font-size: 16px !important;
    }

    .tab-year ul li a::before {
        content: "";
        width: 14px;
        height: 14px;
        border-radius: 100%;
        position: absolute;
        right: -37px;
        background: rgb(222, 223, 224);
        display: block;
        top: 40%;
        z-index: 9;
    }

    .tab-year ul::after {
        content: "";
        width: 1px;
        border-right: 1px dashed rgb(222, 223, 224);
        height: calc(100% - 15px);
        position: absolute;
        right: -24px;
        top: 55px;
    }

    /* tab-2 */

}