/* ==========================================
   refa_2605 LP 専用スタイル
   ========================================== */

/* カラー定義 */
:root {
  --refa-color-wh: #fff;
  --refa-color-bk: #000;
  --refa-color-pk: #ffa8df;
  --refa-color-s: #a1a1a1;
  --refa-color-g: #b29e53;
  --refa-color-ib: #dccfb5;
  --refa-color-bl: #7cc2fb;
  --refa-color-rd: #c62525;
}

/* 商品画像トリミング比率の上書き（rentio.cssの.squareProductImageは正方形だが、
  商品画像は 246:295 で書き出されているため実比率に合わせる） */
.squareProductImage {
  border: none;
}

.squareProductImage:before {
  padding-top: 119.92%; /* 295 / 246 * 100 */
}

.squareProductImage .squareProductImage__image {
  max-width: 93%;
  max-height: 93%;
}

@media screen and (min-width: 576px) {
  .lpSimpleLate2021__body {
      width: 800px;
  }
}

.productColor {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid transparent;
}

.productColor__wh {
  background-color: var(--refa-color-wh);
  border-color: #ccc;
}

.productColor__bk {
  background-color: var(--refa-color-bk);
}

.productColor__pk {
  background-color: var(--refa-color-pk);
}

.productColor__s {
  background-color: var(--refa-color-s);
}

.productColor__g {
  background-color: var(--refa-color-g);
}

.productColor__ib {
  background-color: var(--refa-color-ib);
}

.productColor__bl {
  background-color: var(--refa-color-bl);
}

.productColor__rd {
  background-color: var(--refa-color-rd);
}

.sliderItem.sliderItem_top {
    animation: animate_conveyor_right 24s infinite linear both;
}

.sliderItem {
    height: 130px;
}

@keyframes animate_conveyor_right {
  from {
      transform: translateX(0)
  }

  to {
      transform: translateX(-100%)
  }
}

/* ドライヤーチャート */

.dryer_chart {
  position: relative;
}

.dryer_chart_item {
  position: absolute;
  z-index: 1;
  display: block;
}

.dryer_chart_item--bx {
  top: 91px;
  left: 124px;
}

.dryer_chart_item--splus {
  top: 211px;
  right: 190px;
}

.dryer_chart_item--sw {
  bottom: 128px;
  right: 171px;
}

.dryer_chart_item--se {
  bottom: 41px;
  right: 118px;
}

@media screen and (max-width: 767px) {
  .dryer_chart_item img {
    width: 100%;
    height: auto;
  }

  .dryer_chart_item--bx {
    top: 16vw;
    left: 9.5vw;
    width: 22vw;
  }

  .dryer_chart_item--splus {
    top: 42vw;
    right: 12vw;
    width: 35vw;
  }

  .dryer_chart_item--sw {
    bottom: 23vw;
    right: 27vw;
    width: 45vw;
  }

  .dryer_chart_item--se {
    bottom: 9.36vw;
    right: 0vw;
    width: 35vw;
  }
}

/* 比較表 */
.cardbadge:nth-child(4) {
  background-color: var(--refa-rank-4th);
}
.comparison__table {
  font-size:12px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", Meiryo, sans-serif
}

.comparison__table__products th {
  min-width: 260px;
}

thead .comparison__table__series .series-x {
  color: #fff;
  background-color: #8a7f61;
}

thead .comparison__table__series .series-s {
  color: #fff;
  background-color: var(--rn-navy-2);
}

thead .comparison__table__series .series-l {
  color: #fff;
  background-color: #896a8d;
}

thead .comparison__table__products .name {
  display: block;
  text-align: center;
}

thead .comparison__table__products .series-x {
  color: #fff;
  background-color: #a5a093;
}

thead .comparison__table__products .series-s {
  color: #fff;
  background-color: var(--rn-navy-3);
}

thead .comparison__table__products .series-l {
  color: #fff;
  background-color: #a492a6;
}

thead .comparison__table__products th {
  padding: 0;
}

tbody .comparison__table__head td {
  background-color: var(--rn-navy-6);
}

.hair-iron-comparison__table .comparison__table__products th {
  min-width: initial;
  width: 33.3%;
}

.comparison__table__products .product {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
}

.comparison__table__products .product img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .comparison__table__products .product {
    height: 70px;
  }
}

@media screen and (max-width: 767px) {
  .comparison__table__products th {
    min-width: 160px;
  }
}

/* カード横スクロール（レンタル人気ランキング / OTHERS） */

@media screen and (max-width: 767px) {
  .cardScrollRow {
    flex-wrap: nowrap;
    justify-content: flex-start !important;
    overflow-x: auto;
  }

  .cardScrollRow .col-3,
  .cardScrollRow .col-4 {
    flex: 0 0 170px;
    width: 170px;
    max-width: 170px;
  }
}

:root {
  --refa-rank-1st: #ccaf2f; /* 金 */
  --refa-rank-2nd: #90999b; /* 銀 */
  --refa-rank-3rd: #b27445; /* 銅 */
  --refa-rank-4th: #6d6d6d; /* グレー */
}

.cardbadge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  background-color: var(--refa-rank-4th);
}

.cardbadge_1st { background-color: var(--refa-rank-1st); }
.cardbadge_2nd { background-color: var(--refa-rank-2nd); }
.cardbadge_3rd { background-color: var(--refa-rank-3rd); }
.cardbadge_4th { background-color: var(--refa-rank-4th); }
