/*サイドバーとの分割*/
.product-divide {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  .product-divide {
    flex-direction: column;
  }
}

/*サイドバー*/
#side {
 width: 25%;
}
@media screen and (max-width: 1024px) {
  #side {
    order: 2;
    width: 100%;
  }
}

.side-category {
 margin-bottom: 40px;
}

.side-title {
  padding: 15px 10px;
  font-weight: 400;
  font-size: 1.4rem;
  border-bottom: 3px solid #EFDDB9;
}

.side-contents li {
 border-bottom: 1px solid #DDDDDD;
 padding-left: 20px;
 padding-bottom: 10px;
  margin: 10px 0;
}

.side-contents li a {
 display: flex;
 align-items: center;
}

.side-image {
  width: 60px;
  height: 60px;
 border-radius: 50%;
 margin-right: 10px;
}

.side-sns {
 margin-top: 50px;
}
@media screen and (max-width: 767px) {
  .side-sns {
  text-align: center;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .sns-contents {
  display: flex;
  flex-wrap: wrap;
   gap: 20px;
  }
}


.sns-contents li {
 margin-bottom: 20px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .sns-contents li{
  width: 30%;
  }
}

.sns-contents li a img {
 width: 85%;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .sns-contents li a img{
  width: 100%;
  }
}


/*カテゴリータイトル*/
.subpage-block {
 background-color: #FFF9E7;
  padding: 80px 100px 80px 30px;
  margin-bottom: 50px;
}
@media screen and (max-width: 767px) {
  .subpage-block {
  padding: 40px 10px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .subpage-block {
  padding: 50px 50px 50px 20px;
  }
}


.subpage-block h1 {
 font-size: 2.8rem;
}
@media screen and (max-width: 767px) {
 .subpage-block h1 {
 font-size: 1.8rem;
 }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
.subpage-block h1 {
 font-size: 2.3rem;
 }
}

/*子カテゴリーリスト*/
.category-list {
 display: flex;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.category-list-child {
 width: 22%;
 margin: 15px;
  border: 1px solid #A7A696;
  padding: 15px 20px;
}
@media screen and (max-width: 767px) {
 .category-list-child {
 width: 40%;
  margin: 10px;
  }
}

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

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

.category-list-child-image {
 margin-right: 10px;
  border-radius: 50%;
}


 /*商品一覧*/
.product-container {
  width: 70%;
}
@media screen and (max-width: 1024px) {
  .product-container {
    width: 100%;
  }
}
 .product-list {
   display: flex;
    flex-wrap: wrap;
  }
  @media screen and (max-width: 767px) { 
  .product-list {
    justify-content: space-between;
  　}
  }
  
  .product-item {
   width: calc(90%/4);
  margin: 0 10px 30px 10px;
  }
  @media screen and (max-width: 767px) { 
  .product-item {
   width: calc(90%/2);
  margin: 10px 5px;
  　}
  }
  @media screen and (min-width: 768px) and (max-width: 1024px) {
  .product-item {
   width: calc(90%/3);
  margin: 10px;
  　}
  }
  
  
  .item-image {
   width: 100%;
    height: 195px!important;
    object-fit: cover;
    margin: 10px auto;
    text-align: center;
  }
 @media screen and (max-width: 767px) {
   .item-image {
   height: 150px!important;
   }
 }
 
  @media screen and (min-width: 768px) and (max-width: 1024px) {
  .item-image {
    height: 220px!important;
  　}
  }
  
  .item-name {
   width: 100%;
  }
  
  .item-price {
    margin-top: 10px;
  font-weight: bold;
   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;
  min-width: 30px;
  line-height: 30px;
  background: #fdfdfd;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .c-pager-list__item {
    display: none;
    min-width: 45px;
    line-height: 45px;
  }
}
@media screen and (max-width: 767px) {
  .c-pager-list__item.is-visible {
    display: block;
    margin-left: 15px;
    margin-right: 15px;
    width: auto;
  }
}
.c-pager-list__link {
  display: block;
  position: relative;
  background: #DDDDDD;
  color: #333;
  min-width: 30px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media screen and (max-width: 767px) {
  .c-pager-list__link {
    min-width: 45px;
    padding-left: 2px;
    padding-bottom: 1px;
  }
}
.c-pager-list__link:hover {
  border-color: #d8d8d8;
  background: #d8d8d8;
  color: #333;
  text-decoration: none;
}
.c-pager-list__link.is-current {
  background-color:  #fdfdfd;
  border: 1px solid #ddd;
}
@media screen and (max-width: 767px) {
  .c-pager-list__link.is-current {
    border-color: #fdfdfd;
  }
}
.c-pager-list__link.is-current:hover {
  opacity: .5;
}

.c-pager-list__link.is-prev, .c-pager-list__link.is-next {
  border-color: #ddd;
  background: #ddd;
  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: #ddd;
}
.c-pager-list__link.is-prev:before {
  border-right: 4px solid #000000;
}
@media screen and (max-width: 767px) {
  .c-pager-list__link.is-prev:before {
    border-right: 8px solid #000000;
  }
}
.c-pager-list__link.is-prev.is-disabled:before {
  border-right-color: #aaaaaa;
}
.c-pager-list__link.is-next:before {
  border-left: 4px solid #000000;
}
@media screen and (max-width: 767px) {
  .c-pager-list__link.is-next:before {
    border-left: 8px solid #000000;
  }
}
.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;
  }
}