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


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

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

.form-control::-webkit-input-placeholder {
	color: #aaa;
	font-size: 0.875rem;
	opacity: 1;
}

.form-control:-ms-input-placeholder {
	color: #aaa;
	font-size: 0.875rem;
	opacity: 1;
}

.form-control::placeholder {
	color: #aaa;
	font-size: 0.875rem;
	opacity: 1;
}

/*- input & textarea カスタマイズ -*/
.form-control {
	border-radius: 0;
}

/*- textareaのリサイズ禁止(リサイズマーク非表示) -*/
/*
textarea {
	resize: none;
}
*/

/*- select カスタマイズ -*/
.custom-select {
	display: block;
	border-radius: 0;
}

/*- checkbox & radio カスタマイズ共通スタイル -*/
.custom-control {
	min-height: 0;
}

.custom-control-inline {
	padding-top: calc(0.375rem + 1px);
	padding-bottom: calc(0.375rem + 1px);
}

.custom-control-label {
	cursor: pointer;
}

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

/*- checkbox & radio ベース[before]共通スタイル -*/
.custom-control-label::before {
	top: 50%;
	width: 16px;
	height: 16px;
	-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枠(太青線)を表示しない -*/
}

/*- checkbox スタイル -*/
.custom-checkbox .custom-control-label::before {
	border-radius: 0;
}

.custom-checkbox .custom-control-label::after {
	top: 50%;
	/*left: -21px;*/
	/*html font-size:16px*/
	left: -18px;
	/*html font-size:14px*/
	width: 10px;
	height: 6px;
	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);
}

/*- radio スタイル -*/
.custom-radio .custom-control-label::after {
	top: 50%;
	/*left: -20px;*/
	/*html font-size:16px*/
	left: -20px;
	/*html font-size:14px*/
	width: 8px;
	height: 8px;
	background-color: #0099cc;
	border-radius: 50%;
	opacity: 0;
	-webkit-transform: translateY(-50%) scale(2);
	transform: translateY(-50%) scale(2);
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
	background-image: none;
	opacity: 1;
	-webkit-transform: translateY(-50%) scale(1);
	transform: translateY(-50%) 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: 0.25rem;
	margin-bottom: 0;
	padding: 0;
	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;
}

@media (min-width: 48em) {
	.form-group label .col-form-label {
		-webkit-box-pack: end;
		-ms-flex-pack: end;
		justify-content: flex-end;
	}
}

/*- 必須タグ,任意タグ,複数選択タグ -*/
.rq-tag::after,
.op-tag::after {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	margin-left: 0.5rem;
	padding: 0 0.5em;
	border-radius: 0.25rem;
	color: #fff;
	font-size: 0.75rem;
}

.rq-tag::after {
	background-color: #cc3300;
	content: '\5FC5\9808';
	/* unicode(必須) */
}

.op-tag::after {
	background-color: #ccc;
	content: '\4EFB\610F';
	/* unicode(任意) */
}

.mp-tag::before {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	-webkit-box-ordinal-group: 2;
	-ms-flex-order: 1;
	order: 1;
	margin-left: 0.5rem;
	color: #333;
	font-size: 0.75rem;
	content: '\FF1C\8907\6570\9078\629E\53EF\FF1E';
	/* unicode(＜複数選択可＞) */
}

@media (min-width: 48em) {
	.mp-tag::before {
		display: block;
		position: absolute;
		top: 30px;
	}
}

/*- 入力欄のスタイル -*/
.form-row {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

/*- 一部インラインフォーム(.input-group)の入力欄のスタイル -*/
.form-row .input-group {
	padding: 0;
}

/*- 入力欄内小項目のスタイル -*/
.form-row .label-subheading {
	display: block;
	margin-top: 0.25rem;
	margin-bottom: 0;
}

/*- プライバシーポリシー承認チェックのスタイル -*/
.approval_check {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	font-size: 0.875rem;
}

.approval_check a {
	color: #0099cc;
	text-decoration: underline !important;
	-webkit-transition-property: none;
	transition-property: none;
}

@media (any-hover: hover) {
	.approval_check a:hover {
		color: #006699;
	}
}

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

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

.form-button-wrapper input.submit-btn,
.form-button-wrapper input.back-btn,
.form-button-wrapper a.home-btn {
	display: block;
	width: 10rem;
	margin: auto;
	border: none;
}

.form-button-wrapper input.submit-btn,
.form-button-wrapper a.home-btn,
.form-button-wrapper input.back-btn {
	background-color: transparent;
	border: 1px solid #aaa;
}

@media (any-hover: hover) {

	.form-button-wrapper input.submit-btn:hover,
	.form-button-wrapper a.home-btn:hover {
		background-color: #002850;
		border: 1px solid #002850;
		color: #fff;
	}
}

@media (any-hover: hover) {
	.form-button-wrapper input.back-btn:hover {
		background-color: #ccc;
	}
}

/*- confirm.php -*/
.confirm p {
	font-size: 1.125rem;
	text-align: center;
}

table.confirm-table {
	width: 100%;
	margin: auto;
	border-spacing: 0 0.75rem;
	border-collapse: separate;
}

@media (min-width: 48em) {
	table.confirm-table {
		width: 552px;
		margin-top: 3rem;
	}
}

@media (min-width: 62em) {
	table.confirm-table {
		width: 788px;
		border-spacing: 1rem;
	}
}

table.confirm-table th {
	display: block;
	width: auto;
	padding-bottom: 0.25em;
	font-weight: normal;
}

@media (min-width: 62em) {
	table.confirm-table th {
		display: table-cell;
		width: 12.5rem;
		padding: calc(0.375rem + 1px) 0.75rem;
		text-align: right;
		vertical-align: top;
	}
}

table.confirm-table td {
	display: block;
	width: auto;
	min-height: 2.5rem;
	padding: 0.375rem 0.75rem;
	border: 1px solid #aaa;
	border-radius: 0;
}

@media (min-width: 62em) {
	table.confirm-table td {
		display: table-cell;
	}
}

/*- CSV認証フォーム -*/
.login_form {
	width: 100%;
	margin: auto;
	padding-right: 15px;
	padding-left: 15px;
}

@media (min-width: 48em) {
	.login_form {
		width: 30rem;
		margin-top: 6rem;
		padding: 2em;
		border: 1px solid #aaa;
		border-radius: 0.25rem;
		-webkit-box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.2);
		box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.2);
	}
}

.login_form h2 {
	margin-bottom: 1.5rem;
	padding: 0.25em;
	padding-top: 1.5em;
	border-bottom: 2px solid #333;
	font-size: 1.25rem;
}

.login_form p {
	margin: 0;
	color: red;
	font-size: 0.875rem;
	text-align: center;
}

.login_form a {
	color: #777;
	-webkit-transition-property: none;
	transition-property: none;
}

@media (any-hover: hover) {
	.login_form a:hover {
		color: #000;
	}
}

.login_form .form-group label {
	margin-bottom: 0.5rem;
}

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