/****************************************/
/********** 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: #cccccc;
}

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

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

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

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

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

/* - input & textarea カスタマイズ - */
/* .form-control {} */

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

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

/* - 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 {
	transition: all 0.2s;
}

/* - checkbox & radio ベース[before]共通スタイル - */
.custom-control-label::before {
	top: 50%;
	width: 16px;
	height: 16px;
	transform: translateY(-50%);
	pointer-events: auto;
}

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

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

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

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

.custom-checkbox .custom-control-label::after {
	top: 50%;
	left: -18px;/* html font-size:14px 指定時 */
	left: -21px;/* html font-size:16px 指定時 */
	width: 10px;
	height: 6px;
	transform: translateY(-70%) rotate(-45deg) scale(0.5);
	opacity: 0;
	border-bottom: 2px solid #0099cc;
	border-left: 2px solid #0099cc;
	background-color: transparent;
}

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

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

.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
	transform: translateY(-50%) scale(1);
	opacity: 1;
	background-image: none;
}

/* - switch スタイル - */
.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
	background-color: #0099cc;
}

.custom-switch .custom-control-label::before {
	border-radius: 1rem;
}

.custom-switch .custom-control-label::after {
	top: 50%;
	transform: translateY(-50%);
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
	top: 50%;
	transform: translateX(0.75rem) translateY(-50%);
}

/* - file カスタマイズ - */
.custom-file-input {
	cursor: pointer;
}

.custom-file-label {
	overflow: hidden;
	white-space: nowrap;
}

/****************************** 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 {
	color: #b94a48;
	border-color: #eed3d7;
	background-color: #f2dede;
}

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 {
	border-color: #eed3d7;
	background-color: #f2dede;
	/* - 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;
	text-decoration: underline;
	color: #b94a48;
	font-size: 80%;
	line-height: 1;
}

/* input.parsley-success,
input.parsley-success + .custom-file-label,
input.parsley-success + .input-group-append .input-group-text,
select.parsley-success,
textarea.parsley-success {
	color: #468847;
	border-color: #d6e9c6;
	background-color: #dff0d8;
}

div.parsley-success .custom-control-label {
	color: #468847;
}

div.parsley-success .custom-control-input:checked ~ .custom-control-label::before,
div.parsley-success .custom-control-input:not(:disabled):checked:active ~ .custom-control-label::before {
	border-color: #0099cc;
	background-color: #ffffff;
}

div.parsley-success .custom-control-input:focus ~ .custom-control-label::before {
	border-color: #0099cc;
}

div.parsley-success .custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
	border-color: #cccccc;
} */

/* - Parsley ラジオボタンおよびチェックボックス未入力エラー時のエラー枠の調整 - */
/* div[class^='element-'].parsley-error {
	border-radius: 0.25rem;
} */

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


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

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

.form-group label .col-form-label {
	display: flex;
	align-items: center;
}

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

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

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

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

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

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

/* - 入力欄のスタイル - */
.form-row {
	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: flex;
	justify-content: center;
	font-size: 0.875rem;
}

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

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

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

/* - 各種ボタンのスタイル - */
.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;
	padding: 0.75em;
	color: #ffffff;
	border: none;
}

.form-button-wrapper input.back-btn {
	color: #333333;
	background-color: #cccccc;
	background-image: none;
}

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

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

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 #cccccc;
	border-radius: 0.25rem;
	background-color: #f8f8f8;
}

@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 #aaaaaa;
		border-radius: 0.25rem;
		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 #333333;
	font-size: 1.25rem;
}

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

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

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

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

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