@charset "euc-jp";

.main_image_wrap {
    width: 100%;
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
}

/* スライダー */
.slider {
    margin-left: calc(100% * (-0.5));
    margin-right: calc(100% * (-0.5));
}
.bx-wrapper img {
    width: 100%;
}
.bx-caption {
    font-size: 1.6rem;
    padding: 23px 0 21px;
    background: rgba(65, 57, 53, 0.75) !important;
}

.bx-caption span {
    width: 95%;
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
    border-left: 2px solid #FFF;
    line-height: 1;
    padding: 0 0 0 10px !important;
}

.bx-wrapper .bx-viewport {
    border: 0 !important;
    box-shadow: none !important;
}

.bx-prev {
    left: 5px !important;
}

.bx-next {
    right: 15px !important;
}

.bx-wrapper .bx-next:hover {
    background-position: -43px -32px !important;
}

.bx-wrapper .bx-prev:hover {
    background-position: 0 -32px !important;
}

.bx-wrapper .bx-pager {
    display: none;
}
/* /スライダー */

.underline {
    text-decoration: underline !important;
}

.top_content_txt {
    line-height: 1.8;
}

.news_box {
    border-top: 1px #e4dcdc solid;
    border-bottom: 1px #e4dcdc solid;
}

.news_title {
    align-self:stretch;
    background-color: #dd0019;
    position: relative;
  width:150px;
}
.news_title .relative {
    top: calc(50% - 8px);
    font-weight: bold;
}
.rank_icon {
    top: 10px;
    left: 10px;
}

.circle {
    display: block;
    width: 30px;
    padding: 4px 0;
    border: 1px solid #333;
    text-align: center;
    font-size: 15px;
    -webkit-border-radius: 50%;
            border-radius: 50%;
}

@media screen and (max-width:768px) {
    /* スライダー */
    .bx-caption {
        font-size: 1.2rem;
        height: 30px;
        padding: 10px 0 0;
        bottom: -40px !important;
    }

    .bx-caption span {
        width: 95%;
    }

    .bx-prev {
        display: none;
    }

    .bx-next {
        display: none;
    }

    .bx-wrapper .bx-pager {
        display: block;
        bottom: -30px !important;
    }

    .bx-wrapper .bx-pager.bx-default-pager a {
        margin: 0 10px !important;
    }
    /* /スライダー */
    
        .ranking_item:nth-child(n+4){
        display: none;
    }

    .ranking_item::after {
        height: 22px;
        width: 22px;
    }
    .rank_icon {
        top: -42px;
        left: calc(50% - 15px);
    }
    .news_box {
        border: none;
        padding: 0 15px;
    }

}