/* CSS Document /
/government/comm/future027.asp */

/* --- Base Elements --- */
em {
    color: #e00c39;
    font-weight: bold;
    font-style: normal;
}

/* 章見出し original */
#scrl3 h3 {
    margin: 0;
    padding: 8px 0 8px 10px;
    border: 2px solid #ccc;
    position: relative;
    display: flex;
    align-items: center;
    gap: min(calc(16 / 390 * 100vw), 16px);
    max-width: 480px;
    .sub_title {
        color: #666;
        font-size: min(calc(12 / 390 * 100vw), 12px);
        font-weight: 700;
        line-height: 1.25;
        font-feature-settings: "palt";
    }
    .main_title {
        color: #e00c39;
        font-size: min(calc(16 / 390 * 100vw), 16px);
        font-weight: 700;
        line-height: 1.25;
        position: relative;
        width: auto;
        flex: 1;
        padding-right: 70px;
        &::before {
            content: "";
            position: absolute;
            width: 64px;
            aspect-ratio: 1 / 1;
            right: 0;
            bottom: -20px;
            background: url("/web/jp/government/images/comm/future027/img03_01.svg") no-repeat center / contain;
            pointer-events: none;
        }
    }
    &.img02 .main_title {
        &::before {
            background: url("/web/jp/government/images/comm/future027/img03_02.svg") no-repeat center / contain;
        }
    }
    &.img03 .main_title {
        &::before {
            background: url("/web/jp/government/images/comm/future027/img03_03.svg") no-repeat center / contain;
        }
    }
}
@media (min-width: 860px) {
    #scrl3 h3 {
        margin: 0;
        padding: 12px 10px 12px 20px;
        gap: 32px;
        .main_title {
            font-size: 20px;
            padding-right: 100px;
            &::before {
                width: 96px;
                bottom: -24px;
            }
        }
    }
}