/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 0;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}

.bx-wrapper img {
    max-width: 100%;
    display: block;
}

.bxslider {
    margin: 0;
    padding: 0;
}

ul.bxslider {
    list-style: none;
}

.bx-viewport {
    /*fix other elements on the page moving (on Chrome)*/
    -webkit-transform: translatez(0);
}


/** THEME
===================================*/

.bx-wrapper {}

#main_slide {
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}


/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
    left: 10px;
    background: url(https://s.yimg.jp/images/donation/new_1509/img/common/slide_arrow_left.png) no-repeat 0px 0px;
    background-size: 40px 40px;
}

.bx-wrapper .bx-next {
    right: 10px;
    background: url(https://s.yimg.jp/images/donation/new_1509/img/common/slide_arrow_right.png) no-repeat 0px 0px;
    background-size: 40px 40px;
}

.bx-wrapper .bx-controls-direction a {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    outline: 0;
    width: 40px;
    height: 40px;
    text-indent: -9999px;
    z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
    display: none;
}


/* ちらつき対策 */

#slider li {
    display: none;
}

.bx-viewport #slider li {
    display: block !important;
}


/* icon */

#main_slide .icon {
    position: absolute;
    width: 134px;
    height: 134px;
    z-index: 99;
    background-size: 134px 134px;
    background-repeat: no-repeat;
    background-position: 0 0;
}

#main_slide.__closed .icon {
    top: 0;
    left: 0;
    background-image: url(https://s.yimg.jp/images/donation/new_1509/img/pc/slide_end_icon.png);
}

#main_slide.__double .icon {
    top: 10px;
    left: 10px;
    background-image: url(https://s.yimg.jp/images/donation/new_1509/img/common/icon_2x.png);
}

#main_slide.__times .icon {
    top: 10px;
    left: 10px;
    background-image: url(https://s.yimg.jp/images/donation/new_1509/img/common/icon_xx.png);
    position: absolute;
}

#main_slide.__times.__shien .icon {
    background-image: url(https://s.yimg.jp/images/donation/new_1509/img/common/icon_xx_shien.png);
}

#main_slide.__times .icon .txt {
    position: absolute;
    top: 52px;
    left: 3px;
    width: 80px;
    text-align: right;
    font-size: 300%;
    font-weight: bold;
}

/* caption */

.flex-caption {
    background: none;
    -ms-filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#4C000000, endColorstr=#4C000000);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#4C000000, endColorstr=#4C000000);
    zoom: 1;
}

.flex-caption {
    width: 100%;
    padding: 9px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
    font-size: 87.5%;
    line-height: 1.3;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -o-box-sizing: content-box;
    -ms-box-sizing: content-box;
    box-sizing: border-box;
}

#main_slide li .flex-caption {
    display: block;
}

#main_slide li:hover .flex-caption {
    display: none;
}

#main_slide.__single .bx-controls-direction {
    display: none;
}