.carousel-fade .carousel-inner .item {
  -webkit-transition-property: opacity;
          transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
  z-index: 2;
}
html,
body,
.carousel,
.carousel-inner,
.carousel-inner .item {
	height: 100%;

}
.item:nth-child(1) {
	background-image: url(../images/m1.jpg);
	background-repeat: no-repeat;
	background-position: center top;
}
.item:nth-child(2) {

  background-image: url(../images/m2.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
.item:nth-child(3) {

  background-image: url(../images/m3.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
.item:nth-child(4) {

  background-image: url(../images/m4.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
.item:nth-child(5) {

  background-image: url(../images/m5.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
.item:nth-child(6) {

  background-image: url(../images/m6.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
.item:nth-child(7) {

  background-image: url(../images/m7.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
.item:nth-child(8) {

  background-image: url(../images/m8.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
@media screen and (min-width: 768px) {
	/* 768px以上用（タブレット用）の記述 */
	.carousel,
.carousel-inner,
.carousel-inner .item {
  height: 900px;
}
	
}
@media screen and (max-width: 479px) {
	/* 479px以下用（スマートフォン用）の記述 */
.carousel,
.carousel-inner,
.carousel-inner .item {
  height: 400px;
}
.item:nth-child(1) {
	background-image: url(../images/m1s.jpg);
	background-repeat: no-repeat;
	background-position: center top;
}
.item:nth-child(2) {

  background-image: url(../images/m2s.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
.item:nth-child(3) {

  background-image: url(../images/m3s.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
.item:nth-child(4) {

  background-image: url(../images/m4s.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
.item:nth-child(5) {

  background-image: url(../images/m5s.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
.item:nth-child(6) {

  background-image: url(../images/m6s.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
.item:nth-child(7) {

  background-image: url(../images/m7s.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
.item:nth-child(8) {

  background-image: url(../images/m8s.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-position: center top;
}
}



