/* テキストボックス */
input[type="text"],
input[type="email"],
input[type="tel"]{
	width:100%;
	font-size:16px;
	height:48px;
	padding:0 10px;
	background-color:#fff;
	border:1px solid #a6a6a6;
	border-radius:5px;
}

/* セレクトボックス */
select{
	width:200px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height:34px;
	padding:0 30px 0 20px;
	border:1px solid #565656;
	color:#000;
	background:#fff url(select_arrow.png)no-repeat right 5px center;
	background-size:14px auto;
	font-size:20px;
}
select::-ms-expand {
    display: none;
}
select option,
select optgroup{
	background:#fff;
}


/* ラジオボタン */
input[type="radio"] {
	display:none;
}
input[type="radio"]  + span{
	padding-left:40px;
	display:inline-block;
	vertical-align:middle;
	position: relative;
}
input[type="radio"]  + span:before{
	content: "";
	display:inline-block;
	width:30px;
	height: 30px;
	margin-right:10px;
	background-color: #FFFFFF;
	border: 1px solid #565656;
	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:calc(50% - 15px);
	left:0;
}
input[type="radio"]:checked + span:after {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background: #000;
	position: absolute;
	top: calc(50% - 10px);
	left: 5px;
	border-radius: 50%;
}


/* チェックボックス */
input[type="checkbox"] {
	display:none;
}
input[type="checkbox"] + span{
	display:inline-block;
	position: relative;
	font-weight:bold;
}
input[type="checkbox"] + span:before{
	content:'';
	display:inline-block;
	width: 30px;
	height: 30px;
	margin-right:10px;
	background-color: #FFFFFF;
	border: 1px solid #565656;
	-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;
	cursor: pointer;
	outline : none;
}
input[type="checkbox"]:checked + span:after {
	content:'';
	display: block;
	width: 12px;
	height: 25px;
	position: absolute;
	top: calc(50% - 16px);
	left: 9px;
	border-right: 4px solid #f00;
	border-bottom: 4px solid #f00;
	content: '' !impo3tant;
	-webkit-transform: rotate(45deg) !important;
	-ms-transform: rotate(45deg) !important;
	transform: rotate(45deg) !important;
}


/* テキストエリア */
textarea{
	width:100%;
	min-height: 140px;
	font-size:16px;
	padding:10px 10px;
	color:#000;
	background-color:#fff;
	border:1px solid #a6a6a6;
	border-radius:5px;
	vertical-align:bottom;
}


/* ボタン */
input[type="submit"]:focus,
input[type="button"]:focus{
	outline:none;
}
#contact input[type="submit"]{
	display:block;
	width:315px;
	margin:50px auto 0;
	line-height:60px;
	font-weight:bold;
	background-color:#fff;
	cursor:pointer;
	border-radius:30px;
	border:2px solid;
}
#confirm input[type="submit"]{
	display:inkline-block;
	width:300px;
	margin:60px 10px 0;
	line-height:60px;
	font-weight:bold;
	background-color:#fff;
	cursor:pointer;
	border-radius:30px;
	border:2px solid;
}
#confirm input[type="button"]{
	display:inkline-block;
	width:300px;
	margin:60px 10px 0;
	line-height:60px;
	font-size:20px;
	font-weight:bold;
	background-color:#fff;
	cursor:pointer;
	border-radius:30px;
	border:2px solid;
}
input[type="submit"]:hover{
	opacity:0.7;
}
input[type="submit"]:active,
#confirm input[type="button"]:active{
	opacity:1 !important;
	background-color:#e22424 !important;
	color:#fff;
}


@media screen and (max-width:768px){
	#contact input[type="submit"]{
		display:block;
		width:280px;
		margin:40px auto 0;
		line-height:50px;
		font-size:18px;
		cursor:pointer;
	}
	#confirm input[type="submit"]{
		display:inkline-block;
		width:120px;
		margin:40px 5px 0;
		line-height:50px;
		font-size:18px;
	}
	#confirm input[type="button"]{
		display:inkline-block;
		width:120px;
		margin:40px 5px 0;
		line-height:50px;
	}
}



/* プレイスホルダー */
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;
}

