/*
 * SETTAR CONTACT CTA
 * TOP / Final Contact Section
 * v2
 */


/* =========================
   SECTION
========================= */

.settar-contact-cta {
    position: relative;

    max-width: 1200px;
    margin:
        clamp(50px, 6vw, 90px)
        auto
        clamp(70px, 8vw, 120px);

    padding:
        clamp(68px, 8vw, 108px)
        clamp(28px, 7vw, 90px);

    overflow: hidden;

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(90, 168, 255, .22),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 100%,
            rgba(75, 108, 190, .16),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #07172f 0%,
            #0a2146 58%,
            #081a37 100%
        );

    color: #ffffff;

    box-shadow:
        0 24px 60px rgba(7, 23, 47, .14);
}


/* 背景の薄い光 */
.settar-contact-cta::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -240px;
    right: -120px;

    border-radius: 50%;

    background: rgba(90, 168, 255, .12);

    filter: blur(50px);

    pointer-events: none;
}


/* 中身を光より前へ */
.settar-contact-cta > * {
    position: relative;
    z-index: 1;
}


/* =========================
   LABEL
========================= */

.settar-contact-cta > p:first-child {
    margin: 0 0 20px;

    color: #79b8ff;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .17em;
}


/* =========================
   TITLE
========================= */

.settar-contact-cta > h2 {
    max-width: 820px;

    margin: 0 0 26px;
    padding: 0 !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    box-shadow: none !important;

    color: #ffffff !important;

    font-size: clamp(38px, 4.5vw, 64px);
    line-height: 1.18;

    font-weight: 800;

    letter-spacing: -.04em;
}


.settar-contact-cta > h2::before,
.settar-contact-cta > h2::after {
    content: none !important;
    display: none !important;
}


/* =========================
   DESCRIPTION
========================= */

.settar-contact-cta > h2 + p {
    max-width: 780px;

    margin: 0 0 38px;

    color: rgba(255, 255, 255, .76);

    font-size: 16px;
    line-height: 1.95;
}


/* =========================
   BUTTON AREA
========================= */

.settar-contact-actions {
    display: flex !important;

    align-items: center;

    gap: 14px;

    margin: 0 !important;
}


/* ボタン共通 */
.settar-contact-actions .wp-block-button__link {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 13px 25px !important;

    border-radius: 999px !important;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none !important;

    transition:
        transform .20s ease,
        background-color .20s ease,
        color .20s ease,
        border-color .20s ease,
        box-shadow .20s ease;
}


/* =========================
   PRIMARY CTA
   相談する
========================= */

.settar-contact-actions
.wp-block-button:first-child
.wp-block-button__link {

    border: 1px solid #ffffff !important;

    background: #ffffff !important;
    color: #07172f !important;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, .15);
}


.settar-contact-actions
.wp-block-button:first-child
.wp-block-button__link:hover {

    transform: translateY(-2px);

    background: #eaf3ff !important;
    color: #07172f !important;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .20);
}


.settar-contact-actions
.wp-block-button:first-child
.wp-block-button__link:active {

    transform: translateY(0);

    background: #dcecff !important;
}


/* =========================
   SECONDARY CTA
   サービスを見る
========================= */

.settar-contact-actions
.wp-block-button:nth-child(2)
.wp-block-button__link {

    border: 1px solid rgba(255, 255, 255, .32) !important;

    background: rgba(255, 255, 255, .07) !important;
    color: #ffffff !important;

    box-shadow: none !important;
}


.settar-contact-actions
.wp-block-button:nth-child(2)
.wp-block-button__link:hover {

    transform: translateY(-2px);

    border-color: rgba(255, 255, 255, .55) !important;

    background: rgba(255, 255, 255, .13) !important;

    color: #ffffff !important;
}


.settar-contact-actions
.wp-block-button:nth-child(2)
.wp-block-button__link:active {

    transform: translateY(0);

    background: rgba(255, 255, 255, .18) !important;
}


/* =========================
   FOCUS
========================= */

.settar-contact-actions
.wp-block-button__link:focus-visible {

    outline: 3px solid rgba(121, 184, 255, .45);

    outline-offset: 4px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .settar-contact-cta {
        margin:
            44px
            18px
            72px;

        padding:
            58px
            24px;

        border-radius: 24px;
    }


    .settar-contact-cta > h2 {
        font-size: clamp(34px, 10vw, 46px);
    }


    .settar-contact-cta > h2 + p {
        margin-bottom: 32px;

        font-size: 15px;
        line-height: 1.85;
    }


    .settar-contact-actions {
        flex-direction: column;

        align-items: stretch;

        gap: 12px;
    }


    .settar-contact-actions .wp-block-button {
        width: 100%;
    }


    .settar-contact-actions .wp-block-button__link {
        width: 100%;

        min-height: 50px;
    }
}