.section-slider .splide {
    background-color: var(--tateru-color-primary);
    color: var(--tateru-color-white);
}

.section-slider .h5-style {
    margin-bottom: 30px;
}

.section-slider .h2-style {
    margin-bottom: 50px;
}

.section-slider .splide__slide .content {
    opacity: 0;
    -webkit-transform: translate3d(50px, 0, 0);
    transform: translate3d(50px, 0, 0);
}

.section-slider .splide__slide .content a {
    color: inherit;
    text-decoration: underline;
}

.section-slider .splide__slide .content a:hover {
    opacity: 0.7;
}

.section-slider .splide__slide.is-active .content {
    animation: fadeShowPost 0.5s ease-in-out;
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.section-slider .splide__slide {
    display: flex;
}

.section-slider .splide__pagination--ttb {
    background-color: var(--tateru-color-primary-light);
    left: 0;
    width: 50px;
    right: auto;
    gap: 10px;
}

.section-slider .splide__pagination li {
    display: flex;
}

.section-slider .splide__pagination__page {
    background-color: var(--tateru-color-primary);
    height: 9.56px;
    width: 9.56px;
    margin: 0;
    opacity: 1;
    transition: 300ms;
}

.section-slider .splide__pagination__page.is-active {
    background: #fff;
    transform: scale(1);
    height: 11.95px;
    width: 11.95px;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
}

.section-slider .content {
    width: 50%;
    padding: 50px;
    padding-left: 100px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.section-slider .image {
    height: 100%;
    width: 50%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}


.section-slider .box-button {
    font-size: 18px;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
    padding-bottom: 15px;
    border-bottom: #4068a8 var(--tateru-line-width) solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--tateru-color-white);
    width: 230px;
    position: relative;
}

.section-slider .box-button:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    height: var(--tateru-line-width);
    width: 0%;
    background-color: var(--tateru-color-secondary);
    transition: width 500ms;
    transition-timing-function: cubic-bezier(0.83, 0, 0.17, 1);
}

.section-slider .box-button:hover:after {
    width: 100%;
}

.section-slider .box-button img {
    height: var(--tateru-arrow-height);
    width: var(--tateru-arrow-width);
}

.section-slider .box-button:hover {
    text-decoration: none;
}

.section-slider .h5-style,
.section-slider .h2-style {
    color: var(--tateru-color-white);
}

@media screen and (max-width: 1000px) {
    .section-slider .splide__slide {
        flex-direction: column-reverse;
    }

    .section-slider .splide__slide .image {
        width: 100%;
        height: calc( 100% - 300px );
        flex-shrink: 0;
    }

    .section-slider .splide__slide .content {
        width: 100%;
        padding: 50px;
        padding-bottom: 100px;
        height: 300px;
    }

    .section-slider .splide__slide .description {
        display: none;
    }


    .section-slider .splide__slide.is-active .content {
        animation: fadeShowPostMobile 0.5s ease-in-out;
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .section-slider .splide__pagination {
        /* background-color: var(--tateru-color-primary-light); */
        height: 50px;
        width: 100%;
        gap: 10px;
    }

    .section-slider .splide__pagination__page:not(.is-active) {
        background-color: var(--tateru-color-primary-light);
    }
}

@keyframes fadeShowPost {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(50px, 0, 0);
        transform: translate3d(50px, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@keyframes fadeShowPostMobile {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 50px, 0);
        transform: translate3d(0, 50px, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}


