/*カテゴリー説明*/
.category-explain {
  max-width: 500px;
  margin: 30px auto;
}
@media screen and (max-width: 767px) {
  .category-explain {
  max-width: 95%;
  }
}

.category-explain p {
 text-align: center;
  line-height: 2rem;
}

/*子カテゴリーリスト*/
.category-list {
 display: grid;
 grid-template-columns: 1fr 1fr 1fr;
 gap: 20px;
}
@media screen and (max-width: 767px) {
  .category-list {
 grid-template-columns: 1fr;
 gap: 10px;
 }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .category-list {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
 }
}

.category-list-child {
  border-radius: 8px;
  border: 1px solid #836545;
  padding: 15px 20px;
}

.category-list-child a {
 display: flex;
 position: relative;
 align-items: center;
}

.category-list-child a::after {
 content: '';
 position: absolute;
 top: 18px;
  right: 0;
  width: 6px;  
  height: 6px; 
  border-top: 2px solid #836545;
  border-right: 2px solid #836545;
  transform: rotate(45deg); 
}

.category-list-child-image {
 margin-right: 10px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  object-fit: cover;
}

/*--- 商品件数、並べ替え ---*/
@media screen and (max-width: 1024px) {
.list-top-section {
  margin: 30px auto;
  }
  .list-top-section.flex {
    flex-direction: row;
    align-items: center;
  }
}
.sort__section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort__section p {
  white-space: nowrap;
  margin: 0;
}

.sort--sub-layer {
  border: 1px solid #836545;
  color: #836545;
  padding: 6px 15px 6px 3px;
}


/*商品リスト*/
.product-area {
  margin-bottom: 80px;
}
@media screen and (max-width: 767px) {
  .product-area {
  margin-bottom: 50px;
  }
}

.product-list {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr 1fr;
   gap: 20px;
  }
  @media screen and (max-width: 767px) { 
  .product-list {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  　}
  }
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .product-list {
   grid-template-columns: 1fr 1fr 1fr;
  　}
  }
  
  .product-item {
  margin-bottom: 30px;
  }
  @media screen and (max-width: 767px) { 
  .product-item {
   margin: 10px 0;
  　}
  }
  @media screen and (min-width: 768px) and (max-width: 1024px) {
  .product-item {
   margin: 10px 0;
  　}
  }
  
  
  .item-image {
   width: 100%;
    object-fit: cover;
    margin: 10px auto;
    text-align: center;
  }
  
  .item-name {
   width: 100%;
  }
  
  .item-price {
    margin-top: 10px;
   text-align: right;
  }
  
  .soldout {
    text-align: right;
   color: red;
  }
  
  .extra {
   text-align: center;
  }

/********** pager **********/
.c-pager {
  margin-top: 50px;
  text-align: center;
}
.c-pager__total {
  margin-bottom: 10px;
}
.c-pager-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}
.c-pager-list__item {
  box-sizing: border-box;
  overflow: hidden;
  margin-left: 3px;
  margin-right: 3px;
  text-align: center;
  color: #836545;
}
@media screen and (max-width: 767px) {
  .c-pager-list__item {
  }
}
@media screen and (max-width: 767px) {
  .c-pager-list__item.is-visible {
    display: block;
  }
}
.c-pager-list__link {
  display: block;
  position: relative;
  min-width: 30px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 50%;
}
@media screen and (max-width: 767px) {
  .c-pager-list__link {
    padding-left: 2px;
    padding-bottom: 1px;
  }
}
.c-pager-list__link:hover {
  text-decoration: none;
}
.c-pager-list__link.is-current {
  opacity: .7;
}
@media screen and (max-width: 767px) {
  .c-pager-list__link.is-current {    
  }
}
.c-pager-list__link.is-current:hover {
  opacity: .6;
}

.c-pager-list__link.is-prev, .c-pager-list__link.is-next {
  text-indent: -99999px;
}
.c-pager-list__link.is-prev:before, .c-pager-list__link.is-next:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -2px;
  margin-top: -4px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
@media screen and (max-width: 767px) {
  .c-pager-list__link.is-prev:before, .c-pager-list__link.is-next:before {
    margin-left: -4px;
    margin-top: -8px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
  }
}
.c-pager-list__link.is-prev:hover, .c-pager-list__link.is-next:hover {
  background: rgba(216, 216, 216, 0.7);
}
.c-pager-list__link.is-prev.is-disabled:hover, .c-pager-list__link.is-next.is-disabled:hover {
  background: #eee;
}
.c-pager-list__link.is-prev:before {
  border-right: 4px solid #836545;
}
@media screen and (max-width: 767px) {
  .c-pager-list__link.is-prev:before {
    border-right: 8px solid #836545;
  }
}
.c-pager-list__link.is-prev.is-disabled:before {
  border-right-color: #aaaaaa;
}
.c-pager-list__link.is-next:before {
  border-left: 4px solid #836545;
}
@media screen and (max-width: 767px) {
  .c-pager-list__link.is-next:before {
    border-left: 8px solid #836545;
  }
}
.c-pager-list__link.is-next.is-disabled:before {
  border-left-color: #aaaaaa;
}

.c-pager-list__page {
  display: none;
}
@media screen and (max-width: 767px) {
  .c-pager-list__page {
    display: inline-block;
  }
}