@charset "utf-8";

fieldset,
legend,
button {
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	outline: none;
	background: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="time"] {
	margin: 0;
	padding: 4px;
	border: 1px solid #ccc;
	outline: none;
	font-size: 16px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="datetime"],
input[type="week"],
textarea,
select {
	margin-right: 0;
	margin-left: 0;
	padding: 4px;
	border: 1px solid #ccc;
	border-radius: 0;
	outline: none;
	background: none;
	font-size: 16px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

textarea {
	width: 100%;
	height: 100px;
	overflow: auto;
}

select {
	padding-right: 30px;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALJJREFUeNrslssNgCAQRCmB0ijBEuyEEijBEijBEizBEnAPy0UBWVj8JDvJJB5w3gsXVUoikXwsBrpAPdRCNcOmxi2P2yZ3cIKGU9dOCY0b590pdXhPHOyRyMEDsi4JhVIlSvBYTRGgSNTAQ+pFyyBRC7e5AdchUQt3d1fYIsEGb5Fgh1MktlFwisQwOIeE4/pGuDfhLRLscIrEMHiNxHB4SeIxeMyMPxkenyUSyT9zCDAAj5btZ4c3zaUAAAAASUVORK5CYII=");
	background-repeat: no-repeat;
	background-size: 12px 12px;
	background-position: right 8px center;
}

.select {
	display: inline-block;
	position: relative;
	overflow: hidden;
	background: #fff;
}
.select select {
	width: 100%;
	padding-right: 24px;
	border: 1px solid #ccc;
	background: none;
	text-overflow: "";
	cursor: pointer;
}
.select::before {
	position: absolute;
	top: 13px;
	right: 8px;
	width: 0;
	height: 0;
	padding: 0;
	content: "";
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #666;
	pointer-events: none;
}

/* radio & checkbox */
input[type="radio"],
input[type="checkbox"] {
	display: none;
}
input[type="radio"] + span,
input[type="checkbox"] + span {
	display: inline-block;
	position: relative;
	margin-left: 8px;
	padding: 10px 20px;
	color: #555;
	font-size: 1.4rem;
	text-align: center;
	line-height: 1;
	cursor: pointer;
}
input[type="radio"] + span::before,
input[type="checkbox"] + span::before {
	position: absolute;
	top: 50%;
	left: -8px;
	width: 16px;
	height: 16px;
	content: "";
	margin-top: -8px;
	border: 1px solid #ccc;
	background: #fff;
}

/* fieldset */
fieldset {
	padding: 8px 16px;
	border: 1px solid #ccc;
}
legend {
	padding: 0 8px;
}

/* button */
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
	display: inline-block;
	margin: 0;
	padding: 10px 30px;
	border: 1px solid #999;
	border-radius: 0;
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	appearance: button;
	background: #efefef;
	color: #000;
	font-size: 20px;
	cursor: pointer;
}

/* ブラウザ対策
---------------------------------------------------------------------------- */
/* Firefox */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {}
/* IE */
input::-ms-clear {}
input::-ms-reveal {}
select::-ms-expand {
	display: none;
}
/* webkit */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {}
::-webkit-file-upload-button {}
/* iOS */
input[type="submit"]::-webkit-search-decoration,
input[type=reset]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-decoration {
	display: none;
}
::-webkit-search-cancel-button {
	-webkit-appearance: none;
}
input[type="search"]::-webkit-search-decoration {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	-moz-appearance: none;
	-webkit-appearance: textfield;
	-webkit-box-sizing: border-box;
	appearance: none;
	background: none;
	outline: none;
	font-size: 16px;
}