@charset "utf-8";

.mw_wp_form input[type="submit"],
.wpcf7 input[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: 0;
  border-radius: 0;
  text-align: inherit;
  overflow: visible;
}

.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: transparent;
    padding: 0;
    margin: 0;
    outline: 0;
    border-radius: 0;
    text-align: inherit;
}

.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type=" url"]  {
    overflow: visible;
}

/*---------------------------------------------
お問い合わせページのmw wp formで使用
20210909追加
---------------------------------------------*/
.mw_wp_form th,
.wpcf7 th{
    min-width: 220px;
    box-sizing: border-box;
}

.mw_wp_form select,
.mw_wp_form input[type="file"],
.wpcf7 select,
.wpcf7 input[type="file"] {
    font-size: 16px;
}


.mw_wp_form input[type="email"],
.mw_wp_form input[type="text"],
.mw_wp_form textarea,
.wpcf7 input[type="email"],
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea  {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 1px solid #8f8f9d;
    padding: 2px 5px;
}

.mw_wp_form input[type="email"],
.wpcf7 input[type="email"] {
    box-sizing: border-box;
}

.wpcf7 input#zip_style {
	display:inline-block;
	max-width:200px;
	margin-bottom:5px;
}

.mw-wp-form__address .select_style,
.mw-wp-form__address .mwform-zip-field {
    display: inline-block;
    margin-bottom: 10px;
}

.mw_wp_form input[type="submit"],
.wpcf7 input[type="submit"] {
    background: #8CC63F;
    width: 80%;
    max-width: 300px;
    color: #fff;
    display: block;
    height: 45px;
    border-radius: 6px;
    line-height: 45px;
    padding: 0 10px;
    font-size: 18px;
    position: relative;
    margin: 20px auto;
    box-sizing: border-box;
    border: 0;
    cursor: pointer;
}

.mw_wp_form textarea,
.wpcf7 textarea {
    box-sizing: border-box;
}

.mw_wp_form p a,
.wpcf7 p a {
    text-decoration: underline;
}

.mw_wp_form .mwform-file-delete {
    font-size: 30px;
    line-height: 1;
}


@media (max-width:780px) {
    .mw_wp_form td,
    .wpcf7 td {
        padding: 15px 10px;
    }

    .mw_wp_form th,
    .wpcf7 th {
        min-width: initial;
        min-width: auto;
    }

    .mw_wp_form input[type="email"],
    .mw_wp_form input[type="text"],
    .mw_wp_form textarea,
    .wpcf7 input[type="email"],
    .wpcf7 input[type="text"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="url"],
    .wpcf7 textarea {
        font-size: 16px;
		max-width:100%; 
        box-sizing: border-box;
    }
	.wpcf7-form-control-wrap.your_file input[type="file"]{
		font-size:14px;
	}
}
