.parts_stock_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  row-gap: 20px;
}

.parts_stock_list_top {
  width: 1300px;
  max-width: 100%;
  padding: 0 2%;
  margin: 0 auto;
}

.parts_stock_list_item {
  width: 24%;
}

.parts_stock_list_item_empty {
  visibility: hidden;
}

.parts_stock_list_item_link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  padding: 15px 15px 60px;
  background-color: #fff;
  position: relative;
  border-radius: 5px;
  transition-duration: 0.3s;
}

.parts_stock_list_item_link:hover,
.parts_stock_list_item_link:focus {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.parts_stock_list_item_thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 1em 0;
}

.parts_stock_list_item_maker {
  color: #fff;
  background-color: #333;
  padding: 3px 8px;
  width: fit-content;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.parts_stock_list_item_name {
  font-size: 16px !important;
  line-height: 1.5 !important;
  margin: 1em 0 0 !important;
}

.parts_stock_list_item_price,
.parts_stock_list_item_price_ask {
  position: absolute;
  font-size: 18px !important;
  font-weight: bold !important;
  color: #c00 !important;
  bottom: 15px;
  right: 15px;
  margin: 0 !important;
}


/* single-parts-stock */

.parts_stock_content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 30px;
}

.parts_stock_img_wrap {
  flex: 1;
}

.parts_stock_img_main {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 10px;
  display: block;
}

.parts_stock_thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.parts_stock_thumb_item {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
}

.parts_stock_thumb_item.active {
  border: 2px solid #0078d7;
}

.parts_stock_img_nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.parts_stock_img_nav_btn {
  background: #eee;
  border: none;
  font-size: 18px;
  padding: 6px 16px;
  cursor: pointer;
  border-radius: 4px;
}

.parts_stock_info {
  flex: 1;
}

.parts_stock_maker {
  color: #fff;
  background-color: #333;
  padding: 3px 8px;
  width: fit-content;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.parts_stock_title {
  font-size: 22px !important;
  line-height: 1.5 !important;
  margin: 0.5em 0 0 !important;
}

.parts_stock_dl {
  font-size: 16px !important;
  margin-top: 20px;
}

.parts_stock_dl_line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.parts_stock_dl_line:last-of-type {
  margin-bottom: 0;
}

.parts_stock_dt {
  width: 6em;
  text-align: center;
  color: #fff;
  background-color: #333;
  padding: 0.25em;
}

.parts_stock_dd {
  width: calc(100% - 7em);
}

.parts_stock_price::before {
  content: '¥';
  margin-right: 0.1em;
}

.support_title {
  font-size: 18px;
  font-weight: bold;
  margin-top: 1.5em;
}

.parts_stock_support {
  font-size: 14px !important;
}

.parts_stock_support_item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 5px;
}

.parts_stock_support_dt {
  color: #fff;
  background-color: #333;
  padding: 0.25em 0.5em;
  margin-right: 0.5em;
}

.parts_stock_deteil {
  font-size: 14px !important;
  margin-top: 20px;
}

.parts_stock_deteil p {
  margin-bottom: 0.8em !important;
  line-height: 1.5 !important;
}

.parts_stock_deteil ul,
.parts_stock_deteil ol {
  margin-top: 0.8em;
}

.parts_stock_deteil li:not(:last-of-type) {
  margin-bottom: 0.25em;
}

.parts_stock_deteil li::before {
  content: "・";
}

.parts_stock_deteil * {
  font-size: 14px !important;
}


@media (max-width: 1024px) {

  .parts_stock_list_item {
    width: 32%;
  }

  .parts_stock_list_item_top {
    width: 48.5%;
  }

}


@media (max-width: 769px) {

  .parts_stock_list_item {
    width: 48.5%;
  }

  .parts_stock_content {
    flex-direction: column;
    gap: 50px;
  }

}