.txt-img {
    overflow-x: clip;
}

.txt-img--container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media screen and (min-width: 992px) {
    .txt-img--container {
        flex-direction: row;
        gap: clamp(32px, 5.56vw, 80px);
    }

    .txt-img--container.reverse {
        flex-direction: row-reverse;
    }

    .txt-img--container.reverse img {
        rotate: 2deg;
    }
}

.txt-img--content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width: 992px) {
    .txt-img--content {
        flex: 1;
        text-align: left;
        align-items: flex-start;
    }
}

.txt-img--images {
    position: relative;
}

@media screen and (min-width: 992px) {
    .txt-img--images {
        flex: 1;
    }
}

.txt-img--images::before {
    content: "";
    width: 168px;
    height: 180px;
    background: url(../images/illus.svg) no-repeat center;
    background-size: contain;
    position: absolute;
    top: 0;
    right: 0;
    rotate: 6deg;
    z-index: -1;
}

@media screen and (min-width: 992px) {
    .txt-img--images::before {
        width: 328px;
        height: 350px;
        right: -10%;
        top: -10%;
        rotate: 17deg;
    }
}

.txt-img--images img {
    border-radius: 8px;
    -o-object-fit: cover;
    object-fit: cover;
    box-shadow: 0 8px 17.2px 0 rgba(0, 0, 0, 0.25);
    width: 100%;
    height: 286px;
    transform: translateY(30px) rotate(-2deg);
}

@media screen and (min-width: 992px) {
    .txt-img--images img {
        border-radius: 16px;
        height: 510px;
    }
}

.txt-img--images.double {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: flex-start;
    min-height: 300px;
}

@media screen and (min-width: 992px) {
    .txt-img--images.double {
        gap: 40px;
    }
}

.txt-img--images.double::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: url("../images/illus.svg") no-repeat center;
    background-size: contain;
    rotate: 17deg;
    z-index: -1;
    pointer-events: none;
}

.txt-img--images.double img {
    aspect-ratio: 7/10;
    width: clamp(150px, 18.75vw, 270px);
    height: auto;
}

.txt-img--images.double img:first-child {
    transform: translateY(-30px) rotate(-2deg);
}

.txt-img--images.double img:last-child {
    align-self: flex-end;
    transform: translateY(30px) rotate(3deg);
    rotate: 3deg;
}

.txt-img .uptitle {
    color: var(--parme);
    margin-bottom: 8px;
}

.txt-img h2,
.txt-img h3,
.txt-img h4 {
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.txt-img h2>div,
.txt-img h3>div,
.txt-img h4>div {
    position: relative;
    margin: 0;
}

.txt-img p+p {
    margin-top: 18px;
}

.txt-img .buttons {
    margin-top: 16px;
}

.txt-img .split-parent {
    overflow: hidden;
}

.txt-img .split-child {
    display: inline-block;
}

/*# sourceMappingURL=style.css.map */