@charset "utf-8";

* {
	margin: 0;
	padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #e5e5e5;
}


body {
	box-sizing: border-box;
	overflow: hidden;
	padding: 10px;
}

#wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

#contents {
	background-color: #fff;
	width: 260px;
	border-radius: 4px;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	padding: 30px 15px;
}

input, textarea, button {
	font-family: $font-family;
	-webkit-appearance: none;
	box-sizing: border-box;
}

.input {
	width: 100%;
	display: block;
	border-radius: 4px;
	border: 0;
	background-color: #e5e5e5;
	text-align: center;
	height: 50px;
	font-size: 20px;
	padding: 0 20px;	
}

input[type="button"] {
	display: block;
	width: 60%;
	margin: 0 auto;
	background-color: #333333;
	color: #ffffff;
	text-align: center;
	border: 0;
	font-weight: bold;
	height: 40px;
	margin-top: 15px;
	border-radius: 4px;
	cursor: pointer;
}

input[type="button"]:hover {
	background-color: #a31039;
}

@media screen and (max-width: 768px) {
	
	#wrapper {
		padding: 0 10px;
		box-sizing: border-box;
		position: relative;
	}
	
	#contents {
		width: 100%;
	}
	
	input[type="button"] {
		width: 100%;
		font-size: 16px;
		height: 46px;
	}
	
}