/*
 * お問い合わせフォーム（src/components/ContactForm.astro）の「今のデザイン」用の見た目。
 * 今の WordPress は HubSpot の埋め込みフォーム（js.hsforms.net）で、見た目は HubSpot の既定の形だった。それに合わせる：
 * 項目名は入力欄の上・太字 14px・必須は赤い *、入力欄は薄い灰色の地・細い枠・角 3px、姓と名は 2 列、送信はオレンジのボタン。
 * 2026-12-02 切り替えの日に追加（それまでは base.css が読まれず、項目が崩れて・迷惑送信よけの欄が見えていた）。
 */
.c-form { font-size: 14px; line-height: 1.6; color: #33475b; }
.c-form__hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.c-form__legend { display: none; }
.c-form__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 36px; }
@media (min-width: 600px) {
	.c-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.c-form__field--full { grid-column: 1 / -1; }
.c-form__field { min-width: 0; margin: 0; padding: 0; border: 0; }
.c-form__label { display: block; margin: 0 0 6px; padding: 0; font-size: 14px; font-weight: 700; line-height: 20px; color: #33475b; }
.c-form__req { font-size: 0; }
.c-form__req::after { content: "*"; margin-left: 2px; font-size: 14px; color: #f2545b; }
.c-form__opt { display: none; }
.c-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.c-form select,
.c-form textarea {
	display: block; box-sizing: border-box; width: 100% !important; max-width: none !important; height: 40px; margin: 0; padding: 0 15px;
	background: #f5f8fa; border: 1px solid #cbd6e2; border-radius: 3px;
	font-size: 16px; line-height: 22px; color: #33475b; font-family: inherit;
}
.c-form textarea { height: auto; min-height: 64px; padding: 9px 15px; resize: vertical; }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { outline: none; border-color: rgba(82, 168, 236, 0.8); }
.c-form__choices { display: flex; flex-direction: column; gap: 4px; }
.c-form__choice { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 400; cursor: pointer; }
.c-form__choice input { width: auto; height: auto; margin: 0; }
.c-form__consent a { color: #0091ae; text-decoration: underline; }
.c-form__error { margin: 4px 0 0; color: #f2545b; font-size: 13px; }
.c-form__field.is-error input, .c-form__field.is-error select, .c-form__field.is-error textarea, .c-form [aria-invalid="true"] { border-color: #c87872 !important; }
.c-form__captcha { margin-top: 24px; max-width: 100%; }
.c-form__actions { margin-top: 24px; text-align: left; }
.c-form__actions .c-button {
	display: inline-block; min-width: 0; padding: 12px 24px; margin: 0;
	background: #ff7a59; border: 1px solid #ff7a59; border-radius: 3px;
	color: #fff; font-size: 14px; font-weight: 700; line-height: 12px; cursor: pointer;
}
.c-form__actions .c-button:hover { background: #ff8f73; border-color: #ff8f73; }
.c-form__live { margin-top: 12px; font-size: 14px; }
.c-form__notice, .c-form__result { margin-bottom: 20px; padding: 14px 16px; background: #fff; border: 1px solid #cbd6e2; border-left: 4px solid #ff7a59; border-radius: 3px; font-size: 14px; }
.c-form__result--error { border-left-color: #f2545b; color: #c0392b; }
.c-form [data-when][hidden] { display: none !important; }
