/* テキストボックス */
input[type="yourname"],
input[type="email"]{
	width:100%;
	font-size:20px;
	height:70px;
	padding:0 1.5em;
	background-color:#fffacf;
	border:1px solid #294667;
	border-radius:1em;
	outline:none;
}
input[type="text"],
input[type="tel"]
{
	width:100%;
	font-size:20px;
	height:70px;
	padding:0 1.5em;
	background-color:#fff;
	border:1px solid #294667;
	border-radius:1em;
	outline:none;
}

@media screen and (max-width:768px){
	input[type="text"],
	input[type="yourname"],
	input[type="email"],
	input[type="tel"]{
		font-size:16px;
		height:50px;
		padding:0 1em;
	}
}


/* セレクトボックス */
select{
	width:100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height:70px;
	padding:0 5em 0 1.5em;
	background:#fff url(select_arrow.svg)no-repeat right 1em center;
	background-size:1.5em auto;
	border:1px solid #294667;
	border-radius:1em;
	outline:none;
}
@media screen and (max-width:768px){
	select{
		height:50px;
		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: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 #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: #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:-40px;
	padding-left:40px;
}
input[type="checkbox"] + span:before{
	content:'';
	display:inline-block;
	width: 30px;
	height: 30px;
	margin-right:5px;
	background-color: #FFFFFF;
	border: 1px solid #3e3a39;
	-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:0px;
	cursor: pointer;
	outline : none;
	position:absolute;
	top:50%;
	left:0;
	transform:translateY(-50%);
}
input[type="checkbox"]:checked + span:after {
	content:'';
	display: block;
	width: 16px;
	height: 22px;
	position: absolute;
	top: calc(50% - 15px);
	left: 7px;
	border-right: 4px solid #f00;
	border-bottom: 4px solid #f00;
	content: '' !important;
	-webkit-transform: rotate(45deg) !important;
	-ms-transform: rotate(45deg) !important;
	transform: rotate(45deg) !important;
}

@media screen and (max-width:768px){
	input[type="checkbox"] + span{
		margin-left:-30px;
		padding-left:30px;
	}
	input[type="checkbox"] + span:before{
		width: 20px;
		height: 20px;
		margin-right:3px;
	}
	input[type="checkbox"]:checked + span:after {
		content:'';
		display: block;
		width: 8px;
		height: 15px;
		position: absolute;
		top: calc(50% - 10px);
		left: 6px;
		border-right: 3px solid #f00;
		border-bottom: 3px solid #f00;
		content: '' !important;
		-webkit-transform: rotate(45deg) !important;
		-ms-transform: rotate(45deg) !important;
		transform: rotate(45deg) !important;
	}
}


/* テキストエリア */
textarea{
	width:100%;
	min-height: 260px;
	font-size:20px;
	padding:1em 1.5em;
	background-color:#fff;
	border:1px solid #294667;
	border-radius:1em;
	vertical-align:bottom;
}
@media screen and (max-width:768px){
	textarea{
		font-size:16px;
		padding:0.5em 1em;
		min-height: 120px;
	}
}


/* ボタン */
button[type="submit"],
button[type="button"]{
	display:inline-block;
	width:466px;
	line-height:66px;
	margin:50px auto 0;
	font-size:26px;
	font-weight:bold;
	background-color:#ff643a;
	color:#fff;
	border-radius:0.7em;
	cursor:pointer;
	transition : opacity 0.4s;
	-webkit-transition : opacity 0.4s;
}
button[type="submit"]:hover{
	opacity:0.7;
}

.confirm button[type="submit"]{
	max-width:308px;
	width:45%;
	margin-left:0.5em;
}
.confirm button[type="button"]{
	max-width:308px;
	width:45%;
	background-color:#808080;
}

@media screen and (max-width:768px){
	button[type="submit"],
	button[type="button"]{
		width:250px;
		line-height:3.4;
		margin:40px auto 0;
		font-size:16px;
	}
}

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

input[name="name"]{
	background-color:#fffacf;
}
