/****************************************/
/********** ArtLab-Tokyo [CSS] **********/
/****************************************/


/****************************** Bootstrap Override ******************************/

/*- 共通スタイル [border-color] -*/
.custom-control-label::before,
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
	border-color: #ccc;
}

/*- checkboxスタイル -*/
.custom-control {
	min-height: 0;
}

.custom-control-inline {
	padding-top: 0.375rem;
	padding-bottom: 0.375rem;
}

.custom-control-label {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	cursor: pointer;
}

.custom-control-label::before,
.custom-control-label::after {
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}

.custom-control-label::before {
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	pointer-events: auto;
}

.custom-control-label::before,
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
	background-color: #fff;
	border-color: #ccc;
	/*- check無のベースカラーおよびクリック時[active]のカラー(変化させない) -*/
}

.custom-control-input:checked ~ .custom-control-label::before,
.custom-control-input:not(:disabled):checked:active ~ .custom-control-label::before {
	background-color: #fff;
	border-color: #0099cc;
	/*- check有のベースカラーおよびクリック時[active]のカラー(変化させない) -*/
}

.custom-control-input:focus ~ .custom-control-label::before {
	-webkit-box-shadow: none;
	box-shadow: none;
	/*- デフォルトのfocus枠(太青線)を表示しない -*/
}

.custom-checkbox .custom-control-label::before {
	border-radius: 0;
}

.custom-checkbox .custom-control-label::after {
	top: 50%;
	left: -1.3rem;
	width: 0.625rem;
	height: 0.375rem;
	background-color: transparent;
	border-left: 2px solid #0099cc;
	border-bottom: 2px solid #0099cc;
	opacity: 0;
	-webkit-transform: translateY(-70%) rotate(-45deg) scale(0.5);
	transform: translateY(-70%) rotate(-45deg) scale(0.5);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
	background-image: none;
	opacity: 1;
	-webkit-transform: translateY(-70%) rotate(-45deg) scale(1);
	transform: translateY(-70%) rotate(-45deg) scale(1);
}

/****************************** Bootstrap Override End ******************************/


/****************************** Library ******************************/

/*- Parsley デフォルトスタイル設定(Bootstrap使用時のみ) -*/
input.parsley-error,
input.parsley-error + .custom-file-label,
input.parsley-error + .input-group-append .input-group-text,
select.parsley-error,
textarea.parsley-error {
	background-color: #f2dede;
	border-color: #eed3d7;
	color: #b94a48;
}

div.parsley-error .custom-control-label {
	color: #b94a48;
}

div.parsley-error .custom-control-label::before,
div.parsley-error .custom-control-input:not(:disabled):active ~ .custom-control-label::before {
	background-color: #f2dede;
	border-color: #eed3d7;
	/*- check無のベースカラーおよびクリック時[active]のカラー(変化させない) -*/
}

div.parsley-error .custom-control-input:focus ~ .custom-control-label::before {
	border-color: #eed3d7;
	/*- focus時に外枠カラーを変化させない -*/
}

.parsley-errors-list {
	margin-top: 1rem;
	margin-bottom: 0;
	padding: 0;
	list-style-type: none;
	color: #b94a48;
	font-size: 80%;
	line-height: 1;
	text-decoration: underline;
}

/****************************** Library End ******************************/


/****************************** Form ******************************/

/*- 項目ラベル欄のスタイル -*/
.form-group label {
	margin-bottom: 0;
}

.form-group label .col-form-label {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

/*- プライバシーポリシー承認チェックのスタイル -*/
.approval_check {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.approval_check .parsley-error {
	background-color: transparent;
	border: 0;
	color: inherit;
}

/*- ボタンのスタイル -*/
.form-button-wrapper {
	margin-top: 4rem;
	margin-bottom: 5rem;
}

.form-button-wrapper input.submit-btn {
	display: block;
	width: 200px;
	height: 50px;
	margin: auto;
	padding: 0;
	border: none;
	border-radius: 0;
}

.form-button-wrapper input.submit-btn {
	background-color: #25a03c;
	color: #fff;
}

@media all and (any-hover: hover) {
	.form-button-wrapper input.submit-btn:hover {
		background-color: #186226;
	}
}

/****************************** Form End ******************************/
