@charset "utf-8";
/*-------------------------------------
 ランキングモデルを並べるためのCSS（base.css準拠）
---------------------------------------*/
:root{
  --recommend-model-gap: 20px;
  --recommend-model-cols: 3;
}

.p-gaming-pc-sub__reccomend__list > ul{
  display: flex;
  flex-wrap: wrap;
  gap: var(--recommend-model-gap);
}
.p-gaming-pc-sub__reccomend__list > ul > li,.p-gaming-pc-sub__reccomend__list > ul > li:first-child{
  width: calc((100% - var(--recommend-model-gap) * (var(--recommend-model-cols) - 1)) / var(--recommend-model-cols));
  height: auto;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--recommend-model-gap);
}
.p-gaming-pc-sub__reccomend__list ul li .p-gaming-pc-sub__reccomend__card__img,.p-gaming-pc-sub__reccomend__list ul li:first-child .p-gaming-pc-sub__reccomend__card__img {
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
}
.p-gaming-pc-sub__reccomend__card__img .icon-price-down {
  position: absolute;
  top: 40px;
  left: 0;
  width: 75px;
  height: auto;
  transform: translateX(-100%) !important;
}
.p-gaming-pc-sub__reccomend__card__text{
  width: 100%;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto auto;
  gap: calc(var(--recommend-model-gap) / 2);
  align-items: flex-start;
}
.p-gaming-pc-sub__reccomend__card__text--h .p-gaming-pc-sub__reccomend__card__img .icon-price-down {
  width: 60px;
  top: 0;
  transform: translateX(-28px) !important;
}
.p-gaming-pc-sub__reccomend__list ul.p-gaming-pc-sub_reccomend__card__spec-list {
  width: 100%;
  flex-direction: column;
}
.p-gaming-pc-sub__reccomend__list ul.p-gaming-pc-sub_reccomend__card__spec-list>li {
  min-height: unset;
  width: 100% !important;
  border: none;
  box-shadow: none;
  font-size: 14.5px;
}
.p-gaming-pc-sub__reccomend__list ul.p-gaming-pc-sub_reccomend__card__spec-list>li {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dashed #aaa;
}
.p-gaming-pc-sub__reccomend__list ul.p-gaming-pc-sub_reccomend__card__spec-list>li:last-of-type {
  border-bottom: 1px dashed #aaa;
  padding-bottom: 5px;
}
.p-gaming-pc-sub__reccomend__list .p-gaming-pc-sub__reccomend__card__text--bold.pname-wrapper span[data-key="primename"] {
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-gaming-pc-sub__reccomend__list .c-button--primary-blue {
  padding-left: 30px;
  padding-right: 30px;
  width: 100%;
}
.p-gaming-pc-sub__reccomend__card__text--price span.main_price{
  font-size: inherit;
  font-weight: 700;
}
.recommend-custom-box {
  background: #fff4e1;
  padding: 15px;
  width: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: calc(var(--recommend-model-gap) / 2);
  align-items: flex-start;
}
.recommend-custom-box .model-custom-name span {
  display: block;
  color: #e43344;
}
.recommend-custom-box .p-gaming-pc-sub__reccomend__card__text--light {
  min-height: calc(3em* 1.5);
}
.p-product-show-detail__supplement-line-v2 img {
  width: 12px !important;
  height: auto !important;
  margin-left: 3px;
  vertical-align: baseline;
}
.p-product-show-detail__supplement-line-v2 {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-left: 0;
  margin-bottom: 10px;
}
.p-product-show-detail__supplement-line-v2 .c-link--blue {
  cursor: pointer;
}
.p-gaming-pc-sub__reccomend__card__rank-icon{
  width: 20%;
  position: absolute;
  left: 20px;
  top: 20px;
}
.p-gaming-pc-sub__reccomend__card__rank-icon img{
  width: 100%;
}
@media screen and (max-width: 767px) {
  :root{
    --recommend-model-gap: 4vw;
  }
  .p-gaming-pc-sub__reccomend__list {
    overflow-x: auto;
  }
  .p-gaming-pc-sub__reccomend__list > ul{
    width: fit-content;
    flex-wrap: nowrap;
  }
  .p-gaming-pc-sub__reccomend__list > ul > li, .p-gaming-pc-sub__reccomend__list > ul > li:first-child{
    width: 65vw;
  }
  .p-gaming-pc-sub__reccomend__list ul > li:first-child .p-gaming-pc-sub__reccomend__card__text{
    width: 100%;
    max-width: 100%;
  }
  .p-gaming-pc-sub__reccomend__card__text--price{
    font-size: 20px;
  }
}

/* SMBC対応 */
  .recommend-smbc-box {
    padding: 10px;
    background: #f6f6f6;
    font-size: 13px;
    color: #484848;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    width: 100%;
  }
  .recommend-smbc-box .smbc_txt > span {
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
  }
  .recommend-smbc-box dl {
    display: flex;
    flex-wrap: wrap;
    gap: 0 6px;
    align-items: baseline;
    margin: 6px 0;
  }
  .recommend-smbc-box .recItemIcon {
    background: #e43344;
    color: #fff;
    border-radius: 3px;
    font-size: 15px;
    padding: 0 8px;
  }
  .recommend-smbc-box .recItemIcon .SmbcAuto {
    display: inline-block;
    padding-bottom: 2px;
    font-size: 15px;
  }
  .recommend-smbc-box .recItemPrice {
    font-weight: 700;
    color: #e43344;
  }
  .recommend-smbc-box .recItemPrice span {
    font-size: 22px;
  }
  .recommend-smbc-box .p-product-show-detail__supplement-line {
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.84px;
    line-height: 1.5;
  }
  .recommend-smbc-box .p-product-show-detail__supplement-line span {
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #00a2e6;
  }

  @media screen and (max-width: 767px) {
    .recommend-smbc-box .p-product-show-detail__supplement-line {
      margin-left: 0;
    }
  }