@charset "UTF-8";
/* =====================================================
  form ― フォームページ（別ウィンドウ・簡易レイアウト）
  Contact Form 7 + Norick Confirm の出力に対するスタイル
  ※デザイン基準：Figma フォームコンポーネント
===================================================== */
/* ---- ページ骨格 ---- */
.page--form {
  background: #fff;
  color: #404040;
}
.page--form::after {
  content: none !important;
}

.l-form-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.l-form-main {
  flex: 1 0 auto;
  padding: 40px 20px 48px;
}
@media screen and (max-width: 768px) {
  .l-form-main {
    padding: 24px 16px 56px;
  }
}

.l-form-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* ---- 簡易ヘッダー（ロゴバー） ---- */
.l-form-header {
  border-bottom: 1px solid #eee;
  padding: 20px 40px;
}
@media screen and (max-width: 768px) {
  .l-form-header {
    padding: 16px;
  }
}
.l-form-header__inner {
  max-width: none;
  margin: 0;
}
.l-form-header__logo img {
  width: auto;
  height: 34px;
}

/* ---- タイトル帯（青グラデ・青文字左寄せ／Figma実測色） ---- */
.l-form-titlebar {
  background: linear-gradient(90deg, #d3dff6 0%, #cfeafa 55%, #daf0fa 100%);
}
.l-form-titlebar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}
@media screen and (max-width: 768px) {
  .l-form-titlebar__inner {
    padding: 22px 16px;
  }
}
.l-form-titlebar__ttl {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: #06c;
}
@media screen and (max-width: 768px) {
  .l-form-titlebar__ttl {
    font-size: 20px;
  }
}

/* ---- フォーム下部：お問い合わせメッセージ（TEL/FAX） ---- */
.l-form-contact {
  margin: 24px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
}
.l-form-contact__lead {
  font-weight: 700;
}
.l-form-contact__time {
  margin-left: 8px;
}
.l-form-contact__tel {
  display: block;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---- 簡易フッター（ロゴ／リンク｜コピーライト・上部青ライン） ---- */
.l-form-footer {
  flex-shrink: 0;
  border-top: 3px solid #06c;
  padding: 28px 40px 32px;
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .l-form-footer {
    padding: 24px 16px 28px;
  }
}
.l-form-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.l-form-footer__logo img {
  width: auto;
  height: 30px;
  margin-bottom: 22px;
}
.l-form-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .l-form-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
.l-form-footer__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}
.l-form-footer__nav li {
  position: relative;
}
.l-form-footer__nav li + li::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: #ccc;
}
.l-form-footer__nav a {
  color: #666;
  text-decoration: none;
}
.l-form-footer__nav a:hover {
  color: #06c;
  text-decoration: underline;
}
.l-form-footer__copyright {
  font-size: 12px;
  color: #888;
}

/* ---- 導入文・注意事項 ---- */
.form-lead {
  margin-bottom: 24px;
  line-height: 1.9;
}

.form-note {
  margin-bottom: 20px;
  font-size: 14px;
}
.form-note::before {
  content: "※";
  color: #d0021b;
  margin-right: 2px;
}

/* ---- 確認画面上部メッセージ（テキストのみ・シンプル） ---- */
.cf7-confirm-message {
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.9;
  color: #404040;
}

/* ---- 完了画面メッセージ ---- */
.form-complete {
  margin: 60px auto;
  padding: 48px 40px;
  max-width: 640px;
  background: #f9fbfc;
  border: 1px solid #e3e7ec;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  line-height: 2;
  color: #404040;
}

/* ---- セクション見出し（青文字＋右へ伸びる下線） ---- */
.form-section-ttl {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 44px 0 16px;
  color: #06c;
  font-size: 18px;
  font-weight: 700;
}
.form-section-ttl::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  background: #06c;
}

/* =====================================================
  Contact Form 7 ＋ Norick Confirm
===================================================== */
.wpcf7 {
  font-size: 15px;
  line-height: 1.7;
  color: #404040;
}
.wpcf7 input.wpcf7-text,
.wpcf7 input.wpcf7-tel,
.wpcf7 input.wpcf7-email,
.wpcf7 input.wpcf7-number,
.wpcf7 input.wpcf7-date,
.wpcf7 select.wpcf7-select,
.wpcf7 textarea.wpcf7-textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  font-size: 15px;
  background: #fff;
  color: #404040;
}
@media screen and (max-width: 768px) {
  .wpcf7 input.wpcf7-text,
  .wpcf7 input.wpcf7-tel,
  .wpcf7 input.wpcf7-email,
  .wpcf7 input.wpcf7-number,
  .wpcf7 input.wpcf7-date,
  .wpcf7 select.wpcf7-select,
  .wpcf7 textarea.wpcf7-textarea {
    max-width: 100%;
  }
}
.wpcf7 input.wpcf7-text,
.wpcf7 input.wpcf7-tel,
.wpcf7 input.wpcf7-email,
.wpcf7 input.wpcf7-number,
.wpcf7 input.wpcf7-date,
.wpcf7 select.wpcf7-select {
  max-width: 428px;
}
.wpcf7 textarea.wpcf7-textarea {
  max-width: 745px;
  min-height: 132px;
  resize: vertical;
}
.wpcf7 select.wpcf7-select {
  appearance: none;
  -webkit-appearance: none;
  height: 48px;
  padding-right: 40px;
  cursor: pointer;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #06c;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.15);
}
.wpcf7 input[readonly]:not(.wpcf7c-conf),
.wpcf7 textarea[readonly]:not(.wpcf7c-conf) {
  background: #f7f9fb;
  border-color: #e3e7ec;
  color: #404040;
}
.wpcf7 input.wpcf7c-conf,
.wpcf7 textarea.wpcf7c-conf,
.wpcf7 select.wpcf7c-conf {
  appearance: none;
  -webkit-appearance: none;
  field-sizing: content;
  width: auto !important;
  max-width: 100% !important;
  height: auto;
  min-height: 0;
  padding: 2px 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #404040;
  font-weight: 500;
  cursor: default;
  vertical-align: baseline;
}
.wpcf7 input.wpcf7c-conf:-webkit-autofill,
.wpcf7 input.wpcf7c-conf:-webkit-autofill:hover,
.wpcf7 input.wpcf7c-conf:-webkit-autofill:focus,
.wpcf7 select.wpcf7c-conf:-webkit-autofill,
.wpcf7 select.wpcf7c-conf:-webkit-autofill:hover,
.wpcf7 select.wpcf7c-conf:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #404040 !important;
  transition: background-color 9999s ease-in-out 0s;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0 20px 6px 0;
}
.wpcf7 .wpcf7-checkbox .wpcf7-list-item,
.wpcf7 .wpcf7-radio .wpcf7-list-item {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 10px;
}
.wpcf7 .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.wpcf7 .wpcf7-list-item input[type=checkbox],
.wpcf7 .wpcf7-list-item input[type=radio] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid #b7bfca;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}
.wpcf7 .wpcf7-list-item input[type=radio] {
  border-radius: 50%;
}
.wpcf7 .wpcf7-list-item input[type=checkbox]:checked,
.wpcf7 .wpcf7-list-item input[type=radio]:checked {
  border-color: #06c;
  background: #06c;
}
.wpcf7 .wpcf7-list-item input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.wpcf7 .wpcf7-list-item input[type=radio]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}
.wpcf7 .wpcf7-list-item input[type=checkbox]:focus-visible,
.wpcf7 .wpcf7-list-item input[type=radio]:focus-visible {
  outline: 2px solid rgba(0, 102, 204, 0.4);
  outline-offset: 2px;
}
.wpcf7 .wpcf7-radio:has(input.wpcf7c-conf) .wpcf7-list-item:not(:has(input:checked)),
.wpcf7 .wpcf7-checkbox:has(input.wpcf7c-conf) .wpcf7-list-item:not(:has(input:checked)) {
  display: none;
}
.wpcf7 .wpcf7-radio:has(input.wpcf7c-conf) input[type=radio],
.wpcf7 .wpcf7-radio:has(input.wpcf7c-conf) input[type=checkbox],
.wpcf7 .wpcf7-checkbox:has(input.wpcf7c-conf) input[type=radio],
.wpcf7 .wpcf7-checkbox:has(input.wpcf7c-conf) input[type=checkbox] {
  display: none;
}
.wpcf7 .wpcf7-radio:has(input.wpcf7c-conf) .wpcf7-list-item,
.wpcf7 .wpcf7-checkbox:has(input.wpcf7c-conf) .wpcf7-list-item {
  margin: 0 0 6px;
}
.wpcf7 .wpcf7-radio:has(input.wpcf7c-conf) label,
.wpcf7 .wpcf7-checkbox:has(input.wpcf7c-conf) label {
  cursor: default;
}
.wpcf7 .cf7-relation:has(input.wpcf7c-conf) .cf7-relation__other {
  display: none;
}
.wpcf7 .cf7-relation:has(input.wpcf7c-conf):has(.wpcf7-list-item.last input:checked) .cf7-relation__other {
  display: inline-flex;
}
.wpcf7 .wpcf7-not-valid {
  border-color: #d0021b !important;
}
.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #d0021b;
}
.wpcf7 .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border-color: #f5c2c7;
  background: #fdecec;
  color: #b02a37;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #badbcc;
  background: #e8f6ee;
  color: #0f5132;
}
.wpcf7 .wpcf7c-btn-confirm,
.wpcf7 .wpcf7c-btn-back,
.wpcf7 input.wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 8px auto;
  padding: 17px 44px;
  border: 1px solid #06c;
  border-radius: 4px;
  background-color: #fff;
  color: #06c;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
@media screen and (max-width: 768px) {
  .wpcf7 .wpcf7c-btn-confirm,
  .wpcf7 .wpcf7c-btn-back,
  .wpcf7 input.wpcf7-submit {
    max-width: 100%;
  }
}
.wpcf7 .wpcf7c-btn-confirm,
.wpcf7 input.wpcf7-submit {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M1 6h15M11 1l5 5-5 5' fill='none' stroke='%230066cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 18px 12px;
}
.wpcf7 .wpcf7c-btn-confirm:hover,
.wpcf7 input.wpcf7-submit:hover {
  background-color: #06c;
  color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M1 6h15M11 1l5 5-5 5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.wpcf7 .wpcf7c-btn-back {
  border-color: #b7bfca;
  color: #666;
}
.wpcf7 .wpcf7c-btn-back:hover {
  background: #666;
  color: #fff;
  border-color: #666;
}
.wpcf7 .wpcf7-spinner {
  margin: 0 0 0 12px;
}

/* 同意エリア（プライバシー文＋中央チェック・入力欄の下） */
.cf7-agree {
  margin-top: 40px;
  text-align: center;
}
.cf7-agree__text {
  font-size: 14px;
  line-height: 1.9;
}
.cf7-agree__text a {
  color: #06c;
  text-decoration: underline;
}
.cf7-agree__check {
  margin-top: 16px;
}
.cf7-agree__check .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
  justify-content: center;
}
.cf7-agree__check .wpcf7-list-item label {
  font-weight: 700;
}

/* ボタンエリア（中央寄せ） */
.cf7-actions {
  margin-top: 28px;
  text-align: center;
}

/* 行 */
.cf7-item {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 4px;
}
@media screen and (max-width: 768px) {
  .cf7-item {
    display: block;
    margin-bottom: 16px;
  }
}
.cf7-item--spaced {
  margin-top: 32px;
}
.cf7-item__label {
  flex: 0 0 250px;
  width: 250px;
  background: #e8f5fc;
  color: #404040;
  font-weight: 400;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
}
@media screen and (max-width: 768px) {
  .cf7-item__label {
    flex: none;
    width: 100%;
    padding: 12px 14px;
  }
}
.cf7-item__control {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 0;
}
@media screen and (max-width: 768px) {
  .cf7-item__control {
    padding: 10px 0 0;
  }
}
.cf7-item__control .wpcf7-form-control-wrap {
  display: block;
}
.cf7-item__control .wpcf7-form-control-wrap:has(select.wpcf7-select) {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 428px;
}
.cf7-item__control .wpcf7-form-control-wrap:has(select.wpcf7-select)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 16px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.cf7-item__control .wpcf7-form-control-wrap:has(select.wpcf7c-conf)::after,
.cf7-item__control .wpcf7-form-control-wrap:has(select[disabled])::after {
  content: none;
}

/* 必須マーク・注意書き */
.cf7-req {
  color: #d0021b;
  margin-left: 2px;
  font-weight: 700;
}

.cf7-note {
  margin-bottom: 20px;
  font-size: 14px;
}

/* セクション見出し（青文字＋右伸び下線） */
.cf7-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 44px 0 16px;
  color: #06c;
  font-size: 18px;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .cf7-section {
    font-size: 16px;
    margin: 32px 0 14px;
  }
}
.cf7-section::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  background: #06c;
}

.cf7-inline-note {
  margin: 4px 0 12px;
  padding: 12px 14px;
  background: #f5f8fb;
  border-left: 3px solid #06c;
  font-size: 13px;
  line-height: 1.8;
  color: #555;
}

/* 証明書印字の注意書き（装飾なし・中央・太字・大きめ） */
.cf7-print-note {
  margin: 48px 0 20px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  color: #404040;
}

/* =====================================================
  複合レイアウト（複雑フォーム）
===================================================== */
/* セクション直下のリード文 */
.cf7-lead {
  margin: -6px 0 16px;
  font-size: 14px;
  color: #555;
}
.cf7-lead--red {
  color: #e60012;
  font-weight: 700;
}

/* ラベル内の小さめ注記 */
.cf7-note-inline {
  order: 1;
  flex-basis: 100%;
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #666;
}
.cf7-note-inline--red {
  color: #e60012;
}

/* コントロール補足注記 */
.cf7-control-note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}
.cf7-control-note--red {
  color: #e60012;
}

/* 住所グループ（郵便番号／都道府県／市区郡／町名・番地／建物名など） */
.cf7-addr {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
}
.cf7-addr__row {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media screen and (max-width: 768px) {
  .cf7-addr__row {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
}
.cf7-addr__key {
  flex: 0 0 84px;
  font-size: 13px;
  color: #555;
}
@media screen and (max-width: 768px) {
  .cf7-addr__key {
    flex-basis: 100%;
  }
}
.cf7-addr__val {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}
.cf7-addr__val .wpcf7-form-control-wrap {
  width: 100%;
}
.cf7-addr__zip .cf7-addr__val {
  gap: 6px;
}
.cf7-addr__zip .wpcf7-form-control-wrap {
  width: auto;
}
.cf7-addr__zip input.wpcf7-text {
  width: 100px;
  max-width: 100px;
}
@media screen and (max-width: 768px) {
  .cf7-addr__zip input.wpcf7-text {
    width: 84px;
    max-width: 84px;
  }
}
.cf7-addr__pre {
  font-weight: 700;
}
.cf7-addr__sep {
  color: #888;
}
.cf7-addr input.wpcf7-text {
  max-width: 100%;
}
.cf7-addr select.wpcf7-select {
  max-width: 260px;
}
.cf7-addr .wpcf7-form-control-wrap:has(select.wpcf7-select) {
  width: 260px;
  max-width: 260px;
}

/* 電話番号（3分割） */
.cf7-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 340px;
}
@media screen and (max-width: 768px) {
  .cf7-tel {
    max-width: 100%;
  }
}
.cf7-tel .wpcf7-form-control-wrap {
  flex: 1 1 0;
  min-width: 0;
}
.cf7-tel__sep {
  flex: 0 0 auto;
  color: #888;
}
.cf7-tel input.wpcf7-text,
.cf7-tel input.wpcf7-tel {
  width: 100%;
  max-width: 100%;
}

/* 分割入力のエラーはinput毎ではなくグループで1つにまとめて表示する
   （下のフォームに被らないよう通常フロー） */
/* 電話番号：見出し列が無いので入力欄グループ直下にまとめて表示 */
.cf7-tel {
  flex-wrap: wrap;
}
.cf7-tel .wpcf7-not-valid-tip {
  display: none;
}
.cf7-tel:has(.wpcf7-not-valid)::after {
  flex-basis: 100%;
  width: 100%;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #d0021b;
  content: "電話番号を正しくご入力ください。";
}

/* 確認画面：電話番号は均等分割を解除し、各セグメントを詰めて表示 */
.cf7-tel:has(input.wpcf7c-conf) {
  max-width: none;
  gap: 2px;
}
.cf7-tel:has(input.wpcf7c-conf) .wpcf7-form-control-wrap {
  flex: 0 0 auto;
  width: auto;
}

/* 郵便番号：見出し列(郵便番号)があるため、エラーは行全体の左端ではなく
   入力欄(.cf7-addr__val)の直下にまとめて表示する */
.cf7-addr__zip .wpcf7-not-valid-tip {
  display: none;
}
.cf7-addr__zip .cf7-addr__val {
  flex-wrap: wrap;
}
.cf7-addr__zip .cf7-addr__val:has(.wpcf7-not-valid)::after {
  flex-basis: 100%;
  width: 100%;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #d0021b;
  content: "郵便番号を正しくご入力ください。";
}
.cf7-addr__zip:has(input.wpcf7c-conf) .cf7-addr__val {
  justify-content: flex-start;
}
.cf7-addr__zip:has(input.wpcf7c-conf) .cf7-addr__val .wpcf7-form-control-wrap {
  flex: 0 0 auto;
  width: auto;
}

/* 単位付き入力（mm／kg／警察署 など） */
.cf7-unit-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cf7-unit-row input.wpcf7-text {
  max-width: 180px;
}

.cf7-unit {
  font-size: 14px;
  color: #404040;
  white-space: nowrap;
}

/* 使用者との関係（ラジオ縦並び＋「その他」の右に自由入力） */
.cf7-relation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 6px;
}
.cf7-relation .wpcf7-form-control-wrap,
.cf7-relation .wpcf7-radio,
.cf7-relation .wpcf7-checkbox {
  display: contents;
}
.cf7-relation .wpcf7-radio .wpcf7-list-item,
.cf7-relation .wpcf7-checkbox .wpcf7-list-item {
  flex-basis: 100%;
  width: auto;
  margin: 0;
}
.cf7-relation .wpcf7-radio .wpcf7-list-item.last,
.cf7-relation .wpcf7-checkbox .wpcf7-list-item.last {
  flex-basis: auto;
}
.cf7-relation .wpcf7-not-valid-tip {
  order: 1;
  flex-basis: 100%;
  width: 100%;
  margin-top: 6px;
}
.cf7-relation__other {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
}
.cf7-relation__other input.wpcf7-text {
  max-width: 320px;
}
.cf7-relation__other .wpcf7-form-control-wrap[data-name=mgmt_company] input.wpcf7-text {
  max-width: 220px;
}

/* 建物（専有部）面積：単位ラジオ（㎡/坪）の各行に個別の数値入力欄を横並び */
.cf7-unit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 12px;
  max-width: 360px;
}
.cf7-unit > .wpcf7-form-control-wrap,
.cf7-unit .wpcf7-radio {
  display: contents;
}
.cf7-unit .wpcf7-radio .wpcf7-list-item {
  width: auto;
  margin: 0;
}
.cf7-unit .wpcf7-radio .wpcf7-list-item.first {
  grid-column: 1;
  grid-row: 1;
}
.cf7-unit .wpcf7-radio .wpcf7-list-item.last {
  grid-column: 1;
  grid-row: 2;
}
.cf7-unit__m2 {
  grid-column: 2;
  grid-row: 1;
}
.cf7-unit__tsubo {
  grid-column: 2;
  grid-row: 2;
}
.cf7-unit__m2 input.wpcf7-text, .cf7-unit__tsubo input.wpcf7-text {
  width: 100%;
  max-width: 100%;
}
.cf7-unit .wpcf7-not-valid-tip {
  grid-column: 1/-1;
  grid-row: 3;
  margin-top: 2px;
}

/* 調査費合計 */
.cf7-total {
  font-size: 15px;
}
.cf7-total__num {
  font-size: 15px;
  margin-right: 2px;
}

/* =====================================================
  フォーム上部の注意事項エリア（固定ページ本文＝post_content）
  ※重要事項調査依頼フォームのデザインに準拠
===================================================== */
.form-notice {
  margin-bottom: 40px;
  line-height: 1.9;
}
.form-notice .txt-red {
  color: #e60012;
  font-weight: 700;
}
.form-notice__ttl {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #404040;
  margin-bottom: 28px;
}
@media screen and (max-width: 768px) {
  .form-notice__ttl {
    font-size: 18px;
  }
}
.form-notice__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}
.form-notice__list li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 8px;
}
.form-notice__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}
@media screen and (max-width: 768px) {
  .form-notice__list {
    font-size: 14px;
  }
}
.form-notice__intro {
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .form-notice__intro {
    font-size: 16px;
  }
}
.form-notice__alert {
  border: 1px solid #e60012;
  background: #fff;
  padding: 18px 22px;
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  .form-notice__alert {
    padding: 14px 16px;
  }
}
.form-notice__alert-ttl {
  color: #e60012;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}
@media screen and (max-width: 768px) {
  .form-notice__alert-ttl {
    font-size: 16px;
  }
}
.form-notice__alert-body {
  font-size: 18px;
  line-height: 1.9;
}
@media screen and (max-width: 768px) {
  .form-notice__alert-body {
    font-size: 16px;
  }
}
.form-notice__box {
  background: #f5f5f7;
  padding: 8px 32px 32px;
  margin-bottom: 36px;
}
@media screen and (max-width: 768px) {
  .form-notice__box {
    padding: 4px 16px 20px;
  }
}
.form-notice__sec {
  margin-top: 28px;
}
.form-notice__sec-ttl {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #06c;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  padding-bottom: 12px;
  border-bottom: 1px solid #c9d3e0;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .form-notice__sec-ttl {
    font-size: 18px;
  }
}
.form-notice__sec-no {
  flex: 0 0 auto;
  color: #06c;
}
.form-notice__sec-body {
  font-size: 18px;
  line-height: 1.9;
  padding: 0 4px;
}
@media screen and (max-width: 768px) {
  .form-notice__sec-body {
    font-size: 16px;
  }
}
.form-notice__sec-body p {
  margin-bottom: 10px;
}
.form-notice__lead-item {
  font-weight: 700;
  margin-bottom: 2px !important;
}
.form-notice__attention {
  color: #e60012;
  font-weight: 700;
  margin-bottom: 2px !important;
}
.form-notice__link {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #e60012;
  margin-bottom: 36px;
}
.form-notice__link a {
  color: #06c;
  text-decoration: underline;
}
.form-notice__link a:hover {
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .form-notice__link {
    font-size: 16px;
  }
}
.form-notice__fee {
  display: flex;
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .form-notice__fee {
    flex-direction: column;
    gap: 16px;
  }
}
.form-notice__fee-col {
  flex: 1 1 0;
  min-width: 0;
  background: #f5f5f7;
  padding: 20px 24px;
}
@media screen and (max-width: 768px) {
  .form-notice__fee-col {
    padding: 16px;
  }
}
.form-notice__fee-ttl {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
  .form-notice__fee-ttl {
    font-size: 14px;
  }
}
.form-notice__fee-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.9;
}
@media screen and (max-width: 768px) {
  .form-notice__fee-col ul {
    font-size: 14px;
  }
}
.form-notice__fee-note {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}
@media screen and (max-width: 768px) {
  .form-notice__fee-note {
    font-size: 14px;
  }
}

/* =====================================================
  調査対象マンション：サジェスト検索（重要事項調査依頼フォーム）
  ※既存サイト（research.js / blank.css）の挙動・見た目を移植
  ・PC：入力欄フォーカスで直下に候補ボックス（↑↓/Enter/クリック）
  ・SP：全画面オーバーレイ（上部に入力＋×、下に候補リストをスクロール）
===================================================== */
.wpcf7 input#ipt_mansion[readonly],
.wpcf7 input#ipt_mansion_address[readonly] {
  border: none;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  color: #404040;
  cursor: default;
}
.wpcf7 input#ipt_mansion[readonly]::placeholder,
.wpcf7 input#ipt_mansion_address[readonly]::placeholder {
  color: #999;
  opacity: 1;
}

#wrap_mansion_search {
  position: relative;
}
#wrap_mansion_search .search_area_sp {
  display: none;
}
#wrap_mansion_search .search_area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}
#wrap_mansion_search .search_area_list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 370px;
  overflow: auto;
  background: #fff;
}
#wrap_mansion_search .search_area_list li.item {
  padding: 8px 12px;
  cursor: pointer;
}
#wrap_mansion_search .search_area_list li.item:hover {
  background: #fafafa;
}
#wrap_mansion_search .search_area_list li.item.is-focus {
  background: #f4f4f4;
}
#wrap_mansion_search .search_area_list li.noitem {
  padding: 18px 12px;
  color: #888;
}

#mansion_search_type_wrap {
  display: none;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #f0c36d;
  border-radius: 2px;
  background: #fff8e8;
  font-size: 14px;
  line-height: 1.8;
  color: #404040;
}
#mansion_search_type_wrap.show {
  display: block;
}

.wpcf7 .wpcf7-list-item input[type=checkbox]:disabled:not(.wpcf7c-conf) + .wpcf7-list-item-label, .wpcf7 .wpcf7-list-item input[type=checkbox]:disabled:not(.wpcf7c-conf) ~ .wpcf7-list-item-label {
  color: #bbb;
  cursor: not-allowed;
}

.show-search #wrap_mansion_search .search_area {
  border: 1px solid #d4d4d4;
  background: #fff;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
@media screen and (max-width: 768px) {
  .show-search body {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .show-search #wrap_mansion_search .search_area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: none;
  }
  .show-search #wrap_mansion_search .search_area_sp {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: 100%;
    padding-right: 46px;
  }
  .show-search #wrap_mansion_search .search_area_sp input {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    margin: 0;
  }
  .show-search #wrap_mansion_search .search_area_sp a.search_area_close {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: block;
    width: 40px;
    height: 40px;
  }
  .show-search #wrap_mansion_search .search_area_sp a.search_area_close:focus {
    outline: none;
  }
  .show-search #wrap_mansion_search .search_area_sp a.search_area_close::before, .show-search #wrap_mansion_search .search_area_sp a.search_area_close::after {
    position: absolute;
    top: 50%;
    left: 8px;
    width: 24px;
    height: 3px;
    margin-top: -1.5px;
    background: #333;
    content: "";
  }
  .show-search #wrap_mansion_search .search_area_sp a.search_area_close::before {
    transform: rotate(45deg);
  }
  .show-search #wrap_mansion_search .search_area_sp a.search_area_close::after {
    transform: rotate(-45deg);
  }
  .show-search #wrap_mansion_search .search_area_list {
    flex: 1 1 auto;
    width: 100%;
    margin-top: 12px;
    max-height: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .show-search #wrap_mansion_search .search_area_list li.item {
    padding: 12px 15px;
  }
  .show-search #wrap_mansion_search .search_area_list li.item:hover,
  .show-search #wrap_mansion_search .search_area_list li.item.is-focus {
    background: #fff;
  }
}

/*# sourceMappingURL=form.css.map */
