.p-category__ttl {
  margin: 10px 0 40px 0;
  line-height: 1.4;
  font-size: 30px;
  font-weight: normal;
  font-family: "Noto Serif JP", "游明朝体", "Yu Mincho", YuMincho, serif;
  text-align: center;
  color: #99896f;
}
@media screen and (max-width: 767px) {
  .p-category__ttl {
    margin-bottom: 30px;
    font-size: 20px;
  }
}
.p-category-free {
  margin-top: 30px;
  margin-bottom: 60px;
  margin-left: 100px;
  margin-right: 100px;
  line-height: 2;
}
@media screen and (max-width: 767px) {
  .p-category-free {
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 0;
    margin-right: 0;
  }
}
.p-category-search {
  margin-bottom: 30px;
  font-family: "Noto Serif JP", "游明朝体", "Yu Mincho", YuMincho, serif;
}
/***** カテゴリ一覧 *****/
.p-category-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 60px;
  margin-bottom: 60px;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .p-category-list {
    margin-left: -10px;
    margin-right: -10px;
  }
}
@media screen and (max-width: 767px) {
  .p-category-list {
    margin-left: 0;
    margin-right: 0;
    margin-top: 30px;
  }
}
.p-category-list__item {
  box-sizing: border-box;
  margin-bottom: 50px;
  width: auto;
  margin:1%;
  text-align: center;
}
@media screen and (max-width: 1030px) {
  .p-category-list__item {
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    width: auto%;
  }
}
@media screen and (max-width: 767px) {
  .p-category-list__item {
    margin-bottom: 15px;
    padding-left: 0;
    padding-right: 0;
    width: auto;
  }
}
.p-category-list__link {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  padding: 5px 15px;
  text-align: center;
  background: rgb(240 237 232);
  border-radius: 20px;
  height:auto!important;
}
@media screen and (max-width: 1030px) {
  .p-category-list__link {
    padding: 10px;
    text-align: left;
  }
}
.p-category-list__link:hover {
  background: rgba(240, 237, 232, 0.8);
  text-decoration: none;
}
.p-category-list__img {
  display: block;
  margin-right: 20px;
  width: 100px;
}
@media screen and (max-width: 1030px) {
  .p-category-list__img {
    width: 50px;
  }
}
.p-category-list__name {
  display: block;
  flex: 1;
  font-size: 1em;
  font-family: "Noto Serif JP", "游明朝体", "Yu Mincho", YuMincho, serif;
}
@media screen and (max-width: 767px) {
  .p-category-list__name {
    font-size: 1em;
  }
}
/***** 商品件数・ソート *****/
.p-item-list-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  font-family: "Noto Serif JP", "游明朝体", "Yu Mincho", YuMincho, serif;
}
.p-item-list-num {
  font-size: 18px;
}
@media screen and (max-width: 767px) {
  .p-item-list-num {
    font-size: 14px;
  }
}
.p-item-sort-list {
  display: flex;
  flex-wrap: wrap;
}
.p-item-sort-list__item {
  margin-left: 30px;
}
@media screen and (max-width: 767px) {
  .p-item-sort-list__item {
    margin-left: 25px;
  }
}
.p-item-sort-list__item:first-child {
  margin-left: 0;
}
.p-item-sort-list__item span {
  text-decoration: underline;
}

/***カートJS***/
.c-item-list__item .cartjs_product_table,.c-item-list__item .cartjs_sk_link_other{
  display:none;
}
.c-item-list__item .cartjs_cart_in input{
  margin-bottom: 0 !important;
  background-color: #373737 !important;
  border-radius: 0 !important;
  width: 95% !important;
  font-size: 1em !important;
  height: 40px !important;
}
li.c-item-list__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* 初期状態では非表示 */
.cart-hover-form {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  position: absolute;
  bottom: 1%;
  width: 100% ;
  transition: .5s;
}
.cart-hover-form input[type="submit"] {
    background-color: #373737 !important;
    border-radius: 0 !important;
    width: 100%;
    font-size: 1em !important;
    height: 40px !important;
    color: #fff;
    border: none;
}
/* 親に hover した時だけ表示 */
.c-item-list__img:hover .cart-hover-form {
  opacity: 1;
  visibility: visible;
}