/* ラジオボタン */
input[type=radio], input[type=checkbox] {
	display: inline-block;
	margin-right: 6px;
}
input[type=radio] + label, input[type=checkbox] + label {
	position: relative;
	display: inline-block;
	margin-right: 10px;
	font-size: 12px;
	line-height: 14px;
	cursor: pointer;
}

input[type=radio] {
	display: none;
	margin: 0;
}
input[type=radio] + label {
	padding: 0 0 0 24px;
}
input[type=radio] + label::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	box-sizing: border-box;
	display: block;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	background: #FFF;
}
input[type=radio] + label::before {
	border: 2px solid #ccc;
	border-radius: 30px;
}
input[type=radio]:checked + label::after {
	content: "";
	position: absolute;
	top: 50%;
	box-sizing: border-box;
	display: block;
}
input[type=radio]:checked + label::after {
	left: 5px;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	background: #F77C00;
/*	background: #E71063;*/
	border-radius: 8px;
}

/* either */
.either {
	position: relative;
	display: inline-block;
	width: 220px;
	overflow: hidden;
	border: 2px solid #ccc;
	height: 54px;
	background: #fff;
}

.either input[type=radio] + label {
	position: static;
	float: left;
	display: block;
	width: 50%;
	margin-right: 0;
	padding: 0;
	overflow: hidden;
	text-align: center;
	line-height: 54px;
	color: #999;
}
.either input[type=radio] + label::before {
	content: attr(data-label);
	top: 0;
	bottom: 0;
	z-index: 1;
	display: block;
	width: 50%;
	height: auto;
	margin-top: 0;
	text-align: center;
	color: transparent;
	background: transparent;
	border: 0 none;
	border-radius: 0;
	font-weight: bold;
}
.either input[type=radio] + label:last-child::before {
	left: 50%;
	right: 0;
}
.either input[type=radio]:checked + label::before {
	color: #fff;
}
.either input[type=radio] + label::after {
	border-radius: 0;
}
.either input[type=radio]:first-child + label::after {
	content: none;
}
.either input[type=radio] + label + input[type=radio] + label::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 0;
	display: block;
	width: auto;
	height: auto;
	margin: auto;
	background: #4eacb8;
/*	background: #E71063;*/
	border: 2px solid #fff;
	transition: all 200ms;
}
.either input[type=radio]:checked + label + input[type=radio] + label::after {
	left: 0;
	right: 50%;
}
.either input[type=radio] + label + input[type=radio]:checked + label::after {
	left: 50%;
	right: 0;
}


/* チェックボックス */
input[type=checkbox] {
	display: none;
	margin: 0;
}

input[type=checkbox] + label {
/*	padding: 0 0 0 5px;*/
	padding: 10px 0 0 5px;
}

input[type=checkbox] + label::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	box-sizing: border-box;
	display: block;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	background: #FFF;
}

input[type=checkbox] + label::before {
	border: 2px solid #999;
}

input[type=checkbox]:checked + label::after {
	content: "";
	position: absolute;
	top: 50%;
	box-sizing: border-box;
	display: block;
}

input[type=checkbox]:checked + label::after {
	left: 3px;
	width: 16px;
	height: 8px;
	margin-top: -8px;
	border-left: 3px solid #E71063;
	border-bottom: 3px solid #E71063;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/* セレクトボックス */
select {
	-moz-appearance: none;
	-webkit-appearance: none;
	-o-appearance: none;
	-ms-appearance: none;
	appearance: none;
	border-radius: 0;
	border: 0;
	margin: 0;
	padding: 0;
	background: none transparent;
	vertical-align: middle;
	font-size: inherit;
	color: inherit;
	box-sizing: content-box;
	cursor: pointer;
}

.org_select {
	overflow: hidden;
	display: inline-block;
	*display: inline;
	*zoom: 1;
	position: relative;
	border-radius: 0.2em;
	border: 1px solid #ccc;
/*	box-shadow: 0 2px 0 #AAA;*/
	background-color: #fff;
	vertical-align: middle;
}
.org_select > select {
	width: 100%;
	padding: 5px 2.2em 3px 0.6em;
	font-size: 16px;
}
.org_select:after {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 3em;
	display: block;
	content: "";
	pointer-events: none;
	background: url(../img/arr_under.png) no-repeat;
	background-position: right 6px center;
	background-size: 16px;
}

.org_select > select > option:disabled {
	background: #ddd;
}