/*
** ranking
******************************/
.section{
  padding:20px 0 90px;
}
#ranking {
  display: block !important;
}
.lead {
  margin-top: 40px;
  font-weight: bold;
  font-size: 22px;
  text-align: center;
  color: #f00;
  padding: 10px 0;
}

.lead span {
  position: relative;
}
.lead span::before {
  content: "";
  position: relative;
  display: inline-block;
  background: url(../../images/priceup/dotline.svg) no-repeat;
  width: 26px;
  height: 26px;
  background-size: contain;
  top: 10px;
  margin-right: 10px;
}

.lead span::before {
  content: "";
  position: relative;
  display: inline-block;
  background: url(../../images/priceup/dotline.svg) no-repeat;
  width: 26px;
  height: 26px;
  background-size: contain;
  top: 10px;
  margin-left: 10px;
}
  
.lead span::after {
  content: "";
  position: relative;
  display: inline-block;
  background: url(../../images/priceup/dotline.svg) no-repeat;
  width: 26px;
  height: 26px;
  background-size: contain;
  top: 10px;
  transform: scale(-1, 1);
  margin-right: 10px;
}
.mainvis {
  position: relative;
  text-align: center;
  height: 194px;
  background: linear-gradient(#ffe600 0%, #ffa200 100%);
}
.mainvis::after {
  content: "";
  position: absolute;
  bottom: -130px;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 129px;
  background: linear-gradient(rgba(106, 162, 31, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
}

.mainvis img {
  width: auto;
  height: 100%;
  margin: 0 auto;
}

.ranking-box .time {
  text-align: right;
  font-size: 14px;
}

.ranking-box .copy {
  font-weight: bold;
  font-size: 36px;
  text-align: center;
  color: #4c7e0a;
  margin-top: 30px;
}

.ranking-area {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin:30px 0 0;
}

.ranking-list {
  position: relative;
  display: flex;
  width: calc(100% / 3);
  margin-top: 40px;
  padding: 0 10px 0 54px;
  height: 190px;
}
.ranking-list::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  left: 0;
  bottom: 0px;
  background: radial-gradient(60% 90% at top, #00000033 0%, #FFFFFF00 100%);
}
.ranking-list .number {
  content: '';
  position: absolute;
  background: url(../../images/common/i_ranking04.svg) no-repeat;
  width: 50px;
  height: 50px;
  background-size: contain;
  top: 5px;
  left: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  padding-top: 6px;
  font-family: 'Roboto', sans-serif;
}

.ranking-area .ranking-list.no1 .number {
  background: url(../../images/common/i_ranking01.svg) no-repeat;
  background-size: contain;
}

.ranking-area .ranking-list.no2 .number {
  background: url(../../images/common/i_ranking02.svg) no-repeat;
  background-size: contain;
}
.ranking-area .ranking-list.no3 .number {
  background: url(../../images/common/i_ranking03.svg) no-repeat;
  background-size: contain;
}
.ranking-list:last-of-type {
  margin-bottom: 80px;
}
.imgbox {
  width: 170px;
}

.textbox {
  width: calc(100% - 120px);
  padding: 0 0 0 5px;
}
.textbox .product_name {
  position: relative;
  font-size: 14px;
  padding-bottom: 30px;
}
.textbox .product_name .company {
  margin-bottom: 10px;
}
.textbox .product_name .name{
  font-size: 18px;
  font-weight: bold;
}
.comment {
  position: relative;
  background: #eee;
  padding: 60px 40px 40px;
  width:900px;
  margin:0 auto 50px;
  border-radius: 10px;
}

.comment .speech {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  margin: auto;
  border-radius: 6px;
  background: #6aa21f;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  color: #fff;
  width: 200px;
  padding: 15px 0;
  z-index: 1;
}
.comment .speech::after {
  content: "";
    position: absolute;
    right: 30px;
    bottom: -5px;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 35px 0 35px;
    border-color: #6aa21f transparent transparent transparent;
    transform: rotate(60deg);
    z-index:-1;
}
.comment_text {
  position: relative;
  padding: 0 140px 0 0;
  line-height: 1.7;
}
.comment_text::after {
  content: "";
  background: url(../../images/ranking/i_illust01.svg) no-repeat;
  background-size: 100% auto;
  width: 112px;
  height: 124px;
  position: absolute;
  right: 0;
  top: 0;
}
@media (max-width: 768px) {
  .mainvis::after {
    height: 129px;
    background: linear-gradient(rgba(106, 162, 31, 0.3) 0%, rgba(255, 255, 255, 0) 50%);
  }
  .section {
    padding: 15px 0 90px;
  }
  .lead {
    margin-top: 30px;
    font-size: 16px;
    padding: 15px 0 10px;
  }
  .mainvis {
    height: auto;
  }
  .mainvis img {
    width: 100%;
    height: auto;
  }
  .ranking-box {
    margin-bottom: 70px;
  }
  .ranking-box .copy {
    font-size: 24px;
  }
  .ranking-area {
    display: block;
  }
  .ranking-area::after {
    content: none;
  }
  .ranking-list {
    width: 100%;
    margin-top: 20px;
    padding: 0 10px 20px 66px;
    height: auto;
  }
  
  .ranking-list:first-of-type {
    margin-top: 30px;
  }
  .ranking-list:last-of-type {
    margin-bottom: 40px;
  }
  .imgbox {
    width: 35%;
  }
  .textbox {
    width: calc(100% - 35%);
    padding: 0 10px;
  }

  .ranking-box .time {
    font-size: 12px;
  }

  .textbox .product_name {
    padding-bottom: 15px;
  }
  .textbox .product_name .company {
    font-size: 12px;
  }
  .textbox .product_name .name {
    font-size: 16px;
  }
  .ranking-list .number {
    top: 10px;
    left: 15px;
    width: 51px;
    height: 40px;
    padding-top: 14px;
  }

  .ranking-list::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    left: 0;
    bottom: 0;
    background: radial-gradient(60% 90% at top, #00000033 0%, #FFFFFF00 100%);
  }


  .comment {
    width: auto;
    padding: 30px 25px 25px;
  }
  .comment .speech {
    width: 50%;
    padding: 10px 0;
  } 
  .comment .speech::after {
    right: 18px;
    bottom: -2px;
    border-width: 20px 25px 0 25px;
    border-color: #6aa21f transparent transparent transparent;
  }
  .comment_text {
    position: relative;
    padding: 0 25% 0 0;
    line-height: 1.7;
  }
  .comment_text::after {
    width: 25%;
    height: 25%;
    right:-10px;
  }
  
}