/*
 * お問い合わせフォーム用の追加スタイル
 * サイトのテーマCSS（.cform / .btn_area など）に足りない部分だけを補います。
 * 色はサイトのメインカラー（紺）に合わせています。
 */
.cf-form { --cf-main: #002f7a; --cf-error: #c62828; }

.cform { width: 100%; border-collapse: collapse; }
.cform th, .cform td { padding: 16px; border-bottom: 1px solid #ddd; text-align: left; vertical-align: top; }
.cform th { width: 30%; font-weight: bold; }
.cform .form_area { width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid #bbb; border-radius: 4px; font-size: 16px; box-sizing: border-box; background: #fff; }
.cform .form_area:focus { outline: 2px solid #002f7a; outline-offset: 1px; border-color: #002f7a; }
.cform [aria-invalid="true"] { border-color: #c62828; background: #fff6f6; }
.cf-empty { color: #999; }
.cform--confirm td { white-space: normal; word-break: break-all; }

.required-srt { display: inline-block; margin-left: 8px; padding: 1px 6px; font-size: 11px; font-weight: bold; color: #fff; background: #c62828; border-radius: 3px; vertical-align: middle; }

.cf-note { margin: 6px 0 0; font-size: 13px; color: #666; }
.cf-note a { color: #002f7a; text-decoration: underline; }
.cf-error { margin: 6px 0 0; font-size: 14px; font-weight: bold; color: #c62828; }
.cf-alert { margin: 0 0 24px; padding: 14px 16px; border: 1px solid #c62828; border-radius: 4px; color: #c62828; background: #fff6f6; font-weight: bold; }

.cf-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cf-check input { width: 20px; height: 20px; }

/* ハニーポット（人には見せない） */
.cf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.btn_area { margin-top: 40px; text-align: center; }
.cf-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cf-btn { display: inline-block; min-width: 240px; padding: 16px 32px; border: 0; border-radius: 999px; font-size: 16px; font-weight: bold; color: #fff; background: #002f7a; text-align: center; text-decoration: none; cursor: pointer; transition: opacity .2s; }
.cf-btn:hover { opacity: .85; }
.cf-btn:disabled { opacity: .5; cursor: wait; }
.cf-btn--back { color: #002f7a; background: #fff; border: 2px solid #002f7a; }

.cf-thanks { text-align: center; line-height: 2; }
.cf-thanks__title { font-size: 20px; font-weight: bold; color: #002f7a; }

/* PCでは見出しを1行に（「メールアドレス（確認）」＋必須） */
@media (min-width: 768px) {
  .cform th { width: 36%; white-space: nowrap; }
}

@media (max-width: 767px) {
  .cform th, .cform td { display: block; width: auto; }
  .cform th { padding-bottom: 4px; border-bottom: 0; }
  .cform td { padding-top: 4px; }
  .cf-btn { width: 100%; min-width: 0; }
}
