.tab-menu-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}
.tab-menu-inner {
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    cursor:grab;
    scrollbar-width:none;
    width:600px;
    box-shadow: 0 10px 18px -14px rgba(0,0,0,.25);
}
.tab-menu-hidden-wrap {
    position: relative;
}
.tab-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    z-index: 99;
    transform: translateY(-50%);
    width: 40px;
    height: 100%;
    background-color: #fff;
    cursor: pointer;
}
.tab-arrow.tab-arrow-prev {
    left: 0;
}
.tab-arrow.tab-arrow-next {
    right: 0;
}
.tab-menu-hidden-wrap:after,
.tab-menu-hidden-wrap:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    z-index: 98;
    width: 120px;
    height: 100%;
}
.tab-menu-hidden-wrap:after {
    left: 0;
    background: linear-gradient(-90deg, transparent 0%, transparent 30%, #fff 70%, #fff 100%);

}
.tab-menu-hidden-wrap:before {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, transparent 30%, #fff 70%, #fff 100%);
}
.tab-menu-inner::-webkit-scrollbar{display:none;}
.tab-menu-inner.dragging{cursor:grabbing;}
.tab-menu-wrap.is-fixed .tab-menu-hidden-wrap {
    width: 600px;
    margin: 0 auto;
}
.tab-menu-wrap.is-fixed .tab-menu-inner {
    width: min(600px, 100%);
    background-color: #fff;
} 
.tab-menu {
    display: inline-flex;
    gap: 16px;
    padding: 24px 60px;
    white-space: nowrap;
}
.tab-menu li {
    overflow: hidden;
    flex: 0 0 auto;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}
.tab-menu li > span {
    display: block;
    padding: 5px;
    border-radius: 10px;
    background: linear-gradient(180deg, #A8B2B6 0%, #F0F1F1 100%);
}
.tab-menu li span {
    font-size: 20px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.3);
    transition: all .3s;
}
.tab-menu li span em {
    display: block;
    padding: 3px;
    border-radius: 9px;
    background: linear-gradient(180deg, #fff 0%, #9ABACF 100%);
}
.tab-menu li.active span em,
.tab-menu li.active span em {
    display: block;
    padding: 3px;
    border-radius: 9px;
    background: linear-gradient(180deg, #65D2EE 0%, #2c76d7 100%);
}
.tab-menu li span em span {
    display: block;
    padding: 11px 21px;
    background-color: #D4E3E9 !important;
    border-radius: 9px;
}

.tab-menu li.active span em span {
    background-color: #06A7E2 !important;
}
.tab-menu li.active span em span,
.tab-menu li:hover span em span {
    color: #fff;

}
.tab-menu li:hover span em span {
    background-color: #A5C6D2 !important;
}
.tab-menu li:hover span,
.tab-menu li.active span {
    color: #000;
}

/* fixed */
.tab-menu-wrap.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: transparent;
}

@media screen and (max-width: 600px) {
    .tab-menu li span {
        font-size: 18px;
    }
    .tab-menu-hidden-wrap,
    .tab-menu-inner,
    .tab-menu-wrap.is-fixed .tab-menu-hidden-wrap,
    .tab-menu-wrap.is-fixed .tab-menu-inner {
        width: 100%;
    }
}

@media screen and (max-width: 450px) {
    .tab-menu {
        padding: 18px 40px;
    }
    .tab-menu li span {
        font-size: 16px;
    }
    .tab-menu li span em span {
        padding: 9px 17px;
    }
    .tab-arrow {
        width: 30px;
        background-color: transparent;
    }
    .tab-arrow img {
        width: 8px;
    }
    .tab-menu-hidden-wrap:after, .tab-menu-hidden-wrap:before{
        width: 57px;
    }
    .tab-menu-hidden-wrap:before {
        background: linear-gradient(90deg, transparent 0%, #fff 100%);
    }
    .tab-menu-hidden-wrap:after {
        background: linear-gradient(-90deg, transparent 0%, #fff 100%);
    }
}