/*========================================================
ファイル名：feature.css
内容：Feature（PC画像／SP読みやすいカード）
========================================================*/
.feature {
    padding: 20px 0 35px;
    background: #fff;
}

.feature-image {
    margin-top: 15px;
    text-align: center;
}

.feature-image img {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

.feature-pc {
    display: block;
}

.feature-mobile {
    display: none;
}

@media (max-width: 768px) {
    .feature {
        padding: 20px 0 28px;
    }

    .feature-pc {
        display: none;
    }

    .feature-mobile {
        display: block;
    }

    .feature-mobile-heading {
        margin-bottom: 16px;
        text-align: center;
    }

    .feature-mobile-heading h2 {
        margin: 0 0 14px;
        color: #111827;
        font-size: clamp(1.55rem, 6.8vw, 2rem);
        font-weight: 800;
        line-height: 1.4;
    }

    .feature-mobile-heading h2 span,
    .feature-mobile-heading strong {
        color: #0b4eb1;
    }

    .feature-mobile-heading p {
        margin: 0;
        padding: 16px 13px;
        color: #17243a;
        background: #f3f7ff;
        border: 1px solid #cfe0fa;
        border-radius: 14px;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.75;
    }

    .feature-core-card {
        display: grid;
        grid-template-columns: 105px 1fr;
        align-items: center;
        gap: 15px;
        margin-bottom: 14px;
        padding: 20px 16px;
        color: #fff;
        background: linear-gradient(135deg, #0847a5, #002f83);
        border-radius: 16px;
        box-shadow: 0 7px 18px rgba(4, 54, 139, .22);
    }

    .feature-core-icon {
        display: grid;
        place-items: center;
        width: 96px;
        height: 96px;
        color: #0b4eb1;
        background: #fff;
        border-radius: 50%;
        font-size: 3rem;
    }

    .feature-core-card h3 {
        margin: 0 0 9px;
        padding-bottom: 8px;
        border-bottom: 2px solid rgba(255, 255, 255, .65);
        font-size: 1.55rem;
        font-weight: 800;
    }

    .feature-core-card h3 small {
        font-size: .8rem;
    }

    .feature-core-card p {
        margin: 0;
        font-size: .96rem;
        font-weight: 700;
        line-height: 1.65;
    }

    .feature-mobile-functions {
        display: grid;
        gap: 12px;
    }

    .feature-mobile-card {
        display: grid;
        grid-template-columns: 86px 1fr;
        align-items: center;
        gap: 15px;
        min-height: 124px;
        padding: 16px;
        background: #fff;
        border: 1px solid #e1e6ed;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(23, 51, 88, .09);
    }

    .feature-mobile-card > span {
        display: grid;
        place-items: center;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        font-size: 2.55rem;
    }

    .feature-mobile-card h3 {
        margin: 0 0 7px;
        font-size: 1.35rem;
        font-weight: 800;
    }

    .feature-mobile-card p {
        margin: 0;
        color: #18243a;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.55;
    }

    .feature-mobile-card--purchase > span,
    .feature-mobile-card--purchase h3 { color: #f36a00; }
    .feature-mobile-card--purchase > span { background: #fff0e5; }

    .feature-mobile-card--production > span,
    .feature-mobile-card--production h3 { color: #087a24; }
    .feature-mobile-card--production > span { background: #edf8ee; }

    .feature-mobile-card--shipping > span,
    .feature-mobile-card--shipping h3 { color: #0b4a9f; }
    .feature-mobile-card--shipping > span { background: #edf4ff; }

    .feature-mobile-card--cost > span,
    .feature-mobile-card--cost h3 { color: #6735a5; }
    .feature-mobile-card--cost > span { background: #f3edfb; }

    .feature-benefits {
        margin-top: 15px;
        padding: 15px 10px 10px;
        background: #fff7df;
        border-radius: 15px;
    }

    .feature-benefits > h3 {
        margin: 0 0 12px;
        color: #0b3d78;
        font-size: 1.15rem;
        font-weight: 800;
        text-align: center;
    }

    .feature-benefits-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .feature-benefits-grid > div {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 72px;
        padding: 10px;
        color: #0b3d78;
        background: #fff;
        border-radius: 11px;
        box-shadow: 0 3px 9px rgba(74, 58, 17, .08);
    }

    .feature-benefits-grid i {
        flex: 0 0 auto;
        font-size: 1.8rem;
    }

    .feature-benefits-grid strong {
        font-size: .91rem;
        line-height: 1.35;
    }

    .feature-mobile-closing {
        display: block;
        margin-top: 15px;
        padding: 17px 15px;
        color: #fff;
        background: linear-gradient(135deg, #063e9e, #002b73);
        border-radius: 15px;
    }

    .feature-mobile-closing > i {
        display: none;
    }

    .feature-mobile-closing p {
        margin: 0;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.65;
        text-align: center;
    }

    .feature-mobile-closing p span {
        display: block;
        white-space: nowrap;
    }
}

@media (max-width: 380px) {
    .feature-core-card {
        grid-template-columns: 82px 1fr;
        gap: 11px;
        padding: 17px 13px;
    }

    .feature-core-icon {
        width: 78px;
        height: 78px;
        font-size: 2.4rem;
    }

    .feature-core-card h3 {
        font-size: 1.3rem;
    }

    .feature-mobile-card {
        grid-template-columns: 72px 1fr;
        gap: 11px;
        padding: 14px 12px;
    }

    .feature-mobile-card > span {
        width: 68px;
        height: 68px;
        font-size: 2.15rem;
    }

    .feature-benefits-grid strong {
        font-size: .82rem;
    }
}
