@charset "UTF-8";

/* contact --------------------------------- */
#contact{
    width: 100%;
    display: flex;
    padding: 50px 0 100px;
}

#contact .img-wrap{
    width: 30%;
    background-color: rgba(255, 255, 255, 0.3);
    background-image: url(../img/common/contact-backimage.jpg);
    background-size: cover;
    padding: 80px 5%;
}
#contact .img-wrap > .text{
    font-size: 0.875rem;
    line-height: 1.2em;
    margin-bottom: 20px;
}
#contact .img-wrap .address-wrap .mail-title{
    color: #875C28;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: 0.1rem;
    padding-left: 35px;
    position: relative;
}
#contact .img-wrap .address-wrap .mail-title::before{
    content: "";
    width: 24px;
    height: 24px;
    background-image: url(../img/common/icon-email.svg);
    position: absolute;
    top: 0;
    left: 0;
}
#contact .img-wrap .address-wrap .mail{
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: 0.1rem;
}

#contact .form-wrap{
    width: 70%;
    padding: 0 5%;
}
#contact .form-wrap .notice-wrap{
    width: 100%;
    max-width: 550px;
    margin: 0 auto 60px auto;
}
#contact .form-wrap .notice-wrap > .section-title{
    text-align: right;
    position: relative;
}
#contact .form-wrap .notice-wrap > .section-title::after{
    content: "";
    width: 93px;
    height: 11px;
    background-image: url(../img/common/line-white.png);
    position: absolute;
    bottom: -10px;
    right: 130px;
}
#contact .form-wrap .notice-wrap .text{
    margin-bottom: 20px;
}
#contact .form-wrap .notice-wrap .notice{
    font-size: 0.875rem;
}
#contact .form-wrap .notice-wrap .notice > a{
    text-decoration: underline;
}

/* contact フォーム部分 ---------------------- */
.Form{
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}
.Form .Form-Item{
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.Form .Form-Item .Form-Item-Label{
    width: 170px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 10px;
}
.Form .Form-Item .Form-Item-Label .Form-Item-Label-Required{
    display: inline-block;
    width: 40px;
    height: 25px;
    color: #fff;
    font-size: 0.875rem;
    background-color: #F0C45F;
    border-radius: 15px;
    padding: 0 6px;
}
.Form .Form-Item .wpcf7-form-control-wrap{
    width: calc(100% - 170px);
}
.Form .Form-Item .wpcf7-form-control-wrap input{
    width: 100%;
    height: 30px;
    background-color: #D5B691;
    padding: 5px 10px;
}
.Form .Form-Item .wpcf7-form-control-wrap input::placeholder{
    color: #875C28;
}

.Form .Form-Item:nth-of-type(4) .wpcf7-form-control-wrap{
    width: 100%;
}
.Form .Form-Item:nth-of-type(4) .wpcf7-form-control-wrap textarea{
    width: 100%;
    height: 250px;
    background-color: #D5B691;
    padding: 5px 10px;
}
.Form .Form-Item:nth-of-type(4) .wpcf7-form-control-wrap textarea::placeholder{
    color: #875C28;
}

.Form .Form-Item:nth-of-type(5){
    width: 100%;
}
.Form .Form-Item:nth-of-type(5) .wpcf7-form-control-wrap{
    width: 100%;
}
.Form .Form-Item:nth-of-type(5) .wpcf7-acceptance{
    width: 100%;
}
.Form .Form-Item:nth-of-type(5) .wpcf7-acceptance .wpcf7-list-item{
    width: 100%;
}
.Form .Form-Item:nth-of-type(5) .wpcf7-acceptance .wpcf7-list-item label{
    display: block;
    /* width: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
}
.Form .Form-Item:nth-of-type(5) .wpcf7-acceptance .wpcf7-list-item label .accept{
    display: block;
    width: 15px;
    margin-right: 5px;
}
.Form .Form-Item:nth-of-type(5) .wpcf7-acceptance .wpcf7-list-item label .wpcf7-list-item-label{
    display: block;
    width: 176px;
}

.Form .button-wrap{
    width: 100%;
}
.Form .button-wrap .wpcf7-submit{
    display: block;
    width: 230px;
    height: 50px;
    color: #fff;
    background-color: #875C28;
    margin: 0 auto;
}

/* 送信完了メッセージを消す(thanksに飛ぶため不要） */
.wpcf7 form.sent .wpcf7-response-output {
    display: none;
  }

/* thanks ---------------------------------- */
.thanks .text-wrap{
    width: 70%;
    padding: 0 5%;
}
.thanks .text-wrap .text-inner{
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}
.thanks .text-wrap .text-inner > .section-title{
    text-align: right;
    position: relative;
}
.thanks .text-wrap .text-inner > .section-title::after{
    content: "";
    width: 93px;
    height: 11px;
    background-image: url(../img/common/line-white.png);
    position: absolute;
    bottom: -10px;
    right: 130px;
}
.thanks .text-wrap .text-inner .thanks{
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2em;
}
.thanks .text-wrap .text-inner > p{
    margin-bottom: 40px;
}


/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* contact --------------------------------- */
    #contact{
        flex-direction: column;
    }

    #contact .img-wrap{
        width: 100%;
        background-image: url(../img/common/skills-backimage.jpg);
        background-size: cover;
        background-position: top right;
        display: flex;
        justify-content: flex-end;
        padding: 40px 5%;
        margin-bottom: 60px;
    }
    #contact .img-wrap > .text{
        margin-bottom: 0;
        margin-right: 20px;
    }

    #contact .form-wrap{
        width: 100%;
    }

    /* thanks ---------------------------------- */
    .thanks .text-wrap{
        width: 100%;
    }

}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 430px) {

    /* contact --------------------------------- */
    #contact .img-wrap{
        flex-direction: column;
        background-size: cover;
        background-blend-mode:lighten;

    }
    #contact .img-wrap > .text{
        margin-bottom: 20px;
        margin-right: 0;
    }

    /* contact フォーム部分 ---------------------- */
    .Form .Form-Item{
        flex-direction: column;
    }
    .Form .Form-Item .Form-Item-Label{
        width: 100%;
        text-align: left;
        padding-right: 0;
    }
    .Form .Form-Item:nth-of-type(2) .Form-Item-Label{
        padding-left: 40px;
    }
    .Form .Form-Item .wpcf7-form-control-wrap{
        width: 100%;
    }

    .Form .Form-Item:nth-of-type(5) .wpcf7-acceptance .wpcf7-list-item label .accept{
        margin-left: -20px;
    }


}