@charset "utf-8";

/* ------------------------------------------------------------
PC
------------------------------------------------------------ */

/* ----title----*/
#contents .work .title {
    padding: 80px 0;
    text-align: center;
}

#contents .work.product .title {
    background: url(../img/work/bg_product.jpg) 0 -60px no-repeat;
    background-attachment: fixed;
}

#contents .work.driver .title {
    background: url(../img/work/bg_driver.jpg) -500px -10px no-repeat;
    background-attachment: fixed;
}

#contents .work.sorting .title {
    background: url(../img/work/bg_sort.jpg) -500px -10px no-repeat;
    background-attachment: fixed;
}

#contents .work .title h1 {
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    text-shadow: 0px 2px 4px rgba(54, 54, 54, 0.94);
}

/* ----swich----*/
#contents .work .swich {
    padding: 40px 0;
    background: #fbf5f6;
}

#contents .work .swich ul {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-flow: wrap;
    gap: 2%;
}

#contents .work .swich ul li {
    text-align: center;
    width: 23.5%;
    border-radius: 5px;
}

#contents .work .swich ul li a {
    display: block;
}


#contents .work .swich ul li.on {
    border: 1px solid #e03652;
    background: #fff;
    color: #e03652;
    box-sizing: border-box;
    padding: 22px 0 20px;
    font-size: 15px;
}

#contents .work .swich ul li.off {
    background: #e03652;
    color: #fff;
    display: table;
    position: relative;
}

#contents .work .swich ul li.off a {
    color: #fff;
    border-radius: 5px;
    padding: 22px 0 20px;
    text-decoration: none;
    font-size: 15px;
}

#contents .work .swich ul li.off:after {
    position: absolute;
    top: 50%;
    right: 1em;
    width: 0.5em;
    height: 0.5em;
    transform: translateY(-50%) rotate(45deg);
    border-right: 1px solid currentColor;
    border-top: 1px solid currentColor;
    content: "";
}


#contents .work .swich ul li.off a:hover {
    background: #b40b26;
    transition: 0.5s;
    color: #fff;
}

/* ----main----*/
#contents .work .main {
    width: 1000px;
    margin: 60px auto 90px;
}

#contents .work .main h2 {
    color: #e03652;
    font-size: 30px;
    font-weight: bold;
    border-bottom: 1px solid #e03652;
    padding: 0 0 8px;
    margin: 0 0 30px;
}

#contents .work .main img {
    width: 100%;
}

#contents .work .main h3 {
    color: #222;
    font-size: 22px;
    font-weight: bold;
    margin: 40px 0 10px;
    line-height: 35px;
    letter-spacing: 1px;
}

#contents .work .main p {
    line-height: 1.8;
}

/* ----step----*/
#contents .work .step {
    width: 1000px;
    margin: 60px auto 120px;
}

#contents .work .step h4,
#contents .work .txt_area h4,
#contents .work .txt_wide h4,
#contents .work .img_area h4 {
    color: #e03652;
    font-size: 22px;
    font-weight: bold;
    border-bottom: 1px solid #e03652;
    margin: 0 0 30px;
    line-height: 1.8rem;
}

#contents .work .step ul {
    width: 930px;
    margin: 0 auto;
}

#contents .work .step ul li {
    overflow: hidden;
    margin: 0 0 40px;

}

#contents .work .step ul li img {
    width: 350px;
    float: left;
    margin: 0 50px 0 0;
}

#contents .work .step ul li dl {
    float: right;
    width: 530px;
    padding: 50px 0 0;
    line-height: 2.0rem;
}


#contents .work .step ul li:nth-child(2) dl {
    padding: 30px 0 0;
}

#contents .work .step.two ul li:nth-child(1) dl {
    padding: 30px 0 0;
}
#contents .work .step ul li dl.padding_none{
    padding: 0;
}

#contents .work .step ul li dl dt {
    font-weight: bold;
}

#contents .work .step .step2 li dl {
    padding: 25px 0 0;
}


/* ----txt_area----*/
#contents .work .txt_area {
    width: 1000px;
    margin: 60px auto 120px;
    overflow: hidden;
}

#contents .work .txt_area p {
    width: 550px;
    float: left;
    line-height: 1.8;
    margin: 0 30px 0 0;
}

#contents .work .txt_area img {
    width: 400px;
    float: left;
}

/* ----txt_wide----*/
#contents .work .txt_wide {
    width: 1000px;
    margin: 60px auto 120px;
}

#contents .work .txt_wide ul {
    margin: 0 0 40px;
}

#contents .work .txt_wide ul li,
#contents .work .txt_wide p {
    line-height: 1.8;
}

#contents .work .txt_wide h5 {
    font-weight: bold;
    font-size: 18px;
    margin: 0 0 10px;
}

/* ----img_area----*/
#contents .work .img_area {
    width: 1000px;
    margin: 60px auto 120px;
}

#contents .work .img_area .wrap {
    overflow: hidden;
}

#contents .work .img_area .txt {
    width: 530px;
    float: left;
}

#contents .work .img_area img {
    width: 450px;
    float: left;
}

#contents .work .img_area dl {
    margin: 0 0 30px;
}

#contents .work .img_area dt {
    font-weight: bold;
    font-size: 18px;
    line-height: 2.0rem;
}

#contents .work .img_area dd {
    line-height: 1.8rem;
    padding: 0 0 0 20px;
}


/* ------------------------------------------------------------
SP
------------------------------------------------------------ */

@media only screen and (max-width: 767px) {

    /* ----title----*/
    #contents .work .title {
        padding: 60px 0;
    }

    #contents .work.product .title {
        background: url(../img/work/sp_product.jpg) 0 0 no-repeat;
        background-size: 100% auto;
        background-attachment: fixed;
    }

    #contents .work.driver .title {
        background: url(../img/work/sp_driver.jpg) 0 0 no-repeat;
        background-size: 100% auto;
    }

    #contents .work .title h1 {
        font-size: 30px;

    }

    /* ----swich----*/
    #contents .work .swich {
        padding: 20px 0;
    }

    #contents .work .swich ul {
        width: 90%;
        display: block;
    }

    #contents .work .swich ul li {
        width: 100%;
        margin: 0 0 20px 0;
    }

    #contents .work .swich ul li:last-child {
        margin: 0;
    }

    /* ----main----*/
    #contents .work .main {
        width: 90%;
        margin: 60px auto;
    }

    #contents .work .main h2 {
        font-size: 24px;
        line-height: 32px;
    }

    #contents .work.driver .main h2 {
        font-size: 20px;
        line-height: 28px;
    }

    #contents .work .main h3 {
        font-size: 20px;
        line-height: 1.8;
        margin: 20px 0 10px;

    }

    #contents .work .step h4,
    #contents .work .txt_area h4,
    #contents .work .txt_wide h4,
    #contents .work .img_area h4 {
        font-size: 20px;
        padding: 0 0 2px;
        margin: 0 0 10px;
        line-height: 1.4;
    }

    #contents .work .step .step2 li dl {
        padding: 10px 0 0;

    }

    /* ----step----*/
    #contents .work .step {
        width: 90%;
        margin: 60px auto;
    }

    #contents .work .step ul {
        width: 100%;
    }

    #contents .work .step ul li {
        margin: 0 0 60px;
    }

    #contents .work .step ul li img {
        width: 90%;
        float: none;
        margin: 20px auto 0;
        display: block;
    }

    #contents .work .step ul li dl,
    #contents .work .step ul li:nth-child(2) dl {
        float: none;
        width: 100%;
        padding: 0;
        line-height: 1.8;
    }

    #contents .work .step ul li dl br {
        display: none;
    }
    #contents .work .step ul li dl br.important {
        display: block;
    }

    /* ----txt_area----*/

    #contents .work .txt_area {
        width: 90%;
        margin: 60px auto 120px;
        overflow: hidden;
    }

    #contents .work .txt_area p {
        width: 100%;
        float: none;
        margin: 0;
    }

    #contents .work .txt_area p br {
        display: none;
    }

    #contents .work .txt_area img {
        width: 90%;
        float: none;
        margin: 20px auto 0;
        display: block;
    }

    /* ----txt_wide----*/
    #contents .work .txt_wide {
        width: 90%;
        margin: 60px auto;
    }

    #contents .work .txt_wide ul li {
        margin-left: 1em;
        text-indent: -1em;
    }

    /* ----img_area----*/
    #contents .work .img_area {
        width: 90%;
        margin: 60px auto;
    }

    #contents .work .img_area .txt {
        width: 100%;
        float: none;
    }

    #contents .work .img_area img {
        width: 90%;
        float: none;
        margin: 20px auto 0;
        display: block;
    }

    #contents .work .img_area dt {
        margin-left: 1em;
        text-indent: -1em;
    }

    #contents .work .img_area dl {
        margin: 0 0 20px;
    }


    #contents .work .img_area dd br {
        display: none;
    }




}