#itemlist .search-results__num {
  margin-bottom: 10px !important;
  line-height: 1;
}
#itemlist .search-results__num span {
  color: #E72F29;
}
#itemlist .search-results__txt {
  font-size: 12px;
}
#itemlist .search-results.error {
  height: 80vw;
  max-height: 600px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 2px solid #E72F29;
  border-radius: 4px;
  background: #fff;
}
#itemlist .search-results.error .search-results__txt {
  text-align: center;
  font-size: 16px;
}
#itemlist .search-results.error .search-results__txt span {
  display: inline-block;
}
#itemlist .top-option {
  margin-bottom: 40px;
}
#itemlist .top-option__pc-content {
  display: none;
}
#itemlist .top-option__sp-content {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
#itemlist .top-option__sp-content--num {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
#itemlist .top-option__sp-content--num li {
  background: #fff;
}
#itemlist .top-option__sp-content--num li:first-of-type {
  font-size: 12px;
}
#itemlist .top-option__sp-content--num li:not(:first-of-type) {
  margin-right: 6px;
  padding: 3px;
  line-height: 1;
  border: 2px solid #D0D0D0;
  border-radius: 2px;
  aspect-ratio: 1/1;
}
#itemlist .top-option__sp-content--num li:not(:first-of-type) a {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #D0D0D0;
}
#itemlist .top-option__sp-content--num li:not(:first-of-type).current {
  border: 2px solid #E72F29;
}
#itemlist .top-option__sp-content--num li:not(:first-of-type).current strong {
  line-height: 1;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #E72F29;
}
#itemlist .top-option__sp-content--num li:last-of-type {
  margin-right: 0;
}
#itemlist .top-option__sp-content--order {
  width: 32%;
  max-width: 150px;
  position: relative;
}
#itemlist .top-option__sp-content--order::after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  padding: 0px 6px;
  font-size: 16px;
  border-bottom: 1px solid #808080;
  color: #808080;
  position: absolute;
  top: 50%;
  right: 4px;
  -webkit-transform: translateY(-50%) rotate(90deg);
          transform: translateY(-50%) rotate(90deg);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: none;
}
#itemlist .top-option__sp-content--order select {
  width: 100%;
  padding: 2px 4px 2px 2px;
  background: #fff;
  border: 1px solid #808080;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}
#itemlist .top-option__sp-content--searchline ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 6px;
}
#itemlist .top-option__sp-content--searchline ul li {
  padding: 2px;
  border: 1px solid #000;
  line-height: 1;
  aspect-ratio: 1/1;
  opacity: 0.333;
}
#itemlist .top-option__sp-content--searchline ul li img {
  max-width: 23px;
}
#itemlist .top-option__sp-content--searchline ul li.current {
  opacity: 1;
}
#itemlist .itemlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 10px;
}
#itemlist .itemlist.line_three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 10px;
}
#itemlist .itemlist.line_three .itemlist__item--name {
  display: none;
}
#itemlist .itemlist.line_three .itemlist__item--price {
  display: none;
}
#itemlist .itemlist__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
#itemlist .itemlist__item--img {
  margin-bottom: 4px;
  padding: 4px;
  background: #fff;
  border: 1px solid #D0D0D0;
  border-radius: 2px;
}
#itemlist .itemlist__item--img a {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  display: block;
  position: relative;
}
#itemlist .itemlist__item--img a img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
#itemlist .itemlist__item--name {
  font-size: 14px;
}
#itemlist .itemlist__item--name a {
  color: #000;
}
#itemlist .itemlist__item--price {
  margin-top: auto;
  color: #E72F29;
}
#itemlist .itemlist__item--price p {
  margin-bottom: 0;
}

.pages {
  margin-top: 40px;
}
.pages ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
.pages ul li:not(.prev):not(.next) {
  border: 2px solid #E72F29;
  border-radius: 50%;
  background: #fff;
}
.pages ul li.current {
  background: #E72F29 !important;
}
.pages ul li.current strong {
  color: #fff;
}
.pages ul li a, .pages ul li strong {
  width: 32px;
  height: 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #E72F29;
}

@media screen and (min-width: 600px) {
  #itemlist .top-option__sp-content {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    gap: 6px;
  }
  #itemlist .top-option__sp-content--order {
    max-width: 120px;
  }
}
@media screen and (min-width: 900px) {
  #itemlist {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 40px;
  }
  #itemlist .search-results {
    margin-bottom: 0;
    grid-column: 1/3;
  }
  #itemlist .top-option {
    margin-bottom: 0;
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
  }
  #itemlist .top-option__pc-content {
    width: 220px;
    height: 100%;
    display: block;
  }
  #itemlist .top-option__pc-content > div {
    border: 2px solid #E72F29;
    border-radius: 8px;
    background: #fff;
  }
  #itemlist .top-option__pc-content > div .top-option__pc-content--num > p,
#itemlist .top-option__pc-content > div .top-option__pc-content--order > p {
    padding: 4px 0 4px 20px;
    background: #E72F29;
    color: #fff;
  }
  #itemlist .top-option__pc-content > div .top-option__pc-content--num ul,
#itemlist .top-option__pc-content > div .top-option__pc-content--order ul {
    padding: 20px;
  }
  #itemlist .top-option__pc-content > div .top-option__pc-content--num ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
  }
  #itemlist .top-option__pc-content > div .top-option__pc-content--num ul li {
    line-height: 1;
    border: 2px solid #D0D0D0;
    border-radius: 4px;
    aspect-ratio: 1/1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  #itemlist .top-option__pc-content > div .top-option__pc-content--num ul li a, #itemlist .top-option__pc-content > div .top-option__pc-content--num ul li strong {
    width: 36px;
    height: 36px;
    padding: 4px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: #D0D0D0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  #itemlist .top-option__pc-content > div .top-option__pc-content--num ul li.current {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    pointer-events: none;
  }
  #itemlist .top-option__pc-content > div .top-option__pc-content--num ul li.current, #itemlist .top-option__pc-content > div .top-option__pc-content--num ul li:hover {
    border: 2px solid #E72F29;
  }
  #itemlist .top-option__pc-content > div .top-option__pc-content--num ul li.current strong, #itemlist .top-option__pc-content > div .top-option__pc-content--num ul li.current a, #itemlist .top-option__pc-content > div .top-option__pc-content--num ul li:hover strong, #itemlist .top-option__pc-content > div .top-option__pc-content--num ul li:hover a {
    line-height: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: #E72F29;
  }
  #itemlist .top-option__pc-content > div .top-option__pc-content--order ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
  }
  #itemlist .top-option__pc-content > div .top-option__pc-content--order ul li a:hover {
    text-decoration: underline;
  }
  #itemlist .top-option__sp-content {
    display: none;
  }
  #itemlist .itemlist {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 20px;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  #itemlist .itemlist.line_three {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  #itemlist .itemlist__item--img {
    overflow: hidden;
  }
  #itemlist .itemlist__item--img a img {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  #itemlist .itemlist__item--img a:hover img {
    -webkit-transform: scale(1.1) rotate(5deg);
            transform: scale(1.1) rotate(5deg);
  }
  #itemlist .itemlist__item--name a {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  #itemlist .itemlist__item--name a:hover {
    color: #E72F29;
  }
  .pages {
    margin-top: 80px;
  }
  .pages ul {
    gap: 16px;
  }
  .pages ul li {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .pages ul li.prev, .pages ul li.next {
    opacity: 0.5;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .pages ul li.prev:hover, .pages ul li.next:hover {
    opacity: 1;
  }
  .pages ul li:not(.prev):not(.next) {
    border: 2px solid #E72F29;
    border-radius: 50%;
  }
  .pages ul li.current:not(.prev):not(.next), .pages ul li:hover:not(.prev):not(.next) {
    background: #E72F29;
  }
  .pages ul li.current:not(.prev):not(.next) a, .pages ul li.current:not(.prev):not(.next) strong, .pages ul li:hover:not(.prev):not(.next) a, .pages ul li:hover:not(.prev):not(.next) strong {
    color: #fff;
  }
  .pages ul li a, .pages ul li strong {
    width: 40px;
    height: 40px;
    font-size: 18px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}