/* FlexSlider Necessary Styles
*********************************/
.flexslider {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  height: auto;
  position: relative;
  zoom: 1;
  z-index: 1;
}

* html .flexslider {
  margin: 0 0 40px 0;
  overflow: hidden;
  height: 420px;
}

.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides li {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  text-align: center;
}

.flexslider .slides li a {
  display: block;
}

/* for ofi.js */
.flexslider .slides li img {
  /*height: 56.25%;*/
  /*min-height: 500px;*/
  width: 100%;
  height: 100%;
  margin: 0 auto;
  vertical-align: bottom;
  /*tasumemiru*/
}

.flexslider .slides li img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

@supports ((-o-object-fit: cover) or (object-fit: cover)) {
  .home .flexslider .slides li img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    /* for IE and Egge (ofi.js) */
    /*font-family: 'object-fit: cover';*/
  }
}

.home .flexslider .slides .caption-wrap {
  display: none;
}

.flex-pauseplay span {
  text-transform: capitalize;
}

/* Clearfix for the .slides element */
.slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

html[xmlns] .slides {
  display: block;
}

* html .slides {
  height: 1%;
}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > article:first-child {
  display: block;
}

/* FlexSlider Default Theme
*********************************/
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.loading .flex-viewport {
  max-height: 300px;
}

.flexslider .slides {
  zoom: 1;
}

.carousel li {
  margin-right: 5px;
}

/* Direction Nav */
