/*
 * jQuery Nivo Slider v3.2
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* 1枚目のスライド（またはアクティブなスライド）は即座に表示 */
.splide__slide.is-active .nivo-caption {
    opacity: 1 !important;
}

/* LCP対策：JavaScriptが実行される前でも1枚目のテキストだけは見えておくようにする */
#main-slider .splide__list .splide__slide:first-child .nivo-caption {
    opacity: 1 !important;
    display: block !important;
}

.splide__slide img {
    width: 100%;
}

.nivoSlider{position:relative;width:100%;height:auto;overflow:hidden}
.nivoSlider img{position:absolute;top:0;left:0;max-width:none}
.nivo-main-image{display:block!important;position:relative!important;width:100%!important}
.nivoSlider a.nivo-imageLink{position:absolute;top:0;left:0;width:100%;height:100%;border:0;padding:0;margin:0;z-index:6;display:none;background:#fff;filter:alpha(opacity=0);opacity:0}
.nivo-slice{display:block;position:absolute;z-index:5;height:100%;top:0}
.nivo-box{display:block;position:absolute;z-index:5;overflow:hidden}
.nivo-box img{display:block}
.nivo-html-caption{display:none}

.nivo-directionNav a{position:absolute;z-index:9;cursor:pointer; top:50%; transform:translateY(-50%); -webkit-transform:translateY(-50%); -moz-transform:translateY(-50%);}
a.nivo-prevNav{left:6.5%;}
a.nivo-nextNav{right:6.5%;background-position:-20px 0 !important;}

.nivo-controlNav{text-align:left;left:6.5%;padding:0;position:absolute;width:auto;bottom:3%;z-index:9;text-align:center}
.nivo-controlNav a{cursor:pointer;border:0 none;display:inline-block;height:12px;margin:0 5px 0 0;text-indent:-9999px;width:65px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px}
.nivo-controlNav a.active{font-weight:700}
.nivo-directionNav a{border:none;display:block;height:25px; font-size:0; width:15px;background:url(../images/slide-nav.png) no-repeat left top}

.nivo-caption {
    position: absolute;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #fff;
    z-index: 8;
    width: 100%;
    text-align: left;
    left: 80px;
    top: 140px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
}
.nivo-caption h2 {
    /* font-size: 2.8rem !important; */
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    padding-bottom: 10px;
    text-align: left;
    position: relative;
    display: block
}
@media screen and (min-width:1170px) { 
    .nivo-caption h2, .nivo-caption h2 span {
	font-size: 2.8rem !important;
    }
    .nivo-caption p {
        font-size: 1.4rem !important;
    }
}
@media screen and (min-width:980px) and (max-width:1169.9px) { 
    .nivo-caption h2, .nivo-caption h2 span {
	font-size: 2.2rem !important;
    }
    .nivo-caption p {
        font-size: 1.4rem !important;
    }
}
@media screen and (min-width:768px) and (max-width:979px) { 
    .nivo-caption h2, .nivo-caption h2 span {
	font-size: 1.9rem !important;
    }
    .nivo-caption p {
        font-size: 1.1rem !important;
    }
    .nivo-caption {
        left: 20px;
        top: 88px;
    }
}
@media screen and (min-width:601px) and (max-width:767px) { 
    .nivo-caption h2, .nivo-caption h2 span {
	font-size: 1.5rem !important;
    }
    .nivo-caption p {
        font-size: 1rem !important;
        line-height: 1;
    }
    .nivo-caption {
        left: 20px;
        top: 55px;
    }
    .cta-elegant-wrapper.align-center {
        transform: scale(0.8);
    }
    .slider-cta {
        bottom: 6%;
    }
}
@media screen and (min-width:481px) and (max-width:600px) { 
    .nivo-caption h2, .nivo-caption h2 span {
	font-size: 1.2rem !important;
    }
    .nivo-caption p {
        font-size: .9rem !important;
        line-height: 1;
    }
    .nivo-caption {
        left: 20px;
        top: 55px;
    }
    .cta-elegant-wrapper.align-center {
        transform: scale(0.8);
    }
    .slider-cta {
        bottom: 6%;
    }
}
@media screen and (max-width:480px) { 
    .nivo-caption h2, .nivo-caption h2 span {
	font-size: .9rem !important;
    padding-bottom: 6px;
    }
    .nivo-caption p {
        font-size: .7rem !important;
        line-height: 1;
    }
    .nivo-caption {
        left: 20px;
        top: 48px;
    }
    .cta-elegant-wrapper.align-center {
        transform: scale(0.8);
    }
    .slider-cta {
        bottom: 0;
        transform: scale(.8) translateX(-50%);
        left: 44%;
    }
}
/*
.nivo-caption h2:after{content:'';position:absolute;bottom:0;left:0;right:0;margin:0 auto;width:60px;border-bottom:solid 2px #fff}
*/
.nivo-caption h2 span {
    font-weight: 800 !important;
    color: #c799ef !important;
    font-size: 2.8rem;
    margin-bottom: -15px;
    display: inline-block;
    padding-bottom: 0;
    text-align: left;
}

.nivo-caption p{
    font-size :1.4rem;
    margin-top: 20px;
}
.nivo-caption .button{margin:0;padding:21px 57px;display:inline-block;border-radius:30px;font:400 20px/20px 'Assistant',sans-serif;text-align:center}
.nivo-caption .button:hover{background:#fff}