/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2022/11/27, 13:09:22
    Author     : maeda
*/

.racerpg_lnk{
    float:right;
}
.racerpg_lnk a{    
    float:right;
    display: block;
    width:18rem;
    font-size: 1rem;
    line-height: 1.1rem;
    border: 2px solid #000;
    border-radius: 5px;
    color: #000;
    text-align: center;
    font-weight: 600;
    padding:8px 10px;
    text-decoration: none; 
    outline: none;
}
.racerpg_lnk a.red{
    background-color: #f44336;    
}
.racerpg_lnk a.yellow{
    background-color: yellow;
}
.gold{
    background-color: #ab9100;
    background-image: linear-gradient(135deg, #ab9100 0%, #dcce78 24%, #ab9100 49%, #e3c25f 75%, #ab9100 100%);
}
.redgr{
    background: linear-gradient(to right,#ef0808,#ec5a5a,#ef0808);
}

/*hoverをしたらボックスに影がつく*/
.racerpg_lnk a:hover {
    opacity: 0.5;
  box-shadow: 0 7px 10px rgba(0, 0, 0, 0.5);
  border-color: transparent;
}
.ranking_title img {
    width: 23%;
    position: absolute;
    top: 4px;
    left: calc( (100 / 257 * 100%));
}

@media only screen and (max-device-width: 480px){
        .racerpg_lnk a{    
            font-size: 0.9rem;
            line-height: 1rem;
            width:17rem;
        }
        .ranking_title img {
            width: 37%;
            position: absolute;
            top: 4px;
            left: calc( (50 / 150 * 100%));
        }        
        h2.sub_title_comment{
            font-size: 2rem;
            line-height: 2.1rem;
            padding: 10px 5px;
            height: 5rem;
            margin: 2px 0;
            text-align: center;
        }
}

