a.greenlink{
    color: #005952;
    text-decoration: underline;
}
.font_s{
    font-size: 11px;
}
.mini_title{
    background: #005952;
    color: #fff;
    padding: 5px 15px;
    text-align: center;
}

/*////////////////////// mainimg //////////////////////*/
.page_title{
    position: absolute;
    width: 100%;
    bottom: -30px;
}
.mainimg{
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}
.main_title_img {
    position: absolute;
    top: 3%;
    left: 10%;
    width: 72%;
    max-width: 865px;
}
.page_title_img{
    position: absolute;
    bottom: -4%;
    left: 10%;
    width: 80%;
    max-width: 470px;
}
.section_title{
    margin-top: 80px;
}
.driver_names {
    margin: 15px 0;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

/*////////////////////// result //////////////////////*/
.redtitle{
    position: absolute;
    top: 20px;
    right: 0;
    width: 62%;
    text-align: right;
}
.font_bg{
    font-size: 16px;
}
.result_data{
    position: absolute;
    width: 32%;
    right: 0;
    bottom: 20px;
}
.result .left{
    width: 65%;
}
.result_text {
    width: 32%;
    position: absolute;
    right: 0;
    top: 30%;
}
/*////////////////////// squares //////////////////////*/
.squares .bg{
    background-color: #eee;
    padding: 35px;
}
.squares .left{
    width: 40%;
    margin-top: 40px;
}
.squares .right .textblock{
    margin-top: 15px;
}
.squares .left .textblock{
    
}
.squares .left .imgblock{
    width: 40%;
}
.squares .left .right{
    position: relative;
    margin-top:40px;
}
.squares .right{
    width: 55%;
    position: relative;
    margin-top:40px;
}
.squares .cel1 {
    padding: 40px 20px 20px 5%;
    width: 50%;
    float: left;
}
.squares .cel2{
    width: 50%;
    float: right;
}
.squares .cel3{
    bottom: 0;
    width: 100%;
}
.squares .cel4{
    float: left;
    width: 100%;
    margin-bottom: 20px;
}
.squares .textblock{
    float:right;
}


/*////////////////////// main_title //////////////////////*/
.main_title{
    margin-bottom: 20px;
}
.main_h2{
    display: block;
    width: 35%;
    float: left;
}
.main_title_link{
    padding: 18px 0 0 0;
    width: 180px;
    text-align: right;
    float: right;
}
.main_title_text{
    padding: 18px 0 0 0;
    width: calc(65% - 190px);
    float: left;
}
.main_title .right span{
    float: left;
    width: calc(100% - 120px);
}
.main_title .right .link{
    float: right;
    text-align: right;
    width: 110px;
}
.main_title .right span{
    width: calc(100% - 147px);
}
.main_title .right .link{
    width: 137px;
}

/*////////////////////// mechanic //////////////////////*/
.mechanic{
    position: relative;
    width: 100%;
    border: 1px solid #005952;
    padding: 45px 20px 15px 20px;
    margin-bottom: 15px;
}
.mechanic .mini_title{
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px 15px;
    box-sizing: border-box;
}
/*////////////////////// mechanic //////////////////////*/
.race_description{
  margin: 30px 0 50px;
}
.primary_description, .final_description{
    margin-top: 30px;
}
.description_title{
    color: #005952;
    padding-left: 5px;
    border-left: 4px #005952 solid;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 5px;
}
/*////////////////////// race_report //////////////////////*/
.race_report{
    background: #efefef;
    padding: 30px;
    width: 100%;
    max-width: 940px;
    margin: 40px auto 0;
}
.race_report_title{
    font-size: 16px;
    margin-bottom: 10px;
}
.race_report img{
    margin-bottom: 15px;
}

/*////////////////////// pickup_col3 //////////////////////*/
.pickup_col3{
    margin: 50px 0;
}
.pickup_col3 li{
    width: 32%;
    margin-right: 2%;
    float: left;
}
.pickup_col3 li:nth-child(3){
    margin-right: 0;
}
.pickup_col3 img{
    margin-bottom: 15px;
}
/*////////////////////// pickup_col2 //////////////////////*/
.pickup_col2{
    margin: 50px 0;
    text-align: center;
}
.pickup_col2 li{
    width: 49%;
    max-width: 430px;
    margin-right: 2%;
    display: inline-block;
    vertical-align: text-top;
    text-align: left;
}
.pickup_col2 li:nth-child(even){
    margin-right: 0;
}
.pickup_col2 img{
    margin-bottom: 15px;
}

/*////////////////////// result_table //////////////////////*/
.resutl_table_title{
    font-size: 14px;
    font-weight: bold;
    color: #E0224A;
    margin-bottom: 5px;
}
.result_table{
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    font-size: 11px;
    line-height: 1.3em;
    width: 100%;
}
.result_table th,.result_table td{
    padding: 4px 5px;
    border-bottom: 1px solid #000;
}
.result_table th{
    background: #F6D600;
    border-bottom: 2px solid #000;
    font-weight: bold;
}
.result_table_num{
    width: 30px;
}
.result_table_rap{
    width: 40px;
}
.result_table_pink{
    font-weight: bold;
    color: #E0224A;
}
.result_kome{
    margin-top: 5px;
    font-size: 11px;
    text-align: right;
}

/*////////////////////// partners //////////////////////*/
.partners_title{
    font-size: 14px;
    width: 100%;
    text-align: center;
    background: #005952;
    color: #fff;
    letter-spacing: 2px;
    font-weight: bold;
    padding: 2px 10px;
    margin-bottom: 10px;
}
.partners_kome{
    width: 100%;
    text-align: right;
}
.partners{
    margin-top: 50px;
}
.parts_quarter{
    float: left;
    width: 23.5%;
    margin-right: 2%;
    font-size: 12px;
}
.parts_quarter:last-child{
    margin-right: 0;
}
.parts_onethird{
    float: left;
    width: 33%;
    font-size: 12px;
}
/*////////////////////// next_event //////////////////////*/
.next_event{
    width: 100%;
    padding: 15px;
    color: #005952;
    border: 1px solid #005952;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}


/*////////////////////// gbn_info //////////////////////*/
.gbn_info{
    background: #eee;
    text-align: left;
    padding: 10px 20px 20px 110px;
    position: relative;
    width: 470px;
    margin: 80px auto 0 auto;
}
.gbn_info img{
    position: absolute;
    bottom: 10px;
    left: -50px;
}
.gbn_info .font_s{
    margin: 8px 0 12px 0;
}
.gbn_info .link{
    padding: 5px 15px;
    background: #17a164;
    border-radius: 15px;
    color: #fff!important;
}

/*////////////////////// superGT //////////////////////*/
#section1{
    margin-bottom: 110px;
}
.mechanic1{
    margin-top: 50px;
}
.mechanic1 img{
    width: 18.4%;
    margin-right: 2%;
    margin-bottom: 20px;
}
.mechanic1 img:last-child{
    margin-right: 0;
}
.section1_2{
    background: #FDF3C3;
    padding: 25px;
    width: 100%;
    max-width: 700px;
    margin: 60px auto 0;
}
.section1_2 .left{
    width: 45%;
}
.section1_2 .right{
    width: 55%;
    padding-left: 20px;
}
.section1_2_title{
    width: 100%;
    background: #F6D600;
    border-radius: 10px;
    padding: 5px 15px;
    color: #005952;
    font-size: 18px;
    line-height: 1.5;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}
#section1 .resutl_area .left{
    width: 65%;
}
#section1 .resutl_area .right{
    width: 33%;
}
#section1 .squares .cel1 {
    padding: 40px 20px 20px 10%;
    width: 50%;
    float: left;
}

/*////////////////////// auto sport Web Sprint Cup //////////////////////*/
#section2{
    padding: 50px 0;
    width: 100%;
    background: #E1F0D7;
    margin-bottom: 90px;
    position: relative;
}
.section2title{
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    text-align: center;
}
.section2title img{
    width: 90%;
    max-width: 650px;
}
.mechanic2{
    background: #fff;
}
.section2_0{
    margin-bottom: 40px;
}
.section2_0 .left{
    width: 38%;
}
.section2_0 .right{
    width: 60%;
    border: 1px solid #005952;
    padding: 20px;
    background: #fff;
}
.section2_0_title{
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
    color: #005952;
}
.section2_1{
    margin-top: 40px;
}
.section2_1 .left{
    width: 30%;
}
.section2_1 .right{
    width: 65%;
}
.mechanic2 img{
    width: 23.5%;
    margin-right: 2%;
    margin-bottom: 15px;
}
.mechanic2 img:last-child{
    margin-right: 0;
}
.section2_2{
    margin-top: 40px;
}
.section2_2cel{
    width: 48.5%;
    margin-right: 2%;
    float: left;
}
.section2_2cel:last-child{
    margin-right: 0;
}
.section2_2cel img{
    margin-bottom: 10px;
}
.section2_3{
    margin-top: 40px;
}
.section2_3 .left,.section2_3 .right{
    width: 49%;
}

/*////////////////////// supertaikyu //////////////////////*/
.mechanic3{
    margin-top: 40px;
}
.mechanic3 img{
    width: 49%;
    float: left;
    margin-bottom: 20px;
}
.mechanic3 img:nth-child(even){
    float: right;
}
#section3 .resutl_area .left{
    width: 67%;
}
#section3 .resutl_area .right{
    width: 31%;
}
.race_report1 .left,.race_report1 .right{
    width: 48.5%;
}

/*////////////////////// TRCjapan //////////////////////*/
#section4 .squares .cel3{
    position: static;
    padding: 30px 0 0 20px;
    float: right;
}
#section4 .squares .cel4{
    padding-left: 90px;
}
#section4 .squares .cel6 {
    width: 50%;
    float: right;
}
#section4 .squares .cel5{
    position: absolute;
    padding: 0 20px 0 5%;
    bottom: 0;
    left: 0;
    width: 50%;
}
.mechanic4{
    text-align: center;
    margin-top: 40px;
}
.mechanic4 img{
    width: 32%;
    max-width: 250px;
    margin-right: 2%;
    display: inline-block;
}
.mechanic4 img:last-child{
    margin-right: 0;
}
.race_report2 .left,.race_report2 .right{
    width: 49%;
}
#section4 .resutl_area{
    padding: 0 60px;
}
.result_table_s{
    margin-top: 20px;
}
.result_table_s .result_table,.result_table_s .result_kome{
    max-width: 300px;
}
#section4 .resutl_area .left,#section4 .resutl_area .right{
    width: 49%;
}

/*////////////////////// TOYOTA GAZOO Racing 86/BRZ Race //////////////////////*/
#section5 .main_title_link{
    width: 250px;
}
#section5 .main_h2{
    width: calc(100% - 250px);
    max-width: 660px;
}
#section5 .result_text{
    bottom: 0;
    top: auto;
}
.mechanic5{
    margin-top: 40px;
    margin-bottom: 60px;
}
.mechanic5 img{
    width: 18.4%;
    margin-right: 2%;
    float: left;
    margin-bottom: 20px;
}
.mechanic5 img:nth-child(5n){
    margin-right: 0;
}
.rd5_cels{
    float: left;
    width: 30%;
    margin-left: 5%;
}
.rd5_cels:first-child{
    margin-left: 0;
}
.rd5_imgs{
    position: relative;
    margin-bottom: 10px;
}
.rd5_drivers{
    width: 90px;
    position: absolute;
    top: -20px;
    left: -20px;
}
.rd5_driversname{
    font-size: 20px;
    font-weight: bold;
}
.rd5_result{
    margin-top: 10px;
}
.rd5_text{
    margin-top: 20px;
}
.race_description_5{
    margin-top: 40px;
}

.rd5_title{
    width: 100%;
    background: #F6D600;
    text-align: center;
    line-height: 1.3;
    font-size: 20px;
    font-weight: bold;
    color: #005952;
    margin-bottom: 15px;
    padding: 10px;
}

@media only screen and (max-width: 980px) {
    .result_text {
        width: calc(100% - 370px);
        position: static;
        margin: 15px 0 20px 0;
        float: left;
    }
    #section5 .result_text{
        width: 100%;
    }
    .redtitle {
        position: static;
        width: 100%;
        max-width: 550px;
        margin-bottom: 15px;
    }
    .result .left {
        width: 100%;
        float: none;
    }
    .result_data {
        position: static;
        width: 330px;
        margin: 15px 0 20px 0;
        float: right;
    }
}
@media only screen and (max-width: 860px) {
    .main_title_text {
        width: calc(100% - 180px);
    }
    .main_h2{
        width: 260px;
    }
}
@media only screen and (max-width: 768px) {
    .squares .left {
        width: 100%;
        margin-top: 20px;
    }
    .squares .right{
        margin-top:20px;
    }
    .squares .left img{
        width: 40%;
        margin-right: 3%;
        float: left;
        margin-bottom: 10px;
    }
    .squares .left .mini_title,.squares .left .driver_names{
        width: 57%;
        float: right;
    }
    #section1 .squares .cel1,.squares .cel1 {
        padding: 20px 20px 20px 0%;
        width: 60%;
    }
    #section1 .squares .cel3 {
        position: static;
        width: 55%;
        float: right;
    }
    #section1 .squares .cel4{
        float: left;
        width: 42%;
        padding: 0;
        margin-right: 5px;
    }
    .squares .right {
        width: 100%;
    }
    .squares .cel1 {
        width: 60%;
    }
    .squares .cel2 {
        width: 40%;
        margin-top: 20px;
    }
    .squares .cel4 {
        float: right;
        width: 40%;
        margin-left: 0;
        margin-top: 20px;
    }
    .squares .cel3 {
        position: static;
        width: 60%;
        padding: 20px 20px 0 0;
        float: left;
    }
    .mechanic1 {
        margin-top: 20px;
    }
    .mechanic {
        padding: 40px 15px 0px 15px;
        margin-bottom: 15px;
    }
    .mechanic1,.mechanic2{
        padding-bottom: 15px;
    }
    .race_description {
        margin: 30px 0 30px;
    }
    #section1 .resutl_area .left {
        width: 100%;
        margin-bottom: 10px;
    }
    #section1 .resutl_area .right {
        width: 100%;
        max-width: 400px;
        float: left;
    }
    .partners {
        margin-top: 30px;
    }
    .parts_quarter{
        width: 49%;
    }
    .parts_quarter:nth-child(even){
        margin-right: 0;
    }
    .section1_2 {
        padding: 20px;
        max-width: none;
        margin: 30px auto 0;
    }
    .section_title {
        margin-top: 40px;
    }
    .section2_0 .left {
        width: 100%;
        margin-bottom: 15px;
    }
    .section2_0 .right {
        width: 100%;
        padding: 15px 20px;
    }
    .section2_0 {
        margin-bottom: 15px;
    }
    .section2_1 .left {
        width: 100%;
        margin-bottom: 30px;
    }
    .section2_1 .left img{
        float: left;
        width: 40%;
        margin: 0 3% 10px 0;
    }
    .section2_1 .mini_title,.section2_1 .driver_names{
        width: 57%;
        float: right;
    }
    .section2_1 .right {
        width: 100%;
    }
    .mechanic2{
        margin-bottom: 0;
    }
    .section2_2cel:nth-child(even){
        margin-right: 0;
    }
    .section2_2 {
        margin-top: 30px;
    }
    .section2_3 {
        margin-top: 0px;
    }
    .section2_3 .left, .section2_3 .right {
        width: 100%;
    }
    .section2_3 .right{
        margin-top: 10px;
    }
    #section2{
        padding: 30px 0;
        margin-bottom: 60px;
    }
    #section1 {
        margin-bottom: 80px;
    }
    .mechanic3 {
        margin-top: 30px;
    }
    #section3 .resutl_area .left,#section3 .resutl_area .right {
        width: 100%;
        float: none;
    }
    #section3 .resutl_area .right{
        max-width: 400px;
        margin-top: 10px;
    }
    .race_report {
        padding: 15px 20px;
        margin: 20px auto 0;
    }
    #section4 .squares .cel3 {
        position: static;
        padding: 20px 0 0 20px;
        width: 70%;
    }
    #section4 .squares .cel4{
        float: left;
        width: 30%;
        padding: 0;
    }
    #section4 .squares .cel6 {
        width: 40%;
        margin-top: 20px;
    }
    #section4 .squares .cel5 {
        position: static;
        padding: 20px 20px 0 0;
        width: 60%;
    }
    .mechanic4 {
        margin-top: 30px;
    }
    #section4 .resutl_area {
        padding: 0;
    }
    #section4 .resutl_area .left, #section4 .resutl_area .right {
        width: 100%;
        margin-bottom: 10px;
    }
    .result_table_s {
        margin-top: 0;
    }
    .race_report2 .left, .race_report2 .right {
        width: 100%;
    }
    .race_report2 .right{
        margin-top: 20px;
    }
    #section5 .main_h2 {
        width: 75%;
        float: none;
    }
    #section5 .main_title_link {
        width: 100%;
        float: none;
        text-align: left;
        padding-top: 5px;
    }
    #section5 .main_title_link img{
        margin-right: 10px;
    }
    .mechanic5 {
        margin-top: 15px;
        margin-bottom: 30px;
    }


}
@media only screen and (max-width: 640px) {
    .result_data{
        width: 47%;
    }
    .result_text{
        width: 50%;
    }
    #section5 .result_text{
        width: 100%;
    }
    .gbn_info{
        width: 100%;
        padding: 10px 10px 20px 10px;
    }
    .gbn_info .font_bg{
        margin-left: 100px;
        font-size: 14px;
    }
    .gbn_info .text{
        text-align: center;
        width: 100%;
    }
    .gbn_info img{
        left: 10px;
        top: -42px;
        width: 90px;
    }
    .rd5_cels:first-child {
        margin-left: 0;
        width: 100%;
    }
    .rd5_cel2 {
        padding: 30px 0 0 0px;
        width: 48.5%;
        margin-left: 0;
        margin-right: 3%;
    }
    .rd5_cel2:nth-child(odd){
        margin-right: 0;
    }
    .rd5_drivers {
        width: 75px;
        left: 5px;
    }
    .rd5_title{
        font-size: 15px;
    }
    .rd5_title br{
        display: none;
    }
    .race_description_5 {
        margin-top: 30px;
    }

}
@media only screen and (max-width: 540px) {
    .main_h2{
        width: 240px;
        float: none;
    }
    .main_title_text {
        width: 100%;
        padding-top: 10px;
        line-height: 1.5;
        font-size: 11px;
        float: none;
    }
    .main_title_link {
        padding: 10px 0 0 0;
        width: 100%;
        float: none;
        text-align: left;
    }
    .main_title_link img{
        margin-right: 10px;
    }
    .parts_onethird {
        float: none;
        width: 100%;
        margin: 0;
    }
    .race_report1 .left, .race_report1 .right {
        width: 100%;
        float: none;
    }
    .race_report1 .left{
        margin-bottom: 20px;
    }
    .mechanic5 img,.mechanic5 img:nth-child(5n) {
        width: 32%;
        margin-right: 2%;
    }
    .mechanic5 img:nth-child(3n){
        margin-right: 0;
    }
    #section1 .squares .cel3 {
        width: 100%;
    }
    #section1 .squares .cel4{
        float: none;
        width: 100%;
        margin-bottom: 10px;
    }
}
@media only screen and (max-width: 480px) {
    .main_h2 {
        width: 200px;
    }
    .result_data{
        width: 100%;
        margin: 15px 0 0 0;
        float: none;
    }
    .result_text{
        width: 100%;
        margin: 15px 0 0 0;
        float: none;
    }
    .result_data {
        max-width: 300px;
    }
    .squares .left img {
        width: 100%;
        margin: 0;
        float: none;
    }
    .squares .left .mini_title, .squares .left .driver_names {
        width: 100%;
        float: none;
    }
    .driver_names {
        margin: 5px 0;
        font-size: 16px;
    }
    .squares .right {
        margin-top: 10px;
    }
    .squares .cel1,.squares .cel2,.squares .cel3,.squares .cel4{
        width: 100%;
        margin: 0;
        padding: 0;
    }
    #section1 .squares .cel1 {
        padding: 0;
        width: 100%;
    }
    .squares .cel1,.squares .cel3 {
        margin: 15px 0 30px;
    }
    .mechanic1 img{
        width: 32%;
    }
    .mechanic1 img:nth-child(3n){
        margin-right: 0;
    }
    .parts_quarter {
        width: 100%;
    }
    .section1_2{
        margin-top: 20px;
    }
    .section1_2 .left {
        width: 100%;
        margin-bottom: 20px;
    }
    .section1_2 .right {
        width: 100%;
        padding-left: 0;
    }
    .section1_2_title {
        padding: 5px 15px 3px;
        font-size: 16px;
    }
    .mechanic1 {
        margin-top: 0;
    }
    .section2title {
        top: -15px;
    }
    .section2_0_title {
        font-size: 15px;
    }
    .section2_0 .right {
        padding: 10px 15px;
    }
    .section2_1 .left img {
        float: none;
        width: 100%;
        margin: 0;
    }
    .section2_1 .mini_title, .section2_1 .driver_names {
        width: 100%;
        float: right;
    }
    .section2_1 .left {
        width: 100%;
        margin-bottom: 20px;
    }
    .mechanic2 img {
        width: 49%;
        margin-right: 2%;
        margin-bottom: 20px;
    }
    .mechanic2 img:nth-child(even){
        margin-right: 0;
    }
    .section2_2cel {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    #section2{
        padding: 20px 0;
        margin-bottom: 40px;
    }
    #section1 {
        margin-bottom: 60px;
    }
    .mechanic3 {
        margin-top: 0;
    }
    .mechanic3 img {
        width: 100%;
        float: none;
    }
    #section4 .squares .cel3 {
        position: static;
        padding: 0px 0 0 20px;
        width: 50%;
        margin: 0;
    }
    #section4 .squares .cel4 {
        width: 50%;
    }
    #section4 .squares .cel6 {
        width: 100%;
        margin-top: 30px;
        float: none;
    }
    #section4 .squares .cel5 {
        padding: 15px 0px 0 0;
        width: 100%;
    }
    .result_table_s .result_table, .result_table_s .result_kome {
        max-width: none;
    }
    .race_report {
        margin: 10px auto 0;
    }
    #section5 .main_h2{
        width: 100%;
    }
    .rd5_imgs {
        margin-bottom: 5px;
    }
    .rd5_driversname {
        font-size: 16px;
    }
    .rd5_drivers {
        width: 50px;
    }
}
