/*
 * SETTAR WHY
 * WHY SETTAR / 3 reasons
 * v3 - Unified Section Spacing
 */


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

.settar-why {
    position: relative;

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

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

    padding:
        52px
        clamp(20px, 4vw, 48px)
        96px;
}


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

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

    color: #3179c8;

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

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


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

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

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

    background: transparent !important;
    background-color: 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;
}


/* Arkhe標準装飾を無効化 */

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


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

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

    margin: 0 0 42px !important;

    color: #5b6575;

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


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

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

    margin: 0 !important;

    align-items: stretch !important;
}

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


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

.settar-why-card {
    position: relative;

    width: 100%;
    height: 100%;

    min-height: 320px;

    padding:
        36px
        30px;

    overflow: hidden;

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

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfcfe 100%
        );

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

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


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

.settar-why-card:hover {
    transform: translateY(-5px);

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

    box-shadow:
        0 20px 48px rgba(7, 23, 47, .10);
}


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

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

    color: #3179c8;

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

    letter-spacing: .12em;
}


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

.settar-why-card h3 {
    position: relative;

    margin: 0 0 20px !important;

    padding:
        0
        0
        20px !important;

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

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

    color: #07172f;

    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.35;

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


/* Arkhe標準装飾を無効化 */

.settar-why-card h3::before {
    content: none !important;
    display: none !important;
}


/* アクセントライン */

.settar-why-card h3::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 42px;
    height: 3px;

    border-radius: 999px;

    background: #3179c8;

    transition:
        width .28s ease;
}


/* ホバー */

.settar-why-card:hover h3::after {
    width: 90px;
}


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

.settar-why-card p:last-child {
    margin: 0 !important;

    color: #5b6575;

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


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

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

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

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


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

@media (max-width: 768px) {

    .settar-why {
        padding:
            40px
            18px
            72px;
    }

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

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

    .settar-why > h2 + p {
        margin-bottom: 32px !important;

        font-size: 16px;
    }

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

        gap: 18px !important;
    }

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

        flex-basis: 100% !important;
    }

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

        padding:
            30px
            24px;

        border-radius: 20px;
    }

    .settar-why-card > p:first-child {
        margin-bottom: 26px !important;
    }

    .settar-why-card h3 {
        font-size: 24px;
    }

    .settar-why-card:hover h3::after {
        width: 76px;
    }
}