@charset "UTF-8";

.page_top .container {
    background: url("../img/afterservice/topback.jpg") no-repeat;
    background-size: cover;
    background-position-x: 50%;
}

.afterservice {
    padding: 40px 0;
    position: relative;
}

.afterservice:nth-child(even) {
    background: #EFEFEF;
}

.afterservice::after{
    content: "";
    position: absolute;
    right: 0;
    bottom: -20px;
    left: 0;
    width: 0px;
    height: 0px;
    margin: auto;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    border-width: 20px 40px 0 40px;
    z-index: 1;
}

.afterservice:nth-child(even):after{
    border-color: #EFEFEF transparent transparent transparent;
}

.afterservice:last-child:after{
    border: none;
}

.afterservice:last-child{
    margin-bottom: 100px;
}
  
.afterservice .container {
    max-width: 1060px;
    margin: 0 auto;
}

.afterservice:nth-child(even) .container h3 {
    border-bottom: 3px solid #fff;
}

.afterservice .container .inner {
    display: flex;
    justify-content: space-between;
}

.afterservice:nth-child(even) .container .inner {
    flex-direction: row-reverse;
}

.afterservice .container .inner .txtbox {
    font-size: 15px;
    line-height: 2.3em;
    max-width: 570px;
    width: 100%;
}

.afterservice .container .inner .txtbox .txt {
    margin-bottom: 20px;
}

.afterservice .container .inner .txtbox .caution {
    background: #EFEFEF;
    padding: 20px 30px 30px;
}

.afterservice .container .inner .txtbox .caution li {
    border-bottom: 1px dotted #000;
    padding: 5px 0 0;
}

.afterservice .container .inner .imgbox {
    max-width: 450px;
}

.afterservice .container .link {
    margin-top: 30px;
}



/* スマートフォン用 */
@media screen and (max-width: 768px) {

    .page_top .container h2 {
        padding-top: 8%;
        line-height: 1.0em;
    }
    
    .afterservice .container {
        padding: 0 20px;
    }

    .afterservice .container .inner {
        display: block;
    }

    .afterservice .container .inner .txtbox {
        line-height: 2.0em;
        max-width: none;
    }

    .afterservice .container .inner .txtbox .caution {
        padding: 10px 20px 20px;
        line-height: 1.5em;
        margin-bottom: 20px;
    }

    .afterservice .container .inner .txtbox .caution li {
        padding-top: 10px;
    }

    .afterservice .container .inner .imgbox {
        max-width: none;
    }

}










