/* ISA-講座大-ヒーロータイトル（最小版） */
.isa-course-hero{
    --text:#1f2937; --maxw:776px;
    color:var(--text);
    box-sizing:border-box;
}
.isa-course-hero .ich-inner{
    padding: 100px 0 0;
    max-width:var(--maxw);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ★ 左寄せ */
}

.isa-course-hero .ich-heading{ margin:0 0 24px; }
.isa-course-hero .ich-heading-text {
    font-weight: 700;
    line-height: 1.2;
    font-size: 26px;
    letter-spacing: .05em;
    margin-left: 130px;
}

/* テーマカラー帯（下に太いバー） */
.isa-course-hero .ich-band {
    position: relative;
    background: #fff;

    /* ★ ここを強めに指定 */
    display: inline-block;
    width: fit-content;
    max-width: 100%;

    padding: 10px 20px;
    margin-left: 130px;
    margin-right: auto;  /* ★ 右側を自動にして「テキストぶん」で止める */
    margin-top: 14px;
}

.isa-course-hero .ich-band::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-10px;
    height:10px;
    background:var(--theme);
}
/* 帯タイトルの書体をヒラギノ角ゴに固定（Mac優先、他は日本語Sansにフォールバック） */
.isa-course-hero .ich-band-text{
    display:block;
    font-weight:800;
    font-size:45px;
    line-height:0.7;
    letter-spacing: 0.9px;
    color:var(--theme);

    /* ← 追加 */
    font-family:
            "Hiragino Sans W7",
            "ヒラギノ角ゴ Std W7",
            "Hiragino Kaku Gothic StdN W7",
            "Hiragino Kaku Gothic ProN W6", /* W7が無い環境向け近似 */
            "Hiragino Sans",
            "Noto Sans JP",
            "Yu Gothic Medium",
            "Yu Gothic",
            Meiryo,
            sans-serif;

    /* 任意：レンダリングを少し綺麗に（WebKit系） */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.isa-course-hero .ich-inner{
    display: flex;
    flex-direction: column;
}
.isa-course-hero .ich-heading{ order: 0; }
.isa-course-hero .ich-band{    order: 1; }


@media (max-width:1024px){
    .isa-course-hero .ich-inner{
        display: flex;
        flex-direction: column;
    }
    .isa-course-hero .ich-heading{ order: 2; }
    .isa-course-hero .ich-band{    order: 1; }
    .isa-course-hero .ich-band {
        border-width: unset;
        padding-left: 10px;
        margin-right: 25%;
        margin-left: 7vw;
    }
    .isa-course-hero .ich-band {
        margin-left: 8vw;   /* SPはこれ */
        margin-right: auto;
        padding: clamp(7px, 1vw, 19px);
    }

    /* 文字サイズを可変（最大は元のpx） */
    .isa-course-hero .ich-band-text {
        font-size: clamp(16px, 4vw, 64px);
    }

    .isa-course-hero .ich-inner{ padding-top: 0px; }

    .isa-course-hero {
        --text: #1f2937;
        --maxw: unset;
        color: var(--text);
        box-sizing: border-box;
    }
    .isa-course-hero .ich-heading-text {
        margin-top: clamp(9px, 3vw, 27px);
        font-weight: 700;
        line-height: 1.6;
        font-size: clamp(13px, 3vw, 30px);
        letter-spacing: 1px;
        margin-left: 8vw;
        margin-right: 0%;
        text-align: left;
    }
    .isa-course-hero .ich-band::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -5px;
        height: 5px;
        background: var(--theme);
    }
    .isa-course-hero .ich-heading {
        margin: 0px 0 0px;
    }

}
