.sp-content .db.keiba .margin2 {
    margin:0 0 2px 0;
}

.sp-content .db.keiba .result .ranking .sort-head select {
    padding:0;
}

.sp-content .db .ranking .scroll-table table tbody.sticky tr:first-child th:nth-child(2) {
    border-top: none;
}

.sp-content .db .ranking .scroll-table table thead.sticky tr th:nth-child(2)::after, .sp-content .db .ranking .scroll-table table tbody.sticky tr td:nth-child(2)::after {
    content : "";
    position : absolute;
    top : 0;
    left : 0;
    width : 100%;
    height : 100%;
    border-right : 1px solid #aaa;
}

.sp-content .db .ranking .scroll-table table thead.sticky tr th:nth-child(2), .sp-content .db .scroll-table table tbody.sticky tr td:nth-child(2) {
   position: -webkit-sticky;
   position: sticky;
   left: 40px;
 }

.sp-content .db .ranking .scroll-table table tbody.sticky td {
   background-color: #fff;
}

.sp-content .db .ranking .scroll-table table tbody.sticky tr:nth-child(even) td {
  background-color: #f3f3f3;
}

.sp-content .db .ranking .scroll-table table tbody.sticky tr th:first-child {
  border-right: 1px solid #aaa;
}

.sp-content .db.keiba .ico-q-popup {
    background: url(../images/sp_sprite.png) no-repeat;
    background-size: 375px 600px;
    background-position: -240px -160px;
    clear: both;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: 10px;
}

.sp-content .db .scroll-table table tbody.sticky tr td:nth-child(2) a {
    z-index: 999;
}