/* テキストボックス */
input[type="text"],
input[type="email"],
input[type="tel"]{
	width:100%;
	font-size:16px;
	height:40px;
	padding:0 5px;
	color:#000;
	border:1px solid #0749b9;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-weight:normal;
	outline:none;
}


/* セレクトメニューのデザイン */
select{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size:16px;
	width:80%;
	height:28px;
	padding:0 1em 0 10px;
	color:#000;
	border:1px solid #aaa;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border:1px solid #aaa;
	background: url(images/select_arrow.png) right 50% no-repeat, -webkit-linear-gradient(#ffffff, #e3e3e3);
	background: url(images/select_arrow.png) right 50% no-repeat, linear-gradient(#ffffff, #e3e3e3);
	font-weight:normal;
	outline:none;
}
select::-ms-expand {
    display: none;
}
select option,
select optgroup{
	background:#fff;
}


/* チェックボックス */
input[type="checkbox"] {
	opacity:1;
}
input[type="checkbox"] + span{
	line-height:3;
	display:inline-block;
	vertical-align:middle;
	position: relative;
	margin-left:-15px;
	padding-left:30px;
}
input[type="checkbox"] + span:before{
	content:'';
	display:inline-block;
	width: 22px;
	height: 22px;
	margin-right:0px;
	background-color: #FFFFFF;
	border:1px solid #999;
	-webkit-box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	vertical-align: middle;
	border-radius:2px;
	cursor: pointer;
	outline : none;
	position:absolute;
	top:50%;
	left:0;
	transform:translateY(-50%);
}
input[type="checkbox"]:checked + span:after {
	content:'';
	display: block;
	width: 8px;
	height: 14px;
	position: absolute;
	top: calc(50% - 9px);
	left: 7px;
	border-right: 3px solid #f00;
	border-bottom: 3px solid #f00;
	content: '' !impo3tant;
	-webkit-transform: rotate(45deg) !important;
	-ms-transform: rotate(45deg) !important;
	transform: rotate(45deg) !important;
}


/* ラジオボタン */
@media screen and (max-width:768px){
	.wpcf7-list-item{
		display:block !important;
	}
}
input[type="radio"] {
	opacity:0;
}
input[type="radio"]  + span{
	margin-left:-12px;
	padding-left:30px;
	display:inline-block;
	vertical-align:middle;
	position: relative;
}
input[type="radio"]  + span:before{
	content: "";
	display:inline-block;
	width:22px;
	height: 22px;
	margin-right:10px;
	background-color: #FFFFFF;
	border: 1px solid #999;
	border-radius:  50%;
	-webkit-box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	cursor: pointer;
	outline : none;
	position:absolute;
	top:50%;
	left:0;
	transform:translateY(-50%);
}
input[type="radio"]:checked + span:after {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background: #444;
	position: absolute;
	top: 50%;
	left: 5px;
	transform:translateY(-50%);
	border-radius: 50%;
}


/* ラジオボタン(チェックボックスをラジオボタンデザインに) */
.radio input[type="checkbox"] {
	opacity:0;
}
.radio input[type="checkbox"] + span{
	margin-left:-12px;
	padding-left:30px;
	display:inline-block;
	vertical-align:middle;
	position: relative;
}
.radio input[type="checkbox"] + span:before{
	content:'';
	display:inline-block;
	width:22px;
	height: 22px;
	margin-right:10px;
	background-color: #FFFFFF;
	border: 1px solid #999;
	border-radius:  50%;
	-webkit-box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	cursor: pointer;
	outline : none;
	position:absolute;
	top:50%;
	left:0;
	transform:translateY(-50%);
}
.radio input[type="checkbox"]:checked + span:after {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background: #444;
	position: absolute;
	top: 50%;
	left: 5px;
	transform:translateY(-50%) !important;
	border-radius: 50%;
	border:none;
}


/* テキストエリア */
textarea{
	width:100%;
	min-height: 8em;
	font-size:16px;
	height:32px;
	padding:0 10px;
	color:#000;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border:1px solid #0749b9;
	font-weight:normal;
	vertical-align:bottom;
	outline:none;
}


/* ボタン */
button[type="submit"],
button[type="button"]{
	line-height:2;
	margin-top:20px;
	padding:0 1em;
	font-size:24px;
	border:2px solid #0749b9;
	border-radius:5px;
	color:#fff;
	cursor:pointer;
}
button[type="submit"]:hover,
button[type="button"]:hover{
	color:#0749b9;
	background-color:#fff;
}

@media screen and (max-width:750px){
	button[type="submit"],
	button[type="button"]{
		font-size:5vw;
	}
}


form label.error {
	margin:0 0 0;
	color: red;
	display:block;
}
