.h_login.my-true { display: none; }
.h_mypage.my-false { display: none; }

@media screen and (min-width: 768px) {
  .kk002_box {
    display: flex;
    gap: 40px 20px;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .kk002-card-unit {
    width: 280px;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
  }

  .kk002-card-img {
    margin-bottom: 8px;
  }

  .kk002-maker {
    font-weight: 600;
    font-size: 16px !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    margin: 0 !important;
  }

  .kk002-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
  }

  .kk002-price {
    font-size: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .kk002-price strong {
    font-size: 16px;
  }

  .kk002-btn {
    padding-top: 7px;
  }

  .kk002-btn a {
    display: inline-block;
    padding: 8px 10px 7px 10px;
    border-radius: 6px;
    background: #B1AB9B;
    font-weight: 600;
    width: 100%;
    color: #fff;
    font-size: var(--base02-font-size);
  }
}
@media screen and (max-width: 767px) {
  .kk002_box {
    display: flex;
    gap: 40px 20px;
    flex-wrap: wrap;
    padding-top: 5px;
    padding-bottom: 40px;
    justify-content: space-between;
  }

  .kk002_box li {
    width: calc(50% - 10px);
  }

  .kk002-card-unit {
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
  }

  .kk002-card-img {
    margin-bottom: 8px;
  }

  .kk002-maker {
    font-weight: 500;
    padding-bottom: 0px !important;
    padding-top: 0 !important;
    font-size: 14px;
    margin: 0;
  }

  .kk002-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
  }

  .kk002-price {
    font-size: 13px !important;
    padding-bottom: 0 !important;
    margin: 0;
  }

  .kk002-price strong {
    font-size: 24px;
  }

  .kk002-btn {
    padding-top: 7px;
    text-align: center;
  }

  .kk002-btn a {
    display: inline-block;
    padding: 8px 10px 7px 10px;
    border-radius: 6px;
    background: #B1AB9B;
    font-weight: 600;
    width: 100%;
    color: #fff;
    font-size: 15px !important;
    font-size: var(--base02-font-size);
  }
}

/* ランキングページSPのランキング番号 */
@media screen and (max-width: 768px) {
    #fs_CustomPage .fs-c-productList__list__item {
        position: relative;
    }
    #fs_CustomPage .fs-c-productList__list__item::before {
        content: "";
        position: absolute;
        top: 20px;
        left: 12px;
        width: 24px;
        height: 24px;
        background: var(--color03);
        color: var(--color01);
        font-weight: bold;
        font-size: 12px;
        line-height: 24px;
        text-align: center;
        border-radius: 50%;
        z-index: 2;
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(1)::before {
        content: "1";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(2)::before {
        content: "2";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(3)::before {
        content: "3";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(4)::before {
        content: "4";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(5)::before {
        content: "5";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(6)::before {
        content: "6";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(7)::before {
        content: "7";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(8)::before {
        content: "8";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(9)::before {
        content: "9";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(10)::before {
        content: "10";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(11)::before {
        content: "11";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(12)::before {
        content: "12";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(13)::before {
        content: "13";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(14)::before {
        content: "14";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(15)::before {
        content: "15";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(16)::before {
        content: "16";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(17)::before {
        content: "17";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(18)::before {
        content: "18";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(19)::before {
        content: "19";
    }
    #fs_CustomPage .fs-c-productList__list__item:nth-of-type(20)::before {
        content: "20";
    }
}