/* テキストボックス */
input[type="text"],
input[type="email"],
input[type="tel"]{
	width:100%;
	height:30px;
	padding:0 0.3em;
	font-size:16px;
	background-color:#fff;
	border:1px solid #B3B3B3;
	outline:none;
}
input[type="text"].middle{
	max-width:194px;
}
input[type="tel"].short{
	max-width:140px;
}
input[type="tel"].num{
	max-width:50px;
}
input[type="text"] + span,
input[type="email"] + span,
input[type="tel"] + span{
	margin-left:0.3em;
	display:inline-block;
	font-size:14px;
}

@media screen and (max-width:1080px){
	input[type="text"].middle + span,
	input[type="tel"].short + span{
		display:block;
		margin-top:0.3em;
	}
}



/* セレクトボックス */
select{
	width:257px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height:40px;
	padding: 0 1em;
	font-size:16px;
	border-radius:4px;
	border:1px solid #888888;
	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;
}
input[type="radio"]  + span:before{
	content: "";
	display:inline-block;
	width:22px;
	height: 22px;
	margin-right:10px;
	background-color: #FFFFFF;
	border: 1px solid #B3B3B3;
	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:before{
	border: 1px solid #0071BC;
}
input[type="radio"]:checked + span:after {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background: #0071BC;
	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:13px;
	}
}

input[type="checkbox"] + span:before{
	content:'';
	display:inline-block;
	width: 22px;
	height: 22px;
	margin-right:10px;
	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;
}
input[type="checkbox"]:checked + span:after {
	content:'';
	display: block;
	width: 16px;
	height: 10px;
	border-left:3px solid #f00;
	border-bottom:3px solid #f00;
	transform:rotate(-45deg);
	position: absolute;
	top: calc(50% - 4px);
	left: 3px;
	content: '' !impotant;
	
}


/* テキストエリア */
textarea{
	width:100%;
	min-height: 150px;
	padding:5px 0.3em;
	background-color:#fff;
	border:1px solid #B3B3B3;
	font-size:16px;
	line-height:1.5;
	border-radius:0;
	vertical-align:bottom;
	outline:none;
}
@media screen and (max-width:768px){
	textarea{
		min-height: 150px;
	}
}

/* ボタン */
#contact input[type="submit"],
#contact button{
	display:inline-block;
	width:300px;
	line-height:3;
	margin:30px auto 0;
	font-size:16px;
	font-weight:bold;
	color:#fff;
	background-color:#F15A24;
	text-indent:0.3em;
	border-radius:0;
	transition : opacity 0.4s;
	-webkit-transition : opacity 0.4s;
	cursor:pointer;
}

#contact input[type="submit"]:hover,
#contact button:hover{
	opacity:0.7;
}
#contact.confirm input[type="submit"],
#contact.confirm button{
	width:45%;
}

@media screen and (max-width:768px){
	#contact input[type="submit"]{
		width:90%;
		line-height:3;
		margin:6% 0 0;
		font-size:16px;
	}
	#contact button{
		max-width:320px;
		width:46%;
		margin:6% 0 0;
		line-height:3;
		text-indent:0.1em;
		font-size:16px;
	}
}



/* プレイスホルダー */
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:5px 0;
	color: red;
	display:block;
	text-align:left;
	font-size:16px;
	line-height:1.3;
}
form #check_error + .error {
	font-size:16px;
	text-align:center;
}

