@charset 'utf-8';
:root {
    --ti-cursor-margin-left:1em;
}
.carousel-control-prev, .carousel-control-next { display: none;}


.carousel { position: relative;}
.carousel img {max-width: 100%;}
.carousel p { word-break: keep-all;}

/* .carousel .img-item { animation:bg-size 10s 1 both} */
.carousel .visual-text { position: absolute; left: 0; bottom:0; z-index: 2;  width: 100%; line-height: 1.5;   color: #fff;}
.carousel .img-item { background: no-repeat center / cover; animation :bgSize 6s 1 both }
.visual-text .txt {
    margin: 3rem;
    padding: 1.5rem 2.8rem;
    font-size: 3.8rem; font-weight: 700; line-height: 1.5;
    background: linear-gradient(90deg,rgba(255,255,255,.4) 0%, rgba(255,255,255,.0) 40%) ;
}


@media (max-width:768px){
    
}
@media (max-width:576px){
    .visual-text .txt { margin: 3rem 2.5rem ; padding: 1.5rem 2.5rem; }
    
}
@media (max-width:410px){
    .visual-text .txt { margin: 3rem 2rem ; padding: 1.5rem 1.8rem; font-size: 3rem;}
    
}


@keyframes bgSize {
    from { 
        transform: scale(1.2);
    }
    to {        
        transform: scale(1.0);
    }
}