@charset "UTF-8";
/*
カテゴリ選択タブ
*/
.block-ranking-lightningrecommend--header {
    display: none;
}
.block-ranking-lightningrecommend--goods {
    margin-top: 50px;
}
.block_category {
    width: 100%;
    margin-top: 20px;
    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; /* レイヤーがクリックを妨げないようにする */
}

.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;
    opacity: 1;
    transition: opacity 0.5s ease; /* フェードアウトのアニメーション */
}
.block_category.max-scroll::after {
    opacity: 0;
}
.category_list {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    position: relative;
    cursor: move;
    scrollbar-width: none;
    padding: 0 0 0 24px;
}
.category_list::-webkit-scrollbar {
    -webkit-appearance: none;
    display: none;
}
/* .block_category.js-limit .category_list{
    margin-left: 24px;
}
/* .category_list::before {
    content: "";
    position: fixed;
    width: 24px;
    height: 53px;
    left: 0;
    background-color: #ffffff;
    z-index: 111;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    box-shadow: 1px 1px 0px 0px;
} */

.category_list li {
    display: flex;
    flex-direction:column;
    width: 60%;
}

.category_list li a {
    display: flex;
    background-color: #F3F3F3;
    padding: 5px 30px;
    cursor: pointer;
    transition: .3s;
    font-size: 14px;
    border-bottom: 1px solid #707070;
    text-align: center;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}
.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: 1000;
    top: calc(50% - -3px);
    transform: translateY(-50%);
    cursor: pointer;
}
.prev {
    left: 5px;
    display: none;
}
.next {
    right: 5px;
}
.next .arrow {
    transform: rotate(180deg);
}
.prev > .arrow {
    margin-left: -2px;
}

.next > .arrow {
    margin-right: -3px;
}

.arrow {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 30.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;
}