/*
File Name: services.css
Version: 3.0
*/

/*** services sec1 ***/

#services_sec1 {
    height: auto;
    margin: 0 auto;
    max-width: 991px;
    padding: 30px 30px 0;
    width: 100%;
}

#services_sec1 h2 {
    background-color: #807060;
    border-bottom: 1px dashed #e8e8e0;
    border-top: 1px dashed #e8e8e0;
    box-shadow: 0px 0px 0px 5px #807060;
    color: #e8e8e0;
    font-size: 2.5em;
    line-height: 1.5;
    margin: 5px 5px 1.2em;
    padding: 10px 0;
    text-align: center;
    width: calc(100% - 10px);
}

@media (max-width: 639px) {

    #services_sec1 {
        padding: 15px 15px 0;
    }

    #services_sec1 h2 {
        font-size: 2.0em;
    }

}

/*** services sec2-5 ***/

#services_sec2,
#services_sec3,
#services_sec4,
#services_sec5 {
    height: auto;
    margin: 0 auto;
    max-width: 991px;
    padding: 30px;
    width: 100%;
}

#services_sec2 h3,
#services_sec3 h3,
#services_sec4 h3,
#services_sec5 h3 {
    background-color: #e8e0d0;
    border-radius: 5px;
    color: #604800;
    font-size: 2.5em;
    line-height: 1.5;
    margin-bottom: 1.0em;
    padding: 15px 15px 15px 40px;
    position: relative;
    text-align: center;
}

#services_sec2 h3::after,
#services_sec3 h3::after,
#services_sec4 h3::after,
#services_sec5 h3::after {
    bottom: -15px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #ebe0d0;
    content: '';
    left: calc(50% - 10px);
    position: absolute;
}

#services_sec2 h3 span.tag,
#services_sec3 h3 span.tag,
#services_sec4 h3 span.tag,
#services_sec5 h3 span.tag {
    background-color: #ee7800;
    color: #ffffff;
    font-size: 12px;
    left: 20px;
    line-height: 1.2;
    padding: 5px;
    position: absolute;
    top: -10px;
    width: 30px;
}

#services_sec2 h3 span.tag_en,
#services_sec3 h3 span.tag_en,
#services_sec4 h3 span.tag_en,
#services_sec5 h3 span.tag_en {
    background-color: #ee7800;
    color: #ffffff;
    font-size: 12px;
    left: 20px;
    line-height: 1.2;
    padding: 10px 5px;
    position: absolute;
    top: -15px;
    width: 50px;
}

@media (max-width: 639px) {

    #services_sec2,
    #services_sec3,
    #services_sec4,
    #services_sec5 {
        padding: 30px 15px;
    }

    #services_sec1 h2 {
        font-size: 2.0em;
    }

    #services_sec2 h3,
    #services_sec3 h3,
    #services_sec4 h3,
    #services_sec5 h3 {
        font-size: 1.8em;
        padding: 15px;
    }

    #services_sec2 h3 span.tag,
    #services_sec3 h3 span.tag,
    #services_sec4 h3 span.tag,
    #services_sec5 h3 span.tag {
        width: 50px;
    }

    #services_sec2 h3 span.tag_en,
    #services_sec3 h3 span.tag_en,
    #services_sec4 h3 span.tag_en,
    #services_sec5 h3 span.tag_en {
        width: 60px;
    }
    
}

/*** services sec2 ***/

#services_sec2 .sec2_div1 {
    height: auto;
    display: flex;
    margin-bottom: 30px;
    width: 100%;
}

#services_sec2 .sec2_div11 {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    margin-right: 15px;
    min-height: 200px;
    width: calc(40% - 15px);
}

#services_sec2 .sec2_div12 {
    border: 1px solid #b0b0b0;
    border-radius: 3px;
    height: auto;
    margin-left: 15px;
    padding: 15px;
    width: calc(60% - 15px);
}

#services_sec2 .sec2_div12 h4 {
    font-size: 2.0em;
    line-height: 1.5;
    margin-bottom: 1.0em;
}

#services_sec2 .sec2_div12 li {
    counter-increment: cnt;
    font-size: 1.4em;
    line-height: 1.5;
    list-style-type: none;
    list-style-position: inside;
    margin-bottom: 0.5em;
    padding-left: 2.0em;
    text-indent: -2.0em;
}

#services_sec2 .sec2_div12 li::before {
    display: marker;
    content: "(" counter(cnt) ") ";
}

#services_sec2 .sec2_div12 li:last-of-type {
    margin-bottom: 0;
}

#services_sec2 .sec2_div2 {
    height: auto;
    width: 100%;
}

#services_sec2 .sec2_div2 h4 {
    background-color: #807060;
    color: #ffffff;
    font-size: 1.6em;
    margin: 0 auto 1.0em;
    padding: 0.75em 1.0em;
    position: relative;
    text-align: center;
    width: 240px;
}

#services_sec2 .sec2_div2 h4::before,
#services_sec2 .sec2_div2 h4::after {
    border-color: transparent;
    border-style: solid;
    content: '';
    position: absolute;
}

#services_sec2 .sec2_div2 h4::before {
    border-right-color: #b0a090;
    border-width: 0 15px 15px 0;
    left: 0;
    top: 100%;
}

#services_sec2 .sec2_div2 h4::after {
    border-bottom-color: #b0a090;
    border-style: solid;
    border-width: 0 15px 15px 0;
    right: 0;
    top: -15px;
}

#services_sec2 .sec2_div2 img {
    display: block;
    height: auto;
    width: 100%;
}

@media (max-width: 639px) {

    #services_sec2 .sec2_div1 {
        display: block;
    }

    #services_sec2 .sec2_div11 {
        margin: 0 auto 15px;
        max-width: 400px;
        width: 100%;
    }

    #services_sec2 .sec2_div11 h4 {
        font-size: 1.6em;
        text-align: center;
    }

    #services_sec2 .sec2_div12 {
        margin: 0 auto;
        max-width: 400px;
        width: 100%;
    }
    
}

/*** services sec3 ***/

#services_sec3 .sec3_div1 {
    height: auto;
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
}

#services_sec3 .sec3_div11 {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: auto;
    margin-left: 15px;
    width: calc(40% - 15px);
}

#services_sec3 .sec3_div12 {
    height: auto;
    margin-right: 15px;
    width: calc(60% - 15px);
}

#services_sec3 .sec3_div12 p {
    font-size: 1.4em;
    line-height: 1.5;
    margin-bottom: 0.5em;
}

#services_sec3 .sec3_div12 p:last-of-type {
    margin-bottom: 0;
}

@media (max-width: 639px) {

    #services_sec3 .sec3_div1 {
        display: block;
    }

    #services_sec3 .sec3_div11 {
        margin: 0 auto 15px;
        max-width: 400px;
        width: 100%;
    }

    #services_sec3 .sec3_div12 {
        margin: 0 auto;
        max-width: 400px;
        width: 100%;
    }

}

/*** services sec4 ***/

#services_sec4 .sec4_div1 {
    height: auto;
    display: flex;
    width: 100%;
}

#services_sec4 .sec4_div11 {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    margin-right: 15px;
    min-height: 200px;
    width: calc(40% - 15px);
}

#services_sec4 .sec4_div12 {
    height: auto;
    margin-left: 15px;
    width: calc(60% - 15px);
}

#services_sec4 .sec4_div12 p {
    font-size: 1.4em;
    line-height: 1.5;
    margin-bottom: 0.5em;
}

#services_sec4 .sec4_div12 p:last-of-type {
    line-height: 1.0;
    margin-bottom: 0;
    margin-top: 2.0em;
    text-align: center;
}

#services_sec4 .sec4_div12 p a {
    background-color:#339900;
    border-radius: 10px;
    color: #ffffff;
    font-size: 12px;
    padding: 4px 12px;
}

@media (max-width: 639px) {

    #services_sec4 .sec4_div1 {
        display: block;
    }

    #services_sec4 .sec4_div11 {
        margin: 0 auto 15px;
        max-width: 400px;
        width: 100%;
    }

    #services_sec4 .sec4_div12 {
        margin: 0 auto;
        max-width: 400px;
        width: 100%;
    }

    #services_sec4 .sec4_div1 p:last-of-type {
        text-align: center;
    }

}

/*** services sec5 ***/

#services_sec5 .sec5_div1 {
    display: flex;
    flex-direction: row-reverse;
    height: auto;
    margin-bottom: 30px;
    width: 100%;
}

#services_sec5 .sec5_div11 {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    margin-left: 15px;
    min-height: 200px;
    width: calc(40% - 15px);
}

#services_sec5 .sec5_div12 {
    margin-right: 15px;
    height: auto;
    width: calc(60% - 15px);
}

#services_sec5 .sec5_div12 p {
    font-size: 1.4em;
    line-height: 1.5;
    margin-bottom: 0.5em;
}

#services_sec5 .sec5_div12 p:last-of-type {
    margin-bottom: 0;
}

#services_sec5 .sec5_div2 h4 {
    font-size: 1.6em;
    margin-bottom: 1.0em;
    text-align: center;
}

#services_sec5 .sec5_div2 h4 span.line {
    border-bottom: 2px solid #b0b0b0;
    display: inline-block;
    padding-bottom: 5px;
}

#services_sec5 .sec5_div2 h4 i {
    font-size: 1.4em;
    margin-right: 0.5em;
}

#services_sec5 .sec5_div2 p {
    font-size: 1.4em;
    line-height: 1.5;
    margin-bottom: 0.5em;
}

@media (max-width: 639px) {

    #services_sec5 .sec5_div1 {
        display: block;
    }

    #services_sec5 .sec5_div11 {
        margin: 0 auto 15px;
        max-width: 400px;
        width: 100%;
    }

    #services_sec5 .sec5_div12 {
        margin: 0 auto 15px;
        max-width: 400px;
        width: 100%;
    }

}
