/* ============================================================
   無料診断の申し込みフォーム（無料MEO診断 meo-check・NAVER の無料診断 korea-inbound で共通。2026-11-04）
   送信の処理は assets/e-form.js。パネルの地（--e-deep）と中の文字色の変数は e.css の .lp-diag-panel の段で決まる。
   入力欄の文字は 16px（iPhone で入力欄を押したときに画面が拡大されない大きさ）
   ============================================================ */
.lp-diag-panel {
  color: #fff;
  border-radius: 32px;
  padding: 40px;
  text-align: left;
  box-shadow: 0 40px 100px -20px rgba(0,180,255,0.3);
}
@media (max-width: 600px) { .lp-diag-panel { padding: 28px 20px; border-radius: 24px; } }
/* 濃い面の上では青い輪が地に溶けるので白（e.css と同じ決まり） */
.lp-diag-panel :focus-visible { outline-color: #fff; }
.lp-diag-panel-h {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--sl-line-dark);
}
.lp-diag-panel-h h3 { font-size: 24px; font-weight: 900; letter-spacing: -0.01em; }
/* 344〜412px は右の小さな字と並ぶと 24px では見出しが折れる */
@media (max-width: 440px) { .lp-diag-panel-h h3 { font-size: 20px; } }
.lp-diag-panel-h small { font-family: var(--font-mono); font-size: 11px; color: var(--sl-fg-dark-3); letter-spacing: 0.16em; text-transform: uppercase; }

.lp-form { display: grid; gap: 20px; }
.lp-form-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) { .lp-form-2 { grid-template-columns: minmax(0, 1fr); } }
.lp-field { min-width: 0; }
.lp-field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--sl-fg-dark); }
.lp-field label .req, .lp-field label .opt { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.lp-field label .req { background: #fff; color: #C62828; }
.lp-field label .opt { background: rgba(255,255,255,0.16); color: #fff; }
.lp-field input, .lp-field textarea, .lp-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: #0A0B14;
  font-family: var(--font-jp);
  font-size: 16px;
}
.lp-field textarea { min-height: 120px; resize: vertical; }
/* 矢印をこちらで描き、枠から 18px 離す（ブラウザの矢印は右の枠に付く） */
.lp-field select {
  -webkit-appearance: none; appearance: none;
  padding-right: 48px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23363948' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 12px 8px;
  cursor: pointer;
}
@media (forced-colors: active) { .lp-field select { -webkit-appearance: auto; appearance: auto; padding-right: 16px; background-image: none; } }
.lp-field input:focus-visible, .lp-field textarea:focus-visible, .lp-field select:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lp-field small { display: block; margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--sl-fg-dark-3); }
.lp-form-submit { display: grid; justify-items: center; gap: 14px; margin-top: 4px; padding-top: 24px; border-top: 1px solid var(--sl-line-dark); text-align: center; }
.lp-form-submit button {
  min-height: 56px;
  padding: 16px 40px;
  border: 2px solid transparent; /* 強制カラーでもボタンの形が残る */
  border-radius: 999px;
  background: #fff; /* 濃い面の上の主ボタンは白地（e.css の決まり） */
  color: #1F57D6;
  box-shadow: 0 14px 28px -16px rgba(10,20,90,0.55);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.lp-form-submit button:disabled { opacity: 0.6; cursor: default; }
.lp-form-submit button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lp-form-submit p { font-size: 12px; line-height: 1.8; color: var(--sl-fg-dark-3); }
/* 文中の短いリンクも、押せる高さを 44px 取る */
.lp-form-submit p a { display: inline-block; padding-block: 11px; margin-block: -11px; color: var(--sl-fg-dark); text-decoration: underline; }
.lp-form-done { padding: 12px 0 4px; text-align: center; }
.lp-form-done .ico { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: var(--sl-grad); color: #fff; font-size: 24px; }
.lp-form-done h3 { margin-bottom: 12px; font-size: 22px; font-weight: 900; }
.lp-form-done p { max-width: 520px; margin: 0 auto; font-size: 14px; line-height: 1.9; color: var(--sl-fg-dark-2); }
.lp-field textarea { word-break: auto-phrase; }
.lp-field small { text-wrap: balance; }
