/* cj-purpose-form 1.2.0 */
.cjpf {
	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;
}
.cjpf *,
.cjpf *::before,
.cjpf *::after {
	box-sizing: border-box;
}
.cjpf-description {
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px solid #c5cbd3;
	border-left: 5px solid #1565c0;
	border-radius: 6px;
	background: #f5f8fc;
	color: #1a1a1a;
}
.cjpf-description p {
	margin: 0;
}
.cjpf-field {
	margin: 0 0 22px;
	padding: 0;
	border: 0;
	min-width: 0;
}
.cjpf-label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-weight: 700;
	color: #1a1a1a;
}
.cjpf-req {
	color: #c62828;
	font-weight: 700;
}
.cjpf-help {
	margin: 0 0 6px;
	color: #555;
	font-size: 0.9em;
}
.cjpf-required-note {
	margin: 0 0 18px;
	color: #555;
	font-size: 0.9em;
}
.cjpf input[type="text"],
.cjpf input[type="email"],
.cjpf input[type="tel"],
.cjpf select,
.cjpf 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;
}
.cjpf select {
	height: auto;
	min-height: 46px;
}
.cjpf select option {
	color: #1a1a1a;
	background: #fff;
}
.cjpf input::placeholder,
.cjpf textarea::placeholder {
	color: #767676;
	-webkit-text-fill-color: #767676;
}
.cjpf input:focus,
.cjpf select:focus,
.cjpf textarea:focus {
	outline: 2px solid #1565c0;
	outline-offset: 1px;
	border-color: #1565c0;
}
.cjpf textarea {
	min-height: 120px;
	resize: vertical;
}
.cjpf-choices {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.cjpf-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	color: #1a1a1a;
	cursor: pointer;
}
.cjpf-check input[type="checkbox"],
.cjpf-check input[type="radio"] {
	width: 20px;
	height: 20px;
	margin: 3px 0 0;
	flex: 0 0 auto;
}
.cjpf-has-error input[type="text"],
.cjpf-has-error input[type="email"],
.cjpf-has-error input[type="tel"],
.cjpf-has-error select,
.cjpf-has-error textarea {
	border-color: #c62828;
}
.cjpf-has-error .cjpf-choices {
	padding: 8px 10px;
	border: 1px solid #c62828;
	border-radius: 6px;
}
.cjpf-field-error {
	margin: 0 0 6px;
	color: #c62828;
	font-size: 0.9em;
	font-weight: 700;
}
.cjpf-copy {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid #ddd;
}
.cjpf-errors {
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px solid #c62828;
	border-left-width: 5px;
	border-radius: 6px;
	background: #fdecea;
	color: #1a1a1a;
}
.cjpf-errors-title {
	margin: 0 0 6px;
	font-weight: 700;
	color: #c62828;
}
.cjpf-errors ul {
	margin: 0;
	padding-left: 1.2em;
}
.cjpf-actions {
	margin-top: 28px;
	text-align: center;
}
.cjpf-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;
}
.cjpf-submit:hover,
.cjpf-submit:focus {
	background: #0d47a1;
}
.cjpf-complete {
	padding: 24px 20px;
	border: 1px solid #2e7d32;
	border-radius: 6px;
	background: #edf7ee;
	color: #1a1a1a;
}
.cjpf-complete p {
	margin: 0;
}
/* 名刺の写真（1.2.0） */
.cjpf-card-item {
	margin: 0 0 14px;
	padding: 12px 14px;
	border: 1px solid #c5cbd3;
	border-radius: 6px;
	background: #fafbfc;
}
.cjpf-card-item:last-child {
	margin-bottom: 0;
}
.cjpf-card-label {
	display: block;
	margin: 0 0 6px;
	font-weight: 700;
	color: #1a1a1a;
}
.cjpf-optional {
	color: #555;
	font-size: 0.9em;
	font-weight: 400;
}
.cjpf input[type="file"] {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 8px 0;
	color: #1a1a1a;
	font-size: 16px;
	background: transparent;
}
.cjpf-card-item.cjpf-has-error {
	border-color: #c62828;
	background: #fff7f6;
}
.cjpf-card-reselect {
	color: #c62828;
	font-weight: 700;
}
/* ハニーポット（画面外へ） */
.cjpf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
@media (max-width: 600px) {
	.cjpf {
		padding: 16px;
	}
	.cjpf-submit {
		width: 100%;
	}
}
