@charset "UTF-8";

/**
 * BxSlider v4.0 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2012
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */

* + html #slider {
  height: auto;
}

#main_slider ul,
#marathon_main_slider ul,
#banner_slide ul{
  margin: 0;
}
#main_slider ul li,
#marathon_main_slider ul li,
#banner_slide ul li{
  margin: 0;
  padding: 0;
}
#marathon_main_slider .bx-wrapper{
  max-width: 99999px !important;
}
#marathon_main_slider ul li{
  width: 310px !important;
}
@media screen and (min-width: 1200px) {
  #marathon_main_slider ul li{
    width: 25vw !important;
  }
}

#main_slider ul li:before,
#marathon_main_slider ul li:before,
#banner_slide ul li:before{
  display: none;
}

#main_slider li img,
#marathon_main_slider li img,
#banner_slide li img  {
  width: 100%;
}

.bx-wrapper {
  position: relative;
  /*prevnext位置対策*/
  width: 100%;
  line-height: 1;
  overflow: visible;
}

#slider:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

#slider li {
  float: left;
  left: 0;
  display: inline;
  width: 100%;
  height: auto;
  background: #fff;
  text-align: center;
  overflow: hidden;
}

#slider img {
  width: 100%;
  height: auto;
}

/* control */
.bx-controls {
  float: left;
  margin: 0px;
  padding: 0;
  overflow: visible;
}

.bx-controls .bx-pager {
  display: block;
  position: absolute;
  left: 0;
  bottom: -28px;
  width: 100%;
  float: left;
  list-style: none outside none;
  padding-top: 0;
  font-size: 0;
  text-align: center;
  z-index: 200;
}

.bx-controls .bx-pager-item {
  display: inline;
  text-align: center;
}

.bx-controls .bx-pager-link {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 10px;
  text-indent: -9999px;
  overflow: hidden;
}

.bx-wrapper .bx-pager a {
  display: inline-block;
  vertical-align: middle;
  background: #fff;
  text-indent: -9999px;
  width: 10px;
  height: 10px;
  margin: 0 10px;
  border-radius: 50%;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background-color: #222;
}

/* PAGER */

.bx-wrapper .bx-prev,
.bx-wrapper .bx-next {
  position: absolute;
  left: -30px;
  top: 0;
  display: block;
  width: 30px;
  height: 100%;
  background: url(../images/icon_prev.png) no-repeat center center;
  background-size: contain;
  text-indent: -9999px;
  z-index: 10;
}

.bx-wrapper .bx-next {
  left: auto;
  right: -30px;
  background-image: url(../images/icon_next.png);
}
.bx-wrapper .bx-prev:hover,
.bx-wrapper .bx-next:hover {
  opacity: 0.7;
}

#banner_slide .bx-wrapper .bx-prev,
#banner_slide .bx-wrapper .bx-next {
  left: -55px;
  width: 50px;
  background-image: url(../images/icon_arrow_circle_l.png);
}

#banner_slide .bx-wrapper .bx-next {
  left: auto;
  right: -55px;
  background-image: url(../images/icon_arrow_circle_r.png);
}

#marathon_main_slider .bx-wrapper .bx-prev,
#marathon_main_slider .bx-wrapper .bx-next {
  left: 0;
  width: 40px;
  background-image: url(../images/tyumara/icon_prev.png);
}

#marathon_main_slider .bx-wrapper .bx-next {
  left: auto;
  right: 0;
  background-image: url(../images/tyumara/icon_next.png);
}


@media screen and (max-width: 768px) {

  .bx-controls .bx-pager-link {
    width: 12px;
    height: 12px;
    margin: 0 6px;
  }

  .bx-wrapper .bx-pager a {
    width: 12px;
    height: 12px;
    margin: 0 6px;
  }

  .bx-wrapper .bx-prev,
  .bx-wrapper .bx-next {
    left: -30px;
    width: 30px;
    background-image: url(../images/icon_prev_sp.png);
  }
  .bx-wrapper .bx-next {
    left: auto;
    right: -30px;
    background-image: url(../images/icon_next_sp.png);
  }

  /*banner*/
  #banner_slide .bx-wrapper .bx-prev,
  #banner_slide .bx-wrapper .bx-next {
    left: -50px;
    width: 40px;
  }
  #banner_slide .bx-wrapper .bx-next {
    left: auto;
    right: -50px;
  }

  /*marathon*/
  #marathon_main_slider ul li{
    width: 25vw !important;
  }
  #marathon_main_slider .bx-wrapper .bx-prev,
  #marathon_main_slider .bx-wrapper .bx-next {
    width: 30px;
  }

}

@media screen and (max-width: 540px) {

  #marathon_main_slider ul li{
    width: 50vw !important;
  }

  .bx-controls .bx-pager {
    bottom: -23px;
  }

  .bx-wrapper .bx-prev,
  .bx-wrapper .bx-next {
    left: -20px;
    width: 20px;
  }
  .bx-wrapper .bx-next {
    left: auto;
    right: -20px;
  }

  /*banner*/
  #banner_slide .bx-wrapper .bx-prev,
  #banner_slide .bx-wrapper .bx-next {
    left: -15px;
    width: 10px;
    background-image: url(../images/icon_arrow_black_l.png);
  }

  #banner_slide .bx-wrapper .bx-next {
    left: auto;
    right: -15px;
    background-image: url(../images/icon_arrow_black_r.png);
  }
}
