/****************************
  form
****************************/

input, 
textarea {
	margin: 0;
	padding: 8px 5px;
	font-size: 14px;
	line-height: 1.5;
}

input, 
textarea {
	display: block;
}

input[type="text"].input_noborder, 
textarea.input_noborder, 
input[type="text"].input_noborder:focus, 
textarea.input_noborder:focus {
	width: 100%;
	border: none;
}

input[type="text"].input_noborder:focus, 
textarea.input_noborder:focus {
	background-color: #fbffd7;
}

input[type="text"].center {
	text-align: center;
}

select {
	height: 2em;
	margin: 0;
	padding: 0;
	vertical-align: middle;
	border: 1px solid #ccc;
	font-size: 12px;
	line-height: 1;
	color: #000;
}

radio, 
input[type="radio"] {
	margin: 0;
	padding: 0;
	vertical-align: middle;
	line-height: 1;
}

.inp_horizontal {
	width: 100%;
}

::-webkit-input-placeholder {
	color: #ccc;
}
::-moz-placeholder {
	color: #ccc;
	opacity: 1;
}
:-ms-input-placeholder {
	color: #ccc;
}

/****************************
  signin
****************************/

.form-signin {
	width: 100%;
	max-width: 330px;
	margin: 50px auto 0;
	padding: 15px;
}

.form-signin .form-control {
	box-sizing: border-box;
	height: auto;
	padding: 10px;
	font-size: 16px;
	position: relative;
}

.form-signin .form-control:focus {
	z-index: 2;
}

.form-signin .checkbox {
	padding-top: 10px;
	font-weight: normal;
	font-size: 14px;
	line-height: 1;
}

.form-signin input[type="checkbox"] {
	display: inline-block;
	margin-right: 4px;
	vertical-align: -1px;
}

.form-signin input[type="text"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

/****************************
  op toggle-checkbox
*****************************/

.checkbox-on-off label {
	box-sizing: content-box !important;
	margin:  0 !important;
	padding: 0 !important;
}
.checkbox-on-off {
	overflow: hidden;
	display: inline-block;
	width: 37px;
	height: 17px;
	padding-right: 2px;
	vertical-align: middle;
	cursor: pointer;
	position: relative;
}
.checkbox-on-off input[type="checkbox"] {
	position: absolute;
	width: 37px;
	height: 15px;
	opacity: 0;
}
.checkbox-on-off label {
	display: inline-block;
	width: 100%;
	height: 13px;
	border: 1px solid transparent;
	border-radius: 20px;
	background: #b8b8b8;
}
.checkbox-on-off input[type="checkbox"]:checked + label {
	background-color: #167ac6;
}
.checkbox-on-off label > * {
	display: inline-block;
	height: 100%;
	vertical-align: top;
	transition: width 0.1s;
}
.checkbox-on-off .checked {
	text-align: center;
	line-height: 13px;
}
.checkbox-on-off .checked:before {
	content: '';
	display: inline-block;
	width: 10px;
	height: 8px;
	background: no-repeat url(../images/checkbox-on-off.png) -86px -193px;
	background-size: auto;
	vertical-align: middle;
}
.checkbox-on-off .toggle {
	width: 13px;
	border-radius: 13px;
	background: #fbfbfb;
}
.checkbox-on-off .checked, 
.checkbox-on-off input[type="checkbox"]:checked + label .unchecked {
	width: 0;
}
.checkbox-on-off .unchecked, 
.checkbox-on-off input[type="checkbox"]:checked + label .checked {
	width: 22px;
}
.checkbox-on-off input[type="checkbox"]:disabled + label {
	opacity: 0.5;
}

/****************************
  checkbox
****************************/

input[type="checkbox"].checkbox_orange {
	display: inline-block;
	margin: 0;
	padding: 0;
}
input[type="checkbox"].checkbox_orange + label {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	position: relative;
}

@media (min-width: 1px) {
	input[type="checkbox"].checkbox_orange {
		display: none;
	}
	input[type="checkbox"].checkbox_orange + label {
		     -moz-user-select: none;
		      -ms-user-select: none;
		  -webkit-user-select: none;
		-webkit-touch-callout: none; /* Disable Android and iOS callouts */
	}
	input[type="checkbox"].checkbox_orange + label::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		display: block;
		width: 18px;
		height: 18px;
		margin-top: -13px;
		margin-left: -10px;
		border: 2px solid #ccc;
		background-color: #fff;
	}
	input[type="checkbox"].checkbox_orange:checked + label::after {
		content: '';
		display: block;
		-moz-box-sizing: border-box;
		     box-sizing: border-box;
		position: absolute;
		top: 0;
		left: 3px;
		width: 16px;
		height: 8px;
		margin-top: -12px;
		margin-left: -10px;
		border-bottom: 3px solid #ff715b;
		border-left:   3px solid #ff715b;
		border-bottom: 3px solid #f00;
		border-left:   3px solid #f00;
		-webkit-transform: rotate(-45deg);
		    -ms-transform: rotate(-45deg);
		        transform: rotate(-45deg);
	}

	input[type="checkbox"].checkbox_orange[disabled] + label {
		color: #c1c4c5;
		cursor: default;
	}
	input[type="checkbox"].checkbox_orange[disabled] + label::before {
		border: 2px solid #eaebeb;
		background-color: #f7f7f7;
	}
	input[type="checkbox"].checkbox_orange[disabled] + label::after {
		border-bottom: 3px solid #d6d8d9;
		border-left:   3px solid #d6d8d9;
	}

	input[type="checkbox"].checkbox_orange.with_label + label::before {
		top: 0;
		left: 0;
		margin-top: -3px;
		margin-left: 0px;
	}
	input[type="checkbox"].checkbox_orange.with_label:checked + label::after {
		top: 0;
		left: 3px;
		margin-top: -2px;
		margin-left: 0px;
	}
	input[type="checkbox"].checkbox_orange.with_label + label {
		padding-right: 18px;
		padding-left:  24px;
	}
}

/****************************
  radio
*****************************/

input[type="radio"].radio_green {
	display: inline-block;
	margin-right: 6px;
}
input[type="radio"].radio_green + label {
	display: inline-block;
	margin: 0 12px 0 0;
	font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	font-size: 14px;
	line-height: 30px;
	cursor: pointer;
	position: relative;
}

input[type="radio"].radio_green.thin + label {
	line-height: 14px;
}

@media (min-width: 1px) {
	input[type="radio"].radio_green {
		display: none;
		margin: 0;
	}
	input[type="radio"].radio_green + label {
		padding: 0 0 0 24px;
		     -moz-user-select: none;
		      -ms-user-select: none;
		  -webkit-user-select: none;
		-webkit-touch-callout: none; /* Disable Android and iOS callouts */
	}
	input[type="radio"].radio_green + label::before {
		content: '';
		display: block;
		-moz-box-sizing: border-box;
		     box-sizing: border-box;
		position: absolute;
		top: 50%;
		left: 0;
		width: 18px;
		height: 18px;
		margin-top: -9px;
		border: 2px solid #ccc;
		border-radius: 30px;
		background-color: #fff;
	}
	input[type="radio"].radio_green:checked + label::after {
		content: '';
		display: block;
		-moz-box-sizing: border-box;
		     box-sizing: border-box;
		position: absolute;
		top: 50%;
		left: 5px;
		width: 8px;
		height: 8px;
		margin-top: -4px;
		border-radius: 8px;
		background-color: #a4cc3d;
	}

	input[type="radio"].radio_green[disabled] + label {
		color: #c1c4c5;
		cursor: default;
	}
	input[type="radio"].radio_green[disabled] + label::before {
		border: 2px solid #eaebeb;
		background-color: #f7f7f7;
	}
	input[type="radio"].radio_green[disabled] + label::after {
		border-bottom: 3px solid #d6d8d9;
		border-left:   3px solid #d6d8d9;
	}
}

/****************************
  op checkbox recommend
*****************************/

#recommend-content {
	display: none;
}

.wrapper_recommend {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	margin: 0 -7px;
	padding: 0;
}
.wrapper_recommend input {
	display: none;
}
.wrapper_recommend label {
	box-sizing: border-box;
	display: inline-block;
	width: 214px;
	margin: 14px 7px 0;
	padding: 6px 6px;
	border: 1px solid #ddd;
	border-color: #d6d3ce;
	border-radius: 2px;
	background-color: #fff;
	vertical-align: top;
	text-align: left;
	color: #999;
	font-weight: normal;
	line-height: 1.5;
	cursor: pointer;
	transition: .2s;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}
.wrapper_recommend input[type="checkbox"]:checked + label {
	border: 1px solid #bda988;
	background-color: #f8ffbe;
	color: #000;
}

/****************************
  button
****************************/

.wrapper_button_post {
	display: table;
	width: 100%;
	margin: 0;
	padding: 0;
}

.wrapper_button_post.pt {
	padding-top: 15px;
}

.wrapper_button_post.master {
	padding-top: 20px;
	padding-bottom: 30px;
}

.wrapper_button_post > div {
	display: table-cell;
	margin: 0;
	padding: 0;
	vertical-align: middle;
	text-align: center;
}

.wrapper_button_post > div.left {
	width: 33%;
	text-align: left;
}

.wrapper_button_post > div.right {
	width: 33%;
	text-align: right;
}

.button-post {
	display: inline-block;
	min-width: 50px;
	height: 32px;
	margin: 0 auto;
	padding: 0;
	border: 1px solid #ccc;
	border-radius: 3px;
	background-color: #f7f7f7;
	box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0, 0, 0, 0.08);
	vertical-align: middle;
	text-align: center;
	font-size: 12px;
	line-height: 30px;
	color: #333;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none;
	-webkit-appearance: none;
	user-select: none;
	outline: none;
	overflow: hidden;
}

.button-post:hover,
.button-post:focus {
	border-color: #999;
	background-color: #fafafa;
	color: #000;
	text-decoration: none;
}

.button-post:active,
.button-post:focus {
	outline: none;
}

.button-post:active {
	background-color: #eee;
	border-color: #999;
	box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
}

.button-post:disabled {
	border-color: #e3e3e3;
	background-color: #fafafa;
	box-shadow: none;
	text-shadow: 0 1px 0 #fff;
	color: #bbb;
	cursor: default;
}

.button-post:disabled {
	color: #bbb;
}

.button-post b {
	display: block;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	font-weight: normal;
	font-style: normal;
	color: #333;
	letter-spacing: 0.5em;
	text-indent: 0.5em;
}

.button-post i {
	display: none;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	font-weight: normal;
	font-style: normal;
}

.button-post i > img {
	width:  14px;
	height: 14px;
	margin: 0;
	padding: 0;
	vertical-align: -2px;
}

.button-post.small {
	min-width: initial;
	height: initial;
	padding: 0 3px;
	line-height: 22px;
}

.button-post.reset b {
	padding: 0 4px;
	letter-spacing: 0;
	text-indent: 0;
}

.button-post.img {
	min-width: 120px;
}

.button-post.img b {
	letter-spacing: 0;
	text-indent: 0;
}

.button-post.news {
	min-width: initial;
}

.button-post.news b {
	padding: 0 8px;
	letter-spacing: 0;
	text-indent: 0;
}

/****************************
  SP
****************************/

@media (max-width: 480px) {
	input[type="file"] {
		width: 100%;
	}
}
