
#wpcf7-f131-p154-o1,
#wpcf7-f26-p10-o1{
    width:100%;
    max-width:1000px;
    margin:0 auto;
}
/* ページタイトル */
.title_kv:after{
    content:"お問い合わせ";
}

/* 問い合わせページ　説明 */
.contact_text_top{
    width:100%;
    max-width:1000px;
    margin:0 auto;
    margin-bottom:20px; 
    text-align:center;
}
.wpcf7-form-control-wrap input{
    box-sizing:border-box;
    padding:10px;
}
input,
textarea{
    border:1px solid #c9c9ad;
}
/* 入力項目 */
.contact_name,
.contact_huri,
.contact_address,
.contact_tel,
.contact_mail,
.contact_text{
    display:flex;
    border-top:1px solid;
}
.contact_text{
    border-bottom:1px solid;
}

/* 項目名 */
.contact_name label,
.contact_huri label,
.contact_address label,
.contact_tel label,
.contact_mail label,
.contact_text label{
    display:flex;
}

.contact_name p:nth-of-type(2),
.contact_huri p:nth-of-type(2),
.contact_address p:nth-of-type(2),
.contact_tel p:nth-of-type(2),
.contact_mail p:nth-of-type(2),
.contact_text p:nth-of-type(2){
    width:100%;
    max-width:250px;
    margin-right:20px;
    padding:20px;
    background-color:var(--base-color);
}

.contact_name p:nth-of-type(3),
.contact_huri p:nth-of-type(3),
.contact_address p:nth-of-type(3),
.contact_tel p:nth-of-type(3),
.contact_mail p:nth-of-type(3),
.contact_text p:nth-of-type(3){
    display:flex;
    justify-content:center;
    align-items:center;
    width: 50%;
}
.contact_text input{
    padding:10px;
}
.wpcf7-form-control-wrap,
.contact_address p:nth-of-type(3),
.contact_text p:nth-of-type(3),
.wpcf7-form-control-wrap input{
    width:100%;
}
textarea{
    width:100%;
    margin-top:20px;
    margin-bottom:20px;
}

.privacy{
    box-sizing:border-box;
    width:1000px;
    height:120px;
    margin:0 auto;
    margin-top:50px;
    padding-top:30px;
    padding-bottom:30px;
    background-color:var(--base-color);
}
.privacy_link{
    border-bottom:1px solid #c9c9ad;
    color:#000;
    text-decoration: underline;
}
.privacy p{
    text-align:center;
}

/*送信ボタン*/
.submit{
    width:100%;
    max-width:250px;
    margin:0 auto;
    margin-top:50px;
}
.wpcf7-submit{
    border:1px solid var(--main-color);
    border-radius:5px;
    width:100%;
    height:70px;
    color:#fff;
    font-size:14px;
    font-weight:bold;
    text-align:center;
    background-color:var(--main-color);
}
.wpcf7-list-item{
    display:flex;
    justify-content:center;
    align-items:center;
}
.wpcf7-list-item label{
    display: flex;
    align-items: center;
}
.wpcf7-list-item input{
    display:block;
    width:20px !important;
}
@media screen and (max-width:1000px){
    p{
        border:none;
    }
    .contact_text_top{
        width:95%;
        margin:20px auto;
    }
    .contact_detail{
        margin:0 auto;
        width:95%;
    }
    .contact_name,
    .contact_huri,
    .contact_address,
    .contact_tel,
    .contact_mail,
    .contact_text{
        display:block;
    }
    .contact_name p:nth-of-type(2),
    .contact_huri p:nth-of-type(2),
    .contact_address p:nth-of-type(2),
    .contact_tel p:nth-of-type(2),
    .contact_mail p:nth-of-type(2),
    .contact_text p:nth-of-type(2){
        width:auto;
        max-width:none;
        padding:10px;
        margin-right:0;
    }
    input{
        width:100%;
        margin:10px auto;
        padding:10px;
        border:1px solid #ccc;
    }
    .contact_name,
    .contact_huri,
    .contact_address,
    .contact_tel,
    .contact_mail,
    .contact_text{
        border-top:none;
    }
    .contact_name p:nth-of-type(3),
    .contact_huri p:nth-of-type(3),
    .contact_address p:nth-of-type(3),
    .contact_tel p:nth-of-type(3),
    .contact_mail p:nth-of-type(3),
    .contact_text p:nth-of-type(3){
        display:block;
    }
    .privacy{
        width:100%;
        height:auto;
        margin:30px auto;
    }
    textarea{
        width:97%;
    }   
}