/* テキストボックス */
input[type="text"],
input[type="email"],
input[type="tel"]{
	width:100%;
	font-size:28px;
	height:54px;
	padding:0 10px;
	background-color:#F4F3F2;
	outline:none;
}
@media screen and (max-width:768px){
	input[type="text"],
	input[type="email"],
	input[type="tel"]{
		font-size:16px;
	}
}

/* セレクトボックス */
select{
	width:100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height:54px;
	padding:0 40px 0 10px;
	color:#000;
	background:#F4F3F2 url(select_arrow.png)no-repeat right 10px center;
	background-size:23px auto;
	font-size:28px;
	outline:none;
}
@media screen and (max-width:768px){
	select{
		font-size:16px;
	}
}

select::-ms-expand {
    display: none;
}
select option,
select optgroup{
	background:#fff;
}


/* ラジオボタン */
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 #d2d2d2;
	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%;
}


/* チェックボックス */
input[type="checkbox"] {
	opacity:0;
}
input[type="checkbox"] + span{
	display:inline-block;
	vertical-align:middle;
	position: relative;
	margin-left:-15px;
	padding-left:25px;
}
input[type="checkbox"] + span:before{
	content:'';
	display:inline-block;
	width: 20px;
	height: 20px;
	margin-right:0px;
	background-color: #FFFFFF;
	border: 1px solid #d2d2d2;
	-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;
}


/* テキストエリア */
textarea{
	width:100%;
	min-height: 115px;
	font-size:16px;
	padding:10px 10px;
	color:#000;
	background-color:#F4F3F2;
	border-top:2px solid #8E8E8E;
	border-left:2px solid #8E8E8E;

	vertical-align:bottom;
}
@media screen and (max-width:768px){
textarea{
	min-height: 80px;
}
}


/* ボタン */

input[type="submit"],
button[type="submit"],
button[type="reset"],
button[type="button"]{
	display:block;
	width:100%;
	line-height:60px;
	margin:20px auto 0;
	font-size:23px;
	font-weight:bold;
	background:linear-gradient(#576aaa, #404f80);
	color:#fff;
	transition : none;
	cursor:pointer;
	transition : opacity 0.4s;
	-webkit-transition : opacity 0.4s;
}
input[type="submit"]:hover,
button[type="submit"]:hover,
button[type="reset"]:hover,
button[type="button"]:hover{
	opacity:0.7;
}

@media screen and (max-width:768px){
	input[type="submit"],
	button[type="submit"],
	button[type="reset"],
	button[type="button"]{
		line-height:3;
		font-size:4.5vw;
	}
}



/* プレイスホルダー */
input::placeholder,
textarea::placeholder{
  color:#9b9898;
}
input:-ms-input-placeholder,
textarea::placeholder{
  color:#9b9898;
}
input::-ms-input-placeholder,
textarea::placeholder{
  color:#9b9898;
}


/* エラー */
form label.error {
	margin:0 0 0;
	color: red;
	display:block;
	text-align:left;
	font-size:17px;
	font-weight:bold;
}

