@charset "utf-8";
/*----- 導入事例用スタイル -----*/
.leadgridTemplate__s-caseDetail-1 .caseDetail-1__wysiwyg {
    overflow: visible;

    @media screen and (max-width: 768px) {
        overflow: hidden;
        
    }
}
.leadgridTemplate__s-caseDetail-1 .caseDetail-1__wysiwyg .facilo-case-flex-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;

    @media screen and (max-width: 768px) {
        display: block;
        
    }
}
.leadgridTemplate__s-caseDetail-1 .caseDetail-1__wysiwyg .facilo-case-cta-wrapper {
    position: sticky;
    top: 160px;
    flex: 1 1 auto;
    
    .facilo-case-cta-list > li > p {
        position: relative;
        padding: 20px;
        border: solid 1px #ddd;
        border-radius: 8px;
        margin-bottom: 20px;

        &::after {
            position: absolute;
            bottom: 0;
            left: 50%;
            content: "";
            display: block;
            width: 16px;
            height: 16px;
            border-bottom: solid 1px #ddd;
            border-right: solid 1px #ddd;
            transform: translate(-50%, 50%) rotate(45deg);
            background-color: #fff;

        }
        > img {
            margin: 0 0 10px 0;
        }
    }

}
.leadgridTemplate__s-caseDetail-1 .caseDetail-1__wysiwyg .facilo-case-text-wrapper {
    max-width: 660px;
    flex: 0 0 660px;
    margin: 0 auto;
    color: #333;

    h2 {
        font-size: 26px;
        font-weight: bold;
    }
    p {
        font-size: 16px;
        letter-spacing: .04em;
        line-height: 2;
    }
}
.leadgridTemplate__s-caseDetail-1 .caseDetail-1__wysiwyg .facilo-case-company-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border: solid 1px #ddd;
    border-radius: 4px;
    padding: 20px;

    @media screen and (max-width: 768px) {
        flex-direction: column;
        
    }

    img {
        margin: 0
    }
}
.leadgridTemplate__s-caseDetail-1 .caseDetail-1__wysiwyg ul.facilo-case-cta-list {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0;
    margin-top: 40px;

    @media screen and (max-width: 768px) {
        flex-direction: column;
    }

    > li {
        flex: 1;
        padding: 0;
        margin: 0;

        > p {
            display: block;
            font-size: 14px;
            text-align: center;
        }
        > a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            max-width: 320px;
            height: 80px;
            background: #0092BC;
            border-radius: 8px;
            box-shadow: 0 3px 8px rgba(0, 0, 0, .4);
            font-size: 20px;
            line-height: 1.5;
            color: #fff;
            margin: 0 auto;

        }
    }
    > li:nth-of-type(2) > a {
        background: #fff;
        border: solid 2px #0092BC;
        color: #0092BC;
    }
}