table.ranking{
	padding:5px;
	padding-left:5px;
	padding-right:5px;
	padding-bottom:5px;
	padding-top:-20px;
	border:solid 1px #888;
	border-radius: 10px;
	line-height:1.4em;
	font-size:15px;
	width:100%;
	margin-bottom:20px;

}

table.ranking td.float{

	   
}


table.ranking{
	width:100%;
	border:solid 2px #ddd;
	background:none;
	border-collapse: separate;
	border-spacing: 0;
	margin-bottom:20px;
}

table.ranking td{
	padding:10px;

}

img.rank{
	width:60px;
	position:relative;
	top:55px;
	left:-27px;
}

.ad_button a{
	text-align:center; /*ボタンの中央配置 */
	margin:20px auto 20px auto;  /*ボタンの上右下左の余白 */
	max-width: 300px;  /*ボタンの横幅 */
	padding: 10px;  /*ボタン内文字の余白 */
	background-color: #E53935;  /*ボタンの背景色 */
	margin-right: auto;
	margin-left: auto;
	border-radius: 5px;  /*ボタンの角を少し丸く */
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	font-weight: bold;  /*ボタン内文字は太字 */
	color: #ffffff !important;  /*ボタン内の文字色 */

	text-decoration: none !important;  /*ボタン内テキストリンク下線無し */
	display: block;

}


/*画面幅が414px以下の時*/
@media screen and (max-width: 414px) {

	table.ranking td.float{
		width:100%;
	float:left;
	display:block;
	}
}

/*画面幅が415px以上の時*/
@media screen and (min-width: 700px) {

	table.ranking td.float{
    float:none;
    display:table-cell;
	}

}