@charset "UTF-8";
/*
カテゴリ選択タブ
*/
.block-category-list--header {
    margin: 27px 0;
}
.block-ranking-lightningrecommend--header {
    display: none;
}
.block-ranking-lightningrecommend--goods {
    margin-top: 50px;
}
.block_category {
    width: 877px;
    margin-top: 20px;
    margin-bottom: 30px;
    position: relative;
}
.block_category::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px; /* 半透明レイヤーの幅 */
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    pointer-events: none; /* レイヤーがクリックを妨げないようにする */
    opacity: 1;
    transition: opacity 0.5s ease; /* フェードアウトのアニメーション */
}
.block_category.max-scroll::after {
    opacity: 0;
}
.category_list {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    position: relative;
    padding: 0 0 0 24px;
}
.category_list::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 100%;
    left: 0;
    background-color: #ffffff;
    z-index: 111;
    /* border-right: 1px solid #000000; */
    border-bottom: 1px solid #000000;
}
.category_list li {
    display: flex;
    flex-direction:column;
}

.category_list li a {
    display: flex;
    background-color: #F3F3F3;
    padding: 5px 50px;
    cursor: pointer;
    transition: none;
    font-size: 14px;
    border-bottom: 1px solid #707070;
    text-align: center;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}
.category_list li a:hover {
    font-weight: 600;
}
.category_list li a.js-select {
    /*background-image: linear-gradient(0deg, rgba(255, 255, 255, 1) 90%, rgba(0, 0, 0, 1) 91%), linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(0, 0, 0, 1));*/
    background-color: #ffffff;
    border-top: 1px solid #707070;
    border-left: 1px solid #707070;
    border-right: 1px solid #707070;
    border-bottom: none;
    font-weight: bold;
}
.category_list > li:first-child a.js-select {
    /* border-left: none; */
}

.prev,
.next {
    position: absolute;
    z-index: 1;
    top: calc(50% - -3px);
    transform: translateY(-50%);
    cursor: pointer;
}
.prev {
    left: 5px;
    display: none;
}
.next {
    right: 5px;
}
.next .arrow {
    transform: rotate(180deg);
}
.prev > .arrow:last-child {
    margin-left: -2px;
}

.next > .arrow:first-child {
    margin-right: -3px;
}

.arrow {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 28.3px;
}

.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 4px;
  width: 16px;
  height: 2px;
  border-radius: 9999px;
  background-color: #707070;
  transform-origin: 1px 50%;
}

.arrow::before {
  transform: rotate(45deg);
}

.arrow::after {
  transform: rotate(-45deg);
}

.arrow.next {
    right: -1px;
}