/*=====================================
 機種ランキングページ用CSS
 旧サイト machineranking.css + インラインスタイルを統合
=====================================*/

body {
    background-color: #e6e6e6;
}

#footer_wrap .menu_update,
.update_wrap .menu_update {
    background: transparent;
}

main {
    padding: 0 2.6667%;
    color: #333333;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

main .ranking h1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 4px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #084d8f;
    margin: 0 0 5px 0;
}

main .ranking h1 img {
    width: 7.2%;
    margin: -1px 4px 0 0;
}

main .description {
    margin-top: 10px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

main .link {
    margin-top: 5px;
    text-align: right;
    font-size: 12px;
}

main .link a {
    display: inline-block;
    margin-right: .2em;
    color: #333;
}

.ranking {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    box-sizing: border-box;
}

.ranking > p {
    padding: 10px 4px;
    color: #ff8800;
    font-size: 14px;
    line-height: 1.4;
}

.ranking_list {
    margin-bottom: 10px;
    padding: 0;
}

.ranking_list li a {
    display: block;
    width: 100%;
    color: #333;
    font-size: 13px;
    line-height: 2.5;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: dotted 1px #333;
}

.ranking_list li a .rank1,
.ranking_list li a .rank2 {
    display: inline-block;
    width: 1.5em;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

.newred, .newgreen, .newblue, .neworange {
    display: inline-block;
    width: 18px;
    height: 18px;
    color: transparent;
    font-size: 0;
    border-radius: 4px;
    vertical-align: text-bottom;
    overflow: hidden;
}

.newred {
    background-color: #fa3f3f;
    background-image: url(/assets/images/ranking/arrow-up-right.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
}

.newgreen {
    background-color: #36b818;
    background-image: url(/assets/images/ranking/arrow-right.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 76%;
}

.newblue {
    background-color: #3f62fa;
    background-image: url(/assets/images/ranking/arrow-down-right.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
}

.neworange {
    background-color: #ffc600;
    background-image: url(/assets/images/ranking/sparkles.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 72%;
}

.newred i, .newgreen i, .newblue i, .neworange i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.newred i img, .newblue i img {
    width: 60%;
}

.newgreen i img {
    width: 76%;
}

.neworange i img {
    width: 72%;
}

.ranking_list .newred,
.ranking_list .newgreen,
.ranking_list .newblue,
.ranking_list .neworange {
    margin-right: 2.5%;
}

main .mark {
    margin-top: -50px;
    padding-top: 70px;
    color: #333;
    font-size: 12px;
    line-height: 1.4;
}

main .mark span {
    margin-top: 4px;
}
