@charset "UTF-8";

.page_top .container {
    background: url("../img/contact/topback.jpg") no-repeat;
    background-size: cover;
    background-position-x: 75%;
}

.contact {
    padding: 40px 0;
}

.contact .container {
    max-width: 1060px;
    margin: 0 auto;
}

.contact .container .toptxt {
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 40px;
    font-size: 16px;
    line-height: 3em;
}

.contact .container .txt01 {
    text-align: center;
}

.contact .container .formbox{
    margin: 20px auto;
    font-size: 14px;
    line-height: 1.5em;
    max-width: 800px;
}

.contact .container .formbox dl {
    display: flex;
    justify-content: space-between;
}

.contact .container .formbox dl:nth-child(odd) {
    background: #EFEFEF;
}

.contact .container .formbox dt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 250px;
    padding: 10px 0px 10px 20px;
}

.contact .container .formbox dt span {
    background: #D80C18;
    color: #fff;
    padding: 5px 10px;
}

.contact .container .formbox dd {
    width: 100%;
    max-width: 550px;
    padding: 10px 20px;
}

.contact .container .formbox dd input[type="text"] {
    width:100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 30px;
    border: 1px solid#b9b9b9;
    border-radius: 5px;
    display:block;
}

.contact .container .formbox dd textarea {
    width:100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 300px;
    border: 1px solid#b9b9b9;
    border-radius: 5px;
    display:block;
}

.contact .container .formbox .submitbtn {
    margin: 50px auto;
}

.contact .container .formbox .submitbtn input[type="submit"],
.contact .container .formbox .submitbtn input[type="reset"] {
    width: 40%;
    display: inline-block;
    background-color: #006837;
    color: #fff;
    font-size: 25px;
    text-decoration: none;
    text-align: center;
    height: 2.6em;
    line-height: 2.4em;
    margin: 0 20px;
    box-sizing: border-box;
    border: 1px solid #006837;
    background-size: 200% 100%;
    background-image: -webkit-linear-gradient(left, transparent 50%, rgba(255, 255, 255, 1) 50%);
    background-image: linear-gradient(to right, transparent 50%, rgba(255, 255, 255, 1) 50%);
    -webkit-transition: background-position .5s cubic-bezier(0.19, 1, 0.22, 1) .1s, color .8s ease 0s, background-color .8s ease;
    transition: background-position .5s cubic-bezier(0.19, 1, 0.22, 1) .1s, color .8s ease 0s, background-color .8s ease;
}

.contact .container .formbox .submitbtn input[type="submit"]:hover,
.contact .container .formbox .submitbtn input[type="reset"]:hover {
	background-color: #fff;
	color: #006837;
	background-position: -100% 100%;
}

.contact .container .txt02 {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 2.0em;
}

.privacy {
    padding: 40px 0;
}

.privacy .container {
    max-width: 1060px;
    margin: 0 auto;
}

.privacy .container .inner {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 2.0em;
}

.quote {
    padding: 100px 0;
}

.quote .container {
    max-width: 1060px;
    margin: 0 auto;
}

.quote .container a:hover img {
    opacity: 0.8;
}



/* スマートフォン用 */
@media screen and (max-width: 768px) {

    .contact .container {
        padding: 0 20px;
    }

    .contact .container .toptxt {
        line-height: 2.0em;
    }

    .contact .container .txt01 {
        line-height: 1.5em;
    }

    .contact .container .formbox dl {
        display: block;
        align-items: baseline;
    }

    .contact .container .formbox dt {
        max-width: none;
        padding: 10px 20px 5px;
    }

    .contact .container .formbox dd {
        max-width: none;
        padding-top: 0;
    }

    .contact .container .formbox .submitbtn input[type="submit"],
    .contact .container .formbox .submitbtn input[type="reset"] {
        width: 80%;
        font-size: 22px;
    }

    .privacy .container {
        padding: 0 20px;
    }

}



/*****************/
/*送信内容の確認画面*/
/*****************/

#formWrap {
    margin: 100px auto;
    max-width: 1060px;
}

#formWrap h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 50px;
    line-height: 1.5em;
}

#formWrap .toptxt {
    text-align: center;
    margin: 50px auto;
    font-size: 16px;
    line-height: 1.5em;
}

#formWrap .formTable {
    max-width: 700px;
    width: 100%;
    margin: 50px auto;
    border-top: 1px solid #9FA0A0;
}

#formWrap .formTable th {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5em;
    text-align: left;
    padding: 20px;
    max-width: 200px;
    vertical-align: middle;
    border-bottom: 1px solid #9FA0A0;
    background: #EFEFEF;
}

#formWrap .formTable td {
    max-width: 500px;
    padding: 20px;
    border-bottom: 1px solid #9FA0A0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5em;
}

#formWrap .error_messe {
    font-size: 16px;
    line-height: 2em;
    color: #ff0000;
}

#formWrap input[type="submit"],
#formWrap input[type="button"] {
    width: 30%;
    display: inline-block;
    background-color: #006837;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    text-align: center;
    height: 2.6em;
    line-height: 2.4em;
    margin: 0 20px;
    box-sizing: border-box;
    border: 1px solid #006837;
    background-size: 200% 100%;
    background-image: -webkit-linear-gradient(left, transparent 50%, rgba(255, 255, 255, 1) 50%);
    background-image: linear-gradient(to right, transparent 50%, rgba(255, 255, 255, 1) 50%);
    -webkit-transition: background-position .5s cubic-bezier(0.19, 1, 0.22, 1) .1s, color .8s ease 0s, background-color .8s ease;
    transition: background-position .5s cubic-bezier(0.19, 1, 0.22, 1) .1s, color .8s ease 0s, background-color .8s ease;
}

#formWrap input[type="submit"]:hover,
#formWrap input[type="button"]:hover {
	background-color: #fff;
	color: #006837;
	background-position: -100% 100%;
}



/* スマートフォン用 */
@media screen and (max-width: 768px) {

    #formWrap {
        padding: 0 20px;
    }

    #formWrap input[type="submit"], #formWrap input[type="button"] {
        width: 80%;
        margin-bottom: 20px;
    }

}



/*****************/
/*送信完了画面*/
/*****************/

.thanks {
    padding: 40px 0;
}

.thanks .container {
    max-width: 1060px;
    margin: 0 auto;
}

.thanks .container .thanks_txt {
    font-size: 16px;
    line-height: 2em;
    text-align: center;
}



/* スマートフォン用 */
@media screen and (max-width: 768px) {

    .thanks .container {
        padding: 0 20px;
    }

    a.linkbtn {
        font-size: 20px;
    }

    a.linkbtn::after {
        top: 15px;
    }

}




