/*==================================================
section cta
===================================*/
.cta {
    padding-top: 1.7rem;
    padding-bottom: 3.3rem;
    border-top: 1rem solid #FFDC51;
    border-bottom: 1rem solid #FFDC51;
    background: url(../img/cta_bg_sp.png) no-repeat center center/cover;
    color: #2C2C2C;
    position: relative;
}

.cta__title {
    z-index: 10;
    position: relative;
    text-align: center;
}

.cta__container {
    position: relative;
    margin-top: -2.5rem;
    margin-inline: auto;
    padding: 3.1rem 4rem 2rem;
    border: 3px solid #FF3F02;
    background: #FFF;
}

.cta__container::after {
    position: absolute;
    background: url(../img/cta_ashirai.png) no-repeat center center/contain;
    content: "";
}

.cta__attention {
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.8571428571;
    letter-spacing: 0.06em;
    text-align: center;
}

.cta__attention span {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(70%, transparent), color-stop(70%, #fff46f));
    background: linear-gradient(transparent 70%, #fff46f 70%);
}

.cta__items {
    display: grid;
    position: relative;
    margin-top: 1.35rem;
    gap: 3.3rem;
}

.cta__item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
}

.cta__item:nth-child(1) {
    position: relative;
}

.cta__item:nth-child(1):after {
    position: absolute;
    top: 110%;
    left: 50%;
    width: 100%;
    height: 2px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: url(../img/cta_border.png) no-repeat center center/contain;
    content: "";
}

.cta__label {
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: 0.06em;
    text-align: center;
}

.cta__label span {
    position: relative;
    padding-right: 2em;
    padding-left: 2em;
}

.cta__label span::before,
.cta__label span::after {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: #FF6470;
    content: "";
}

.cta__label span::before {
    left: 0;
    -webkit-transform: translateY(-50%) rotate(60deg);
    transform: translateY(-50%) rotate(60deg);
}

.cta__label span::after {
    right: 0;
    -webkit-transform: translateY(-50%) rotate(-60deg);
    transform: translateY(-50%) rotate(-60deg);
}

.cta__label-mail span::before,
.cta__label-mail span::after {
    background: #0048A3;
}

.cta__links {
    display: grid;
}

.cta__text {
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-align: left;
}

.cta__text:nth-of-type(1) {
    margin-top: 1rem;
}

.cta__text-tel {
    font-weight: 500;
    font-size: 1.4rem;
    text-align: center;
    padding-bottom: 1rem;
}

.cta__bottom_image {
    position: absolute;
    right: 0;
    bottom: 3.5rem;
    max-width: 10rem;
}

.cta2 .cta__bottom_image {
    position: absolute;
    right: 5%;
    bottom: 3.5rem;
    max-width: 10rem;
}

.cta__free {
    display: grid;
    position: absolute;
    top: 7%;
    left: -5%;
    place-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: #2B2B2B;
    color: #FFF;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.3333333333;
    letter-spacing: 0.11em;
    text-align: center;
}

.cta__link-tel img {
    max-width: 18rem;
}

@media screen and (min-width: 768px) {
    .cta {
        padding-top: 3.4rem;
        padding-bottom: 3rem;
        border-top: 1.5rem solid #FFDC51;
        border-bottom: 1.5rem solid #FFDC51;
        background: url(../img/cta_bg.png) no-repeat center center/cover;
    }

    .cta__title {
        width: 51rem;
        margin-inline: auto;
    }

    .cta__container {
        width: 83.5%;
        margin-top: -4rem;
        padding: 5.5rem 6.4rem 2.2rem 3.6rem;
        padding: 5.5rem 2rem 2.2rem;
    }

    .cta__container::after {
        top: -32%;
        right: -5%;
        width: 18.8rem;
        height: 13.3rem;
    }

    .cta__attention {
        font-size: 1.4rem;
    }

    .cta__items {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }

    .cta__item:nth-child(1):after {
        top: 50%;
        left: 103%;
        width: 2px;
        height: 100%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        background: url(../img/cta_border_pc.png) no-repeat center center/contain;
    }

    .cta__label {
        font-size: 1.6rem;
    }

    .cta__link-tel {
        margin-top: 0;
    }

    .cta__link-tel img {
        max-width: 30rem;
    }

    .cta__text {
        margin-top: 0;
        text-align: center;
    }

    .cta__text:nth-of-type(1) {
        margin-top: 0;
    }

    .cta__text-tel {
        padding-bottom: 0;
    }

    .cta__free {
        display: grid;
        position: absolute;
        top: -16%;
        left: 3rem;
        place-items: center;
        width: 9.8rem;
        height: 9.8rem;
        border-radius: 50%;
        background: #2B2B2B;
        color: #FFF;
        font-weight: 500;
        font-size: 1.8rem;
        line-height: 1.3333333333;
        letter-spacing: 0.11em;
        text-align: center;
    }

    .cta__bottom_image {
        bottom: 0;
        left: 78%;
        max-width: 17.2rem;
    }

    .cta2 .cta__bottom_image {
        bottom: 0;
        left: unset;
        right: 78%;
        max-width: 17.2rem;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .cta__bottom_image {
        left: unset;
        bottom: 0;
        right: 0;
    }

    .cta2 .cta__bottom_image {
        right: unset;
        bottom: 0;
        left: 0;
    }
}

/*==================================================
section cta END
===================================*/