/*
 * SETTAR WORKS
 * TOP / 支援実績の一例
 * v2 - Compact Section Rhythm
 */


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

.settar-works {
    position: relative;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;

    padding:
        0
        clamp(20px, 4vw, 48px)
        40px;
}


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

.settar-works > p:first-child {
    margin: 0 0 14px !important;

    color: #3179c8;

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

    letter-spacing: .16em;
    text-transform: uppercase;
}


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

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

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

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

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

    color: #07172f;

    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.18;

    letter-spacing: -.035em;
    font-weight: 800;
}

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


/* =========================
   INTRO
========================= */

.settar-works > h2 + p {
    max-width: 760px;

    margin: 0 0 38px !important;

    color: #5b6575;

    font-size: 17px;
    line-height: 1.9;
}


/* =========================
   COLUMNS
========================= */

.settar-works > .wp-block-columns {
    gap: 22px !important;

    margin: 0 !important;

    align-items: stretch !important;
}

.settar-works
> .wp-block-columns
> .wp-block-column {
    display: flex;
}


/* =========================
   CARD
========================= */

.settar-work-card {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    min-height: 290px;

    padding:
        32px
        28px;

    border: 1px solid #e3e8ef;
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 10px 32px rgba(7, 23, 47, .05);

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


/* =========================
   CARD HOVER
========================= */

.settar-work-card:hover {
    transform: translateY(-4px);

    border-color: rgba(49, 121, 200, .20);

    box-shadow:
        0 18px 42px rgba(7, 23, 47, .09);
}


/* =========================
   NUMBER
========================= */

.settar-work-card > p:first-child {
    margin: 0 0 24px !important;

    color: #3179c8;

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

    letter-spacing: .12em;
}


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

.settar-work-card h3 {
    margin: 0 0 16px !important;
    padding: 0 !important;

    background: none !important;

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

    color: #07172f;

    font-size: clamp(21px, 1.8vw, 28px);
    line-height: 1.35;

    font-weight: 800;
    letter-spacing: -.02em;
}

.settar-work-card h3::before,
.settar-work-card h3::after {
    content: none !important;
    display: none !important;
}


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

.settar-work-card p {
    margin: 0 0 16px !important;

    color: #5b6575;

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


/* =========================
   SUPPORT AREA TAG
========================= */

.settar-work-card p:last-child {
    margin-top: auto !important;
    margin-bottom: 0 !important;

    color: #3179c8;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.6;
    letter-spacing: .04em;
}


/* =========================
   CARD DIFFERENCE
========================= */

.settar-work-01 {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f9fbff 100%
        );
}

.settar-work-02 {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfcff 100%
        );
}

.settar-work-03 {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fafbfe 100%
        );
}


/* =========================
   WORKS CTA
========================= */

.settar-works-link {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

.settar-works-link
.wp-block-button__link {
    display: inline-flex !important;

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

    gap: 10px;

    min-height: 46px;

    padding:
        11px
        20px !important;

    border: 0 !important;
    border-radius: 999px !important;

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

    box-shadow:
        0 8px 18px rgba(7, 23, 47, .12);

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

    text-decoration: none !important;

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

.settar-works-link
.wp-block-button__link:hover {
    transform: translateY(-2px);

    background: #0a2146 !important;

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


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

@media (max-width: 768px) {

    .settar-works {
        padding:
            0
            18px
            32px;
    }

    .settar-works > p:first-child {
        margin-bottom: 12px !important;
    }

    .settar-works > h2 {
        margin-bottom: 18px !important;
    }

    .settar-works > h2 + p {
        margin-bottom: 30px !important;

        font-size: 16px;
    }

    .settar-works
    > .wp-block-columns {
        flex-direction: column !important;

        gap: 18px !important;

        margin: 0 !important;
    }

    .settar-works
    .wp-block-column {
        width: 100% !important;

        flex-basis: 100% !important;
    }

    .settar-work-card {
        min-height: auto;

        padding:
            28px
            24px;

        border-radius: 20px;
    }
}