@charset "UTF-8";

/*history/index.html*/
.c-list__item:has(div.button_history) {
    position: relative;
}

.button_history {
    position: absolute;
    top: 0;
    right: 0;
}

/*edm_unitsの「〇万台」画像*/
#edm_units_70000 .c-headingLv3 {
    background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm70000s.jpg);
}

#edm_units_60000 .c-headingLv3 {
    background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm60000s.jpg);
}

#edm_units_50000 .c-headingLv3 {
    background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm50000s.jpg);
}

#edm_units_40000 .c-headingLv3 {
    background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm40000s.jpg);
}

#edm_units_30000 .c-headingLv3 {
    background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm30000s.jpg);
}

#edm_units_20000 .c-headingLv3 {
    background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm20000s.jpg);
}

#edm_units_10000 .c-headingLv3 {
    background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm10000s.jpg);
}

#edm_units_70000 .c-headingLv3,
#edm_units_60000 .c-headingLv3,
#edm_units_50000 .c-headingLv3,
#edm_units_40000 .c-headingLv3,
#edm_units_30000 .c-headingLv3,
#edm_units_20000 .c-headingLv3,
#edm_units_10000 .c-headingLv3 {
    background-repeat: no-repeat;
    background-position: left bottom;
    min-height: 100px;
}

.meswp-history_index .c-list__item:not(:first-child) {
    border-top: 1px solid #e8e8e8;
}

@media only screen and (max-width: 768px) {
    .c-list__item:has(div.button_history) {
        position: unset;
    }

    .button_history {
        position: unset;
    }

    .button_history .c-btn {
        display: block;
        margin-top: 1em;
        margin-bottom: 1em;
    }

    #edm_units_70000 .c-headingLv3,
    #edm_units_60000 .c-headingLv3,
    #edm_units_50000 .c-headingLv3,
    #edm_units_40000 .c-headingLv3,
    #edm_units_30000 .c-headingLv3,
    #edm_units_20000 .c-headingLv3,
    #edm_units_10000 .c-headingLv3 {
        background-image: none;
        min-height: fit-content;
    }

    #edm_units_70000 .edm_units_contents {
        background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm70000s.jpg);
    }

    #edm_units_60000 .edm_units_contents {
        background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm60000s.jpg);
    }

    #edm_units_50000 .edm_units_contents {
        background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm50000s.jpg);
    }

    #edm_units_40000 .edm_units_contents {
        background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm40000s.jpg);
    }

    #edm_units_30000 .edm_units_contents {
        background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm30000s.jpg);
    }

    #edm_units_20000 .edm_units_contents {
        background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm20000s.jpg);
    }

    #edm_units_10000 .edm_units_contents {
        background-image: url(/fa/products/mecha/edm/pmerit/history/img/history_edm10000s.jpg);
    }

    #edm_units_70000 .edm_units_contents,
    #edm_units_60000 .edm_units_contents,
    #edm_units_50000 .edm_units_contents,
    #edm_units_40000 .edm_units_contents,
    #edm_units_30000 .edm_units_contents,
    #edm_units_20000 .edm_units_contents,
    #edm_units_10000 .edm_units_contents {
        background-repeat: no-repeat;
        background-position: left center;
        display: flex;
        min-height: 70px;
    }

    .edm_units_contents .edm_units_contents_text {
        margin-left: 75px;
        align-self: center;
    }
}


/*history/wire.html,history/nc.html*/
.meswp-history_wire_hr,
.meswp-history_nc_hr {
    border:3px solid #C60000;
}

