
.contact .page_header img{
    object-position: -80px -70px;/*お問い合わせの位置変更*/
}
.contact .page_header img{
    width:111.74%;
}

.contact_info{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact_info a{
    transition: .3s;
}
.contact_info a:hover{
    opacity: .8;
}

/*お問い合わせフォーム*/
.form{
    display: flex;
    align-items: center;
    margin-top:1.875rem;
}
.form.contact_content{
    align-items: flex-start;
}
.form_ttl {
    display: flex
;
}
.form.contact_content .form_ttl label,
.form.contact_content .form_ttl .required{
    margin-top:1.063rem;
}
.form .form_ttl label{
    display: inline-block;
    width:186px;
}
.form .required{
    font-size: 0.875rem;
    color:white;
    background-color: #F0B760;
    border-radius: 2px;
    padding:0.063rem 0.25rem 0.125rem 0.25rem;
    height: 100%;
    font-weight: 500;
    margin-right: 5.625rem;
}

.form_input{
    flex-grow: 2;
}
.wpcf7-form-control-wrap{
    display: block;
    width: calc(100% - 3.75rem);
}
span.wpcf7-form-control-wrap input,
textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {
    border: none;
    padding:1.438rem 1.875rem;
    border-radius: 6px;
    width:100%;
}

/*電話番号入力欄*/
.form .tel_number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}
.form .tel_number p:not(.hyphen p){
    width: calc(((100% - 7.5rem) - 3.75rem) / 3);
}
.form .tel_number .tel_part{
    display: inline-block;
    width: 100%;
}
.form .tel_number span.wpcf7-form-control-wrap input{
    width: 100%;
}
.hyphen {
    display: inline-block;
}

/*送信ボタン*/
.submit_btn {
    text-align: center;
    margin-top: 5.625rem;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner{
    font-family: "Zen Maru Gothic", serif;
    border: none;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 1.375rem 0;
    width: 277px;
    background-color: #F0B760;
    border-radius: 9999px;
    cursor: pointer;
}

span.wpcf7-spinner {
    display: block;
}

/*--------------------------------------------------------------------------------------------

1200px以下

---------------------------------------------------------------------------------------------*/
@media(max-width:1200px){
    .contact .page_header img {
        object-position: -6vw 23%;/*お問い合わせの位置変更*/
    }

    /*お問い合わせフォーム*/
    .form .tel_number p:not(.hyphen p) {
        width: calc(((100% - 1.5rem) - 3.75rem) / 3);
    }

}


/*--------------------------------------------------------------------------------------------

1024px以下

---------------------------------------------------------------------------------------------*/
@media(max-width:1024px){
}


/*--------------------------------------------------------------------------------------------

890px以下

---------------------------------------------------------------------------------------------*/
@media(max-width:890px){

    /*お問い合わせフォーム*/
    .form{
        flex-flow: column;
        align-items: flex-start;
    }
    .form .form_ttl label{
        width:100%;
        margin-right: 1rem;
    }
    .form_input{
        width: 100%;
        margin-top: 1rem;
    }
    .form .tel_number{
        margin-top: 1rem;
    }

    /*電話番号入力欄*/

    .form .tel_number p:not(.hyphen p) {
        width: calc(((100% - 1.5rem) - 3.75rem) / 3);
    }
}


/*--------------------------------------------------------------------------------------------

768px以下

---------------------------------------------------------------------------------------------*/
@media(max-width:768px){
    .contact_info{
        flex-flow: column;
        align-items: flex-start;
    }
    .contact_info img{
        margin-top:2rem;
    }
}


/*--------------------------------------------------------------------------------------------

600px以下

---------------------------------------------------------------------------------------------*/
@media(max-width:600px){

    /*電話番号入力欄*/
    .form .tel_number p:not(.hyphen p) {
        width: calc(((100% - 3.75rem) / 3));
    }
}


/*--------------------------------------------------------------------------------------------

425px以下

---------------------------------------------------------------------------------------------*/
@media(max-width:425px){
}



/*--------------------------------------------------------------------------------------------

375px以下

---------------------------------------------------------------------------------------------*/
@media(max-width:375px){
}


/*--------------------------------------------------------------------------------------------

320px以下

---------------------------------------------------------------------------------------------*/
@media(max-width:320px){
}