/****************************************/
/********** 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 {}

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

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

/*- checkbox & radio カスタマイズ共通スタイル -*/
.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;
}

/*- checkbox & radio ベース[before]共通スタイル -*/
.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枠(太青線)を表示しない -*/
}

/*- checkbox スタイル -*/
.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);
}

/*- radio スタイル -*/
.custom-radio .custom-control-label::after {
	top: 50%;
	left: -1.25rem;
	width: 0.5rem;
	height: 0.5rem;
	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);
}

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

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

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

/*- file カスタマイズ -*/
/*
.custom-file-label {
	margin-bottom: 0;
	overflow: hidden;
	white-space: nowrap;
}

.custom-file-label,
.custom-file-label::after {
	border-radius: 0;
}
*/

/****************************** 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;
	list-style-type: none;
	color: #b94a48;
	font-size: 80%;
	line-height: 1;
	text-decoration: underline;
}

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

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 {
	background-color: #fff;
	border-color: #0099cc;
}

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

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

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


/****************************** Mailform ******************************/

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

@media screen and (min-width: 48em) {
	.form-group label {
		padding-left: 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 screen and (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 {
	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 {
	-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 screen and (min-width: 48em) {
	.mp-tag::before {
		display: block;
		position: absolute;
		top: 30px;
		right: 14px;
	}
}

/*- 入力欄のスタイル -*/
.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-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	font-size: 0.875rem;
}

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

@media all and (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: 4rem;
	margin-bottom: 5rem;
}

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

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

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

.form-button-wrapper input.back-btn {
	background-color: #ccc;
	color: #333;
}

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

.form-button-wrapper a.home-btn {
	background-color: #65ab31;
	color: #fff;
	line-height: 50px;
	/*- ボタンのheightと同一の値にして縦方向センタリング -*/
}

@media all and (any-hover: hover) {
	.form-button-wrapper a.home-btn:hover {
		background-color: #3d651f;
	}
}

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

@media screen and (min-width: 48em) {
	.confirm p {
		font-size: 1.25rem;
	}
}

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

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

@media screen and (min-width: 62em) {
	table.confirm-table {
		width: 788px;
	}
}

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

@media screen and (min-width: 62em) {
	table.confirm-table th {
		display: table-cell;
		width: 220px;
		height: 38px;
		padding: 0.375rem 0.75rem;
		text-align: right;
	}
}

table.confirm-table td {
	display: block;
	width: auto;
	min-height: 38px;
	padding: 0.375rem 0.75rem;
	background-color: #f8f8f8;
	border: 1px solid #ccc;
	border-radius: 0.25rem;
}

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

/****************************** Mailform End ******************************/
