@charset "UTF-8";

/*-------------------------------------
 ランキング
---------------------------------------*/
:root {
  --recommend-model-gap: 1rem;
  --recommend-model-cols: 4;
}

.p-gaming-pc-ranking__reccomend {
  /*タイポだがbase.cssでそう書かれているのでそのまま使う*/
  padding: var(--section-gap) 0;
}

.p-gaming-pc-ranking__reccomend .update-date {
  display: flex;
  justify-content: flex-end;
}

.p-gaming-pc-ranking__reccomend__title--info {
  margin: 0 0 36px 0;
  color: #00a2e6;
  text-align: center;
}

.p-gaming-pc-ranking__reccomend__title--info svg {
  height: 1em;
}

.p-gaming-pc-ranking__reccomend__list ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--recommend-model-gap);
}

.p-gaming-pc-ranking__reccomend__list ul li.c-panel-arrow {
  width: calc((100% - var(--recommend-model-gap) * (var(--recommend-model-cols) - 1)) / var(--recommend-model-cols));
  border: solid 1px #a3a3a3;
}

.p-gaming-pc-ranking__reccomend__list ul li.c-panel-arrow::after {
  background-color: #a3a3a3;
}

.p-gaming-pc-ranking__reccomend__list ul li.c-panel-arrow a{
  display: block;
  height: 100%;
}

.p-gaming-pc-ranking__reccomend__list ul li .p-gaming-pc-ranking__reccomend__card::after {
  content: "";
  width: 48px;
  height: 40px;
  display: block;
  position: absolute;
  right: 1rem;
  top: 0.5rem;
}

.p-gaming-pc-ranking__reccomend__list ul li .p-gaming-pc-ranking__reccomend__card::before {
  content: "";
  width: 110px;
  height: 110px;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}

.p-gaming-pc-ranking__reccomend__list ul li:nth-child(1) .p-gaming-pc-ranking__reccomend__card::after {
  background: url(../images/top/icon-gaming-pc-rank-1.webp) no-repeat 50% 50% / cover;
}

.p-gaming-pc-ranking__reccomend__list ul li:nth-child(2) .p-gaming-pc-ranking__reccomend__card::after {
  background: url(../images/top/icon-gaming-pc-rank-2.webp) no-repeat 50% 50% / cover;
}

.p-gaming-pc-ranking__reccomend__list ul li:nth-child(3) .p-gaming-pc-ranking__reccomend__card::after {
  background: url(../images/top/icon-gaming-pc-rank-3.webp) no-repeat 50% 50% / cover;
}

.p-gaming-pc-ranking__reccomend__list ul li:nth-child(4) .p-gaming-pc-ranking__reccomend__card::after {
  background: url(../images/top/icon-gaming-pc-rank-4.webp) no-repeat 50% 50% / cover;
}

.p-gaming-pc-ranking__reccomend__list ul li.coupon-model .p-gaming-pc-ranking__reccomend__card::before {
  background: url(../images/top/icon-coupon-model.svg) no-repeat 50% 50% / cover;
}

.p-gaming-pc-ranking__reccomend__list ul li.recommend-model .p-gaming-pc-ranking__reccomend__card::before {
  background: url(../images/top/icon-recommend-model.svg) no-repeat 50% 50% / cover;
}

.p-gaming-pc-ranking__reccomend__list ul li.entry-model .p-gaming-pc-ranking__reccomend__card::before {
  background: url(../images/top/icon-entry-model.svg) no-repeat 50% 50% / cover;
}

.p-gaming-pc-ranking__reccomend__card {
  padding: 1rem;
  position: relative;
  height: 100%;
  justify-content: flex-start;
}

.p-gaming-pc-ranking__reccomend__card__rank-icon {
  position: absolute;
  top: 0.5rem;

  left: 1rem;
  width: 48px;
  height: 40px;
}

.p-gaming-pc-ranking__reccomend__card__rank-icon img {
  width: 100%;
}

.p-gaming-pc-ranking__reccomend__list #icon-coupon-model,
.p-gaming-pc-ranking__reccomend__list #icon-recommend-model {
  width: 110px;
  margin: -0.5rem 0 0 -1rem;
}

.p-gaming-pc-ranking__reccomend__list #icon-recommend-model {
  display: none;
}

.p-gaming-pc-ranking__reccomend__card__img {
  width: 100%;
  margin-bottom: 1rem;
}

.p-gaming-pc-ranking__reccomend__card__text--bold {
  margin-bottom: 1rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 15px;
  line-height: 1.4;
}

.p-gaming-pc-ranking__reccomend__card__text--display {
  margin-bottom: 1rem;
  padding: 7px;
  background: #e5f6fc;
  color: #004da1;
  font-size: 13px;
  display: block;
  text-align: center;
  line-height: 1;
}

.p-gaming-pc-ranking__reccomend__list ul.p-gaming-pc-ranking_reccomend__card__spec-list {
  display: block;
  margin-bottom: 0.5rem;
}

.p-gaming-pc-ranking__reccomend__list ul.p-gaming-pc-ranking_reccomend__card__spec-list>li {
  width: auto;
  display: inline-block;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-size: 13px;
  border: none;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

.p-gaming-pc-ranking__reccomend__list ul.p-gaming-pc-ranking_reccomend__card__spec-list>li+li::before {
  content: "/";
}

.p-gaming-pc-ranking__reccomend__card__text--review {
  font-size: 12px;
}

.p-gaming-pc-ranking__reccomend__card__text--price {
  margin-top: auto;
  padding-top: 0.5rem;
}

.p-gaming-pc-ranking__reccomend__card__text--price span.main_price {
  font-size: inherit;
  font-weight: 700;
}

.p-gaming-pc-ranking__reccomend__list .review-in-recommend .review-in-recommend__link {
  justify-content: flex-start;
}

.review-in-recommend__star {
  height: 1em;
  vertical-align: baseline;
}

.p-gaming-pc .p-gaming-pc-ranking__reccomend .c-headline__h2--has-eng-sub::before {
  content: "RANKING";
}

@media screen and (max-width: 767px) {
  :root {
    --recommend-model-gap: 0;
    --recommend-model-cols: 2;
  }

  .p-gaming-pc-ranking__list {
    padding-top: 0;
  }

  .p-gaming-pc-ranking__reccomend {
    padding-top: 30px;
  }

  .p-gaming-pc-ranking__reccomend__title {
    margin-bottom: 20px;
  }

  .p-gaming-pc-ranking__reccomend__title h2 {
    font-size: 30px;
  }

  .p-gaming-pc-ranking__reccomend__title h2 small {
    margin-top: 11px;
    font-size: 12px;
    white-space: nowrap;
    font-weight: 400;
    font-style: normal;
  }

  .p-gaming-pc-ranking__reccomend__title--info {
    margin: 0 0 30px 0;
    font-size: 11px;
  }

  .p-gaming-pc-ranking__reccomend__list ul li.c-panel-arrow {
    width: calc(50% + 1px);
    margin-left: -1px;
    margin-top: -1px;
  }

  .p-gaming-pc-ranking__reccomend__list ul li:first-child .p-gaming-pc-ranking__reccomend__card {
    flex-direction: column;
  }

  .p-gaming-pc-ranking__reccomend__list ul li:first-child .p-gaming-pc-ranking__reccomend__card__text {
    max-width: 100%;
  }

  .p-gaming-pc-ranking__reccomend__card>.p-gaming-pc-ranking__reccomend__card__img {
    display: block;
  }

  .p-gaming-pc-ranking__reccomend__list ul li .p-gaming-pc-ranking__reccomend__card__img,
  .p-gaming-pc-ranking__reccomend__list ul li:first-child .p-gaming-pc-ranking__reccomend__card__img {
    margin: 0 auto 10px auto;
  }

  .p-gaming-pc-ranking__reccomend__card__text--bold {
    font-size: 13px;
  }

  .p-gaming-pc-ranking__reccomend__card__text--price {
    font-size: 18px;
  }

  .p-gaming-pc-ranking__reccomend__card__text--bold span {
    -webkit-line-clamp: 3;
  }

  .p-gaming-pc-ranking__reccomend__list ul li .p-gaming-pc-ranking__reccomend__card::after {
    width: 42px;
    height: 35px;
    right: 0.5rem;
    top: 0.25rem;
  }

  .p-gaming-pc-ranking__reccomend__list ul li .p-gaming-pc-ranking__reccomend__card::before {
    content: "";
    width: 79px;
    height: 79px;
  }
}




.p-gaming-pc-ranking__reccomend__list ul li.c-panel-no-arrow {
    width: calc((100% - var(--recommend-model-gap) * (var(--recommend-model-cols) - 1)) / var(--recommend-model-cols));
    border: solid 1px #a3a3a3;
  }

  @media screen and (max-width: 767px) {
    .p-gaming-pc-ranking__reccomend__list ul li.c-panel-no-arrow {
      width: calc(50% + 1px);
      margin-left: -1px;
      margin-top: -1px;
    }
  }
  
  .p-gaming-pc-ranking__reccomend__card__text--bold {
    font-weight: bold;
    letter-spacing: 0.96px;
    text-align: left;
  }
  .p-gaming-pc-ranking__reccomend__card__text--price {
    color: #e43344;
    font-size: 20.5px;
    line-height: 1.17;
    text-align: left;
  }
  .p-gaming-pc-ranking__reccomend__card__text--price span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.48px;
  }
  .p-gaming-pc-ranking__reccomend__card__img img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }
  .p-gaming-pc-ranking__reccomend__list ul li {
    border-radius: 2px;
    background-color: #fff;
    -webkit-box-shadow: 3.5px 3.5px 0 0 rgba(72, 72, 72, 0.1);
    box-shadow: 3.5px 3.5px 0 0 rgba(72, 72, 72, 0.1);
  }
  .review-in-recommend__star {
    height: 1em !important;
    vertical-align: baseline;
  }

  .p-gaming-pc-ranking_reccomend__card__spec-list {
    margin-bottom: var(--model-card-gap);
    font-size: clamp(11px, 0.642rem + 0.23vw, 13px);
    line-height: 1.2;
    text-align: left;
  }

  .model-link.c-button--white {
    color: #000;
    background: #fff;
    border: 1px solid #000;
  }

  .model-link.c-button--black {
    color: #fff;
    background: #000;
    border: 1px solid #000;
  }

  .model-link {
    width: 100%;
    font-size: 15px;
    padding: 5px 36px;
    height: auto;
    line-height: 1.3;
    min-height: 50px;
    margin-top: 0.5rem;
  }

  .c-button--white:before {
    background-color: #ccc;
  }

  .c-button--white:after {
    border-color: #484848;
  }

  .model-link.c-button--black:after {
    border-color: #fff;
  }

  .model-link.c-button--black:after {
    border-color: #fff;
  }

  .c-button--metal {
    color: #fff;
    background: #666;
    border: 1px solid #666;
  }

  .c-button--metal:before {
    background-color: #ccc;
  }

  .c-button--metal:after {
    border-color: #fff;
  }

  @media screen and (max-width: 767px) {
    .model-link {
      font-size: 12px;
      padding: 5px 20px;
      text-align: center;
    }
  }

