@charset "utf-8";

/* 色の設定 */

.wpcf7 .item .th { background-color:#efefef; }
.wpcf7 .item .th, .wpcf7 .item .th p { color:#222222; }

.wpcf7 .item > *:first-child:before, .mw_wp_form .item > *:first-child:before {

	content: '任意';
	background-color: #8ab3a0;
	color: #ffffff;

}
.wpcf7 .item.must > *:first-child:before, .mw_wp_form .item.must > *:first-child:before {

	content: '必須';
	background-color: #ec768c;
	color: #ffffff;

}

.wpcf7 .btn-submit,
.mw_wp_form .btn-submit {

	/*border: solid 1px #009e86;
	background: #13c7b0;*/
	border: solid 1px #cccccc;
	background: #ffffff;
	color: #222222;

}
.wpcf7 .btn-submit:active,
.mw_wp_form .btn-submit:active {

	/*background: #009e86;*/
	background: #eeeeee;

}

/* 色の設定ここまで */

.wpcf7 .item .th, .wpcf7 .item .td,
.mw_wp_form_confirm .item .th, .mw_wp_form_confirm .item .td {

	line-height: 0;

}

/* .wpcf7 .item .th,
.mw_wp_form_confirm .item {

	margin-top: -1px;
	border: solid 1px #ddd;

}
.wpcf7 .item,
.mw_wp_form_confirm .item {

	margin-top: -1px;
	border: solid 1px #ddd;

}
.wpcf7 .item > *:first-child,
.mw_wp_form_confirm .item > *:first-child {

	border-right: solid 1px #ddd;

} */
.wpcf7 .item > *,
.mw_wp_form_confirm .item > * {

	border: solid 1px #ddd;

}

.wpcf7 .item,
.mw_wp_form .item {

	font-size: 1.6rem;

}
.wpcf7 label,
.mw_wp_form label { cursor:pointer; }

input,
textarea,
select {

	box-sizing: border-box;
	font-family: Arial;

}

input[type="text"],
textarea,
select,
.mwform-checkbox-field, .mwform-radio-field  {

	color: #404040;

}
input[type="text"]::-webkit-input-placeholder { color:#ccc; }
input[type="text"]:-ms-input-placeholder { color:#ccc; }
input[type="text"]::-moz-placeholder { color:#ccc; }
input[type="password"]::-webkit-input-placeholder { color:#ccc; }
input[type="password"]:-ms-input-placeholder { color:#ccc; }
input[type="password"]::-moz-placeholder { color:#ccc; }
input[type="tel"]::-webkit-input-placeholder { color:#ccc; }
input[type="tel"]:-ms-input-placeholder { color:#ccc; }
input[type="tel"]::-moz-placeholder { color:#ccc; }
input[type="email"]::-webkit-input-placeholder { color:#ccc; }
input[type="email"]:-ms-input-placeholder { color:#ccc; }
input[type="email"]::-moz-placeholder { color:#ccc; }
textarea::-webkit-input-placeholder { color:#ccc; }
textarea:-ms-input-placeholder { color:#ccc; }
textarea::-moz-placeholder { color:#ccc; }

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
textarea {

	border: solid 1px #aaa;
	padding: 8px 4px;
	box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.1) inset;

}

input[type="submit"] {

	-webkit-appearance:none;
	text-align: center;
	display: inline-block;
	cursor: pointer;
	padding: 15px;
	outline: 0;
	font-size: 1.8rem;
	font-weight: bold;

}

.mw_wp_form .btn-back {

	border: solid 1px #d14841;
	background: #eb6b56;
	color: #fff;

}
.mw_wp_form .btn-back:active {

	background: #d14841;

}

.wpcf7 #btn-submit, .mw_wp_form #btn-submit { text-align:center; }
.mw_wp_form_confirm .btn-back, .mw_wp_form_confirm .btn-submit { width:calc((100% - 30px) / 2); }
.mw_wp_form_confirm .btn-submit { margin-left:30px; }

/* 必須表示 */
.wpcf7 .item > *:first-child, .mw_wp_form .item > *:first-child {

	position: relative;

}
.wpcf7 .item > *:first-child:before, .mw_wp_form .item > *:first-child:before {

	display: block;
	padding: 0.6em;
	position: absolute;
	right: 15px;
	/* top: 50%; */
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	color: #fff;
	line-height: 1.0em;

}

/********************************/
/* フォントサイズ・間隔 */
/********************************/
.wpcf7 p, .mw_wp_form p { font-size:1.6rem; }
.mwform-checkbox-field, .mwform-radio-field { font-size:1.6rem; }
select { font-size:1.6rem; }
input[type="text"], input[type="password"], input[type="tel"], input[type="email"], textarea { font-size:1.6rem; line-height:1.428571429; }
.wpcf7-not-valid-tip { margin-top:0.3em; font-size:1.3rem!important; line-height:1; /*ツールチップ*/ }
.wpcf7-response-output { font-size:1.4rem; }
.wpcf7-validation-errors { border-color:#fa0000!important; }
.wpcf7-mail-sent-ok { border-color:#6188f5!important; }