@charset "utf-8";

.col-amount{width:13rem;}
.col-sample{width:5.5rem; position:relative;}
.sample-label{
	display:inline-block;
	font-size:10px;
	color:rgba(0,0,0,.5);
	line-height:1.6;
	width:calc(100% - 10px);
	text-align:center;
	position:absolute;
	top:0;
	left:5px;
}
.form-group.sample .help-block{position:relative;}
.form-group.sample .help-block>*{position:absolute; white-space:nowrap;}


.col-form-label.required::after{
	content:'必須';
	display:inline-block;
	color:#900;
	font-size:.8rem;
	margin-left:.5rem;
}

.has-error .form-check-label{
    color: #a94442;
}

.bs4form .hint{display:inline-block; width:100%; padding:0.2rem;}
.bs4form.mode-conf .hint{display:none;}
.bs4form.mode-conf .form-row .col{width:auto; flex: 0 0 auto;}

/* .bs4form{max-width:760px; margin-left:auto; margin-right:auto;} */

.bs4form .zip .form-control-plaintext{width:auto;}

/*

.bs4form .row:nth-child(odd){background: #F4F4F4;}

.bs4form .required .badge{position:relative; top:-.25rem; margin-left:.5rem; vertical-align:bottom;}
*/

.bs4form>.form-group{margin:0; padding-top:1rem; padding-bottom:.5rem;}
.bs4form .form-inline .form-group{margin-left:.5rem;}
.bs4form .form-inline .form-group:first-child{margin-left:0;}

select,
select.form-control{display:inline-block; width:auto;}
textarea{min-height:200px;}

.help-block {
	display: block !important;
	margin-top: 5px;
	margin-bottom: 5px;
	color: #737373;
	font-size:.9rem;
}

.has-error .form-control {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.has-error .checkbox,
.has-error .checkbox-inline,
.has-error .control-label,
.has-error .help-block,
.has-error .radio,
.has-error .radio-inline,
.has-error.checkbox label,
.has-error.checkbox-inline label,
.has-error.radio label,
.has-error.radio-inline label {
    color: #a94442;
}

.with-errors ul.list-unstyled{margin-bottom:0;}

.bs4form .form-group>.zip::before{
	content: '〒 ';
	display:inline-block;
	margin-right:.5rem;
}
.form-control-plaintext.zip{width:auto;}

.form-control.conf:disabled,
.form-control[readonly].conf{
	background-color:#f8f9fa;
}
