/* テキストボックス */
input[type="text"],
input[type="email"],
input[type="tel"]{
	width:100%;
	font-size:16px;
	height:40px;
	padding:0 0.5em;
	background-color:#fff;
	border-radius:0;
	outline:none;
}


/* セレクトボックス */
select{
	max-width:380px;
	width:80%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height:60px;
	padding:0 40px 0 1.5em;
	color:#000;
	background:#fff url(select_arrow.png)no-repeat right 10px center;
	background-size:15px auto;
	border:1px solid #919191;
	border-radius:1.2em;
	outline:none;
}
@media screen and (max-width:768px){
	select{
		height:40px;
		padding-left:1em;
		font-size:16px;
		border-radius:0.6em;
	}
}

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:25px;
	display:inline-block;
	vertical-align:middle;
	position: relative;
}
input[type="radio"]  + span:before{
	content: "";
	display:inline-block;
	width:18px;
	height: 18px;
	margin-right:10px;
	background-color: #FFFFFF;
	border: 1px solid #3e3a39;
	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: #317E63;
	position: absolute;
	top: 50%;
	left: 3px;
	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: 18px;
	height: 18px;
	margin-right:0px;
	background-color: #FFFFFF;
	border: 1px solid #ccc;
	-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: 12px;
	height: 12px;
	background-color:#f00;
	position: absolute;
	top:50%;
	left: 3px;
	transform:translateY(-50%);
}


/* テキストエリア */
textarea{
	width:100%;
	min-height: 250px;
	font-size:16px;
	padding:0.5em 0.5em;
	background-color:#fff;
	border-radius:0.;
	vertical-align:bottom;
	outline:none;
}
@media screen and (max-width:768px){
	textarea{
		min-height: 200px;
		font-size:16px;
	}
}


/* ボタン */
button{
	display:inline-block;
	width:170px;
	line-height:40px;
	margin:50px 0 0;
	font-size:20px;
	font-weight:bold;
	color:#fff;
	background-color:#ac5906;
	cursor:pointer;
	transition : opacity 0.4s;
	-webkit-transition : opacity 0.4s;
}
#confirm button[type="button"]{
	background-color:#cf9e6f;
}

button[type="submit"]:after{
	content:'';
	display:inline-block;
	width: 0;
	height: 0;
	margin-left:0.5em;
	border-style: solid;
	border-width: 0.3em 0 0.3em 0.4em;
	border-color: transparent transparent transparent #fff;
}

button[type="button"]:before{
	content:'';
	display:inline-block;
	width: 0;
	height: 0;
	margin-right:0.5em;
	border-style: solid;
	border-width: 0.3em 0.4em 0.3em 0;
	border-color: transparent #fff transparent transparent;
}



button:hover{
	opacity:0.7;
}

@media screen and (max-width:768px){
	button{
		width:60%;
		line-height:2.4;
		margin:10% 0 0;
		font-size:4.8vw;
	}
	
	#confirm button[type="submit"],
	#confirm button[type="button"]{
		width:30%;
	}
}



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


/* エラー */
.error_mess{
	margin-bottom:1em;
	font-size:16px;
	font-weight:bold;
	color: red;
	display:none;
}
.error {
	font-size:14px;
	font-weight:bold;
	color: red;
	display:block;
}

@media screen and (max-width:768px){
	.error_mess{
		font-size:16px;
	}
	.error {
		font-size:14px;
	}
}