:root {
    --underline-intrinsic-width: 12;
    --underline-width: 10;
    --underline-cap-width: 4px;
    --underline-offset-y: -2px;
    --underline-padding-x: 0.12em;

    --color-black: #333333;
}

#section-measures {
    background-image: url("../public/img/bg/bg-cando.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 922px;
    max-width: 1470px;
    padding: 100px 9% 80px;
}

.measures-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
    font-weight: 600;
    color: var(--color-dark-blue);
}

.measures-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-bottom: 70px;
}

.measures-service {
    height: 88px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background: linear-gradient(#065da7, #013f8f);
    color: #fff;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: 0.5px;
}

.measures-service .content {
    font-size: 20px;
    line-height: 1.2;
}

.measures-service .sub-text {
    font-size: 21px;
}

.font-size-24 {
    font-size: 24px !important;
}

.font-size-23 {
    font-size: 23px !important;
}

.font-size-22 {
    font-size: 22px !important;
}

.font-size-21 {
    font-size: 21px !important;
}

.measures-result {
    display: inline-block;
}

.measures-goal-left {
    float: left;
}

.measures-goal-right {
    align-items: center;
    text-align: left;
    justify-content: center;
    vertical-align: middle;
}

.measures-goal-right .solution {
    text-align: center;
    font-weight: bold;
    padding: 10px;
    font-size: 24px;
}

.measures-goal-right .solution p::before {
    width: 50px;
    height: 50px;
    /* transform: skew(-66deg); */
    /* background: white; */
    background-image: url('../public/img/worries/ol_seo_LP_fix_1_03.png');
    position: absolute;
    content: '';
    left: -20px;
    bottom: -4px;
}

.measures-goal-right .solution span {
    position: relative;
}

.measures-goal-right .solution p {
    display: block;
    background-color: #fff;
    border-radius: 20px;
    padding: 10px;
    position: relative;
}

.measures-goal-right .sentence {
    font-size: 26px;
    font-weight: 600;
    color: var(--color-black);
    display: flex;
    justify-content: center;
}

.measures-goal-right .sentence i.br {
    content: "";
    white-space: pre;
    display: block;
}

.measures-goal-right .sentence .bg-half {
    color: #013f8f;
}

.measures-goal-right .black-color {
    color: #888;
}

.measures-goal-right .content-request {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 30px;
    padding: 10px 20px;
    gap: 20px;
    text-decoration: none;
    background: linear-gradient(to right,#f6921e, #ec1c24);
    width: fit-content;
    color: #fff;
    border-radius: 50px;
    margin-left: -70px;
    transition: all .2s linear;
}

.measures-goal-right .content-request:hover {
    opacity: 0.8;
}

.measures-goal-right .content-request img{
    width: 55px;
    height: 55px;
    background-color: #fff;
    border-radius: 50%;
    padding: 5px;
}

/* .measures-goal-right .content-request:before {
    content: '[';
    font-size: 50px;
    text-align: right;
    padding-right: 60px;
    font-weight: 100;
}

.measures-goal-right .content-request:after {
    content: ']';
    font-size: 50px;
    text-align: left;
    padding-left: 60px;
    font-weight: 100;
} */

.measures-goal-right .bg-half {
    display: inline;
    --underline-width-scale: calc(var(--underline-width) / var(--underline-intrinsic-width));
    background-repeat: no-repeat;
    background-image: linear-gradient(180deg, var(--color-yellow), var(--color-yellow));
    background-position-x: calc(var(--underline-cap-width) * var(--underline-width-scale)),
        0, 100%;
    background-position-y: 90%;
    background-size: calc(100% - calc(var(--underline-cap-width) * var(--underline-width-scale) * 2)) calc(var(--underline-width) * 1px),
        auto calc(var(--underline-width) * 1px),
        auto calc(var(--underline-width) * 1px);
}

#section-measures .sp {
    display: none;
}

.sp-path {
    display: none;
}

@media (max-width: 1440px) {
    .measures-service {
        font-size: 20px;
    }
    
    .measures-service .content {
        font-size: 18px;
    }
    
    .measures-service .sub-text {
        font-size: 16px;
    }

    .measures-goal-right {
        padding-left: 40px;
    }

    .measures-goal-right .sentence {
        padding: 0 45px;
    }

    .measures-goal-right .solution, 
    .measures-goal-right .sentence {
        font-size: 20px;
    }

    .measures-goal-right .content-request {
        font-size: 30px;
    }

    .measures-goal-left img {
        width: 250px;
    }
}

@media (max-width: 1270px) {
    #section-measures {
        padding: 100px;
    }

    .measures-service,
    .measures-goal-right .solution {
        font-size: 18px;
    }

    .measures-service .content {
        font-size: 16px;
    }

    .measures-goal-right .sentence i.br {
        display: none;
    }

    .measures-goal-right .content-request {
        font-size: 26px ;
    }
}

@media (max-width: 1050px) {
    .measures-service .content {
        font-size: 15px;
    }
}

@media (max-width: 997px) {
    #section-measures {
        padding: 90px 20px;
    }

    .measures-service {
        font-size: 16px;
    }

    .measures-service .content,
    .measures-service .sub-text {
        font-size: 14px;
        line-height: 1.2;
    }

    .measures-goal-right .sentence {
        padding: 0 35px;
    }

    .measures-goal-right .solution i.br {
        content: "";
        white-space: pre;
        display: block;
    }
    
    .measures-goal-right .solution, 
    .measures-goal-right .sentence {
        font-size: 18px;
    }
}

@media (max-width: 810px) {
    #section-measures {
        height: auto;
    }

    .measures-services {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .measures-goal-left img {
        width: 220px;
    }
}

@media (max-width: 767px) {
    #section-measures .pc {
        display: none;
    }

    #section-measures .sp {
        display: block !important;
    }

    #section-measures {
        background-image: url("../public/img/bg/cando_sp.jpg");
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
        padding: 70px 30px;
        height: auto;
    }

    .measures-services {
        grid-template-columns: repeat(2, 1fr);
        padding-bottom: 30px;
    }

    .measures-goal-right .solution p {
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    .measures-goal-right .solution p::before {
        left: -15px;
    }

    .measures-goal-left {
        text-align: right;
    }

    .sentence {
        font-size: 20px;
        padding: 0 70px;
        font-weight: 600;
        color: var(--color-black);
        text-align: center;
    }
    
    .sentence .bg-half {
        color: #013f8f;
    }
    
    .content-request {
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 18px;
        padding: 10px 20px;
        gap: 10px;
        text-decoration: none;
        background: linear-gradient(to right, #f6921e, #ec1c24);
        width: fit-content;
        color: #fff;
        border-radius: 50px;
    }
    
    .content-request img{
        width: 45px;
        height: 45px;
        background-color: #fff;
        border-radius: 50%;
        padding: 5px;
    }
    
    /* .content-request::before {
        content: '[';
        font-size: 50px;
        text-align: right;
        padding-right: 70px;
        font-weight: 100;
    }
    
    .content-request::after {
        content: ']';
        font-size: 50px;
        text-align: left;
        padding-left: 70px;
        font-weight: 100;
    } */
}

@media (max-width: 576px) {
    #section-measures {
        padding: 70px 10px;
        max-width: 100%;
        overflow: hidden;
    }

    .measures-title {
        font-size: 30px;
        letter-spacing: 2px;
    }
    
    .measures-title i.br{
        display: block;
    }

    .measures-goal-left img {
        width: 160px;
    }

    .measures-goal-right .solution {
        padding: 0;
        font-size: 18px;
    }

    .sentence {
        padding: 0;
    }

    .sentence i.br {
        display: block;
    }
    
    .content-request::before {
        padding-right: 20px;
    }
    
    .content-request::after {
        padding-left: 20px;
    }
}

@media (max-width: 440px) {
    .measures-services {
        gap: 5px;
    }
    .measures-service {
        height: 54px;
    }

    .measures-goal-left img {
        width: 120px;
    }
    
    .measures-goal-right .solution {
        position: absolute;
        right: 16px;
    }

    .sentence{
        padding-top: 30px;
    }

    .content-request::before {
        padding-right: 5px;
    }
    
    .content-request::after {
        padding-left: 5px;
    }

    .sp-path {
        display: block;
    }
}