@charset "utf-8";
/* CSS Document */
.rankList .blue {
  background: #f0fbff;
}
.rankList .pink {
  background: #fff0f0;
}

.rankList {
  overflow-x: auto;
  overflow-y: visible; /* 追加 */
  border-radius: 1.2vw 0 0 1.2vw;
  margin: 3.3684%;
}
.rankList table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

/* 非表示セルの制御（trに追加） */
.rank-row-extra {  display: none;}
.rank-row-extra._on {  display: table-row;}

.rankList th, .rankList td {
  border: 1px solid #ccc;
  white-space: nowrap;
}

/* Sticky 左列 */
tr th:first-child, tr td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
}

/* 最上位ヘッダーはz-indexを上げて重なり防止 */
.rankList thead tr th:first-child, .rankList tbody tr td:first-child {
  z-index: 3;
}

/* 角丸 */
.top-left {  border-top-left-radius: 10px;}
.top-right {  border-top-right-radius: 10px;}
.bottom-left {  border-bottom-left-radius: 10px;}
.bottom-right {  border-bottom-right-radius: 10px;}

.rankList th {
  background: #b49646;
  color: #fff;
  font-size: 75%;
  line-height: 1.7;
  text-align: center;
  vertical-align: middle;
  border-top: 2px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 8px 10px;
}
.rankList tr th:first-child {
  border-left: 2px solid #ccc;
  padding: 0;
}
.rankList tr th:first-child > div{
  display: flex;
}
.rankList tr th:last-child {
  border-right: 2px solid #ccc;
}

.rankList td {
  font-size: 75%;
  line-height: 1.4;
  text-align: center;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 8px 10px;
  vertical-align: middle;
  overflow-wrap: break-word;
  word-wrap: break-word;
  min-width: 120px;
}
.rankList tr td:first-child {
  border-left: 2px solid #ccc;
  background: #fff;
  padding: 0;
}
.rankList tr td:first-child > div{
  display: flex;
  white-space: normal;
}
.rankList tr td:last-child {
  border-right: 2px solid #ccc;
}
.rankList tr:last-child td {
  border-bottom: 2px solid #ccc;
}
.rankList td .small{
	font-size: 80%;
}

.rankList td img {
    /*width: 25%;
    max-width: 45px;*/
	width: 30px;
}
.rankList td .productName img {
    width: 40%;
    max-width: 30px;
}
/* ランキング画像 */
.rankList td .rankContainer img {
    max-width: 30px;
    width: 100%;
}
/* 商品画像 */
.rankList td .productImg {
    max-width: 95px;
    width: 40%;
}


/* 値段や容量の数値は大きく表示 */
.rankList td span.value {
  font-size: 133.3333%;
}

/* 固定セル内 */
.rankContainer {
  width: 40px;
  display: flex;
  border-right: 2px solid #ccc;
  padding: 8px 4px;
}
.rankName {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  width: 107px;
}
.rankName div {}
.rankName div p {
  margin: 5% 0;
}
.rankName div p.brandName {
  color: #b49646;
  font-size: 91.6667%;
}
.rankName div p.productName {	font-weight: 700;}
.rankName div p.productName a{	text-decoration: underline;}

/* リンクボタン */
.tableLinkBtn {
  background: #00bd5e;
  color: #fff;
  font-size: 91.6667%;
  font-weight: 700;
  padding: 4px;
  margin: 5% 0;
  display: block;
  border-radius: 13px;
}

/* セル内のリスト */
.rankList td li {
  text-align: left;
}
.rankList td ul + small {
/*  color: #aaa;*/
  text-align: left;
  display: block;
}

@media screen and (max-width:767px) {
  .rankList {
    margin: 4vw 0 4vw 4.2667vw;
    border-radius: 3vw 0 0 3vw;
  }
  .rankList table {
    min-width: 200vw;
	padding-right: 4.2667vw;
  }
  /* 角丸 */
  .top-left {    border-top-left-radius: 3vw;}
  .top-right {    border-top-right-radius: 3vw;}
  .bottom-left {    border-bottom-left-radius: 3vw;}
  .bottom-right {    border-bottom-right-radius: 3vw;}
  .rankList th {
    font-size: 2.6667vw;
    padding: 2vw 1.3vw;
  }
  .rankList tr th:first-child {
  }
  .rankList td {
    font-size: 2.4vw;
    padding: 1.6vw 1.3vw;
    min-width: 16vw;
  }
  .rankList tr td:first-child {}
	.rankList td img {	width: 6vw;}
  .rankList td .productImg {
    width: 12vw;
  }
  
  /* 値段や容量の数値は大きく表示 */
  .rankList td span.value {    font-size: 3.2vw;}
  
  /* 固定セル内 */
  .rankContainer {
    width: 8vw;
    padding: 2vw .8vw;
  }
  .rankName {
    padding: 2vw 1.3vw;
    width: 21.4vw;
  }
  .rankName div p {
    margin: 1vw 0;
  }
  .rankName div p.brandName, .rankName div p.productName {
    font-size: 2.6667vw;
  }
  
  /* リンクボタン */
  .tableLinkBtn {
    padding: 1.6vw;
    margin: 1vw auto;
    border-radius: 5vw;
    width: 18.8vw;
  }
}

.listOnBtn {
  color: #b49646;
  font-size: 112.5%;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  display: block;
  padding: 1.8391%;
  margin: 3.3684%;
  border: 2px solid #b49646;
  border-radius: 33px;
  cursor: pointer;
}
@media screen and (max-width:767px) {
  .listOnBtn {
    font-size: 3.7334vw;
    padding: 3.2vw;
    margin: 4vw 4.2667vw;
    border-radius: 7vw;
  }
}