@charset "UTF-8";

.mb-3em {
    margin-bottom: 3em;
}

/* 事例カード全体 */
.usecase-card {
    /* background: #fffdf7; */
    border: 1px solid #26854c;
    /* border-radius: 24px; */
    padding: 48px;
    margin-bottom: 60px;
    box-shadow: 0 12px 32px rgba(39, 51, 89, 0.08);
}

/* 会社名エリア */
.usecase-card__head {
    text-align: center;
    margin-bottom: 40px;
}

.usecase-card__label {
    margin-bottom: 2em;
    padding: 20px 22px;
    background: #26854c;
    color: #fff;
    font-size: 1.7em;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(79, 155, 45, 0.22);
}

.usecase-card__title {
    margin: 0;
    color: #1d2d50 !important;
    font-size: 1.6em !important;
    line-height: 1.45;
    font-weight: 700;
}

/* 期待・成果の2カラム */
.usecase-card__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 36px;
}

.usecase-card__item {
    border: 1px solid #ece3cc;
    /* border-radius: 24px; */
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(29, 45, 80, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usecase-card__image {
    width: 100%;
    display: block;
    /* object-fit: cover; */
}

.usecase-card__body {
    padding: 28px;
}

.usecase-card__heading {
    margin: 0 0 18px;
    padding-left: 14px;
    border-left: 6px solid #d63b31;
    color: #1d2d50;
    font-size: 2rem;
    line-height: 1.6;
    font-weight: 700;
}

.usecase-card__name {
    display: inline-block;
    margin-bottom: 12px;
    color: #1d2d50;
    line-height: 1.8;
    font-weight: 700;
}

.usecase-card__lead {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff1e8;
    color: #d63b31;
    font-size: 0.8em;
    line-height: 1.4;
    font-weight: 700;
}

.usecase-card__text {
    margin: 0;
    color: #4b5563;
    font-size: 1.5rem;
    line-height: 2;
}

/* KY活動ボックス */
.usecase-card__ky {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 36px;
    padding: 28px 32px;
    /* border-radius: 24px; */
    border: 1px solid #26854c;
}

.usecase-card__ky-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #d63b31;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(214, 59, 49, 0.28);
}

.usecase-card__ky-body {
    flex: 1;
}

.usecase-card__ky-title {
    margin: 0 0 12px;
    color: #d63b31;
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 700;
}

.usecase-card__ky-text {
    margin: 0;
    color: #4b5563;
    font-size: 1.5rem;
    line-height: 2;
}

/* 下部 */
.usecase-card__foot {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.usecase-card__foot-text {
    margin: 0 0 24px;
    color: #4b5563;
    font-size: 1.5rem;
    line-height: 2;
}

/* CTAボタン */
.usecase-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 320px;
    padding: 18px 32px;
    border-radius: 999px;
    background: #ffd21e;
    color: #1d2d50;
    font-size: 1.6rem;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(255, 210, 30, 0.35);
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.usecase-card__button:hover {
    background: #f0b800;
    box-shadow: 0 18px 34px rgba(240, 184, 0, 0.42);
}

.usecase-card__button-icon {
    transition: transform 0.3s ease;
}

.usecase-card__button:hover .usecase-card__button-icon {
    transform: translateX(4px);
}

@media(767px < width) {
    .usecase-card__flex {
        display: flex;
    }

    .usecase-card__flex_box {
        width: 50%;
    }

    .usecase-card__flex_image {
        width: 70%;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 2em;
    }
}

/* ===== タブレット ===== */
@media screen and (max-width: 1024px) {
    .usecase-card {
        padding: 40px 32px;
    }

    .usecase-card__grid {
        gap: 24px;
    }

    .usecase-card__title {
        font-size: 1.7em !important;
        color: #000 !important;
    }
}

/* ===== SP ===== */
@media screen and (max-width: 767px) {
    .usecase-card {
        padding: 28px 20px;
        margin-bottom: 40px;
    }

    .usecase-card__head {
        margin-bottom: 28px;
    }

    .usecase-card__label {
        padding: 8px 16px;
        margin-bottom: 14px;
    }

    .usecase-card__title {
        font-size: 1.5em;
        line-height: 1.4;
    }

    .usecase-card__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 28px;
    }


    .usecase-card__body {
        padding: 20px;
    }

    .usecase-card__heading {
        font-size: 1.6em;
        padding-left: 12px;
    }

    .usecase-card__text,
    .usecase-card__ky-text,
    .usecase-card__foot-text {
        font-size: 1.4rem;
        line-height: 1.9;
    }

    .usecase-card__ky {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        margin-bottom: 28px;
    }

    .usecase-card__ky-icon {
        width: 48px;
        height: 48px;
    }

    .usecase-card__ky-title {
        font-size: 1.7em;
    }

    .usecase-card__button {
        width: 100%;
        min-width: 0;
        padding: 16px 20px;
        font-size: 1.5em;
    }
}
