/**
 * bxSlider v4.2.5
 * Copyright 2013-2015 Steven Wanderski
 * Written while drinking Belgian ales and listening to jazz

 * Licensed under MIT (http://opensource.org/licenses/MIT)
 */
@media screen and (min-width:640px) {
  .bxslider img {
    width: 100%;
  }

  .l-sliderarea {
    width: 1220px;
    margin: 0 auto;
  }

  .l-slide-textarea {
    position: absolute;
    bottom: 4px;
    background-color: rgba(44, 155, 209, 0.73);
    color: #fff;
    padding: 25px 131px 30px 131px;
  }

  .l-slide-textarea-inner {
    float: left;
    width: 856px;
  }

  .l-slide-textarea a {
    color: #fff;
  }

  .bxslider .l-slide-img {
    width: auto;
    margin-left: 32px;
    margin-top: 30px;
  }

  .l-slide-text-h2 {
    font-size: 36px;
    letter-spacing: 5px;
    margin-bottom: 13px;
  }

  .l-slide-text {
    font-size: 18px;
    line-height: 1.5;
  }

  #bx-pager {
    display: table;
    width: 900px;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -100px;  /*background: black;*/
    display: block;
    text-align: center;
  }

  .slider_caption {
    display: block;
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
  }

  #bx-pager > span {
    display: table-cell;  /*border: 4px solid #fff;*/
    display: inline-block;    /*float: left;*/
    width: 21%;  /*background: black;*/
    margin-right: 30px;
  }

  #bx-pager > span > a {
    display: table-cell;  /*border: 5px solid #fff;*/
    display: block;
  }

  #bx-pager > span > a:hover {
    opacity: 1;
  }

  #bx-pager .active img {
    opacity: 1.0;
    background: none;
  }

  #bx-pager .active02 {

    /*border: 4px solid #000;*/
  }

  #bx-pager img {

    /*display: block;*/
    width: 100%;  /*opacity: 0.5;*/
  }

  .bxslider {
    margin: 0;
    padding: 0;
    display: block !important;
  }

  ul.bxslider {
    list-style: none
  }

  .bx-viewport {
    -webkit-transform: translatez(0)
  }

  .bx-wrapper {

    /*-moz-box-shadow: 0 0 5px #ccc;*/

    /*-webkit-box-shadow: 0 0 5px #ccc;*/

    /*box-shadow: 0 0 5px #ccc;*/

    /*border: 5px solid #fff;*/
    background: #fff;
    margin-bottom: 143px;
    position: relative;  /*max-height: 460px;*/
  }

  .bx-wrapper .bx-controls-auto,
  .bx-wrapper .bx-pager {
    position: absolute;
    bottom: -30px;
    width: 100%
  }

  .bx-wrapper .bx-loading {
    min-height: 50px;  /*background: url(images/bx_loader.gif) center center no-repeat #fff;*/
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2000
  }

  .bx-wrapper .bx-pager {
    text-align: center;
    font-size: .85em;
    font-family: Arial;
    font-weight: 700;
    color: #666;
    padding-top: 20px
  }

  .bx-wrapper .bx-pager.bx-default-pager a {
    background: #666;
    text-indent: -9999px;
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    outline: 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px
  }

  .bx-wrapper .bx-pager.bx-default-pager a.active,
  .bx-wrapper .bx-pager.bx-default-pager a:focus,
  .bx-wrapper .bx-pager.bx-default-pager a:hover {
    background: #000
  }

  .bx-wrapper .bx-controls-auto .bx-controls-auto-item,
  .bx-wrapper .bx-pager-item {
    display: inline-block;
    *zoom: 1;
    *display: inline
  }

  .bx-wrapper .bx-pager-item {
    font-size: 0;
    line-height: 0
  }

  .bx-wrapper .bx-prev {
    left: 17px;
    background: url(../image/prev.png) no-repeat 0 0;
  }

  .bx-wrapper .bx-prev:focus,
  .bx-wrapper .bx-prev:hover {
    background-position: 0 0
  }

  .bx-wrapper .bx-next {
    right: 10px;
    background: url(../image/next.png) no-repeat 0 0;
  }

  /*.bx-wrapper .bx-next:focus,
  .bx-wrapper .bx-next:hover {
  background-position: -43px 0
  }*/
  .bx-wrapper .bx-controls-direction a {
    position: absolute;
    top: 51%;
    margin-top: -16px;
    outline: 0;
    width: 32px;
    height: 38px;
    text-indent: -9999px;
    z-index: 2;
    display: block;
  }

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

  .bx-wrapper .bx-controls-auto {
    text-align: center
  }

  .bx-wrapper .bx-controls-auto .bx-start {
    display: block;
    text-indent: -9999px;
    width: 10px;
    height: 11px;
    outline: 0;
    background: url(img/controls.png) -86px -11px no-repeat;
    margin: 0 3px
  }

  .bx-wrapper .bx-controls-auto .bx-start.active,
  .bx-wrapper .bx-controls-auto .bx-start:focus,
  .bx-wrapper .bx-controls-auto .bx-start:hover {
    background-position: -86px 0px;
  }

  .bx-wrapper .bx-controls-auto .bx-stop {
    display: block;
    text-indent: -9999px;
    width: 9px;
    height: 11px;
    outline: 0;
    background: url(imag/controls.png) -86px -44px no-repeat;
    margin: 0 3px
  }

  .bx-wrapper .bx-controls-auto .bx-stop.active,
  .bx-wrapper .bx-controls-auto .bx-stop:focus,
  .bx-wrapper .bx-controls-auto .bx-stop:hover {
    background-position: -86px -33px
  }

  .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
    text-align: left;
    width: 80%
  }

  .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
    right: 0;
    width: 35px
  }

  .bx-wrapper .bx-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #666;
    background: rgba(80, 80, 80, .75);
    width: 100%
  }

  .bx-wrapper .bx-caption span {
    color: #fff;
    font-family: Arial;
    display: block;
    font-size: .85em;
    padding: 10px
  }

  #bx-pager .active img {
    border: 2px solid #000;
  }

}

@media screen and (max-width:640px) {
  .bx-wrapper {

    /*background: #fff;*/
    margin-bottom: 0;
    position: relative;
  }

  #bx-pager > a {
    display: table-cell;
    border: none;
  }

  #bx-pager {
    display: table;
    width: 95%;
    margin: 5px auto;
    margin-bottom: 15px;
    position: relative;    /*margin-bottom: 13%;*/
    border-left: 0px solid #fff;
    border-right: 0px solid #fff;    /*border-bottom: 13px solid #fff;*/
    box-shadow: none;    /*box-shadow: 1px 10px 4px 0px rgba(238, 238, 238, 0.51);
    -webkit-box-shadow: 1px 10px 4px 0px rgba(238, 238, 238, 0.51);
    -moz-box-shadow: 1px 10px 4px 0px rgba(238, 238, 238, 0.51);*/
  }

  #bx-pager > span {
    display: table-cell;
    border: none;
    display: inline-block;
    float: left;
    width: 24%;    /* border-bottom: 3px solid #fff; */
    margin-right: 1%;
  }

  #bx-pager > span > a {
    display: table-cell;
    border: none;
    display: block;    /*border-bottom: 4px solid #fff;*/
  }

  #bx-pager span:last-child {
    margin-right: 0;
  }

  #bx-pager .active02 img {
    border: 3px solid #000;
  }

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

  .bx-wrapper .bx-next {

    /*visibility: hidden;*/
  }

  .bx-wrapper .bx-prev {

    /*visibility: hidden;*/
  }

  #bx-pager .active {

    /*border-bottom: 4px solid blue;*/
  }

  .bx-wrapper .bx-next {
    right: 10px;
    background: url(../image/sp/next.png) no-repeat 0 0;
  }

  .bx-wrapper .bx-prev {
    left: 10px;
    background: url(../image/sp/prev.png) no-repeat 0 0;
  }

  .l-slide-text {
    font-size: 14px;
  }

  .l-slide-textarea {
    position: absolute;
    bottom: 4px;
    background-color: rgba(44, 155, 209, 0.73);
    color: #fff;
    padding: 18px 15px 18px 14px;
  }

  .l-slide-textarea a {
    color: #fff;
  }

  .l-slide-text-h2 {
    font-size: 23px;
    margin-bottom: 14px;
  }

  .l-slide-textarea-inner {
    float: left;
    width: 100%;
    font-size: 20px;
  }

}