html, body {
	font-family: Roboto, Arial, sans-serif;
}

html {
	padding: 0;
	background-color: #eee;
}

body {
	/*margin: 0;*/
	padding: 20px 20px 80px;
	width: 800px;
	margin: 0 auto;
	box-sizing: border-box;
	background-color: #ffe;
}

h4 {
	font-weight: normal;
	text-align: center;
	margin: 0;
}

#message {
	display: none;
	text-align: center;
	padding: 5px;
	background-color: #fee;
	border: solid 2px #f00;
}

dl {
	display: flex;
	flex-wrap: wrap;
	width: 600px;
	margin: 10px auto auto;
	background-color: #ffe;
}

dl.border {
	margin-top: -2px;
	padding-top: 10px;
	border-top: double 4px #ccc;
}

footer {
	display: block;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
}

footer div {
	width: 800px;
	padding: 5px 20px 10px;
	margin: 0 auto;
	text-align: right;
	box-sizing: border-box;
	border-top: solid 1px #ccc;
	background-color: #ffe;
}

dt, dd {
	margin: 0 0 10px 0;
}

dt {
	width: 170px;
	text-indent: -32px;
	padding-left: 32px;
	font-size: 100%;
}

dd {
	width: calc(100% - 202px);
	position: relative;
	overflow: hidden;
	white-space: nowrap;
}
select {
	padding: 2px;
	font-size: 100%;
}
input {
	padding: 4px;
	font-size: 100%;
	border: solid 1px #ccc;
	border-radius: 4px;
	outline: none;
	box-sizing: border-box;
	/*-webkit-appearance: none;*/
}
input[type="date"] {
	width: 160px;
	height: 34px;
}
input[type="email"] {
	width: 300px;
}
.password {
	width: 300px;
}
div.password {
	position: absolute;
	left: calc(300px - 34px);
	top: 2px;
	background-image: url("resources/img/eye.png");
	background-repeat: no-repeat;
	background-color: rgba(255,255,255,0.8);
	background-blend-mode: lighten;
	text-align: center;
	font-size: 18px;
	color: #aaa;
	font-weight: bold;
	padding: 0;
    display: inline-block;
    width: 32px;
    height: 26px;
	cursor: pointer;
}
input[type="file"] {
	width: 300px;
	height: 60px;
	opacity: 0;
}
.photo_area {
	display: flex;
	position: absolute;
	left: 0;
	top: 0;
	width: 300px;
	height: 60px;
	padding: 4px;
	color: #ccc;
	align-items: center;
	justify-content: center;
	line-height: 120%;
	box-sizing: border-box;
	border: solid 1px #ccc;
	border-radius: 4px;
	background-color: #eee;
	pointer-events: none;
}
img.preview {
	visibility: hidden;
	position: absolute;
	left: 0;
	top: 0;
	width: 300px;
	border: none;
	box-sizing: border-box;
	background-color: #eee;
	pointer-events: none;
}

button {
	color: #333;
	width: 80px;
	font-size: 100%;
	border: solid 1px #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	margin: 10px 0 0 auto;
}

.sp {
	display: none !important;
}

a {
	text-decoration: none;
}

/* スマホサイズ（768px以下）の場合に文字サイズを調整 */
@media screen and (max-width: 768px) {
	html {
		background-color: #fff;
	}
	body {
		width: 100%;
		font-size: 20px;
		padding-top: 0;
	}

	dl {
		width: 100%;
	}

	footer div {
		width: 100%;
	}

	dt {
		width: 80px;
		margin-bottom: 0;
	}
	dd {
		width: calc(100% - 120px);
	}
	input[type="email"] {
		width: 100%;
	}
	.password {
		width: 100%;
	}
	div.password {
		left: calc(100% - 34px);
		top: 4px;
	}
	input[type="file"] {
		width: 100%;
	}
	.photo_area {
		width: 100%;
	}
	img#preview {
		width: 100%;
	}
	dt.full-width, dd.full-width {
		width: 100%;
	}

	button {
		padding: 5px;
	}

	.pc {
		display: none !important;
	}

	.sp {
		display: flex !important;
	}
}