.bf {
    background: #F6F7F7;
    padding: 20px 12px;
    width: 480px !important;
}
.bf h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #64AAA2;
    font-weight: normal;
    margin-top: 24px;
}
.before-after {
    margin: 80px 0;
    background-color: #fff;
    padding: 40px 0;
}
.before-after h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 40px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 60px;
    color: #4D9189;
}
.bf-slider {
    width: 1000px;
    margin: 0 auto;
}
.bf-slider .bf {
    margin: 0 20px;
}
.bf ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 0;
    padding-left: 0;
}
.bf ul li {
    list-style: none;
    font-size: 18px;
    font-weight: bold;
}
.bf ul li span {
    display: block;
    text-align: center;
    background: #272727;
    color: #fff;
    padding: 12px 0;
}
.bf ul li:last-child span {
    background: #64AAA2;
}
.slick-prev:before { content: '\e5cb'; } /* chevron_left */
.slick-next:before { content: '\e5cc'; } /* chevron_right */

@media only screen and (max-width: 1023px) {
.bf {
        background: #F6F7F7;
        padding: 20px;
        width: 90% !important;
    }
    .bf h3 {
        font-size: 24px;
        margin-bottom: 8px;
        color: #64AAA2;
        font-weight: normal;
        margin-top: 24px;
    }
    .before-after {
        margin: 40px 0;
    }
    .before-after h2 {
        font-family: 'Noto Serif JP', serif;
        font-size: 22px;
        font-weight: normal;
        text-align: center;
        margin-bottom: 40px;
        color: #4D9189;
    }
    .bf-slider {
        width: 90%;
        margin: 0 auto;
    }
    .bf-slider .bf {
        margin: 0 20px;
    }
}