ECサイト用パーツ

ランキング(大)アイコン付

タブレット表示 スマホ表示

売上ランキング

No.1

てきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすと

No.2

てきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすと

No.3

てきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすと

No.4

てきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすと

ルール・連絡事項

・王冠アイコンはサイトデザインに合わせて変更できる
・順位表示を外せば、商品一覧としても利用可能

パーツ設置費用

5,000

CSS

.ranking__place__type2 .flexBox {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin: 0 -25px;
}
.ranking__place__type2 .flexBox.large__box {
	margin: 0 20px;
}
.ranking__place__type2 .box {
	margin: 0 25px;
	-webkit-width: calc(100% / 3 - 50px);
	width: calc(100% / 3 - 50px);
}
.ranking__place__type2 .large__box .box {
	margin: 0 40px 60px;
	width: -webkit-calc(100% / 2 - 80px);
	width: calc(100% / 2 - 80px);
}
.ranking__place__type2 .num {
	color: #595959;
	font-family: 'Montserrat', sans-serif;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.0;
	margin: 0 0 10px;
	text-align: center;
}
.ranking__place__type2 .icon {
	display: table;
	margin: 0 auto 20px;
	padding-left: 55px;
	position: relative;
}
.ranking__place__type2 .icon img {
	image-rendering: -webkit-optimize-contrast;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
}
.ranking__place__type2 figure {
	padding-top: 100%;
	position: relative;
	width: 100%;
}
.ranking__place__type2 figure img {
	image-rendering: -webkit-optimize-contrast;
	object-fit: cover;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
.ranking__place__type2 .name {
	font-size: 14px;
	line-height: 1.6;
	margin: 10px 0 0;
}
@media screen and (max-width: 800px) {
	.ranking__place__type2 .flexBox {
		margin: 0 -2vw;
	}
	.ranking__place__type2 .flexBox.large__box {
		margin: 0 2vw;
	}
	.ranking__place__type2 .box {
		margin: 0 2vw;
		-webkit-width: calc(100% / 3 - 4vw);
		width: calc(100% / 3 - 4vw);
	}
	.ranking__place__type2 .large__box .box {
		margin: 0 3vw 6vw;
		width: -webkit-calc(100% / 2 - 6vw);
		width: calc(100% / 2 - 6vw);
	}
	.ranking__place__type2 .num {
		font-size: 3.2vw;
		margin: 0 0 1.5vw;
	}
	.ranking__place__type2 .icon {
		margin: 0 auto 2vw;
		padding-left: 6vw;
	}
	.ranking__place__type2 .icon img {
		width: 4vw;
	}
	.ranking__place__type2 .name {
		font-size: 1.8vw;
		margin: 1.5vw 0 0;
	}
}
@media screen and (max-width: 540px) {
	.ranking__place__type2 .flexBox {
		margin: 0;
	}
	.ranking__place__type2 .flexBox.large__box {
		margin: 0;
	}
	.ranking__place__type2 .box {
		margin: 0 0 8vw;
		width: 100%;
	}
	.ranking__place__type2 .box:nth-last-child(1) {
		margin-bottom: 0;
	}
	.ranking__place__type2 .large__box .box {
		margin: 0 0 8vw;
		width: 100%;
	}
	.ranking__place__type2 .num {
		font-size: 7vw;
		margin: 0 0 2vw;
	}
	.ranking__place__type2 .icon {
		margin: 0 auto 3vw;
		padding-left: 13vw;
	}
	.ranking__place__type2 .icon img {
		width: 10vw;
	}
	.ranking__place__type2 .name {
		font-size: 3.6vw;
		margin: 3vw 0 0;
	}
}

HTML

<section class="ranking__place__type2">
  <h2>売上ランキング</h2>
  <div class="flexBox large__box">
    <div class="box">
      <p class="num icon"><img src="/wp/wp-content/uploads/2021/02/icon-crown-1.png">No.1</p>
      <figure>
        <a href=""><img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image5.jpg"></a>
      </figure>
      <p class="name">てきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすと</p>
    </div>
    <div class="box">
      <p class="num icon"><img src="/wp/wp-content/uploads/2021/02/icon-crown-2.png">No.2</p>
      <figure>
        <a href=""><img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image5.jpg"></a>
      </figure>
      <p class="name">てきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすと</p>
    </div>
  </div>
  <div class="flexBox">
    <div class="box">
      <p class="num icon"><img src="/wp/wp-content/uploads/2021/02/icon-crown-3.png">No.3</p>
      <figure>
        <a href=""><img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image5.jpg"></a>
      </figure>
      <p class="name">てきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすと</p>
    </div>
    <div class="box">
      <p class="num">No.4</p>
      <figure>
        <a href=""><img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image5.jpg"></a>
      </figure>
      <p class="name">てきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすと</p>
    </div>
    <div class="box">
      <p class="num">No.5</p>
      <figure>
        <a href=""><img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image5.jpg"></a>
      </figure>
      <p class="name"><a href="">てきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすとてきすと</a></p>
    </div>
  </div>
</section>