@charset "utf-8";

/* =====================フォーム詳細===================== */

input[type="text"],
input[type="email"],
select,textarea {
	padding:10px;
	border-radius: 4px;
	box-sizing:border-box;
	border:1px solid #cccccc;
	background:#f9f9f9;
	font-size: 16px;
}

input[type="submit"]{
	font-size: 20px;
	padding: 20px;
	background: #99cc00;
	color: #fff;
	cursor: pointer;
	outline: none;
	box-shadow:0px 4px 4px rgba(0,0,0,0.2);
	font-weight: bold;
	width: 100%;
	max-width: 400px;
	border: solid 3px #ffffff;
}


input[type="submit"]:hover {
  background: #ffffff;
  border: solid 3px #99cc00;
  color: #99cc00;
	transition: 0.5s;
}

form {
	margin: 0 auto;
	width: 100%;
	padding: 30px 0;
	box-sizing: border-box;
}

form p {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px dashed #963;
}

form p:nth-last-of-type(1) {
	border-bottom: none;
}


select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}


select {
	border: 1px solid #ddd;
	padding: 10px;
	border-radius: 5px;
}

textarea {
	margin: 10px 0 0;
	padding: 5px;
	width: 100%;
	height: 150px;
}

.button {
	text-align: center;
}

/* =====================全体（メディアクエリ）===================== */

@media(max-width:960px){

	input[type="text"],
	input[type="password"],
	input[type="email"],
	input[type="tel"],
	input[type="url"],
	select,textarea {
		width: 100%;
	}

	form{
		padding: 10px 0;
	}

	form p:nth-last-of-type(1) {
		margin-bottom: 0;
	}
}
