@import url("global.css");/* 読み込み */
div#layout h3 {
	display:block;
	margin:10px;
	width:980px;
	height:30px;
	background:url(../images/ranking_img/h3_ranking.gif) 0px 0px no-repeat;
}
div#layout h3 span {display:none;}

#rank_layout{
  width: 924px;
  margin: auto;  
}
h4.rank_title{
  height: 54px;
  line-height: 54px;
  text-align: center;
  margin:40px auto 30px;
  font-size: 28px; 
	background:url(../images/ranking_img/main_title.jpg) 0px 0px no-repeat;
}
p.rank_description{
  width: 760px;
  border:1px dashed #c62a4c;
  margin: 0 auto 30px;
  background-color: rgba(255,255,255,0.7);
  padding: 20px 30px;
  font-size: 12px;
}
h5.rank_title{
  background: #b40909; /* Old browsers */
  background: -moz-linear-gradient(top,  #b40909 0%, #520000 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #b40909 0%,#520000 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #b40909 0%,#520000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b40909', endColorstr='#520000',GradientType=0 ); /* IE6-9 */
  border-bottom: 2px solid #ff0000;
  height: 40px;
  line-height: 40px;
  color:#fff;
  font-size: 20px;
  padding-left: 30px;
  position: relative;
  margin-bottom: 15px;
}
h5.rank_title:before{
  content: '';
  position: absolute;
  left:8px;
  top:13px;
  width: 13px;
  height:13px;
  background-color: #fff;
}

ul.rank_Box{
  overflow: hidden;
}

ul.rank_Box > li{
  width: 16%;
  float: left;
  margin-left: 5%;
  position: relative;
  padding-top: 20px;
  margin-bottom: 40px;
}
ul.rank_Box > li:first-child{
  margin-left: 0%;
}

ul.rank_Box > li.no1:before{
  content: url(../images/ranking_img/number_01.png);
}
ul.rank_Box > li.no2:before{
  content: url(../images/ranking_img/number_02.png);
}
ul.rank_Box > li.no3:before{
  content: url(../images/ranking_img/number_03.png);
}
ul.rank_Box > li.no4:before{
  content: url(../images/ranking_img/number_04.png);
}
ul.rank_Box > li.no5:before{
  content: url(../images/ranking_img/number_05.png);
}

ul.rank_Box > li.no5:before,
ul.rank_Box > li.no4:before,
ul.rank_Box > li.no3:before,
ul.rank_Box > li.no2:before,
ul.rank_Box > li.no1:before{
  position: absolute;
  top:0;
  left:0;
  z-index: 1;
}

ul.rank_Box > li img{
  width: 100%;
  height: auto;
  border:2px solid #c62a4c;
  vertical-align: bottom;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

p.rank_type{
  position: absolute;
  font-size: 10px;
  top: 5px;
  right:0;
  background: #ef007c; /* Old browsers */
  background: -moz-linear-gradient(top,  #ef007c 0%, #ff5db1 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #ef007c 0%,#ff5db1 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #ef007c 0%,#ff5db1 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ef007c', endColorstr='#ff5db1',GradientType=0 ); /* IE6-9 */
  color: #fff;
  border:1px solid #fff;
  border-radius: 5px;
  padding: 2px 10px;
  margin: 0;
  width: 80px;
  text-align:center; 
}

p.rank_name{
  background-color: #c62a4c;
  margin: 0;
  text-align: center;
  color: #fff;
}

p.rank_link a{
  font-size: 11px;
  color: #a71836;
  text-decoration: underline;
}