/* ページ下部固定 */
.sm-child-cta {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    z-index: 1000;
    transform: translate(-50%, 2rem);
    opacity: 0;
    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.8s ease;
}

.sm-child-cta.is-show {
    transform: translate(-50%, 0);
    opacity: 1;
}

/* CTA本体 */
.sm-child-cta__link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1.125rem 7.125rem 1.125rem 3.125rem;
    margin: 0;
    background: linear-gradient(135deg, #4ec4fa, #0047ff);
    border-radius: 9999px;
    box-shadow: 0 0.625rem 1.5rem rgba(0, 0, 0, 0.25);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* 上部サブテキスト外枠 */
.sm-child-cta__badge {
    position: absolute;
    top: -0.875rem;
    left: 6.5625rem;
    padding: 0.125rem 0.625rem 0.125rem;
    background: #fff;
    border: 0.09375rem solid #019bf7;
    border-radius: 9999px;
    color: #0286f6;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: normal;
}

/* サブテキスト調整 */
.sm-child-cta__text {
    font-size: 1rem;
    white-space: nowrap;
    font-weight: 500;
}

/* CTA矢印枠 */
.sm-child-cta__icon {
    position: absolute;
    right: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
}

/* 矢印→ */
.sm-child-cta__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    content: "→";
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    transform: translate(-50%, -50%);
}

/* 小スマホ用 */
@media screen and (max-width: 375px) {
    .sm-child-cta__link {
        padding: 1.125rem 3.8125rem 1.125rem 1.25rem;
        margin: 0 auto;
        width: fit-content;
    }

    .sm-child-cta__badge {
        left: 3.5625rem;
    }

    .sm-child-cta__icon {
        right: 0.375rem;
    }
}


