/* 16px black */
.icon-b.icon-triangle_left {
  background-position: -272px -128px;
}
/* 16px white */
.icon-w.icon-triangle_left {
  background-position: -272px -128px;
}
/* 24px black */
.icon-lg-b.icon-triangle_left {
  background-position: -408px -192px;
}
/* 24px white */
.icon-lg-w.icon-triangle_left {
  background-position: -408px -192px;
}

/* 16px black */
.icon-b.icon-triangle_right {
  background-position: -320px -128px;
}
/* 16px white */
.icon-w.icon-triangle_right {
  background-position: -320px -128px;
}
/* 24px black */
.icon-lg-b.icon-triangle_right {
  background-position: -480px -192px;
}
/* 24px white */
.icon-lg-w.icon-triangle_right {
  background-position: -480px -192px;
}

.btn-color1 {
  background-color: #b99146 !important;
}

.search_result {
  padding-top: 20px;
}

.search_result::before {
  content: "";
  width: 5px;
  height: 100%;
  background-color: #212529;
  display: block;
}
.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  margin: 0;
}
.producer_block_wrap {
  display: flex;
  flex-direction: column;
}
.producer_block {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 0.5rem;
}
.product_name {
  flex: 1;
}
.producer_wrap {
  overflow: hidden;
}
.producer_name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .icon_w {
    width: 40px;
  }
  .product_name {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 13px;
  }
  .product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    .radius_10 {
      border-radius: 6px 6px 0 0;
    }
  }
  .producer_block {
    padding: 0.5rem 5px 5px 5px;
    background-color: #fff;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: 0;
  }
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto !important;
}
.category-list li {
  max-width: 200px;
  width: calc(50% - 10px);
  list-style-type: none;
}
.category-list li a {
  color: #212529;
  font-size: 13px;
}
.category-list li::marker {
  content: "";
  display: none;
}

/* サイドバー追加 */
.main_column {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  flex-direction: column-reverse;
  width: 96%;
  margin: 0 auto;
  gap: 0px;
  padding-top: 2rem;
  align-items: center;
}
.main_column_right {
  width: 100%;
  order: 1;
}
.main_column_aside {
  width: 100%;
  height: fit-content;
  top: 0;
  font-size: 15px;
  max-width: 420px;
  margin-top: 20px;
}
.p-aside {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  &.all-category {
    display: none;
  }
  &.p-aside__sub {
    display: none;
  }
}
.p-aside.all-category,
.p-aside.p-aside__sub {
  display: none;
}
.p-aside-title {
  background-color: #fff;
  color: #b99146;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-bottom: 0;
  padding: 20px 0 15px;
  border-bottom: 1px dotted #cfc8bc;
}
.p-aside-list {
  margin: 0;
}
.p-aside-list__item {
  height: 46px;
  font-size: 14px;
  background-color: #fff;
  border-bottom: 1px dotted #cfc8bc;
  list-style-type: none;
}
.p-aside-list__item:last-child {
  border-bottom: 0;
}
.p-aside-list__item a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: bold;
  color: #463c3c;
  padding: 0 20px;
}
.p-aside-list__item a:hover {
  opacity: 0.7;
  color: #463c3c;
  text-decoration: none;
}
.p-aside__sub-list,
.p-aside__banner-list {
  list-style: none;
  margin: 0;
}
.p-aside__banner-item-inner {
  background-color: #23900a;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  font-size: 12px;
  padding: 16px;
  .title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 7px;
    margin-top: 4px;
  }
  .text {
    margin-bottom: 0;
  }
}
.p-aside__banner-item a:hover {
  color: #fff;
  opacity: 0.7;
  text-decoration: none;
}
.p-aside__sub-item {
  background-color: #fff;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 15px;
  overflow: hidden;
  .img {
    height: 100px;
    width: 100%;
    object-fit: cover;
  }
}
.p-aside__sub-item a {
  color: #463c3c;
  &:hover {
    color: #463c3c;
    text-decoration: none;
    opacity: 0.7;
  }
}
.p-aside__sub-item-inner {
  padding: 20px 16px;
  .title {
    font-weight: bold;
    margin-bottom: 7px;
    line-height: 1.4;
  }
  .title-back {
    background-color: #faf822;
  }
  .text {
    font-size: 12px;
    margin-bottom: 0;
  }
}
.p-aside__sub-item-sns {
  list-style: none;
  margin: 0;
  & li {
    list-style: none;
    position: relative;
    & ::before {
      content: "";
      background-color: #212529;
      border-radius: 40px;
      padding: 7px;
      display: block;
      width: 28px;
      height: 28px;
      position: absolute;
      left: 3px;
    }
    .item {
      font-family: "Zen Maru Gothic", sans-serif;
      gap: 14px;
      display: flex;
      align-items: center;
      margin-bottom: 10px;
      padding-left: 10px;
    }
  }
  & img {
    display: block;
    width: 14px;
    z-index: 10;
  }
}

@media (min-width: 992px) {
  .main_column {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }
  .main_column_aside {
    display: block;
    width: 20%;
    margin-top: 0px;
  }
  .main_column_right {
    width: 77%;
    order: inherit;
  }
  .p-aside.all-category,
  .p-aside.p-aside__sub {
    display: block;
  }
}
@media (min-width: 480px) {
  .main_column {
    overflow: hidden;
    padding-top: 0;
  }
}
