#main_img {
    background: url(../img/raster.png), url(../img/main_work.jpg);
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    background-position: center, center;
    display: table;
    height: 500px;
    padding: 0px;
    width: 100%;
}

h1 {
    color: white;
    display: table-cell;
    font-size: 2rem;
    font-weight: 600;
    height: 500px;
    line-height: 4rem;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    text-shadow: -3px -3px 16px #333, 3px -3px 16px #333, 3px 3px 16px #333, -3px 3px 16px #333;
    width: 100%;
    vertical-align: middle;
}

p {
    color: #6ba840;
    text-decoration: underline;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem auto;
    text-align: center;
}

section {
    box-sizing: border-box;
    padding: 1rem;
    width: 100%;
    background-image: url(../img/);
    background-size: cover;
    overflow: hidden;
}

.inner {
    border: 1px solid #efefef;
    box-shadow: 3px 3px 6px #ccc;
    display: flex;
    margin: auto;
    max-width: 1000px;
    width: 100%;
}

h2:first-letter {
    background-color: #6ba840;
    color: white;
    font-size: 3rem;
    text-shadow: none;
}

.h2box {
    background-repeat: repeat;
    padding: 1rem;
    width: 45%;
}

h2 {
    color: white;
    display: table-cell;
    font-size: 2.5rem;
    padding: 0;
    text-shadow: -3px -3px 6px #333, 3px -3px 6px #333, 3px 3px 6px #333, -3px 3px 6px #333;
    border-bottom: 2px solid white;
}

.ulbox {
    box-sizing: border-box;
    width: 55%;
    height: auto;
}

.ulbox ul {
    margin: 0;
    padding: 1rem 1rem 1rem 1.5rem;
}

.ulbox ul li {
    list-style-type: none;
    line-height: 2rem;
}

.ulbox ul li:before {
    content: "\f046";
    font-family: FontAwesome;
    margin-right: 1rem;
}

.s1 {
    background-image: url(../img/raster.png), url(../img/service1.jpg);
    background-size: auto, cover;
    background-position: right center;
}

.s2 {
    background-image: url(../img/raster.png), url(../img/service2.jpg);
    background-size: auto, cover;
}

.s3 {
    background-image: url(../img/raster.png), url(../img/service3.jpg);
    background-size: auto, cover;
}


/*-------------------------------------------スマホ用--------------------------------*/

@media only screen and (max-width: 500px) {
    #main_img {
        background: url(../img/raster.png), url(../img/main_work.jpg);
        background-repeat: repeat, no-repeat;
        background-size: auto, cover;
        display: table;
        height: 300px;
        padding: 0px;
        width: 100%;
    }
    h1 {
        color: white;
        display: table-cell;
        font-size: 1.4rem;
        font-weight: 400;
        height: 300px;
        line-height: 2rem;
        margin: 0;
        padding: 0 2rem;
        text-align: center;
        text-shadow: -3px -3px 16px #333, 3px -3px 16px #333, 3px 3px 16px #333, -3px 3px 16px #333;
        width: 100%;
        vertical-align: middle;
    }
    h2 {
        border-bottom: 2px solid #66a33c;
        color: #333;
        font-family: 'Arbutus Slab', serif;
        font-size: 1.5rem;
        font-weight: normal;
        line-height: 1.5rem;
        margin: 1rem auto;
        padding-bottom: 0.5rem;
        text-align: center;
        text-shadow: 0px 0px 4px white;
        width: 80%;
    }
    p {
        color: #6ba840;
        text-decoration: underline;
        font-size: 1.2rem;
        font-weight: 600;
        margin: 2rem auto;
        text-align: center;
    }
    section {
        background-image: url(../img/tiri.jpg);
        background-repeat: repeat;
        box-sizing: border-box;
        padding: 2rem 1rem;
        width: 100%;
    }
    .inner {
        background-color: white;
        box-shadow: 3px 3px 6px #ccc;
        display: block;
        width: 100%;
        overflow: hidden;
    }
    .h2box {
        display: block;
        height: 4rem;
        padding: 1rem;
        width: 100%;
    }
    h2 {
        color: white;
        display: block;
        font-size: 2rem;
        line-height: 2rem;
        padding: 0;
        margin: 0;
        text-shadow: -3px -3px 6px #333, 3px -3px 6px #333, 3px 3px 6px #333, -3px 3px 6px #333;
        border-bottom: 2px solid white;
    }
    h2:first-letter {
        background-color: #6ba840;
        color: white;
    }
    .ulbox {
        width: 100%;
        height: auto;
    }
    .s1 {
        background-image: url(../img/raster.png), url(../img/service1.jpg);
        background-size: auto, cover;
        background-position: right center;
    }

    .s2 {
        background-image: url(../img/raster.png), url(../img/service2.jpg);
        background-size: auto, cover;
    }

    .s3 {
        background-image: url(../img/raster.png), url(../img/service3.jpg);
        background-size: auto, cover;
    }

    
}