@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i,900,900i');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i');

.carousel {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.carousel-item {
    visibility:visible;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    -webkit-align-items: center;
    -webkit-justify-content: flex-end;
    position: relative;
   /* background-color: #7cfc00;*/
    flex-shrink: 0;
   -webkit-flex-shrink: 0;
    position: absolute;
    z-index: 0;
    transition: 0.6s all linear;
}

.carousel-item__info {
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    display: -webkit-flex;
    -webkit-justify-content: center;
    -webkit-flex-direction: column;
    order: 1;
    left: 0;
    margin: 0;
    padding: 0 ;
}

.carousel-item__image {
    width: 60%;
    height: 100%;
    order: 2;
    align-self: flex-end;
    flex-basis: 60%;
    -webkit-order: 2;
    -webkit-align-self: flex-end;
    -webkit-flex-basis: 60%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position:relative;
    transform: translateX(100%);
    transition: 0.6s all ease-in-out;
}

.carousel-item__subtitle {
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 3px;
    font-size: 10px;
    text-transform: uppercase;
    margin: 0;
    color: #7E7E7E;    
    font-weight: 700;
    transform: translateY(25%);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s all ease-in-out;
}

.carousel-item__title {
    text-align: right;
    margin: 0 0 0 -50px;
    font-family: 'Mochiy Pop P One', sans-serif;
    text-shadow: #fff 2px 0, #fff -2px 0, #fff 0 -2px, #fff 0 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px, rgba(0, 0, 0, .5) 3px 3px 3px;
    font-size: 35px;
    line-height: 35px;
    letter-spacing: 1px;
    font-weight: 700;
    color: #ff4500;
    transform: translateY(25%);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    transition: 0.6s all ease-in-out;
    position: absolute;
    bottom: 10px;
}

@media screen and (max-width: 900px) {
   .carousel-item__title {
       margin: 0 0 0 -100px;
       text-align: right;
       font-size: 14px;
       line-height: 20px;
       letter-spacing: 1px;
       white-space: nowrap;
   }
}


.carousel-item__description {
    transform: translateY(25%);
    opacity: 0;
    visibility: hidden;
    transition: 0.6s all ease-in-out;
    margin-top: 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    color: #7e7e7e;
    line-height: 22px;
    margin-bottom: 35px;
}

@media screen and (max-width: 900px) {
    .carousel-item__description {
       margin: 15px 0 0 -20px;
       font-size: 10px;
       line-height: 10px;
       margin-bottom: 35px;
    }
}

.carousel-item--1 .carousel-item__image{
  background-image: url('../images/slider/R7/20anii.png');
    -webkit-clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);
            clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);  

}
.carousel-item--2 .carousel-item__image{
  background-image: url('../images/slider/R6/tozan.jpg');
    -webkit-clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);
            clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);
}

.carousel-item--3 .carousel-item__image{
  background-image: url('../images/slider/R6/bukatu.jpg');
    -webkit-clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);
            clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);  
}

.carousel-item--4 .carousel-item__image{
  background-image: url('../images/slider/R6/karada.jpg');
    -webkit-clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);
            clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);  
}

.carousel-item--5 .carousel-item__image{
  background-image: url('../images/slider/R6/keiundou.jpg');
    -webkit-clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);
            clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);  
}

.carousel-item--6 .carousel-item__image{
  background-image: url('../images/slider/R6/naganawa.jpg');
    -webkit-clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);
            clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);  
}

.carousel-item--7 .carousel-item__image{
  background-image: url('../images/slider/R6/junia.jpg');
    -webkit-clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);
            clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);  
}

.carousel-item--8 .carousel-item__image{
  background-image: url('../images/slider/R6/skilessons.jpg');
    -webkit-clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);
            clip-path: polygon(100% 0, 20% 0, 0 100%, 100% 100%);  
}

.carousel-item__container{

}

.carousel-item__btn {
    width: 35%;
    color: #2C2C2C;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 3px;
    font-size: 11px;
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(25%);
    opacity: 0;
}

.carousel__nav {
    position: absolute;
    right: 0;
    z-index: 2;
    background-color: #fff;
    bottom: 0;
}

.carousel__icon {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    fill: #5d5d5d;
}

.carousel__arrow {
    cursor: pointer;
    display: inline-block;
    padding: 11px 15px;
    position: relative;
}
@media screen and (max-width: 900px){
  .carousel__arrow {padding: 1px 1px;}
}

.carousel__arrow:nth-child(1):after {
    content:'';
    right: -3px;
    position: absolute;
    width: 1px;
    background-color: #b0b0b0;
    height: 14px;
    top: 50%;
    margin-top: -7px;
}

.active1{
   z-index: 1;
  display: flex;
  visibility:visible;
}

.active1 .carousel-item__subtitle, .active1 .carousel-item__title, .active1 .carousel-item__description,.active1 .carousel-item__btn{
    transform: translateY(0);
    opacity: 1;
    transition: 1.0s all ease-in-out;
    visibility: visible;
}

.active1 .carousel-item__image{ 
    transition: 1.0s all ease-in-out;
    transform: translateX(0);
}



