.l-contents-wrap {
  display: flex;
  flex-direction: row-reverse;
  padding-top: 3em;
  padding-bottom: 6em;
}
.l-contents-main {
  width: calc(100% - 300px)
}
.l-contents-side {
  width: 300px;
  margin-right: 60px;
}
.l-side-navi {
  margin-bottom: 3em;
}
.l-side-navi__ttl {
  border-left: 6px solid #fff;
  border-bottom: 2px solid #fff;
  padding-left: 12px;
  margin-bottom: 12px;
}
.l-side-navi-list {
  margin-left: 0;
}
.l-side-navi-list__item {
  margin-bottom: 1em;
}
.l-side-navi-sub-list__item {
  padding: 8px;
  background-color: #fff;
  color: #000;
  font-size: 14px;
  margin-bottom: 1px;
}
.l-side-navi-sub-list__item a {
  display: block;
  padding-right: 10px;
  position: relative;
}
.l-side-navi-sub-list__item a::after {
  content: '';
  width:8px;
  height:8px;
  border-top:1px solid #666;
  border-right: 1px solid #666;
  position: absolute;
  right:1px;
  top:50%;
  transform: translateY(-50%) rotate(45deg);
}

.p-category-list__link {
  padding:8px;
  background-color: #fff;
  color: #000;
  display: block;
  font-size: 14px;
  border-radius: 3px;
}

.c-item-list {
  margin-left:0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
.c-item-list__item .new_mark_img1{
  vertical-align:middle;
}
.c-item-list__price {
  text-align:right;
}
.c-item-list__expl {
  font-size:small;
}
.c-pager {
  padding-top: 3em;
  padding-bottom: 3em;
}
.c-pager__total {
  text-align: center;
  margin-bottom: 1rem;
}
.c-pager-list {
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-pager-list__item {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}
.c-pager-list__item a {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .l-contents-wrap {
  display: block;
}
.l-contents-main {
  width: 100%;
}
.l-contents-side {
  width: 100%;
  margin-right: 0;
}
}
@media screen and (max-width: 520px) {
  .c-item-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
}

/******************************/
/* category */
/******************************/
.p-category__ttl {
  margin: 10px 0 30px 0;
  line-height: 1.4;
  font-size: 30px;
  font-weight: normal;
}
.p-category-free {
  margin-bottom: 60px;
  line-height: 2;
}
/***** カテゴリ一覧 *****/
.p-category-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 60px;
  margin-bottom: 60px;
  margin-left: -15px;
  margin-right: -15px;
}
@media screen and (max-width: 767px) {
  .p-category-list {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
}
.p-category-list__item {
  box-sizing: border-box;
  margin-bottom: 30px;
  padding-left: 15px;
  padding-right: 15px;
  width: 33.3333%;
  font-size: 16px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-category-list__item {
    margin-bottom: 15px;
    padding-left: 0;
    padding-right: 0;
    width: auto;
    text-align: left;
  }
}
.p-category-list__link {
  position: relative;
}
@media screen and (max-width: 767px) {
  .p-category-list__link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
}
.p-category-list__link:hover {
  text-decoration: none;
}
@media screen and (max-width: 767px) {
  .p-category-list__link:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -6px;
    width: 8px;
    height: 8px;
    border-right: 1px solid #aaaaaa;
    border-bottom: 1px solid #aaaaaa;
    transform: rotate(-45deg);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}
.p-category-list__img {
  display: block;
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  .p-category-list__img {
    margin-right: 10px;
    margin-bottom: 0;
    width: 75px;
  }
}
.p-category-list__name:hover {
  text-decoration: underline;
}
@media screen and (max-width: 767px) {
  .p-category-list__name:hover {
    text-decoration: none;
  }
}
@media screen and (max-width: 767px) {
  .p-category-list__name {
    flex: 1;
  }
}
/***** 商品件数・ソート *****/
.p-item-list-head {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  border-top: 1px solid #7d7d7d;
}
@media screen and (max-width: 767px) {
  .p-item-list-head {
    padding: 30px 0;
  }
}
.p-item-list-num {
  font-size: 16px;
}
@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;
}
