/* ===== ISA-講座小-特長＋実績 ===== */
.isa-features-with-badges{
    --isa-theme: #db6a76;              /* PHPから上書き */
    --bg-logo: none;
    --maxw: 1120px;
    color: #1f2937;
    position: relative;
    overflow: hidden;
}

/* 右上の背景ロゴ（薄く大きく） */
.isa-features-with-badges::after{
    content: "";
    position: absolute;
    right: 6%;
    top: 0%;
    width: 217px;
    height: 230px;
    background-image: var(--bg-logo);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
    pointer-events: none;
}

.ifwb__inner{
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 90px 0px 24px;
    text-align: center;
}

/* ==== ミニタイトル（既存スタイルを踏襲） ==== */
.istm__title{
    font-size: 31px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 28px;
    letter-spacing: .02em;
}
.istm__title .isa-accent{ color: var(--isa-theme); }

.istm__bar{
    width: 500px;
    height: 6px;
    background: var(--isa-theme);
    margin: 0 auto 22px;
}

.istm__lead{
    font-size: 17px;
    line-height: 1.9;
    max-width: 980px;
    margin: 0 auto 30px;
    color: #111;
    text-align: left;
}
.istm__lead p{ margin: 0 0 1em; }

/* ==== 特長 3カラム ==== */
.ifwb__grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    text-align: left;
    margin-top: 80px;
    padding: 0 20px;
}

.ifwb__head{
    display:flex; align-items:center; gap: 14px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
}


.ifwb__title{ display:inline-block; }

.ifwb__underline{
    height: 1px;
    background: var(--isa-theme);
    width: 100%;
    margin: 10px 0 14px;
    border-radius: 2px;
}

.ifwb__text{
    font-size: 14px;
    line-height: 1.5;
    color:#2b2b2b;
}

/* ==== 下部バッジ ==== */
.ifwb__badges{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    margin: 42px 0 20px
}
.ifwb__badge img{
    display:block;
    max-width: 100%;
    max-height: 127px;
    height:auto;
}

/* アイコンは currentColor で着色 → テーマ色になる */
.ifwb__icon{
    color: var(--isa-theme);
    display:inline-flex;
    line-height:0;
}
.ifwb__icon svg{
    width: auto;
    height: 39px;
    display:block;
    stroke: currentColor;
    fill: none;                 /* ← ここでまずsvg自体を無塗り */
}
.ifwb__icon svg *{
    fill: none !important;      /* ← 子要素のどこかに fill があっても打ち消す */
}


/* ==== レスポンシブ ==== */

@media (max-width: 1024px){
    .ifwb__title {
        display: inline-block;
        margin-bottom: 7px;
    }
    .istm__bar {
        width: 92%;
        height: 6px;
        background: var(--isa-theme);
        margin: 0 auto 22px;
    }
    .ifwb__underline {
        height: 1px;
        background: var(--isa-theme);
        width: 100%;
        margin: 10px 0 20px;
        border-radius: 2px;
    }
    .ifwb__inner {
        max-width: var(--maxw);
        margin: 0 auto;
        padding: 0 0 2.5rem;
        text-align: center;
    }
    .ifwb__grid {
        display: flex;
        flex-direction: column;
        gap: 28px;
        text-align: left;
        margin-top: 2.5rem;
        padding: 0 20px;
    }

    /* タイトル：最大34px据え置き */
    .ifwb__inner .istm__title {
        font-size: clamp(22px, 2.2vw + 12px, 34px);
        font-weight: 700;
        line-height: 1.3;
        margin: 21px 48px 28px;
        letter-spacing: .02em;
    }

    /* 見出し：最大34px据え置き */
    .ifwb__head {
        display: flex;
        align-items: center;
        gap: 9px;
        font-weight: 700;
        font-size: clamp(20px, 1.6vw + 12px, 32px);
        line-height: 1.2;
    }

    .ifwb__icon svg {
        width: 120%;
        height: 120%;
        display: block;
        stroke: currentColor;
        fill: none;
    }

    /* 本文：最大28px据え置き */
    .ifwb__text {
        font-size: clamp(16px, 1vw + 10px, 28px);
        line-height: 1.5;
        color: #2b2b2b;
    }
    ifwb__badges {
        display: none;
    }
    .isa-features-with-badges::after {
        right: 3%;
        top: 1.3%;
        width: 34%;
    }
    .ifwb__badges {
        display: none;
    }
}


