@charset "utf-8";
/* CSS Document */

#sld {
    height: 220px;
    margin-bottom: 100px;
    padding: 180px 0 0 0;
    background: url(../images/mv03.jpg) top center repeat-x;
}

#sld .page-title {
    font-size: 32px;
    color: #fff;
    text-align: center;

}

.textarea02 {
    margin-bottom: 110px;
}

.title01 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 35px;
}

.title02 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 35px;
}

@media screen and (max-width: 840px) {
    #sld {
        height: 120px;
        padding: 75px 0 0 0;
        margin-bottom: 100px;
    }

    #sld .page-title {
        font-size: 28px;
    }

    .title01 {
        font-size: 18px;
        margin-bottom: 25px;
    }
}

/* SERVICE */
#service04 {
    margin-bottom: 200px;
}


/* WORKS */
#works01 {
    margin-bottom: 250px;
}


.gallery {
    width: 1140px;
    margin: 0 auto;
}

.gallery a {
    display: block;
    float: left;
    width: 350px;
    margin: 0 45px 45px 0;
}

@media screen and (min-width: 1141px) {
    .gallery a:nth-child(3n) {
        margin: 0 0 45px 0;
    }

}

@media screen and (max-width: 1140px) {
    #works01 {
        margin-bottom: 150px;
    }

    .gallery {
        max-width: 90%;
        margin: 0 auto;
    }

    .gallery a {
        width: 47.5%;
        margin: 0 5% calc((100vw / 320) * 15) 0;
    }

    .gallery a img {
        width: 100%;
    }

    .gallery a:nth-child(2n) {
        margin: 0 0 calc((100vw / 320) * 15) 0;
    }

}


/* COMPANY */
#company01 {
    margin-bottom: 150px;
}

#company02 {
    margin-bottom: 200px;
}

#gmap {
    max-width: 1140px;
    margin: 0 auto;
    ;
}

/* CONTACT */
#contact01 {
    margin-bottom: 160px;
}

#contact .table01 {
    margin: 100px auto 50px;
}

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

    #contact .table01 th,
    #contact .table01 td {
        display: block;
        width: 100%;
        text-align: left;
    }

    #contact .table01 th {
        border: none;
        padding-bottom: 0;
    }
}

.must {
    color: red;
    margin-right: 0.5em;
}



/* form */
input,
select,
textarea {
    font-size: 16px;
    font-family: Montserrat, "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", sans-serif !important;
    line-height: 1.8;
}

input[type="text"] {
    width: 250px;
    margin-top: 3px;
    padding: 3px;
    border: solid 1px #e4e4e4;
}

input[type="submit"],
input[type="button"] {
    cursor: pointer;
}

select {
    font-size: 16px;
    line-height: 1.8;
    padding: 5px 3px 8px;
    margin-top: 3px;
    border: solid 1px #e4e4e4;
}

textarea {
    width: 99%;
    height: 150px;
    padding: 0 3px;
    border: solid 1px #e4e4e4;
    vertical-align: top;
}

.ime_on {
    ime-mode: active;
}

.ime_off {
    ime-mode: inactive;
}

.from_error {
    color: #red;
}

.from_error:first-child {
    margin-top: 60px;

}

.from_error:before {
    content: "※"
}

media screen and (max-width: 840px) {
    input[type="text"] {
        width: 89%;
    }
}




.submit_button {
    text-decoration: none !important;
    display: inline-block;
    padding: 1.1em 0;
    border: 1px solid #c4c4c4;
    text-align: center;
    font-size: 16px;
    position: relative;
    width: 250px;
    height: 60px;
    transition: all .3s;
    background: #fff;
    cursor: pointer;
    margin-bottom: 1em;
}


.submit_button::before,
.submit_button::after {
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    z-index: 0;
    content: '';
    transition: all .3s;
}

.submit_button:hover::before {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: scale(0, 1);
}

.submit_button:hover::after {
    border-right: 1px solid #000;
    border-left: 1px solid #000;
    transform: scale(1, 0);
}

.submit_button:hover::after,
.submit_button:hover::before {
    transform: scale(1);
}
