/*-------------------------------------------------------------------------------*/
/*  top main slider
/*-------------------------------------------------------------------------------*/

    #top_main_slide li a{
        transition: all 0.2s ease;
    }

    #top_main_slide li a:hover{
        opacity: 0.8;
    }
    .bx-wrapper {
        margin:0 auto 30px auto;
        position:relative;
    }

    /* コントローラー */

    .bx-wrapper .bx-controls-direction a {
        position:absolute;
        top:0px;
        outline:0;
        width:32px;
        height:32px;
        text-indent:-9999px;
        z-index:9999;
        opacity: 0;
    }

    .bx-wrapper a.bx-prev {
        position: absolute;
        width: 33px;
        height: 59px;
        left:0px;
        top: 50%;
        margin-top: -39.5px;
        background:url(../images_2017/slide_l_arrow.png) no-repeat 0 0;
        z-index: 10;
    }

    .bx-wrapper a.bx-next {
        position: absolute;
        width: 33px;
        height: 59px;
        margin-top: -39.5px;
        right:0px;
        top: 50%;
        background:url(../images_2017/slide_r_arrow.png) no-repeat 0 0;
        z-index: 10;
    }


    /* ページャー */
    .bx-wrapper .bx-pager {
        padding-top:20px;
        text-align:center;
        font-size:.85em;
        font-family:Arial;
        font-weight:bold;
        color:#666;
    }

    .bx-wrapper .bx-pager .bx-pager-item,
    .bx-wrapper .bx-controls-auto .bx-controls-auto-item {
        display:inline-block;
        *zoom:1;
        *display:inline;
    }

    .bx-wrapper .bx-pager.bx-default-pager a {
        display:block;
        width:8px;
        height:8px;
        margin:0 5px;
        outline:0;
        text-indent:-9999px;
        -moz-border-radius:50%;
        -webkit-border-radius:50%;
        border-radius:50%;;
        background:#333;
    }

    .bx-wrapper .bx-pager.bx-default-pager a:hover,
    .bx-wrapper .bx-pager.bx-default-pager a.active {
        background:#ff0000;
    }


.bnr_2col{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.bnr_1col li{
    margin-bottom: 20px;
}
/*-------------------------------------------------------------------------------*/
/*  top contents
/*-------------------------------------------------------------------------------*/
    #ERS_contents .training_panel{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 50px;
    }
    #ERS_contents .training_panel div{
        margin-bottom: 1px;
/*
        width: 248px;
        height: 248px;
*/
    }

    #ERS_contents .news_item_wrap{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 50px;
        background: #333;
        padding: 5px 5px 3px 5px;
    }


    #ERS_contents .news_item_wrap > div{
        margin-bottom: 3px;
    }

    #ERS_contents .news_item_wrap > div a:after{
        content: "";
        display: block;
        position: absolute;
        width: 243px;
        height: 310px;
        top: 0px;
        left: 0px;
        z-index: 10;
        background: rgba(255,255,255,0.0);
        transition: all 0.2s ease;
    }

    #ERS_contents .news_item_wrap > div a:hover:after{
        background: rgba(255,255,255,0.2);
    }

    #ERS_contents .news_item_wrap a{
        cursor: pointer
    }

    #ERS_contents .news_item_wrap a img{
        border: 1px solid #333;
    }
    #ERS_contents .news_item_wrap .ttl,
    #ERS_contents .news_item_wrap .item{
        width: 243px;
        height: 310px;
        overflow: hidden;
        position: relative;
    }

    #ERS_contents .news_item_wrap .item a{
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }


    #ERS_contents .news_item_wrap .item a:last-child{
        display: block;
        position: absolute;
        top: 0;
        left: 100%;
    }

    #ERS_contents .wonderfull_shape_area{
        background: #f9f9f9 url(../images_2017/wonderfull_shape_area_bg.gif) no-repeat center top;
        width: 745px;
        text-align: center;
        box-sizing: border-box;
        padding: 30px 10px 10px 10px;
        margin-bottom: 50px;
    }

    #ERS_contents .wonderfull_shape_area h2{
        margin-bottom: 30px;
    }

    #ERS_contents .wonderfull_shape_area .col2{
        display: flex;
        justify-content:space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    #ERS_contents .ikemen_bnr{
        margin-bottom: 20px;
        display: block;
    }

/*-------------------------------------------------------------------------------*/
/*  top item ranking
/*-------------------------------------------------------------------------------*/

#ERS_contents .top_item_ranking{
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

#ERS_contents .top_item_ranking a{
    color: #333;
    text-decoration: none;
    width: 147px;
    display: block;
    margin-left: 2px;
    position: relative;
}

#ERS_contents .top_item_ranking a .item_img{
    transition: all 0.2s ease;
}

#ERS_contents .top_item_ranking a:hover .item_img{
    opacity: 0.8;
}

#ERS_contents .top_item_ranking .item_img{
    position: relative;
}

#ERS_contents .top_item_ranking .item_img:after{
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: #ff0000;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    line-height: 24px;
}
#ERS_contents .top_item_ranking .item_img.rank01:after{content: "1";}
#ERS_contents .top_item_ranking .item_img.rank02:after{content: "2";}
#ERS_contents .top_item_ranking .item_img.rank03:after{content: "3";}
#ERS_contents .top_item_ranking .item_img.rank04:after{content: "4";}
#ERS_contents .top_item_ranking .item_img.rank05:after{content: "5";}

#ERS_contents .top_item_ranking .prd_ttl{
    font-size: 1em;
    margin-bottom: 1.5em;
    line-height: 1.2em;
    padding:5px;
    font-weight: bold;
}

#ERS_contents .top_item_ranking .moto_price{
    line-height: 1em;
    text-decoration: line-through;
    margin-bottom: 2px;
}

#ERS_contents .top_item_ranking .price_items{
    position: absolute;
    width: 100%;
    bottom: 0;
    padding:0 5px;
    box-sizing: border-box;
}

#ERS_contents .top_item_ranking .price_items span.sale_arrow img{
    vertical-align: middle;
}

#ERS_contents .top_item_ranking .price_items span.percent{
    background: #ff0000;
    color: #fff;
    padding: 2px;
}




/*-------------------------------------------------------------------------------*/
/*  training navi
/*-------------------------------------------------------------------------------*/
    .training_nav_area{
        margin: 30px 0;
        }
    .training_nav_area h2{
        margin-bottom: 2px;
    }

    .training_nav_area .nav_lk{
        display: flex;
        justify-content:space-between;
        flex-wrap: wrap;
    }

    .training_nav_area .nav_lk li{
        margin-bottom: 3px;
    }


/*-------------------------------------------------------------------------------*/
/*  top_bnr
/*-------------------------------------------------------------------------------*/

#ERS_container .top_newspaper_item_bnr{
    margin-bottom: 20px;
    margin-top: 30px;
    display: block;
}


#ERS_container .sale_bnr{
    margin-bottom: 50px;
    margin-top: 0px;
    display: block;
}



