#service-bg-0{
    float: left;
    margin-left: 40px;
    margin-top: 50px;
    margin-bottom: 40px;
    width: calc(100% - 80px);
    height: calc(19.12vw - 15px);
    background-image: url(../sources/image/service_bg_0.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#service-bg-1{
    float: left;
    margin-left: 40px;
    margin-top: 50px;
    margin-bottom: 40px;
    width: calc(100% - 80px);
    height: calc(19.12vw - 15px);
    background-image: url(../sources/image/service_bg_1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#service-bg-2{
    float: left;
    margin-left: 40px;
    margin-top: 50px;
    margin-bottom: 40px;
    width: calc(100% - 80px);
    height: calc(19.12vw - 15px);
    background-image: url(../sources/image/service_bg_2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#service-bg-3{
    float: left;
    margin-left: 40px;
    margin-top: 50px;
    margin-bottom: 40px;
    width: calc(100% - 80px);
    height: calc(19.12vw - 15px);
    background-image: url(../sources/image/service_bg_3.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#service-title{
    float: left;
    width: 100%;
    margin-top: 50px;
    height: 32px;
    text-align: center;
    color: black;
    font-size: 22px;
    line-height: 32px;
    letter-spacing: 1px;
}

.service-info-title{
    float: left;
    width: 100%;
    margin-bottom: 44px;
    height: 40px;
    padding-left: 40px;
    color: black;
    font-size: 26px;
    line-height: 40px;
    letter-spacing: 1px;
}

.service-info-box-line-0{
    height: 580px;
    margin-left: 40px;
}


.service-info-box-line{
    float: left;
    margin-left: 40px;
}

.service-info-box-line-1{
    height: 375px;
    margin-left: 40px;
    margin-bottom: 50px;
}

.service-info-box{
    float: left;
    width: calc(33vw - 47px);
    height: 170px;
    border-bottom: solid #E7E8EC 1px;
    margin-right: 30px;
    margin-bottom: 35px;
    font-weight: normal;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.service-info-box-title{
    width: calc(33vw - 93px);
    margin-left: 23px;
    color: black;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 1px;
    transition: color 0.1s;
}

.service-info-box-msg{
    width: calc(33vw - 93px);
    max-height: 104px;
    margin-left: 23px;
    margin-top: 10px;
    color: #333333;
    font-size: 13px;
    line-height: 26px;
    letter-spacing: 1px;
    overflow: hidden;
    transition: color 0.1s;
}

.service-info-box:hover .service-info-box-msg{
    color: #AA8350;
}




@media only screen and (min-width: 1440px){  
    #service-bg-0,
    #service-bg-1,
    #service-bg-2,
    #service-bg-3{
        width: 1360px;
        height: 260px;
    }

    .service-info-box{
        width: 428px;
    }
    
    .service-info-box-title{
        width: 382px;
    }
    
    .service-info-box-msg{
        width: 382px;
    }  


}

@media only screen and (max-width: 1400px){

    .service-info-box-line-0{
        height: 990px;
    }

    .service-info-box-line-1{
        height: 580px;
    }

    .service-info-box{
        width: calc(50vw - 55px);
    }

    .service-info-box-title,
    .service-info-box-msg{
        width: calc(50vw - 101px);
    }

}

@media only screen and (max-width: 940px){

    .service-info-box-line-0{
        height: 1576px;
    }

    .service-info-box-line-1{
        height: 860px;
    }

    .service-info-box{
        width: calc(100vw - 80px);
        height: 144px;
    }

    .service-info-box-title,
    .service-info-box-msg{
        width: calc(100vw - 126px);
    }

    .service-info-box-msg{
        max-height: 78px;
    }

}

#services-title{
    width: 100%;
    margin-top: 50px;
    height: 23px;
    text-align: center;
    color: black;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 1px;
}

#services-sub-title{
    width: 100%;
    margin-top: 10px;
    height: 32px;
    text-align: center;
    color: black;
    font-size: 22px;
    line-height: 32px;
    letter-spacing: 1px;
}

#service-second-line{
    margin-left: 40px;
    margin-top: 48px;
    width: calc(100% - 80px);
    height: 1px;
    background-color: #E7E8EC;
}

#services-info{
    width: 63%;
    padding-top: 70px;
    margin-bottom: 70px;
    padding-left: 18.5vw;
    padding-right: 18.5vw;
    color: #333333;
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 1px;
}

#services-contact-btn{
    float: left;
    width: 400px;
    height: 70px;
    margin-left: calc(50% - 200px);
    margin-bottom: 172px;
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 70px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
}

.service-contact-btn-text{
    position: absolute;
    width: 400px;
    height: 70px;
    border: solid #0e0e0e 1px;
    box-sizing: border-box;
    color: black;
}

.service-contact-btn-mask{
    position: absolute;
    width: 0px;
    height: 70px;
    overflow: hidden;
    transition: width 1s cubic-bezier(0,1,.5,1);
}

.service-contact-btn-hover{
    width: 400px;
    height: 100%;
    background-color: black;
    color: white;
}

#services-contact-btn:hover .service-contact-btn-mask{
    width: 400px;
}

#services-contact-info{
    width: 650px;
    margin-left: calc(50% - 325px);
    padding-top: 32px;
    margin-bottom: 70px;
    color: #333333;
    font-weight: normal;
    letter-spacing: 1px;
}

.service-contact-input-box{
    float: left;
    width: 650px;
    height: 60px;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.service-contact-input-name{
    position: absolute;
    margin-left: 15px;
    margin-top: 7px;
    line-height: 17px;
    font-size: 12px;
}

.service-contact-input{
    position: absolute;
    width: 650px;
    height: 60px;
    box-sizing: border-box;
    border: none;
    background-color: transparent;
    border: solid 1px #333333;
    outline: none;
    font-size: 14px;
    padding-top: 15px;
    color: #333333;
    padding-left: 15px;
}

.service-contact-input[error="true"]{
    border-color: #C21E1E;
}

.service-contact-input-error{
    display: none;
}

.service-contact-input[error="true"] ~ .service-contact-input-error{
    position: absolute;
    display: inline;
    margin-top: 70px;
    margin-left: 2px;
    color: #C21E1E;
    font-size: 12px;
}

#mail-sending-mask{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
}

#mail-sending-tip{
    position: absolute;
    width: 500px;
    max-width: 80%;
    top: 40%;
    padding: 20px;
    border-radius: 5px;
    box-sizing: border-box;
    line-height: 24px;
    font-size: 14px;
    color: #333333;
    background-color: #dfdfdf;
    left: 50%;
    transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}




.service-contact-textarea-box{
    float: left;
    width: 650px;
    height: 258px;
    margin-left: calc(50% - 325px);
    border: solid 1px #333333;
    box-sizing: border-box;
    margin-bottom: 50px;
}

.service-contact-textarea{
    position: absolute;
    width: 650px;
    height: 226px;
    box-sizing: border-box;
    border: none;
    background-color: transparent;
    outline: none;
    font-size: 14px;
    margin-top: 30px;
    color: #333333;
    padding-left: 15px;
    padding-right: 15px;
    resize: none;
}

.service-contact-textarea::-webkit-scrollbar{
    width: 3px;
}

.service-contact-textarea::-webkit-scrollbar-thumb{
    background-color: #AA8350;
}

#services-contact-info ~ #services-contact-btn{
    width: 650px;
    margin-left: calc(50% - 325px);
}

#services-contact-info ~ #services-contact-btn > .service-contact-btn-text{
    width: 650px;
}

#services-contact-info ~ #services-contact-btn .service-contact-btn-hover{
    width: 650px;
}


#services-contact-info ~ #services-contact-btn:hover .service-contact-btn-mask{
    width: 650px;
}

@media only screen and (min-width: 1440px){

    #services-info{
        padding-left: 266px;
        padding-right: 266px;
    }

}

@media only screen and (max-width: 1440px){

    #services-contact-info,
    #services-info{
        font-size: 13px;
        line-height: 26px;
    }

    #services-contact-btn{
        font-size: 13px;
    }

}

@media only screen and (max-width: 600px){

    #service-bg-0{
        float: left;
        margin-left: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
        width: 100vw;
        height: 28.27vw;
    }
    
    #service-bg-1,
    #service-bg-2,
    #service-bg-3{
        float: left;
        margin-left: 0px;
        margin-top: 8vw;
        margin-bottom: 0px;
        width: 100vw;
        height: 28.27vw;
    }
    
    #service-title{
        display: none;
    }
    
    .service-info-title{
        float: left;
        width: 100%;
        margin-top: 0px;
        margin-bottom: 4.27vw;
        height: 15.47vw;
        padding-left: 0px;
        text-align: center;
        color: #333333;
        background-color: #f6f6f6;
        font-size: 5.33vw;
        line-height: 15.47vw;
        font-weight: 600;
    }

    .service-info-box-line-0{
        float: left;
        height: auto;
        width: 89.34vw;
        margin-left: 5.33vw;
    }
    
    .service-info-box-line-1{
        float: left;
        height: auto;
        width: 89.34vw;
        margin-left: 5.33vw;
        margin-bottom: 0vw;
    }
    
    .service-info-box{
        float: left;
        width: 89.34vw;
        height: 40vw;
        border-bottom: solid #E7E8EC 1px;
        margin-right: 0px;
        margin-bottom: 0px;
    }
    
    .service-info-box-title{
        width: 89.34vw;
        margin-left: 0px;
        margin-top: 4.27vw;
        color: #333333;
        font-weight: 600;
        font-size: 4vw;
        line-height: 5.6vw;
    }
    
    .service-info-box-msg{
        width: 89.34vw;
        max-height: 19.2vw;
        margin-left: 0px;
        margin-top: 5.33vw;
        color: #333333;
        font-size: 3.47vw;
        line-height: 4.8vw;
        font-weight: 400;
    }
    
    
    
    #services-title{
        float: left;
        width: 100%;
        height: auto;
        margin-top: 0px;
        margin-bottom: 4.27vw;
        padding-top: 4.235vw;
        padding-bottom: 4.235vw;
        padding-left: 5.33vw;
        padding-right: 5.33vw;
        text-align: center;
        color: #333333;
        background-color: #f6f6f6;
        font-size: 5.33vw;
        line-height: 7vw;
        font-weight: 600;
        box-sizing: border-box;
    }
    
    #services-sub-title{
        float: left;
        margin-top: 3vw;
        height: auto;
        max-width: 89.34vw;
        margin-left: 5.33vw;
        margin-bottom: 5.33vw;
        color: #333333;
        font-size: 4.8vw;
        line-height: 6vw;
    }

    #service-second-line{
        display: none;
    }
    
    
    #services-contact-info,
    #services-info{
        float: left;
        width: 89.34vw;
        margin-left: 0px;
        padding-top: 0px;
        margin-bottom: 10.67vw;
        padding-left: 5.33vw;
        padding-right: 5.33vw;
        font-size: 3.47vw;
        line-height: 6.93vw;
    }
    
    #services-contact-btn{
        float: left;
        width: 89.34vw;
        height: 13.87vw;
        margin-left: 5.33vw;
        margin-bottom: 0px;
        box-sizing: border-box;
        line-height: 13.87vw;
        font-size: 3.47vw;
    }
    
    .service-contact-btn-text{
        width: 89.34vw;
        height: 13.87vw;
    }
    
    .service-contact-btn-mask{
        position: absolute;
        width: 0px;
        height: 13.87vw;
        overflow: hidden;
        transition: width 1s cubic-bezier(0,1,.5,1);
    }
    
    .service-contact-btn-hover{
        width: 89.34vw;
        height: 100%;
        background-color: black;
        color: white;
    }
    
    #services-contact-btn:hover .service-contact-btn-mask{
        width: 89.34vw;
    }
    
    .service-contact-input-box{
        width: 89.34vw;
        height: 60px;
        margin-left: 0px;
        margin-bottom: 30px;
    }

    .service-contact-input{
        width: 89.34vw;
        height: 60px;
    }
    
    .service-contact-input[error="true"] ~ .service-contact-input-error{
        margin-top: 60px;
    }
    
    .service-contact-textarea-box{
        width: 89.34vw;
        margin-left: 0px;
        margin-bottom: 0px;
    }
    
    .service-contact-textarea{
        width: 89.34vw;
    }
    
    #services-contact-info ~ #services-contact-btn{
        width: 89.34vw;
        margin-left: 5.33vw;
    }
    
    #services-contact-info ~ #services-contact-btn > .service-contact-btn-text{
        width: 89.34vw;
    }
    
    #services-contact-info ~ #services-contact-btn .service-contact-btn-hover{
        width: 89.34vw;
    }
    
    
    #services-contact-info ~ #services-contact-btn:hover .service-contact-btn-mask{
        width: 0px;
    }
}