@charset "utf-8";
/* CSS Document */
#section1 {
    /*background-color: rgba(255, 255, 255, 0.3);*/
    background-color: black;
}
/*#gp_series #section1{
    background-color: black;
}*/
.sections {
    background-color: transparent;
}
.pages_title img{
    width: 35%;
}
.page_header_sp_pnly{
    display:none;
}
.page_header_pc_only{
    display:block;
}

.grandprix_logo{
    width: 45%;
    position: absolute;
    top: 10px;
    left: calc(50% - 300px);
}

.ranking_title img {
    width: 21%;
    position: absolute;
    top: 4px;
    left: calc( (100 / 250 * 100%));
}

@media only screen and (max-device-width: 480px){
    .time_title img{
        width: 30%;
        position: absolute;
        top:4px;/* calc(画像高さ ÷ 画像横幅 × 100%) */
        left: calc( (40 / 117 * 100%));
    }
}

.racerpg_lnk{
    float:right;
}
.racerpg_lnk a{    
    float:right;
    display: block;
    width:15rem;
    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;
}
/*hoverをしたらボックスに影がつく*/
.racerpg_lnk a:hover {
    opacity: 0.5;
  box-shadow: 0 7px 10px rgba(0, 0, 0, 0.5);
  border-color: transparent;
}


/*インラインから移植*/
#rankingbox h2{
    color:#FFFFFF;
    border-bottom:none;
    padding:2px;
    text-align: center;
    font-size:1.2rem;
    font-weight:900;
}

/* クオカード画像ある場合 */
.ranking_lbox{
	float:left;
	width: 50%;
}
.ranking_box2 {
    float: left;
    width: 18%;
}
.ranking_box2 img {
    margin-top: 5px;
    width: 80%;
}
#rankingbox{
    margin:1% 0 ;
    float:left;
    width: 31%;
    border:solid 1px #000000;
    box-sizing: border-box;
    /*padding: 3px;*/
}
#rankingbox table{
    width:90%;
    margin:0 3%;
    float:left;
    font-size:1rem;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
#rankingbox td{
    padding: 0 4px;
}


/* クオカード画像とかない場合 */
.ranking_lbox_noimg{
    float:left;
    width: 62%;
}
#rankingbox_noimg{
    margin:1% 0 ;
    float:right;
    width: 36%;
    border:solid 1px #000000;
    box-sizing: border-box;
    /*padding: 3px;*/
}
#rankingbox_noimg {
    background-image: url("../ranking/images/ranking_bkimg.jpg");
    background-repeat:no-repeat;
    background-size:contain;
    background-position:center;
    background-color: white;
}
#rankingbox_noimg h2{
    color:#FFFFFF;
    border-bottom:none;
    padding:2px;
    text-align: center;
    font-size:1rem;
    font-weight:900;
    height: 3rem;
    line-height: 1.2rem;
    margin: 0 0 10px 0;
    background: linear-gradient(to right, #53368a,#1a324cc2);
}
#rankingbox_noimg h2.h_series {
    background: linear-gradient(to right,#fb241d,#1f0800,#fb241d);
}
#rankingbox_noimg table{
    color:#000;
    width:90%;
    margin:0 3%;
    float:left;
    font-size:1rem;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
#rankingbox_noimg td{
    padding: 0 4px;
}

.no1,
.no2,
.no3{
	color:#E92C16;
	font-weight:bold;
}
.text1{
    /*color: black;*/
    color: white; 
    font-size: 1rem;
    line-height: 1.1;
    padding-top: 10px;
    font-weight: 600;
}
.text1_series{
    color: white;    
    font-size: 1rem;
    line-height: 1.1;
    padding-top: 10px;
    font-weight: 600;
}
.rankingtext{
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", 
    "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}    
/*202203　追加*/
#rankingbox{
    background-image: url("../ranking/images/ranking_bkimg.jpg");
    background-repeat:no-repeat;
    background-size:contain;
    background-position: bottom;
    background-color: white;
}
.ranking_all_link{
    margin-right: 5px;
}


/*選手テーブル*/
#ranking{
	width: 100%;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", 
    "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
#ranking td{
	width: calc(90%/8);
	padding: 1px 1px 5px 1px;
	border: none;
}

.datal_racer{
/*	background: #d8b832;
	padding-top: 10px;*/
}
.datal_racer img{
    width:100%;
/*	width: 120px;*/
}
.datal_touban{
	background: black;
	color: white;
}
.datal_name{
	color: black;
	font-weight: bold;
	font-size: 18px;
	background: #b3b3b3;
}
.datal_name span{
	font-size: 14px;
}
.datal_box{
	color: white;
	text-decoration: none;
}
.detail_btn{
	background-color: black;
	border-radius: 5px;
	font-size: 9px;
	text-align: center;
}
/*クオカードプレゼント*/
.quo_present{
	font-size: 28px;
	font-weight: bold;
	display: flex;
	align-items: center;
        /*color: #000;*/
        color: #fff;
}
.quo_present_series{
	font-size: 28px;
	font-weight: bold;
	display: flex;
	align-items: center;
        color: #fff;
}
.quo_present_series img,
.quo_present img{
	width: 28px;
	padding-bottom: 5px;
}
.quo_present_ninzu{
	color: dodgerblue;
}

/*確認ボタン*/
.btn input{
	width: 100px;
	padding: 5px;
}

#section1 button, 
#section1 input, 
#section1 select, 
#section1 textarea {
    background-color: #ffffff00;
    border: 2px solid gray;
    border-radius: 5px;
    padding:2px;   
}
#section1 button, 
#section1 input{
    color: black;    
}
#submitbtn input{
    background-color: #e6e6e6;
}
#submitbtn input:hover{
    opacity: 0.8;
    border-color: #ffffff00;
}
table.data {
    border-top:  #ddd solid 1px; 
    border-bottom: #ddd solid 1px; 
}
table.data th {
    padding:4px;
    border: #ddd solid 1px;
}
.error{
    color:red;font-size:1.2rem; border:solid 1px #FF0000;padding:2px 5px;margin-bottom:10px;
    background-color: white;
}
table.vote input, table.vote textarea{
    background-color: #ffffff!important;
}
.btn input{
    margin:4px 0!important;
    background-color: #fff!important;
}
.kakunin{
    margin: 0 auto;
    text-align: center;
}
@media only screen and (max-device-width: 480px){
    #section1 {
        /*background-color: rgba(255, 255, 255, 0.6);*/
        padding:0.4rem;
    }
    .ranking_lbox_noimg{
        width:100%;
    }
    .text1 {
        /*color: black;*/
        font-size: 1rem;
        padding-top: 1.5rem;
        font-weight: 600;
    }    
    .text1_series {
        color: white;
        font-size: 1.2rem;
        line-height: 1.1;
        padding-top: 10px;
        font-weight: 600;
    }    
    .quo_present {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }
    #rankingbox_noimg {
        width: 100%;
    }    
    .post_ranking {
        flex-wrap: wrap;
    }
    .datal_name{
            color: black;
            font-weight: bold;
            font-size: 1rem;
            background: #b3b3b3;
    }   
    .datal_touban {
        background: black;
        color: white;
            font-size: 1rem;
        
    }
    table.vote,
    table.vote tbody,
    table.vote tr {
        display: block;
        width:100%;
    }
    table.vote th,
    table.vote td{
        display: block;
        width:99%;
    }
    table.vote input,
    table.vote textarea{
        width:100%!important;
    }
    table.vote input, table.vote textarea{
        background-color: #ffffff!important;
    }
    .btn input{
        margin:4px 0!important;
        background-color: #fff!important;
    }
    
}
.post_ranking {
    display: flex;
    justify-content: center;
     flex-wrap: wrap;
}
.input_item{
    width:80%;
}
.input_item p.btn{
    text-align: center;
}
label.label_black b {
     background-color: black!important; 

}
table.vote{
    padding:10px;
}
table.vote th{
    color:gray;
    background-color: #ccc;
    padding: 4px 8px;
    border: 1px solid gray;
    font-size: 1rem;
}
table.vote td{
    color:gray;
    background-color: white;
    padding: 4px 8px;
        border: 1px solid gray;
}