div.key_slider {
  position: relative;
}

.bx-wrapper .bx-controls-direction a {
  margin-top: -180px;
  outline: 0;
  width: 32px;
  height: 32px;
  text-indent: -9999px;
  z-index: 9999;
}
.bx-wrapper .bx-prev {
  float: left;
  position: absolute;
  margin-left: -40px;
  background: url(../images/controls.png) no-repeat 0 -32px;
}
.bx-wrapper .bx-next {
  float: right;
  margin-right: -40px;
  background: url(../images/controls.png) no-repeat -43px -32px;
}

div.slider {
  width: 980px;
  display: block;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}
div.slider .bx-pager.bx-default-pager {
  padding: 6.5px 0;
  background-color: #95CDE4;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/**  kここまで*/
div.slider .bx-default-pager .bx-pager-item:hover {
  opacity: 0.7;
}
div.slider .bx-controls-direction {
  display: block;
  z-index: 400;
  position: relative;
}

div.slider .bx-wrapper .bx-viewport {
  overflow: inherit !important;
}
div.slider .bx-wrapper {
  margin: 0 auto 8px; /*メインスライダーとサムネイルの間の余白を変更*/
  position: relative;
}
div.slider .fGR {
  display: block;
  width: 980px;
  height: 299px;
  position: absolute;
  top: 0;
  margin-left: 980px;
  background-color: #000;
  opacity: 0.6;
}
div.slider .fGL {
  display: block;
  width: 980px;
  height: 299px;
  position: absolute;
  top: 0;
  background-color: #000;
  margin-left: -980px;
  opacity: 0.6;
}
ul.bxslider01 li {
  display: block;
  overflow: hidden;
  width: 980px; /*メインスライダーの横幅*/
  height: 299px; /*メインスライダーの縦幅*/
}

ul.bxslider01 li img {
  display: block;
  width: 980px;
  height: auto;
}
ul.bxslider01 li img.pcnone {
  display: none;
}

div.controlWrap {
  width: 620px;
  display: block;
  position: relative;
  margin: 0 auto;
}

@media screen and (max-width: 980px) {
  div.slider {
    width: 100%;
  }
  ul.bxslider01 li {
    width: 100%;
    height: auto;
  }
  ul.bxslider01 li img {
    width: 100% !important;
  }
  div.slider .bx-controls-direction {
    position: absolute;
    top: 50%;
    z-index: auto;
    margin-top: -10px;
    width: 100%;
  }
  .bx-wrapper .bx-controls-direction a {
    transform: scale(0.9)
  }

  div.slider .bx-wrapper .bx-controls-direction a.bx-prev {
    margin-top: 0px;
    background: url(../img/img_slider/controls.png) no-repeat;
    position: absolute;
    top: 50%;
    z-index: auto;
    margin-top: -20px;
    left: 40px;
  }
  div.slider .bx-wrapper .bx-controls-direction a.bx-next {
    margin-top: 0px;
    background: url(../img/img_slider/controls.png) no-repeat -43px -32px;
    position: absolute;
    top: 50%;
    z-index: auto;
    margin-top: -20px;
    right: 40px;
  }
  /* div.key_slider {
    height: auto;
  }
  ul.bxslider01 li {
    width: 100%;
    height: auto;
  }
  div.slider .bx-pager.bx-default-pager {
    display: none;
  }
  ul.bxslider01 li img {
    width: 100% !important;
  }
  ul.bxslider01 li img.spnone {
    display: none;
  }
  ul.bxslider01 li img.pcnone {
    display: block;
  }
  div.slider .bx-wrapper .bx-controls-direction a.bx-prev {
    margin-top: 0px;
    background: url(../images/controls.png) no-repeat;
    position: absolute;
    top: 50%;
    z-index: auto;
    margin-top: -10px;
  }
  div.slider .bx-wrapper .bx-controls-direction a.bx-next {
    margin-top: 0px;
    background: url(../images/controls.png) no-repeat -43px -32px;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: auto;
    margin-top: -10px;
  }
  div.slider .bx-controls-direction {
    position: absolute;
    top: 50%;
    z-index: auto;
    margin-top: -10px;
    width: 100%;
  } */
}


/* PAGER */
.bx-wrapper .bx-pager {
  text-align: center;
  font-size: 0.85em;
  font-family: Arial;
  font-weight: bold;
  color: #1570d9;
  padding-top: 20px;
}
.bx-wrapper .bx-pager.bx-default-pager a {
  background: #FFFFFF;
  text-indent: -9999px;
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 2px;
  outline: 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 13px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: #2196f3;
}
.bx-wrapper .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  vertical-align: bottom;
  *zoom: 1;
  *display: inline;
}

/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
  left: 25px;
  background: url("../img/img_slider/controls.png") no-repeat 0 -32px;
}
.bx-wrapper .bx-prev:hover,
.bx-wrapper .bx-prev:focus {
  background-position: 0 0;
}
.bx-wrapper .bx-next {
  right: 25px;
  background: url("../img/img_slider/controls.png") no-repeat -43px -32px;
}
.bx-wrapper .bx-next:hover,
.bx-wrapper .bx-next:focus {
  background-position: -43px 0;
}
.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -165px;
  outline: 0;
  width: 32px;
  height: 32px;
  text-indent: -9999px;
  z-index: 9999;
}
.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}
