/* cj-confirm-form-b 1.0.2 */
.cjcfb {
	max-width: 680px;
	margin: 0 auto;
	/* 白い台紙: テーマの背景色（濃色含む）に関係なく読めるようにする */
	padding: 24px;
	background: #ffffff;
	border: 1px solid #d9dde3;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	text-align: left;
	color: #1a1a1a;
	font-size: 16px;
	line-height: 1.7;
	box-sizing: border-box;
}
.cjcfb *,
.cjcfb *::before,
.cjcfb *::after {
	box-sizing: border-box;
}
.cjcfb-field {
	margin: 0 0 22px;
	padding: 0;
	border: 0;
	min-width: 0;
}
.cjcfb-label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-weight: 700;
	color: #1a1a1a;
}
.cjcfb-req {
	color: #c62828;
	font-weight: 700;
}
.cjcfb-optional {
	color: #555;
	font-weight: 400;
	font-size: 0.9em;
}
.cjcfb-help {
	margin: 0 0 6px;
	color: #555;
	font-size: 0.9em;
}
.cjcfb-required-note {
	margin: 0 0 18px;
	color: #555;
	font-size: 0.9em;
}
.cjcfb input[type="text"],
.cjcfb input[type="email"],
.cjcfb input[type="date"],
.cjcfb input[type="file"],
.cjcfb textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #8a8a8a;
	border-radius: 6px;
	background: #fff !important;
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a;
	font-size: 16px; /* iOS の自動ズーム防止 */
	line-height: 1.5;
	opacity: 1;
}
.cjcfb input::placeholder,
.cjcfb textarea::placeholder {
	color: #767676;
	-webkit-text-fill-color: #767676;
}
.cjcfb input:focus,
.cjcfb textarea:focus {
	outline: 2px solid #1565c0;
	outline-offset: 1px;
	border-color: #1565c0;
}
.cjcfb textarea {
	min-height: 120px;
	resize: vertical;
}
.cjcfb-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	color: #1a1a1a;
	cursor: pointer;
}
.cjcfb-check input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 3px 0 0;
	flex: 0 0 auto;
}
.cjcfb-has-error input[type="text"],
.cjcfb-has-error input[type="email"],
.cjcfb-has-error input[type="date"],
.cjcfb-has-error input[type="file"],
.cjcfb-has-error textarea {
	border-color: #c62828;
}
.cjcfb-field-error {
	margin: 0 0 6px;
	color: #c62828;
	font-size: 0.9em;
	font-weight: 700;
}
.cjcfb-reselect {
	margin: 6px 0 0;
}
.cjcfb-errors {
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px solid #c62828;
	border-left-width: 5px;
	border-radius: 6px;
	background: #fdecea;
	color: #1a1a1a;
}
.cjcfb-errors-title {
	margin: 0 0 6px;
	font-weight: 700;
	color: #c62828;
}
.cjcfb-errors ul {
	margin: 0;
	padding-left: 1.2em;
}
.cjcfb-actions {
	margin-top: 28px;
	text-align: center;
}
.cjcfb-submit {
	display: inline-block;
	min-width: 200px;
	padding: 12px 32px;
	border: 0;
	border-radius: 6px;
	background: #1565c0;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}
.cjcfb-submit:hover,
.cjcfb-submit:focus {
	background: #0d47a1;
}
.cjcfb-complete {
	padding: 24px 20px;
	border: 1px solid #2e7d32;
	border-radius: 6px;
	background: #edf7ee;
	color: #1a1a1a;
}
.cjcfb-complete p {
	margin: 0;
}
/* ハニーポット（画面外へ） */
.cjcfb-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
@media (max-width: 600px) {
	.cjcfb {
		padding: 16px;
	}
	.cjcfb-submit {
		width: 100%;
	}
}
