
  :root {
    --primary:      #1a56db;
    --primary-dark: #1241a8;
    --bg:           #f0f4f8;
    --card-bg:      #ffffff;
    --border:       #d1d9e6;
    --text:         #1e293b;
    --muted:        #64748b;
    --required:     #ef4444;
  }
  body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding: 0;
  }
  /* ── ヘッダーバー ── */
  .form-header {
    margin-top: 1rem;
    background: linear-gradient(135deg, rgb(13 110 253) 0%, var(--primary) 60%, #3b82f6 100%);
    border-radius: .25rem .25rem 0 0;
    padding: 32px 36px 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .form-header::after {
    content: '';
    position: absolute;
    inset: 0;
    /*
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='14'/%3E%3C/g%3E%3C/svg%3E") repeat;
    */
    }
  .form-header .badge-step {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: .25rem;
    font-size: .72rem;
    letter-spacing: .06em;
    padding: 3px 12px;
    display: inline-block;
    margin-bottom: 10px;
  }
  .form-header h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 6px; }
  .form-header p  { font-size: .88rem; opacity: .85; margin: 0; }
  .form-header .deco-icon {
    position: absolute; right: 28px; bottom: -4px;
    font-size: 5.5rem; opacity: .07;
  }
  /* ── カード ── */
  .form-card {
    background: var(--card-bg);
    border-radius: 0.25rem;
    box-shadow: 0 8px 30px rgba(30,41,59,.10);
  }
  .form-body { padding: 28px 36px 36px; }
  /* ── フォームロー ── */
  .form-row-group {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: background .15s;
  }
  .form-row-group:first-child { border-top: 1px solid var(--border); }
  .form-row-group:hover { background: #f8fafd; }
  .form-label-cell {
    padding: 14px 16px;
    font-size: .88rem;
    font-weight: 500;
    background: #f6f8fc;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    height: auto;
    border-right: 1px solid var(--border);
  }
  .form-label-cell .lbl-icon { color: var(--primary); font-size: .85rem; width: 16px; text-align:center; }
  .badge-req {
    background: var(--required); color: #fff;
    font-size: .6rem; padding: 1px 6px; border-radius: .25rem;
    margin-left: auto; font-weight: 700; white-space: nowrap;
  }
  .form-input-cell { padding: 10px 16px; }
  /* ── 入力 ── */
  .form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: .25rem;
    font-size: .9rem;
    color: var(--text);
    padding: 8px 12px;
    transition: border-color .2s, box-shadow .2s;
  }
  .form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,.13);
    outline: none;
  }
  .form-control::placeholder { color: #b0bac9; }
  textarea.form-control { min-height: 110px; resize: vertical; }
  .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
  .radio-group, .check-group { display: flex; flex-wrap: wrap; gap: 16px; }
  /* ── ボタン ── */
  .btn-confirm {
    background: linear-gradient(135deg, #0d6efd 0%, #0d6efda8 100%);
    color: #fff; border: none; border-radius: .25rem;
    padding: 11px 36px; font-size: .95rem; font-weight: 600;
    box-shadow: 0 4px 14px rgba(26,86,219,.35);
    transition: opacity .2s, transform .15s;
  }
  .btn-confirm:hover { opacity:.88; transform:translateY(-1px); color:#fff; }
  .btn-reset-custom {
    background: #f1f5f9; color: var(--muted);
    border: 1.5px solid var(--border); border-radius: .25rem;
    padding: 11px 28px; font-size: .9rem; font-weight: 500;
    transition: background .2s;
  }
  .btn-reset-custom:hover { background: #e2e8f0; color: var(--text); }
  /* ── 注意 ── */
  .notice-list { list-style:none; padding:0; margin:0; }
  .notice-list li { font-size:.82rem; color:var(--muted); padding:3px 0 3px 18px; position:relative; }
  .notice-list li::before { content:'※'; position:absolute; left:0; }
  /* ── レスポンシブ ── */
  @media (max-width: 640px) {
    body { padding: 0 0 40px; }
    .form-header { border-radius: 0; padding: 22px 18px 18px; }
    .form-card  { border-radius: 0; }
    .form-body  { padding: 18px 14px 26px; }
    .form-row-group { grid-template-columns: 1fr; }
    .form-label-cell { border-right: none; border-bottom: 1px solid var(--border); min-height: 56px; padding: 10px 14px; }
    .form-input-cell { padding: 10px 14px; }
    .deco-icon { display: none; }
  }
