@charset "UTF-8";

/* カルーセル 全体 */
.carousel {
    display: -webkit-flex;
  display: flex;
    -webkit-flex-direction: column;
  flex-direction: column;
  margin-bottom: 50px;
}
@media (max-width:991px) {
  .carousel {
    margin-left: -15px;
    margin-right: -15px;
  }
}
@media (min-width:992px) {
  .carousel {
      -webkit-flex-direction: row;
    flex-direction: row;
    margin-bottom: 0;
  }
}

/* カルーセル パネル選択ボタン */
.carousel-indicators {}
@media (max-width:767px) {
  .carousel-indicators {
    bottom: auto;
    top: 100%;
    left: 0;
    right: 0;
    margin: 10px 0 0;
    width: 100%;
    text-align: center;
  }
  .carousel-indicators li,
  .carousel-indicators li.active {
    overflow: hidden;
    display: inline-block;
    margin: 0 15px;
    width: 15px;
    height: 15px;
    vertical-align: middle;
    clip: rect(0,0,0,0);
  }
  .carousel-indicators li {
    border: 1px solid #404040;
  }
  .carousel-indicators li.active {
    background-color: #404040;
  }
}
@media (min-width:768px) {
  .carousel-indicators {
    position: static;
      display: -webkit-flex;
    display: flex;
      -webkit-order: 1;
    order: 1;
    margin: 0;
    width: 100%;
    border: 1px solid #fff;
  }
  .carousel-indicators li,
  .carousel-indicators li.active {
    margin: 0;
    width: 25%;
    height: auto;
    border-radius: 0;
    opacity: 0.6;
    background-color: #ddd;
    text-indent: 0;
    line-height: 1.2;
    transition: 0.3s;
  }
  .carousel-indicators li:hover,
  .carousel-indicators li:focus,
  .carousel-indicators li.active {
    opacity: 1;
  }
  .carousel-indicators li.active {
    border: 1px solid #f00;
  }
}
@media (min-width:992px) {
  .carousel-indicators {
      -webkit-flex-direction: column;
    flex-direction: column;
    width: 20%;
  }
  .carousel-indicators li,
  .carousel-indicators li.active {
      display: -webkit-flex;
    display: flex;
      -webkit-align-items: center;
    align-items: center;
      -webkit-justify-content: center;
    justify-content: center;
    width: 100%;
    height: 25%;    /* スライド4枚 */
  }
}
/* カルーセル コントロールボタン */
.carousel-control {}
.carousel-control.left {
  background-image: none;
}
.carousel-control.right {
  background-image: none;
}
.carousel-control .glyphicon {
  color: #fff;
}
.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
  left: 30%;
}
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
  left: auto;
  right: 30%;
}
@media (min-width:992px) {
  .carousel-control.right {
    right: 20%;
  }
}


/* カルーセル スライド領域 */
.carousel-inner {}
@media (min-width:992px) {
  .carousel-inner {
    width: 80%;
  }
}
.carousel .item {
}
.carousel .item > img {
}

/* カルーセル キャプション */
.carousel-caption-img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
}

.carousel-caption {
  background-color: rgba(0,0,0,0.4);  
}



.carousel-caption h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.2;
}
.carousel-caption p {
  margin: 0 0 6px;
  line-height: 1.2;
}
@media (max-width:767px) {
  .carousel-caption {
    position: static;
  }
}
@media (min-width:768px) {
  .carousel-caption {
    bottom: 10px;
  }
  .carousel-caption h2 {
    font-size: 20px;
  }
}
@media (min-width:992px) {
  .carousel-caption {
    bottom: 1rem;
  }
  .carousel-caption h2 {
    font-size: 24px;
  }
}
