@charset "UTF-8";


main h1 {
  height: 160px;
  font-size: 36px;
  font-size: 3.6rem;
  line-height: 160px;
  font-weight: bold;
  background: url('../../images/ranking/bg_ttl.png')repeat-x 0 center/auto 100%;
}
main h1 span.bg_illust {
  background: url('../../images/ranking/bg_ranking_right.png')no-repeat right 125px bottom/219px auto;
}
main h1 span {
  height: 160px;
}
#ranking-menu {
  position: relative;
  margin-bottom: 20px;
  font-size: 0;
}
#ranking-menu::before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: #C7C2B7;
}
#ranking-menu li {
  display: inline-block;
  position: relative;
  max-width: 300px;
  width: calc((100% - 10px) / 2);
  min-height: 44px;
  margin-right: 10px;
  text-align: center;
}
#ranking-menu li:last-child {
  margin-right: 0;
}
#ranking-menu li span {
  display: block;
  overflow: hidden;
  height: 44px;
  width: 100%;
  border-radius: 10px 10px 0 0;
  background-color: #EFEFEF;
  border-bottom: 2px solid #C7C2B7;
}
#ranking-menu li.current {
  height: 60px;
}
#ranking-menu li.current .tab {
  border-radius: 10px 10px 0 0;
}
#ranking-menu li.current span {
  height: 60px;
  padding: 20px 0;
  background-color: #fff;
  border: 2px solid #C7C2B7;
  border-bottom: none;
}
#ranking-menu li span:hover {
  cursor: pointer;
  height: 60px;
  padding: 20px 0;
  border: 2px solid #C7C2B7;
  border-radius: 10px 10px 0 0;
  background-color: #fff;
}
#ranking-menu li.current span:hover {
  border-bottom: none;
}
#ranking-menu img {
  max-width: 44px;
  margin: 0 auto;
}
#ranking-menu li span {
  padding: 11px 0;
}
#ranking-menu li span::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -4px;
  background: #fff;
}
#year-tab {
  display: none;
}
main .box-serach-o {
  padding: 20px;
  margin-bottom: 40px;
}
main .box-serach-o .cap {
  position: relative;
  font-size: 20px;
  font-size: 2rem;
  font-weight: bold;
}
main .box-serach-o .cap:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 1px;
  content: '';
  background: #C7C2B7;
}
main .box-serach-o .cap span.cap-txt {
  position: relative;
  padding: 0 10px 0 0;
  font-size: 22px;
  font-size: 2.2rem;
  background: #F5EADA;
}
main .box-serach-o .cap span.icon {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 35px;
  padding: 0 21px 0 0;
  background: #F5EADA;
}
main .box-serach-o .cap span.icon img {
  width: 35px;
  height: 35px;
}
main .box-serach-o .cap span.icon:hover {
  cursor: pointer;
}
main .box-serach-o .cate {
  display: none;
  font-size: 0;
  padding-top: 15px;
}
main .box-serach-o .cate.show {
  display: block;
}
main .box-serach-o li {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}
main .box-serach-o li a {
  display: block;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: bold;
  background-color: #fff;
}
main .box-serach-o li.current a,
main .box-serach-o li a:hover {
  background-color: #DD6D22;
  color: #fff;
}
main .article-wrapper {
  margin-bottom: 40px;
}
main .out-wrapper .block {
  width: calc((100% - 60px) / 3);
  margin-right: 30px;
  margin-bottom: 30px;
}
main .out-wrapper .block:nth-child(3n) {
  margin-right: 0;
}
main .article .image {
  position: relative;
  overflow: hidden;
  height: 203px;
  border-radius: 10px 10px 0 0;
}
main .goods-list .image-wrapper {
  margin-bottom: 15px;
}
main .out-wrapper .block .goods-name {
  margin-bottom: 10px;
}
main .out-wrapper .image-wrapper .image {
  margin-bottom: 0;
}
main .out-wrapper .block:first-child .cate-list li:nth-child(3),
main .out-wrapper .block:first-child .cate-list li:nth-child(4),
main .out-wrapper .block:nth-child(2) .cate-list li:nth-child(3),
main .out-wrapper .block:nth-child(2) .cate-list li:nth-child(4),
main .out-wrapper .block:nth-child(3) .cate-list li:nth-child(3),
main .out-wrapper .block:nth-child(3) .cate-list li:nth-child(4) {
  display: inline-block;
}
main .goods-list .goods-name {
  display: -webkit-box;
}
main .goods-list .icon-rank.no {
  width: 30px;
  height: 30px;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 30px;
  background:#fff;
  color: #B7B7B7;
}
main .icon-rank.no1,
main .icon-rank.no2,
main .icon-rank.no3 {
  width: 27px;
  height: 27px;
  padding: 0;
  border-radius: 50%;
  line-height: 30px;
  top: 8px;
  left: 8px;
  font-size: 16px;
  font-size: 1.6rem;
  background: #C9A323;
}
main .icon-rank.no2 {
  background: #657684;
}
main .icon-rank.no3 {
  background: #AA8963;
}
#history-goods {
  margin-top: 70px;
}
footer {
  margin-top: 60px;
}
@media screen and (max-width:768px){
  main h1,
  main h1 span {
    height: 120px;
    font-size: 22px;
    font-size: 2.2rem;
    line-height: 120px;
    background-size: auto 100%;
  }
  main h1 span.bg_illust {
    min-width: 100%;
    background: url('../../images/ranking/bg_ranking_right_sp.png')no-repeat right bottom/127px auto;
  }
  .path ul {
    margin-bottom: 12px;
  }
  #ranking-menu {
    margin-bottom: 20px;
  }
  #ranking-menu img {
    max-width: 37px;
  }
  #ranking-menu li:last-child img {
    max-width: 37px;
  }
  main .box-serach-o {
    margin-bottom: 30px;
    border-radius: 0;
  }
  main .box-serach-o .cap span.cap-txt {
    margin-bottom: 0;
    font-size: 18px;
    font-size: 1.8rem;
  }
  main .box-serach-o .cap span.icon {
    width: 40px;
    height: 25px;
    padding-right: 15px;
    line-height: 25px;
  }
  main .box-serach-o .cap span.icon img {
    width: 25px;
    height: 25px;
    line-height: 1;
    vertical-align: top;
  }
  main .box-serach-o li a {
    padding: 10px 14px 9px;
    font-size: 14px;
    font-size: 1.4rem;
  }
  main .box-serach-o .cate {
    padding-top: 20px;
  }
  main .article .image {
    height: 115px;
  }
  main .out-wrapper .block,
  main .out-wrapper .block:nth-child(3n) {
    width: calc((100% - 17px) / 2);
    margin-right: 17px;
    margin-bottom: 18px;
  }
  main .out-wrapper .block:nth-child(2n) {
    margin-right: 0;
  }
  main .goods-list .image-wrapper {
    margin-bottom: 7px;
  }
  main .block:first-child .icon-rank,
  main .block:nth-child(2) .icon-rank,
  main .block:nth-child(3) .icon-rank,
  main .icon-rank.no {
    top: 4px;
    left: 4px;
  }
  main .goods-list .icon-rank.no {
    font-size: 16px;
    font-size: 1.6rem;
  }
  main .article .txt {
    font-size: 16px;
    font-size: 1.6rem;
  }
  main .out-wrapper .block .goods-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 7px;
  }
  main .goods-list .jichitai-info .jichitai-thum {
    margin-right: 8px;
  }
  main .out-wrapper .block .cate-list {
    margin-bottom: 0;
  }
  main .goods-list .jichitai-info .area {
    font-size: 13px;
    font-size: 1.3rem;
  }
  main .goods-list .image-wrapper .icon img {
    width: 16px;
  }
  main .goods-list .jichitai-info .area {
    font-size: 13px;
    font-size: 1.3rem;
  }
  main #histroy-goods {
    margin-top: 37px;
  }
  footer {
    margin-top: 33px;
  }
  #ranking-menu li span:hover {
    cursor: default;
    height: 44px;
    padding: 11px 0;
    border: none;
    border-bottom: 2px solid #C7C2B7;
    border-radius: 10px 10px 0 0;
    background-color: #EFEFEF;
  }
  #ranking-menu li.current span {
    height: 60px;
    padding: 20px 0;
    border: 2px solid #C7C2B7;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    background-color: #fff;
  }
  #ranking-menu li.current span:hover {
    border-bottom: none;
  }
  main .box-serach-o .cap span.icon:hover {
    cursor: default;
  }
  main .box-serach-o li a:hover {
    background-color: #fff;
    color: #1A1A1A;
  }
  main .box-serach-o li.current a {
    background-color: #DD6D22;
    color: #fff;
  }
}
