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

#faq {
	padding-bottom: 0;
}

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

/*- 必須タグ,任意タグ,複数選択タグ -*/
.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: #dd6464;
	content: '必須';
}

.op-tag::after {
	background-color: #ccc;
	content: '任意';
}

.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: '＜複数選択可＞';
}

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

span.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) {
	span.col-form-label {
		-webkit-box-pack: end;
		-ms-flex-pack: end;
		justify-content: flex-end;
	}
}

/*- 項目ラベル欄の余白調整 -*/
.form-group label {
	margin-bottom: 0;
}

@media screen and (min-width: 48em) {
	.form-group label {
		padding-left: 0;
	}
}

/*- 一部インラインフォームの入力欄のスタイル -*/
.input-group {
	margin-bottom: 1rem;
	padding: 0 !important;
}

@media screen and (min-width: 36em) {
	.input-group {
		margin-bottom: 0;
		padding-right: 5px !important;
	}
}

.input-group:last-child {
	margin-bottom: 0;
}

@media screen and (min-width: 36em) {
	.input-group:last-child {
		padding-right: 0 !important;
	}
}

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

/*- 入力内容確認ページのスタイル -*/
.confirm {
	text-align: center;
}

.confirm p {
	font-size: 1rem;
}

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

/*- 入力内容確認ページのテーブルスタイル -*/
table.confirm-table {
	width: 100%;
	margin: auto;
	border-collapse: collapse;
}

@media screen and (min-width: 48em) {
	table.confirm-table {
		width: 80%;
	}
}

table.confirm-table th,
table.confirm-table td {
	display: block;
	width: auto;
	padding: 0.75em;
	border: 1px solid #aaa;
	text-align: left;
}

@media screen and (min-width: 48em) {

	table.confirm-table th,
	table.confirm-table td {
		display: table-cell;
	}
}

table.confirm-table th {
	margin-top: 0.5rem;
	background-color: #f8f8f8;
	border-bottom: 0;
	font-weight: normal;
}

table.confirm-table tr:first-child th {
	margin-top: 0;
}

@media screen and (min-width: 48em) {
	table.confirm-table th {
		width: 30%;
		border-bottom: 1px solid #aaa;
	}
}

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

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

.form-button-wrapper .submit-btn {
	background-color: #0071a4;
	color: #fff;
}

@media screen and (min-width: 48em) {
	.form-button-wrapper .submit-btn:hover {
		background-color: #1fc0da;
	}
}

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

@media screen and (min-width: 48em) {
	.form-button-wrapper .back-btn:hover {
		background-color: #aaa;
	}
}

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

@media screen and (min-width: 48em) {
	.form-button-wrapper .home-btn:hover {
		background-color: #844212;
	}
}

/*- Parsley デフォルトスタイル設定(Bootstrap使用時のみ) -*/
input.parsley-error,
select.parsley-error,
textarea.parsley-error,
div.parsley-error {
	background-color: #F2DEDE;
	border: 1px solid #EED3D7;
	color: #B94A48;
}

/*
input.parsley-success,
select.parsley-success,
textarea.parsley-success,
div.parsley-success {
	background-color: #DFF0D8;
	border: 1px solid #D6E9C6;
	color: #468847;
}
*/

.parsley-errors-list {
	margin-top: 0.25rem;
	margin-bottom: 0;
	padding: 0;
	list-style-type: none;
	color: #b94a48;
	font-size: 0.9em;
	line-height: 1;
}

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

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