/* テキストボックス */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"]{
	max-width:530px;
	width:100%;
	height:40px;
	padding:0 1em;
	background-color:#fff;
	border:1px solid #868686;
	border-radius:0px;
	outline:none;
}
@media screen and (max-width:1024px){
	input[type="text"],
	input[type="email"],
	input[type="url"],
	input[type="tel"]{
		font-size:16px;
	}
}


/* セレクトボックス */
select{
	width:100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width:200px;
	height:65px;
	padding:0 30px 0 1em;
	border-radius:4px;
	background:#F4F3F3 /*url(select_arrow.png)*/no-repeat right 6px center;
	background-size:16px auto;
	outline:none;
}
select::-ms-expand {
    display: none;
}
select option,
select optgroup{
	background:#fff;
}
@media screen and (max-width:768px){
	select{
		height:45px;
	}
}


/* ラジオボタン */
input[type="radio"] {
	opacity:0;
}
input[type="radio"]  + span{
	margin-left:-15px;
	padding-left:30px;
	display:inline-block;
	vertical-align:middle;
	position: relative;
}
@media screen and (max-width:768px){
	input[type="radio"]  + span{
		font-size:16px;
	}
}
input[type="radio"]  + span:before{
	content: "";
	display:inline-block;
	width:22px;
	height: 22px;
	margin-right:10px;
	background-color: #FFFFFF;
	border: 1px solid #868686;
	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: #b81b21;
	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;
}
@media screen and (max-width:768px){
	input[type="checkbox"] + span{
		font-size:16px;
	}
}

input[type="checkbox"] + span:before{
	content:'';
	display:inline-block;
	width: 22px;
	height: 22px;
	margin-right:10px;
	background-color: #FFFFFF;
	border: 1px solid #868686;
	-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;
}
input[type="checkbox"]:checked + span:after {
	content:'';
	display: block;
	width: 16px;
	height: 10px;
	border-left:3px solid #b81b21;
	border-bottom:3px solid #b81b21;
	transform:rotate(-45deg);
	position: absolute;
	top: calc(50% - 4px);
	left: 3px;
	content: '' !impotant;
	
}


/* テキストエリア */
textarea{
	max-width:530px;
	width:100%;
	min-height: 190px;
	padding:10px 1em;
	background-color:#fff;
	border:1px solid #868686;
	line-height:1.5;
	border-radius:0px;
	vertical-align:bottom;
	outline:none;
}
@media screen and (max-width:1024px){
	textarea{
		font-size:16px;
	}
}
@media screen and (max-width:768px){
	textarea{
		min-height: 140px;
	}
}

/* ボタン */
#contact input[type="submit"]{
	display:block;
	width:300px;
	line-height:68px;
	margin:30px auto 0;
	color:#fff;
	background-color:#b81b21;
	border-radius:0.5em;
	transition : opacity 0.4s;
	-webkit-transition : opacity 0.4s;
	cursor:pointer;
}
#contact button{
	display:inline-block;
	max-width:300px;
	width:46%;
	line-height:68px;
	color:#fff;
	background-color:#c4000b;
	border-radius:0.5em;
	transition : all 0.4s;
	-webkit-transition : all 0.4s;
	cursor:pointer;
}

input[type="submit"]:hover,
#contact button:hover{
	opacity:0.7;
}

@media screen and (max-width:768px){
	#contact input[type="submit"]{
		max-width:320px;
		width:90%;
		font-size:16px;
		line-height:3;
		margin:5% auto 0;
	}
	#contact button{
		max-width:320px;
		font-size:16px;
		line-height:3;
	}
}



/* プレイスホルダー */
input::placeholder,
textarea::placeholder{
  color:#ccc;
}
input:-ms-input-placeholder,
textarea::placeholder{
  color:#ccc;
}
input::-ms-input-placeholder,
textarea::placeholder{
  color:#ccc;
}


/* エラー */
form label.error {
	margin-top:7px;
	color: red;
	display:block;
	text-align:left;
	font-size:16px;
	line-height:1.3;
}
form #check_error + .error {
	font-size:16px;
	text-align:center;
}

