@import "/assets/css/_lib";

.banner_scroll {
    .main_prev {
        left: 0;
    }
    .main_next {
        right: 0;
    }
}
.banner_area {
    position: relative;
}
.banner_panel {
    display: inline-block;
    vertical-align: top;
}
.banner {
    overflow: hidden;
    margin: 0 -20px;
    position: relative;
    white-space: nowrap;
    .banner_panel {
        margin: -10px;
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
    }
    .main_banner {
        position: relative;
        display: inline-block;
        width: 40%;
        vertical-align: top;
        & + .sub_banner {
            width: 60%;
            .pc_sub {
                width: 33.333%;
            }
        }
    }
    .banner_area {
        position: relative;
        padding-top: 100%;
    }
    .sub_banner {
        display: inline-block;
        width: 100%;
        vertical-align: top;
        white-space: normal;
        .pc_sub {
            width: 20%;
            box-sizing: border-box;
        }
    }
}
.pagination {
    position: absolute;
    display: flex;
    left: 30px;
    right: 30px;
    bottom: 30px;
    .bar {
        overflow: hidden;
        position: relative;
        flex: 1 1 auto;
        height: 4px;
        border-radius: 2px;
        background-color: rgba(255, 255, 255, 0.4);
        vertical-align: top;
        & + .bar {
            margin-left: 8px;
        }
        .current {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            background-color: #fff;
        }
    }
}