/* Component: C410.0C Redesigned Image - v4 Final Fix (Border Strategy) */
@media screen and (min-width: 60em) {

    /* 1. 親要素（コンポーネント枠・figure）の高さ固定を強制解除 */
    /* これがないと、中身が増えても表示領域が広がりません */
    html body .c_029.VLP_Redesigned_c_029,
    html body .c_029.VLP_Redesigned_c_029 figure {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important; /* はみ出した余白を見えるようにする */
        margin-bottom: 0 !important;  /* 二重余白防止 */
    }

    /* 2. 画像の下に「透明な下線」を引いて隙間を作る */
    html body .c_029.VLP_Redesigned_c_029 picture img {
        /* 要素の計算方法を変更：borderの太さを高さに「足す」設定 */
        box-sizing: content-box !important; 
        
        /* 4pxの透明な下線を引く（これが隙間になります） */
        border-bottom: 4px solid transparent !important;
        
        /* 画像の表示リセット */
        display: block !important;
        width: 100% !important;
        height: auto !important;
        
        /* 念のため他の余白は削除 */
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 3. no-gutter（グリッド）内の念押し指定 */
    html body .grid-row.no-gutter .col-6 .c_029.VLP_Redesigned_c_029 picture img {
        border-bottom: 4px solid transparent !important;
        box-sizing: content-box !important;
    }
}

/* 1. 親要素の設定 */
.heliostext .c_001 .container-inner {
    position: relative !important;  /* 線の位置決めの基準にする */
    border-left: none !important;   /* 以前のborder指定があれば消す */
    padding-left: 40px !important;  /* テキストとの余白 */
    box-sizing: border-box;
}

/* 2. 線の描画設定（細く・長さを調整） */
.heliostext .c_001 .container-inner::before {
    content: "";
    position: absolute;      /* 絶対配置 */
    left: 0;
    
    /* ▼▼ 線を細くしました（3px → 1px） ▼▼ */
    width: 1px;              
    background-color: #000;  /* 線の色 */
    
    /* ▼▼ 長さの調整（天地をカットする量） ▼▼ */
    /* 文字の高さに合うよう、数値を微調整してください */
    top: 5px;      /* 上端を5px削る */
    bottom: 99px;   /* 下端を5px削る */
}

/* 2文字分の継ぎ目のない罫線を描画 */
.heliostext .long-dash {
    display: inline-block;       /* 幅と高さを持たせる */
    width: 2em;                  /* 全角2文字分の長さ */
    height: 1px;                 /* 線の太さ（横棒も1pxに合わせると綺麗です） */
    background-color: currentColor; /* 親の文字色と同じ色にする */
    vertical-align: middle;      /* 文字の高さの真ん中に配置 */
    
    /* 微調整 */
    position: relative;
    top: -2px; 
}

/* --- スマホ表示時の調整 --- */
@media screen and (max-width: 767px) {

    /* 1. 全体の余白調整 */
    .heliostext .c_001 .container-inner {
        padding-left: 20px !important;  /* 左の余白を減らす */
        padding-right: 15px !important; /* 右の余白確保 */
    }

    /* 2. 見出しの文字サイズを小さくする */
    .heliostext .heading-group h2,
    .heliostext .heading-group h2 span {
        font-size: 22px !important;
        line-height: 1.4 !important;
        word-break: normal !important;
    }

    /* 3. 本文の文字サイズと行間の調整 */
    .heliostext .style3-inner p,
    .heliostext .style3-inner p span {
        font-size: 14px !important;
        text-align: left !important;
    }

    /* 4. スマホ用：縦線の長さ微調整 */
    .heliostext .c_001 .container-inner::before {
        top: 5px; 
        bottom: 90px; 
    }
}

/* c_154 アコーディオンコンポーネントの下部余白を削除 */
.c_154.accordion,
.c_154.VLP_Redesigned_c_154 {
    margin-bottom: 0 !important;
}