/* お問い合わせフォーム（入力・確認・完了で共通） */
.cf, .cf *, .cf-page, .cf-page * { box-sizing: border-box; }
.cf-lead { margin: 0 0 2rem; }
.cf-lead a { color: #75361E; font-size: inherit; font-weight: 700; white-space: nowrap; }
.cf-noscript { color: #b00020; margin-bottom: 1rem; }
.cf { position: relative; max-width: 860px; margin: 0 auto; }
.cf-row { display: flex; align-items: flex-start; gap: 20px; padding: 13px 0; border: 0; border-bottom: 1px solid #aeb6c4; min-width: 0; }
.cf-label { flex: 0 0 220px; width: 220px; padding: 10px 0; font-size: 16px; font-weight: 700; line-height: 1.5; color: #333; white-space: nowrap; }
fieldset.cf-row { display: block; overflow: hidden; width: 100%; }
fieldset.cf-row .cf-label { float: left; margin-right: 20px; }
fieldset.cf-row .cf-field { overflow: hidden; }
.cf-req { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 3px; background: #c62828; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.6; vertical-align: 1px; }
.cf-field { flex: 1 1 auto; min-width: 0; }
.cf input[type=text], .cf input[type=email], .cf input[type=tel], .cf select, .cf textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #7d8698; border-radius: 5px; background: #fff; color: #222;
  font: 400 16px/1.5 "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.cf select { width: auto; min-width: 260px; height: 46px; }
.cf textarea { display: block; resize: vertical; }
.cf ::placeholder { color: #757575; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: 2px solid #75361E; outline-offset: 1px; }
.cf-choices { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 6px 0; }
.cf-choices label, .cf-agree label { display: inline-flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 16px; white-space: nowrap; cursor: pointer; }
.cf input[type=radio], .cf input[type=checkbox] { width: 19px; height: 19px; margin: 0; accent-color: #75361E; flex: none; }
.cf-policy { margin: 18px 0 4px; font-size: 14px; text-align: center; text-wrap: balance; word-break: auto-phrase; }
.cf-agree { text-align: center; }
.cf-submit { margin: 12px 0 34px; text-align: center; }
.cf-submit button, .cf-btn {
  display: inline-block; width: 320px; max-width: 100%; padding: 14px 20px; border: 1px solid #75361E; border-radius: 6px;
  background: #75361E; color: #fff; font: 700 18px/1.4 "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; text-align: center; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.cf-submit button:hover, .cf-btn:hover { background: #5b2915; }
.cf-submit button:disabled { opacity: .6; cursor: default; }
.cf-btn.sub { background: #fff; color: #75361E; }
.cf-btn.sub:hover { background: #fffde5; }
/* 確認・完了画面 */
body.cf-page { margin: 0; color: #333; font: 400 16px/1.7 "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; background: #fff; }
.cf-head { border-top: 14px solid #75361E; border-bottom: 1px solid #7d8698; padding: 10px 16px; text-align: center; }
.cf-head img { height: 56px; width: auto; vertical-align: middle; }
.cf-main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
.cf-main h1 { margin: 0 0 12px; color: #75361E; font-size: 26px; text-align: center; }
.cf-main p { margin: 0 0 16px; text-align: center; text-wrap: balance; word-break: auto-phrase; }
.cf-main p.err { color: #b00020; font-weight: 700; margin-bottom: 8px; }
.cf-list { margin: 0 0 24px; }
.cf-list div { display: flex; gap: 20px; padding: 11px 0; border-bottom: 1px solid #aeb6c4; }
.cf-list dt { flex: 0 0 200px; font-weight: 700; margin: 0; }
.cf-list dd { flex: 1; margin: 0; overflow-wrap: anywhere; }
.cf-btns { display: flex; flex-direction: row-reverse; justify-content: center; gap: 14px; }
@media screen and (max-width: 900px) {
  .cf-lead { margin-bottom: 1rem; font-size: 1.4rem; }
  .cf-row { display: block; padding: 9px 0; }
  .cf-label, fieldset.cf-row .cf-label { display: block; float: none; width: auto; padding: 0 0 4px; font-size: 15px; }
  fieldset.cf-row { padding-top: 0; }
  fieldset.cf-row .cf-label { padding-top: 9px; }
  .cf-choices { gap: 0 18px; padding: 0; }
  #mail { scroll-margin-top: 76px; }
  .cf-choices label, .cf-agree label { font-size: 15px; }
  .cf select { width: 100%; }
  .cf-policy { font-size: 13px; margin-top: 12px; }
  .cf-submit { margin: 8px 0 20px; }
  .cf-head { padding: 6px 12px; }
  .cf-head img { height: 42px; }
  .cf-main { padding-top: 16px; }
  .cf-main h1 { font-size: 21px; }
  .cf-list div { display: block; padding: 8px 0; }
  .cf-btns { flex-direction: column; align-items: center; gap: 10px; }
}
