  /* ============================================================
     AI-Native Foundations / Change Agent 申込フォーム
     Drupal Webform 埋め込みCSS（実DOM準拠・全面改訂版）
     ============================================================ */

  /* ---- 変数＋フォームカード本体 ---- */
  .webform-submission-atlassian-qa-form{
    --ink:#0f0f0e; --ink-2:#3a3a38; --ink-3:#6b6b68; --ink-4:#9e9e9b;
    --line:#e0e0dd; --bg:#fff; --bg-2:#f7f7f5;
    --navy:#1a2c4e; --navy-light:#e8ecf3; --navy-mid:#3d5a8a;
    --red:#b83030; --red-bg:#fdf2f2;
    --green:#1a6b3a; --green-bg:#f0f8f3; --green-line:#b6ddc5;
    font-family:'Inter',-apple-system,sans-serif; font-weight:300;
    color:var(--ink); max-width:720px; margin:0 auto 64px; background:#fff;
    border:1px solid var(--line); padding:36px 48px 44px;
    -webkit-font-smoothing:antialiased;
    gap: calc(var(--spacing) * 5);
  }
  @media(max-width:640px){
    .webform-submission-atlassian-qa-form{ padding:24px 24px 32px; margin-bottom:48px; }
  }

  /* ---- フォーム見出し（開催日・会場）---- */
  .lp-formhead{ margin-bottom:20px; }
  .lp-formhead-eyebrow{ font-size:10px; font-weight:400; letter-spacing:.14em;
    color:var(--navy-mid); text-transform:uppercase; margin-bottom:10px; }
  .lp-formhead-title{ font-size:20px; font-weight:400; letter-spacing:-.01em;
    color:var(--navy); line-height:1.4; margin-bottom:8px; }
  .lp-formhead-sub{ font-size:12px; font-weight:300; color:var(--ink-3); line-height:1.7; }

  /* ---- ボタン下の注記 ---- */
  .lp-submit-note{ font-size:11px; font-weight:300; color:var(--ink-4);
    text-align:center; margin-top:14px; line-height:1.6; }

  /* ---- セクション見出し ---- */
  .webform-submission-atlassian-qa-form .webform-section-title{
    font-size:10px; font-weight:400; letter-spacing:.14em; color:var(--ink-3);
    text-transform:uppercase; margin-bottom:16px; padding-bottom:0; border:none; }
  .webform-submission-atlassian-qa-form .webform-section-wrapper{ margin-bottom:28px; }
  .webform-submission-atlassian-qa-form .webform-section-title::before{ content:'— '; }

  /* ---- ラベル ---- */
  .webform-submission-atlassian-qa-form label,
  .webform-submission-atlassian-qa-form .form-item label{
    font-size:10px; font-weight:400; letter-spacing:.12em;
    color:var(--ink-2); text-transform:uppercase; margin-bottom:7px; }

  /* ---- 入力欄 ---- */
  .webform-submission-atlassian-qa-form input[type="text"],
  .webform-submission-atlassian-qa-form input[type="email"],
  .webform-submission-atlassian-qa-form input[type="tel"],
  .webform-submission-atlassian-qa-form select,
  .webform-submission-atlassian-qa-form textarea{
    width:100%; box-sizing:border-box;
    font-family:'Inter',-apple-system,sans-serif;
    font-size:14px; font-weight:300; color:var(--ink); background:#fff;
    border:1px solid var(--line); border-radius:0; padding:12px 14px;
    outline:none; transition:border-color .2s;
    -webkit-appearance:none; appearance:none; }
  .webform-submission-atlassian-qa-form input:focus,
  .webform-submission-atlassian-qa-form select:focus,
  .webform-submission-atlassian-qa-form textarea:focus{
    border-color:var(--navy); box-shadow:none; }
  .webform-submission-atlassian-qa-form input::placeholder,
  .webform-submission-atlassian-qa-form textarea::placeholder{ color:var(--ink-4); }
  .webform-submission-atlassian-qa-form textarea{
    resize:vertical; min-height:72px; line-height:1.7; }
  .webform-submission-atlassian-qa-form select{
    cursor:pointer; padding-right:36px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239e9e9b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 14px center; }
  
  .webform-submission-atlassian-qa-form .form-wrapper .form-item {
    margin-bottom: 1rem;
   }
 
    .webform-submission-atlassian-qa-form .form-wrapper .webform-flexbox .form-item {
     margin-bottom: 0;
   }


  /* ---- 説明・注記 ---- */
  .webform-submission-atlassian-qa-form .description,
  .webform-submission-atlassian-qa-form .form-item .description,
  .lp-note{ font-size:11px; font-weight:300; color:var(--ink-4); margin-top:5px; line-height:1.6; }

  /* ---- 必須マーク（入力ラベル）---- */
  .webform-submission-atlassian-qa-form .js-form-required.form-required::after{
    content:'必須'; color:var(--red); background:var(--red-bg);
    font-size:9px; font-weight:500; letter-spacing:.04em;
    padding:1px 5px; margin-left:6px; vertical-align:middle; }

  /* ---- Flexbox（姓名等の横並び）---- */
  .webform-submission-atlassian-qa-form .webform-flexbox{ gap:14px; }
  @media(max-width:480px){
    .webform-submission-atlassian-qa-form .webform-flexbox{ flex-direction:column; } }

  /* ---- 支払い方法／コース等ラジオ（カード化）---- */
  [data-drupal-selector="edit-course"].fieldgroup,
  [data-drupal-selector="edit-pay-method"].fieldgroup{ border:none !important; padding:0 !important; margin:0 0 6px !important; }
  [data-drupal-selector="edit-course"] > legend,
  [data-drupal-selector="edit-pay-method"] > legend{ margin-bottom:10px; }
  [data-drupal-selector="edit-course"] .fieldset-legend,
  [data-drupal-selector="edit-pay-method"] .fieldset-legend{
    font-size:10px; font-weight:400; letter-spacing:.12em;
    color:var(--ink-2); text-transform:uppercase; }
  [data-drupal-selector="edit-course"] > legend .js-form-required.form-required::after,
  [data-drupal-selector="edit-pay-method"] > legend .js-form-required.form-required::after{
    content:'必須'; color:var(--red); background:var(--red-bg);
    font-size:9px; font-weight:500; padding:1px 5px; margin-left:6px; }
  .webform-submission-atlassian-qa-form [data-drupal-selector="edit-course"] .js-webform-radios{
    display:grid !important; grid-template-columns:1fr 1fr 1fr; gap:10px; }
  @media(max-width:600px){
    .webform-submission-atlassian-qa-form [data-drupal-selector="edit-course"] .js-webform-radios{
      grid-template-columns:1fr; } }
  .webform-submission-atlassian-qa-form .form-type-radio{
    position:relative; border:1px solid var(--line); background:#fff;
    padding:40px 16px 16px; margin:0; min-height:128px;
    transition:border-color .2s, background .2s; cursor:pointer; }
  .webform-submission-atlassian-qa-form .form-type-radio:hover{ border-color:var(--navy-mid); }
  .webform-submission-atlassian-qa-form .form-type-radio:has(input:checked){
    border-color:var(--navy); background:var(--navy-light); }
  .webform-submission-atlassian-qa-form .form-type-radio input.form-radio{
    position:absolute; top:14px; left:14px; margin:0; z-index:2;
    width:18px; height:18px; accent-color:var(--navy); cursor:pointer; }
  .webform-submission-atlassian-qa-form .form-type-radio label.option{
    display:block; position:static; margin:0; cursor:pointer;
    text-transform:none !important; letter-spacing:0 !important;
    font-size:13px !important; font-weight:400 !important;
    color:var(--ink) !important; line-height:1.6 !important; }
  .webform-submission-atlassian-qa-form .form-type-radio label.option::after{
    content:''; position:absolute; inset:0; z-index:1; cursor:pointer; }

  /* ---- チェックボックス（同意等）---- */
  .webform-submission-atlassian-qa-form .form-type-checkbox{
    display:flex; align-items:flex-start; gap:10px; margin-bottom:10px; }
  .webform-submission-atlassian-qa-form .form-type-checkbox input.form-checkbox{
    flex:0 0 auto; margin:2px 0 0; width:16px; height:16px; accent-color:var(--navy); }
  .webform-submission-atlassian-qa-form .form-type-checkbox label.option{
    margin:0;
    text-transform:none !important; letter-spacing:0 !important;
    font-size:13px !important; font-weight:300 !important;
    color:var(--ink-2) !important; line-height:1.5 !important; }
  .webform-submission-atlassian-qa-form .form-type-checkbox label.option a{
    color:var(--navy-mid); text-decoration:none; border-bottom:1px solid var(--navy-light); }

  /* ---- プライバシーボックス ---- */
  .lp-privacy-box{ background:var(--bg-2); border:1px solid var(--line);
    padding:14px 16px; margin-bottom:20px;
    font-size:11px; font-weight:300; color:var(--ink-3); line-height:1.8; }
  .lp-privacy-box a{ color:var(--navy-mid); text-decoration:none; }
  .lp-privacy-box a:hover{ text-decoration:underline; }

  /* ---- CAPTCHA ---- */
  .webform-submission-atlassian-qa-form .captcha{
    border:1px solid var(--line); background:var(--bg-2);
    padding:16px 20px; margin-top:20px; }
  .webform-submission-atlassian-qa-form .captcha legend,
  .webform-submission-atlassian-qa-form .captcha .fieldset-legend{
    font-size:10px; font-weight:400; letter-spacing:.12em;
    color:var(--ink-2); text-transform:uppercase; }
  .webform-submission-atlassian-qa-form .captcha .description{ margin-bottom:8px; }

  /* ============================================================
     ページタイトル（H1・フォーム外）を非表示
     ============================================================ */
  .region-content > h1,
  h1.page-title,
  .page-title,
  h1.text-4xl.font-semibold,
  .block-page-title-block{
    display:none !important; }

  /* ============================================================
     プログレスバー → タブ型下線デザイン
     ============================================================ */
  .webform-submission-atlassian-qa-form .webform-progress{
    margin:0 0 32px; }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker{
    display:flex !important; max-width:100% !important;
    margin:0 !important; padding:0 !important;
    border-bottom:1px solid var(--line); }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-marker,
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-marker::before,
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-marker::after{
    display:none !important; background:none !important;
    content:none !important; width:0 !important; height:0 !important; margin:0 !important; }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-step{
    flex:1 1 0 !important; min-width:0 !important;
    margin:0 !important; padding:0 !important;
    border-bottom:2px solid transparent !important;
    transition:border-color .25s, color .25s; }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-step.is-active{
    border-bottom-color:var(--navy) !important; }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-step.is-complete{
    border-bottom-color:var(--line) !important; }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-step .progress-text{
    display:block !important; padding:0 !important; margin:0 !important; overflow:visible !important; }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-step .progress-title{
    margin:0 !important; padding:16px 4px !important;
    font-family:'Inter',sans-serif !important;
    font-size:10px !important; font-weight:400 !important;
    letter-spacing:.08em !important; text-transform:uppercase !important;
    text-align:center !important; color:var(--ink-4) !important; line-height:1.4 !important; }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-step:nth-child(1) .progress-title::before{ content:'01 · '; }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-step:nth-child(2) .progress-title::before{ content:'02 · '; }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-step:nth-child(3) .progress-title::before{ content:'03 · '; }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-step.is-active .progress-title{ color:var(--navy) !important; }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-step.is-complete .progress-title{ color:var(--ink-3) !important; }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-step.is-complete .progress-title::after{ content:' ✓'; color:var(--green); }
  .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .visually-hidden{
    position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  @media(max-width:640px){
    .webform-submission-atlassian-qa-form .webform-progress .progress-tracker .progress-step .progress-title{
      font-size:9px !important; padding:12px 2px !important; letter-spacing:.04em !important; } }

  /* ============================================================
     アクションボタン（出し分け）
     ============================================================ */
  .webform-submission-atlassian-qa-form .form-actions{
    display:flex; gap:12px; flex-wrap:wrap; margin-top:8px; }
  .webform-submission-atlassian-qa-form .webform-button--preview,
  .webform-submission-atlassian-qa-form .webform-button--submit,
  .webform-submission-atlassian-qa-form .webform-button--previous{
    box-sizing:border-box;
    font-family:'Inter',sans-serif !important;
    font-size:12px !important; font-weight:400 !important; letter-spacing:.1em !important;
    border-radius:0 !important; padding:16px 24px !important;
    text-transform:uppercase !important; cursor:pointer !important;
    transition:background .2s, border-color .2s !important; box-shadow:none !important; }
  .webform-submission-atlassian-qa-form .webform-button--preview,
  .webform-submission-atlassian-qa-form .webform-button--submit{
    color:#fff !important; background:#1a2c4e !important; border:none !important; }
  .webform-submission-atlassian-qa-form .webform-button--preview:hover,
  .webform-submission-atlassian-qa-form .webform-button--submit:hover{
    background:#3d5a8a !important; }
  .webform-submission-atlassian-qa-form .webform-button--previous{
    color:#3a3a38 !important; background:#fff !important;
    border:1px solid #e0e0dd !important; }
  .webform-submission-atlassian-qa-form .webform-button--previous:hover{
    border-color:#1a2c4e !important; }
  .webform-submission-atlassian-qa-form .form-actions:has(.webform-button--preview) .webform-button--submit{
    display:none !important; }
  .webform-submission-atlassian-qa-form .form-actions:has(.webform-button--preview) .webform-button--preview{
    flex:1 1 100%; }
  .webform-submission-atlassian-qa-form .form-actions:has(.webform-button--previous) .webform-button--previous{
    flex:1 1 30%; }
  .webform-submission-atlassian-qa-form .form-actions:has(.webform-button--previous) .webform-button--submit{
    flex:2 1 60%; }

  /* ============================================================
     確認画面（Preview）の項目表示
     ============================================================ */
  .webform-submission-atlassian-qa-form .webform-preview{ margin-bottom:8px; }
  .webform-submission-atlassian-qa-form .webform-preview .webform-section{ margin-bottom:24px; }
  .webform-submission-atlassian-qa-form .webform-preview .webform-element{
    display:flex; gap:16px; align-items:baseline;
    border-bottom:1px solid var(--line); padding:11px 0;
    font-size:14px !important; font-weight:300; color:var(--ink); line-height:1.6; }
  .webform-submission-atlassian-qa-form .webform-preview .webform-element > label{
    flex:0 0 130px; margin:0;
    font-size:10px !important; font-weight:400; letter-spacing:.1em;
    color:var(--ink-3); text-transform:uppercase; }
  .webform-submission-atlassian-qa-form .webform-preview .webform-element a{
    color:var(--navy-mid); text-decoration:none; }
  .webform-submission-atlassian-qa-form .webform-preview .webform-element-type-textarea{ display:block; }
  .webform-submission-atlassian-qa-form .webform-preview .webform-element-type-textarea > label{
    display:block; flex:none; margin-bottom:4px; }

  .webform-required{ font-size:11px; color:#9e9e9b; margin-bottom:16px; }

  /* ============================================================
     完了画面（webform-confirmation）
     ============================================================ */
  .webform-confirmation{ max-width:720px; margin:0 auto 64px;
    background:#fff; border:1px solid var(--line); padding:36px 48px 40px; }
  @media(max-width:640px){ .webform-confirmation{ padding:24px 24px 32px; margin-bottom:48px; } }
  .lp-complete-body{ font-size:14px; font-weight:300; color:var(--ink-2);
    line-height:1.85; margin-bottom:28px; padding-bottom:24px; border-bottom:1px solid var(--line); }
  .webform-confirmation__back a,
  .lp-complete-back a{
    display:inline-flex; align-items:center; gap:6px;
    font-size:12px; font-weight:400; letter-spacing:.08em;
    color:var(--navy); background:var(--navy-light);
    padding:14px 28px; text-decoration:none; text-transform:uppercase;
    transition:background .2s; }
  .webform-confirmation__back a:hover,
  .lp-complete-back a:hover{ background:#d4dcea; }
  .lp-complete-back{ display:block; margin-top:8px; }

  /* ---- 確認画面タイトル（H1非表示のため）---- */
  .webform-submission-atlassian-qa-form .webform-preview::before{
    content:'入力内容のご確認'; display:block;
    font-size:10px; font-weight:400; letter-spacing:.14em;
    color:var(--ink-3); text-transform:uppercase; margin-bottom:16px; }
