.service_top {
    text-align: center;
    background-image: url(../image/service_back.png);
    background-size: cover;
    height: 350px;
}

.service_top img {
    margin-top: 70px;
    width: 80%;
}

.onayami {
    margin: 0 auto;
    max-width: 1200px;
}

.onayami h1 {
    font-size: 35px;
    font-weight: 700;
    color: #7a0000;
}

.service_img {
    display: flex;
}

.service_hukidashi1 {
    width: 40%;
    position: relative;
    left: 300px;
    top: -80px;
    z-index: 999;
}

.service_hukidashi2 {
    width: 30%;
    position: relative;
    left: -100px;
    top: 10px;
    z-index: 999;
}

.person{
    display: flex;
    position: relative;
    right: 300px;
    bottom: 42px;
}

.person img{
    width: 80%;
}

.yazirushi {
    text-align: center;
    position: relative;
    top: -100px;
}

.yazirushi img {
    width: 10%;
    position: relative;
    z-index: 99999;
}

.service_sub_title {
    background-color: #7a0000;
    padding: 40px;
    text-align: center;
    margin-top: -122px;
    position: relative;
    z-index: 9999;
}

.service_sub_title img {
    width: 70%;
}

.service_shokai {
    background-color: #b58484;
    margin-top: -20px;
    padding: 60px 0;
}

.shokai_wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.shokai_wrap h2 {
    color: #fff;
    font-weight: 700;
    font-size: 40px;
}

.shokai_wrap p {
    color: #fff;
    font-weight: 700;
    font-size: 25px;
    line-height: 45px;
    letter-spacing: 2px;
}

.voice h1 {
    background-color: #7a0000;
    color: #fff;
    text-align: center;
    font-size: 60px;
    padding: 30px;
}

.service_hukidashi_sp {
    display: none;
}

.cost_wrap {
    text-align: center;
    margin-top: 40px
}

.cost_wrap img{
    max-width: 1200px;
    width: 100%;
}

.tel_wrap{
    background-color: #b58484;
    margin: 60px auto;
}

.service_txt{
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 40px;
    padding-top: 30px;
}

.service_tel{
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 60px;
    margin-top: -30px;
}

.service_tel2{
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 30px;
    margin-top: -70px;
}

.service_txt2{
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 40px;
    padding-bottom: 20px
}

.cost_sp{
    display: none;
}

.work_title {
    max-width: 1200px;
    width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    font-weight: 700;
    font-size: 35px;
    background-color: #ffd700;
    z-index: 999;
    position: relative;
}

.work_comment {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 2px;
    padding: 85px 35px 35px 35px;
    background-color: #f7f4f4;
    margin-bottom: 80px;
    margin-top: -50px;
}


.work_subtitle {
    border-bottom: double 5px #FFC778;
    max-width: 1200px;
    width: 900px;
    margin: 0 auto;
    text-align: left;
    padding: 10px;
    font-weight: 500;
    font-size: 40px;
    z-index: 999;
    position: relative;
}

.work_subcomment {
    max-width: 1200px;
    width: 900px;
    margin: 0 auto;
    text-align: left;
    font-weight: 700;
    font-size: 35px;
    letter-spacing: 2px;
    padding: 85px 35px 35px 35px;
    margin-bottom: 80px;
    margin-top: -50px;
}

.work_subcomment a{
    max-width: 1200px;
    width: 900px;
    margin: 0 auto;
    text-align: left;
    font-weight: 700;
    font-size: 30px;
    letter-spacing: 2px;
    padding: 85px 35px 35px 35px;
    margin-bottom: 80px;
    margin-top: -50px;
}

.work_subcomment a:hover{
    color:red;
  }

@media screen and (max-width:768px) {
    .service_top {
        max-width: 768px;
        background-size: cover;
        height: 500px;
    }

    .service_top img {
        max-width: 768px;
        margin-top: 200px;
        width: 90%
    }

    .onayami {
        max-width: 768px;
        margin: 0 auto;
        margin-bottom: 200px;
    }

    .service_img {
        display: block;
    }

    .service_hukidashi1 {
        display: none;
    }

    .service_hukidashi2 {
        display: none;
    }

    .person {
        display: none;
    }

    .service_hukidashi_sp {
        display: block;
        font-weight: 700;
        text-align: center;
        font-size: 24px;
    }

    .yazirushi {
        text-align: center;
        position: relative;
        top: 20px;
        width: 100%;
    }
    
    .service_sub_title{
        margin-top: -200px
    }

    .shokai_wrap {
        max-width: 768px;
        margin: 0 auto;
        padding: 0 20px 15px;
    }

    .shokai_wrap h2 {
        color: #fff;
        font-weight: 700;
        font-size: 30px;
    }

    .shokai_wrap p {
        color: #fff;
        font-weight: 700;
        font-size: 20px;
        line-height: 45px;
        letter-spacing: 1px;
    }

    .service_sub_title img {
        width: 90%;
    }
    
    .tel_wrap{
        margin-bottom: -20px;
    }
    
    .service_txt{
        font-size: 20px;
        padding-bottom: 20px;
    }
    
    .service_txt2{
        font-size: 18px;
    }
    
    .service_tel{
        font-size: 25px;
        padding-bottom: 35px;
    }
    
    .service_tel2{
        font-size: 18px;
    }
    
    .cost{
        display: none;
    }
    
    .cost_sp{
        display: block;
    }



.work_title {
    width: auto;
    text-align: center;
    font-size: 30px;
}

.work_comment {
    font-size: 25px;
    padding: 85px 35px 35px 35px;
    margin-bottom: 0;
}
}