/* ＝＝＝ お問い合わせフォーム（mailform-handler.php, [mailform] ショートコード） ＝＝＝
 * アクセントカラーは var(--theme-primary-1-color, #0085d0) を使用。
 * このCSS変数を定義していないテーマではフォールバック値 #0085d0 が使われる。 */
.shinko-mf-wrap {
	margin: 20px 0;
}

.shinko-mf-field {
	margin-bottom: 20px;
}

.shinko-mf-label {
	display: block;
	font-weight: bold;
	margin-bottom: 6px;
	font-size: 14px;
}

.shinko-mf-required {
	color: #d63638;
	margin-left: 4px;
	font-size: 12px;
}

.shinko-mf-input {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 14px;
	background: #fff;
}

.shinko-mf-input:focus {
	border-color: var(--theme-primary-1-color, #0085d0);
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 133, 208, .15);
}

textarea.shinko-mf-input {
	min-height: 120px;
	resize: vertical;
}

.shinko-mf-error-msg {
	color: #d63638;
	font-size: 12px;
	margin-top: 4px;
}

.shinko-mf-field--error .shinko-mf-input {
	border-color: #d63638;
}

.shinko-mf-options {
	list-style: none;
	margin: 0;
	padding: 0;
}

.shinko-mf-options li {
	margin-bottom: 6px;
}

.shinko-mf-options label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	cursor: pointer;
}

.shinko-mf-notice {
	background: #fff8e1;
	border: 1px solid #f0b429;
	border-radius: 4px;
	padding: 10px 14px;
	margin-bottom: 16px;
	font-size: 13px;
}

.shinko-mf-notice--error {
	background: #fef2f2;
	border-color: #d63638;
	color: #d63638;
}

.shinko-mf-confirm-msg {
	background: #f0f6fc;
	border-left: 4px solid var(--theme-primary-1-color, #0085d0);
	padding: 12px 16px;
	margin-bottom: 20px;
	font-size: 14px;
}

.shinko-mf-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.shinko-mf-table th,
.shinko-mf-table td {
	border: 1px solid #ddd;
	padding: 10px 14px;
	font-size: 14px;
	vertical-align: top;
	text-align: left;
}

.shinko-mf-table th {
	background: #f5f5f5;
	font-weight: bold;
	width: 30%;
	white-space: nowrap;
}

.shinko-mf-table td {
	white-space: pre-wrap;
}

.shinko-mf-btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 8px;
}

.shinko-mf-btn {
	display: inline-block;
	padding: 10px 28px;
	border: none;
	border-radius: 3px;
	font-size: 14px;
	cursor: pointer;
	text-align: center;
}

.shinko-mf-btn--primary {
	background: var(--theme-primary-1-color, #0085d0);
	color: #fff;
}

.shinko-mf-btn--primary:hover {
	opacity: .85;
}

.shinko-mf-btn--secondary {
	background: #eee;
	color: #333;
	border: 1px solid #ccc;
}

.shinko-mf-btn--secondary:hover {
	background: #ddd;
}

.shinko-mf-complete {
	text-align: center;
	padding: 40px 20px;
}

.shinko-mf-complete p {
	font-size: 15px;
	line-height: 1.8;
}
