/* 研修選定コンシェルジュ フォームページ（/concierge/fixed/・/concierge/consult/）  元: /concierge.html のヒアリングUI */
  #ksh-hearing{
    --ksh-navy:#12222C;
    --ksh-navy-soft:#1B323F;
    --ksh-navy-line:rgba(255,255,255,0.12);
    --ksh-navy-text-soft:#B9C4CB;
    --ksh-bg:#EFF1F3;
    --ksh-panel:#FFFFFF;
    --ksh-ink:#182B38;
    --ksh-ink-soft:#45546C;
    --ksh-ink-faint:#93A0AB;
    --ksh-line:#E1E5EA;
    --ksh-line-strong:#C7CDD4;
    --ksh-accent:#F2A93B;
    --ksh-accent-deep:#C6841E;
    --ksh-accent-soft:#FCEBC9;
    --ksh-cta:#5FA23A;
    --ksh-cta-deep:#4C8A2E;
    --ksh-error:#DC3545;
    --ksh-radius-card:10px;
    --ksh-radius-el:8px;
    --ksh-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  }

  #ksh-hearing, #ksh-hearing *{ box-sizing:border-box; }
  #ksh-hearing{
    position:fixed; inset:0; z-index:1000;
    background:var(--ksh-bg);
    font-family:var(--ksh-sans);
    overflow-y:auto;
    overflow-x:hidden;
  }
  #ksh-hearing .ksh-app{ display:flex; min-height:100vh; align-items:stretch; }

  #ksh-hearing .ksh-return{
    display:inline-flex; align-items:center; gap:6px; background:none; border:none; padding:0; margin-bottom:16px;
    font-family:var(--ksh-sans); font-size:12px; color:var(--ksh-navy-text-soft); cursor:pointer; text-decoration:none;
  }
  #ksh-hearing .ksh-return:hover{ color:#fff; text-decoration:none; }
  #ksh-hearing .ksh-return svg{ display:block; flex-shrink:0; }

  #ksh-hearing .ksh-left{
    flex:0 0 44%; max-width:600px; min-height:100vh; overflow-y:auto;
    background:var(--ksh-navy); color:var(--ksh-navy-text-soft); padding:26px 44px 20px;
    display:flex; flex-direction:column;
    position:sticky; top:0; align-self:flex-start;
  }
  #ksh-hearing .ksh-lp-section{ padding:13px 0; border-top:1px solid var(--ksh-navy-line); }
  #ksh-hearing .ksh-lp-section:first-child{ padding-top:0; border-top:none; }
  #ksh-hearing .ksh-lp-eyebrow{ font-size:12.5px; font-weight:700; color:var(--ksh-accent); letter-spacing:.03em; margin:0 0 10px; }
  #ksh-hearing .ksh-lp-headline{ font-size:22px; font-weight:700; line-height:1.45; margin:0 0 8px; color:#fff; }
  #ksh-hearing .ksh-lp-sub{ font-size:13px; line-height:1.7; color:var(--ksh-navy-text-soft); margin:0; }
  #ksh-hearing .ksh-lp-heading2{ font-size:16px; font-weight:800; color:#fff; letter-spacing:.01em; margin:0 0 8px; line-height:1.4; }
  #ksh-hearing .ksh-lp-heading2-rule{ width:26px; height:2px; background:var(--ksh-accent); margin:0 0 12px; }
  #ksh-hearing .ksh-lp-stat-label{ font-size:13px; color:var(--ksh-navy-text-soft); margin:0 0 4px; }
  #ksh-hearing .ksh-lp-stat-num{ font-size:36px; font-weight:800; color:var(--ksh-accent); font-variant-numeric:tabular-nums; line-height:1.1; margin:0; }
  #ksh-hearing .ksh-logo-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-bottom:8px; }
  #ksh-hearing .ksh-logo-cell{
    aspect-ratio:3/1; background:var(--ksh-navy-soft); border:1px solid var(--ksh-navy-line); border-radius:4px;
    display:flex; align-items:center; justify-content:center; text-align:center; padding:3px;
    font-size:8.5px; letter-spacing:.02em; color:var(--ksh-navy-text-soft);
  }
  #ksh-hearing .ksh-lp-disclaimer{ font-size:10px; line-height:1.6; color:rgba(185,196,203,0.6); margin:0; }
  #ksh-hearing .ksh-reason-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
  #ksh-hearing .ksh-reason-item{ display:flex; gap:10px; align-items:flex-start; }
  #ksh-hearing .ksh-reason-icon{
    width:17px; height:17px; border-radius:50%; background:rgba(242,169,59,0.16); color:var(--ksh-accent);
    font-size:10.5px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px;
  }
  #ksh-hearing .ksh-reason-main{ font-size:13px; font-weight:600; color:#fff; margin:0; line-height:1.55; }
  #ksh-hearing .ksh-reason-item.ksh-highlight{ background:rgba(242,169,59,0.10); border:1px solid rgba(242,169,59,0.35); border-radius:7px; padding:9px 11px; }

  @media (max-width:880px){
    #ksh-hearing .ksh-app{ display:block; height:auto; min-height:100%; }
    #ksh-hearing .ksh-left{ display:none; position:static; min-height:auto; }
  }

  #ksh-hearing .ksh-right{ flex:1; min-width:0; min-height:100vh; display:flex; align-items:flex-start; justify-content:center; padding:32px; }
  @media (max-width:880px){ #ksh-hearing .ksh-right{ min-height:auto; padding:0; display:block; } }

  #ksh-hearing .ksh-card{
    width:100%; max-width:820px; max-height:none; overflow:visible;
    background:var(--ksh-panel); border-radius:var(--ksh-radius-card); padding:48px 56px;
    box-shadow:0 1px 3px rgba(18,34,44,0.08);
    margin:6px 0 32px;
    opacity:0; transform:translateX(10px); transition:opacity .26s ease, transform .26s ease;
  }
  #ksh-hearing .ksh-card.ksh-show{ opacity:1; transform:translateX(0); }
  @media (max-width:880px){
    #ksh-hearing .ksh-card{ max-width:none; max-height:none; overflow:visible; border-radius:0; box-shadow:none; padding:22px 20px 40px; }
  }

  /* ステップ表示（全画面共通） */
  #ksh-hearing .ksh-stepper{ display:flex; align-items:flex-start; gap:14px; margin-bottom:22px; }
  #ksh-hearing .ksh-stepper-track{ display:flex; gap:6px; flex:1; list-style:none; margin:0; padding:0; }
  #ksh-hearing .ksh-stepper-item{ flex:1; min-width:0; }
  #ksh-hearing .ksh-stepper-seg{ display:block; height:5px; border-radius:3px; background:var(--ksh-line); overflow:hidden; }
  #ksh-hearing .ksh-stepper-seg > span{ display:block; height:100%; background:var(--ksh-accent); border-radius:inherit; transition:width .25s ease; }
  #ksh-hearing .ksh-stepper-label{ display:flex; align-items:center; gap:5px; margin-top:7px; font-size:12px; line-height:1.3; color:var(--ksh-ink-faint); white-space:nowrap; }
  #ksh-hearing .ksh-stepper-num{
    width:17px; height:17px; flex-shrink:0; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
    font-size:10.5px; font-weight:700; background:var(--ksh-line); color:var(--ksh-ink-faint);
  }
  #ksh-hearing .ksh-stepper-item.ksh-done .ksh-stepper-num{ background:var(--ksh-accent-soft); color:var(--ksh-accent-deep); }
  #ksh-hearing .ksh-stepper-item.ksh-done .ksh-stepper-label{ color:var(--ksh-ink-soft); }
  #ksh-hearing .ksh-stepper-item.ksh-current .ksh-stepper-num{ background:var(--ksh-accent); color:#fff; }
  #ksh-hearing .ksh-stepper-item.ksh-current .ksh-stepper-label{ color:var(--ksh-ink); font-weight:700; }
  #ksh-hearing .ksh-stepper-sub{ font-weight:400; color:var(--ksh-ink-faint); font-variant-numeric:tabular-nums; }
  #ksh-hearing .ksh-stepper-count{ font-size:12px; font-weight:700; letter-spacing:.04em; color:var(--ksh-ink-faint); white-space:nowrap; line-height:5px; padding-top:1px; font-variant-numeric:tabular-nums; }
  @media (max-width:520px){
    #ksh-hearing .ksh-stepper-count{ display:none; }
    #ksh-hearing .ksh-stepper-item:not(.ksh-current) .ksh-stepper-label{ font-size:0; gap:0; }
    #ksh-hearing .ksh-stepper-label{ font-size:11.5px; }
    #ksh-hearing .ksh-stepper-item.ksh-current{ flex:2.6; }
    #ksh-hearing .ksh-stepper-label{ overflow:hidden; }
  }

  #ksh-hearing .ksh-concierge-row{ display:flex; align-items:flex-start; gap:16px; margin-bottom:24px; }
  #ksh-hearing .ksh-concierge-avatar{ width:54px; height:54px; flex-shrink:0; border-radius:50%; background:var(--ksh-bg); display:flex; align-items:center; justify-content:center; }
  #ksh-hearing .ksh-concierge-avatar svg{ width:100%; height:100%; display:block; }
  #ksh-hearing .ksh-concierge-textcol{ flex:1; min-width:0; padding-top:4px; }
  #ksh-hearing .ksh-concierge-role{ font-size:12.5px; font-weight:700; color:var(--ksh-accent-deep); margin:0 0 5px; }
  #ksh-hearing .ksh-concierge-lead{ font-size:14px; line-height:1.7; color:var(--ksh-ink-soft); margin:0 0 6px; }
  @media (max-width:480px){ #ksh-hearing .ksh-concierge-avatar{ width:34px; height:34px; } }

  #ksh-hearing .ksh-question{ font-size:22px; font-weight:700; line-height:1.5; margin:0 0 22px; color:var(--ksh-ink); }
  #ksh-hearing .ksh-concierge-textcol .ksh-question{ margin-bottom:0; }

  #ksh-hearing .ksh-option-grid{ display:grid; gap:11px; margin:24px 0 6px; }
  #ksh-hearing .ksh-option-grid.ksh-cols-2{ grid-template-columns:repeat(2,1fr); }
  #ksh-hearing .ksh-option-grid.ksh-cols-3{ grid-template-columns:repeat(3,1fr); }
  @media (max-width:640px){
    #ksh-hearing .ksh-option-grid.ksh-cols-2, #ksh-hearing .ksh-option-grid.ksh-cols-3{ grid-template-columns:1fr; }
  }
  #ksh-hearing .ksh-option-card{
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    border:1px solid var(--ksh-line); background:var(--ksh-panel); border-radius:var(--ksh-radius-el); padding:17px 20px;
    font-family:var(--ksh-sans); font-size:15px; color:var(--ksh-ink); text-align:left; cursor:pointer;
    transition:border-color .15s ease, background .15s ease;
  }
  #ksh-hearing .ksh-option-card:hover{ border-color:var(--ksh-line-strong); }
  #ksh-hearing .ksh-option-card .ksh-check{ width:16px; height:16px; flex-shrink:0; color:transparent; display:flex; align-items:center; justify-content:center; }
  #ksh-hearing .ksh-option-card.ksh-selected{ border-color:var(--ksh-accent); background:var(--ksh-accent-soft); }
  #ksh-hearing .ksh-option-card.ksh-selected .ksh-check{ color:var(--ksh-accent-deep); }
  #ksh-hearing .ksh-option-card.ksh-consult{ grid-column:1 / -1; border-style:dashed; border-color:var(--ksh-line-strong); color:var(--ksh-ink-soft); justify-content:flex-start; }
  #ksh-hearing .ksh-option-card.ksh-consult:hover{ border-color:var(--ksh-accent); color:var(--ksh-ink); }

  #ksh-hearing textarea.ksh-notes{
    width:100%; min-height:112px; border:1px solid var(--ksh-line); border-radius:var(--ksh-radius-el); padding:14px 16px;
    font-family:var(--ksh-sans); font-size:15px; line-height:1.7; color:var(--ksh-ink); resize:vertical; margin:22px 0 22px;
  }
  #ksh-hearing textarea.ksh-notes::placeholder{ color:var(--ksh-ink-faint); }

  #ksh-hearing .ksh-step-actions{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
  #ksh-hearing .ksh-btn-primary{
    background:var(--ksh-cta); color:#fff; border:none; border-radius:var(--ksh-radius-el); padding:15px 28px;
    font-family:var(--ksh-sans); font-size:15.5px; font-weight:600; cursor:pointer; transition:background .15s ease;
  }
  #ksh-hearing .ksh-btn-primary:hover{ background:var(--ksh-cta-deep); }
  #ksh-hearing .ksh-btn-ghost{ background:none; border:none; color:var(--ksh-ink-soft); font-size:14.5px; cursor:pointer; padding:15px 4px; }
  #ksh-hearing .ksh-btn-ghost:hover{ color:var(--ksh-ink); }

  #ksh-hearing .ksh-footer{ margin-top:24px; padding-top:18px; border-top:1px solid var(--ksh-line); }
  #ksh-hearing .ksh-back{
    display:inline-flex; align-items:center; gap:7px; background:none; border:none; padding:0;
    font-family:var(--ksh-sans); font-size:13.5px; color:var(--ksh-ink-soft); cursor:pointer; transition:color .15s ease;
  }
  #ksh-hearing .ksh-back svg{ display:block; flex-shrink:0; }
  #ksh-hearing .ksh-back:hover{ color:var(--ksh-ink); }
  #ksh-hearing .ksh-back:focus-visible, #ksh-hearing button:focus-visible, #ksh-hearing input:focus-visible, #ksh-hearing textarea:focus-visible{
    outline:2px solid var(--ksh-accent); outline-offset:2px;
  }

  #ksh-hearing .ksh-contact-summary{
    display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
    background:var(--ksh-bg); border:1px solid var(--ksh-line); border-radius:var(--ksh-radius-el); padding:17px 20px; margin-bottom:26px;
  }
  #ksh-hearing .ksh-summary-body{ min-width:0; flex:1 1 auto; }
  #ksh-hearing .ksh-summary-label{ display:block; font-size:12px; color:var(--ksh-ink-faint); margin-bottom:5px; }
  #ksh-hearing .ksh-summary-value{ font-size:15px; color:var(--ksh-ink); font-weight:600; overflow:visible; text-overflow:clip; white-space:normal; line-height:1.65; word-break:break-word; }
  #ksh-hearing .ksh-summary-change{ background:none; border:none; color:var(--ksh-accent-deep); font-size:14px; cursor:pointer; white-space:nowrap; flex-shrink:0; padding-top:1px; }
  #ksh-hearing .ksh-summary-change:hover{ text-decoration:underline; }
  @media (max-width:640px){
    #ksh-hearing .ksh-contact-summary{ flex-direction:column; }
    #ksh-hearing .ksh-summary-change{ align-self:flex-end; }
  }

  #ksh-hearing .ksh-field-group{ margin-bottom:18px; }
  #ksh-hearing .ksh-field-group label{ display:block; font-size:13.5px; color:var(--ksh-ink-soft); margin-bottom:7px; }
  #ksh-hearing .ksh-field-group label .ksh-req{ color:var(--ksh-accent-deep); }
  #ksh-hearing .ksh-field-group input{
    width:100%; border:1px solid var(--ksh-line); border-radius:var(--ksh-radius-el); padding:13px 15px;
    font-family:var(--ksh-sans); font-size:15px; color:var(--ksh-ink);
  }
  #ksh-hearing .ksh-field-group input.ksh-invalid{ border-color:var(--ksh-error); }
  #ksh-hearing .ksh-field-error{ font-size:13px; color:var(--ksh-error); margin:2px 0 14px; }
  #ksh-hearing .ksh-two-col{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  @media (max-width:520px){ #ksh-hearing .ksh-two-col{ grid-template-columns:1fr; } }

  #ksh-hearing .ksh-policy{ display:flex; align-items:center; gap:7px; font-size:11.5px; color:var(--ksh-ink-soft); margin-top:12px; cursor:pointer; }
  #ksh-hearing .ksh-policy input{ width:13px; height:13px; accent-color:var(--ksh-cta); cursor:pointer; }
  #ksh-hearing .ksh-policy a{ color:var(--ksh-accent-deep); text-decoration:underline; }

  #ksh-hearing .ksh-done-mark{ width:46px; height:46px; border-radius:50%; border:1.5px solid var(--ksh-accent); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
  #ksh-hearing .ksh-mockup-note{ margin-top:28px; padding-top:16px; border-top:1px solid var(--ksh-line); font-size:12px; color:var(--ksh-ink-faint); }

  #ksh-hearing .ksh-card:has(.ksh-contact-compact){ padding:34px 44px; }
  #ksh-hearing .ksh-contact-compact .ksh-contact-summary{ margin-bottom:16px; padding:11px 14px; }
  #ksh-hearing .ksh-contact-compact .ksh-question{ margin-bottom:8px; }
  #ksh-hearing .ksh-contact-compact .ksh-concierge-lead{ margin-bottom:16px; }
  #ksh-hearing .ksh-contact-compact .ksh-field-group{ margin-bottom:11px; }
  #ksh-hearing .ksh-contact-compact .ksh-field-group label{ margin-bottom:5px; }
  #ksh-hearing .ksh-contact-compact .ksh-field-group input{ padding:10px 13px; }
  #ksh-hearing .ksh-contact-compact .ksh-two-col{ gap:12px; }
  #ksh-hearing .ksh-contact-compact .ksh-policy{ margin-top:6px; }
  #ksh-hearing .ksh-contact-compact .ksh-footer{ margin-top:12px; padding-top:10px; }


  /* v2: multi-select / direct-form helpers */
  #ksh-hearing .ksh-option-grid.ksh-multi .ksh-option-card{ text-align:left; }
  #ksh-hearing .ksh-multi-actions{ margin-top:18px; display:flex; align-items:center; gap:14px; }
  #ksh-hearing .ksh-multi-note{ font-size:12.5px; color:var(--ksh-ink-faint); margin:8px 0 0; }
  #ksh-hearing .ksh-direct-lead{ font-size:14px; line-height:1.7; color:var(--ksh-ink-soft); margin:0 0 20px; }
  #ksh-hearing .ksh-direct-title{ font-size:21px; font-weight:700; line-height:1.5; margin:0 0 8px; color:var(--ksh-ink); }
  #ksh-hearing .ksh-direct-fields{ margin-top:18px; }
  #ksh-hearing .ksh-direct-fields textarea.ksh-notes{ min-height:96px; margin-bottom:0; }
  #ksh-hearing .ksh-field-hint{ font-size:11.5px; color:var(--ksh-ink-faint); margin-top:5px; line-height:1.5; }
  #ksh-hearing .ksh-mock-schema{ margin-top:14px; padding:10px 12px; border:1px dashed var(--ksh-line-strong); border-radius:7px; font-size:11.5px; line-height:1.6; color:var(--ksh-ink-faint); }

  /* ---- staged "conversation" reveal (mirrors the standalone hearing UI mock) ---- */
  @keyframes kshReveal{
    from{ opacity:0; transform:translateY(6px); }
    to{ opacity:1; transform:translateY(0); }
  }
  #ksh-hearing .ksh-reveal-stage{
    opacity:0;
    animation:kshReveal .22s ease forwards;
  }
  #ksh-hearing .ksh-pace-first .ksh-reveal-stage.ksh-s1{ animation-delay:0ms; }
  #ksh-hearing .ksh-pace-first .ksh-reveal-stage.ksh-s2{ animation-delay:120ms; }
  #ksh-hearing .ksh-pace-first .ksh-reveal-stage.ksh-s3{ animation-delay:260ms; }
  #ksh-hearing .ksh-pace-first .ksh-reveal-stage.ksh-s4{ animation-delay:380ms; }
  #ksh-hearing .ksh-pace-fast .ksh-reveal-stage.ksh-s1{ animation-delay:0ms; }
  #ksh-hearing .ksh-pace-fast .ksh-reveal-stage.ksh-s2{ animation-delay:60ms; }
  #ksh-hearing .ksh-pace-fast .ksh-reveal-stage.ksh-s3{ animation-delay:130ms; }
  #ksh-hearing .ksh-pace-fast .ksh-reveal-stage.ksh-s4{ animation-delay:200ms; }
  #ksh-hearing .ksh-pace-instant .ksh-reveal-stage{ animation:none; opacity:1; transform:none; }

  @media (prefers-reduced-motion: reduce){
    #ksh-hearing .ksh-reveal-stage{ animation:none !important; opacity:1 !important; transform:none !important; }
  }
  @media (prefers-reduced-motion: reduce){
    #ksh-hearing .ksh-card, #ksh-hearing{ transition:none !important; }
  }

  /* v7: no independent vertical scroll in the right pane */
  #ksh-hearing{ overflow:hidden; }
  #ksh-hearing .ksh-app{ height:100vh; min-height:0; overflow:hidden; }
  #ksh-hearing .ksh-left{ height:100vh; min-height:0; position:relative; top:auto; align-self:stretch; overflow-y:auto; }
  #ksh-hearing .ksh-right{ height:100vh; min-height:0; overflow:hidden; align-items:center; padding:20px 28px; }
  #ksh-hearing .ksh-card{ max-height:calc(100vh - 40px); overflow:visible; margin:0; padding:36px 44px; }

  #ksh-hearing .ksh-route-card{
    display:flex; flex-direction:column; gap:5px; align-items:flex-start;
  }
  #ksh-hearing .ksh-route-title{ font-weight:700; color:var(--ksh-ink); }
  #ksh-hearing .ksh-route-desc{ font-size:12.5px; line-height:1.55; color:var(--ksh-ink-soft); font-weight:400; }

  #ksh-hearing .ksh-contact-compact .ksh-contact-summary{ margin-bottom:10px; padding:9px 12px; }
  #ksh-hearing .ksh-contact-compact .ksh-summary-label{ margin-bottom:2px; }
  #ksh-hearing .ksh-contact-compact .ksh-summary-value{ font-size:12.5px; line-height:1.45; }
  #ksh-hearing .ksh-contact-compact .ksh-question{ font-size:19px; line-height:1.35; margin-bottom:5px; }
  #ksh-hearing .ksh-contact-compact .ksh-concierge-lead{ font-size:12.5px; line-height:1.55; margin-bottom:10px; }
  #ksh-hearing .ksh-contact-compact .ksh-field-group{ margin-bottom:8px; }
  #ksh-hearing .ksh-contact-compact .ksh-field-group label{ font-size:11.5px; margin-bottom:3px; }
  #ksh-hearing .ksh-contact-compact .ksh-field-group input{ padding:8px 11px; font-size:13.5px; }
  #ksh-hearing .ksh-contact-compact .ksh-two-col{ gap:10px; }
  #ksh-hearing .ksh-contact-compact .ksh-btn-primary{ padding:11px 22px; font-size:14px; }
  #ksh-hearing .ksh-contact-compact .ksh-policy{ margin-top:4px; }
  #ksh-hearing .ksh-contact-compact .ksh-footer{ margin-top:7px; padding-top:7px; }
  #ksh-hearing .ksh-card:has(.ksh-contact-compact){ padding:22px 30px; }
  #ksh-hearing .ksh-card:has(.ksh-contact-compact) .ksh-stepper{ margin-bottom:12px; }

  @media (max-height:940px) and (min-width:881px){
    #ksh-hearing .ksh-right{ padding:12px 22px; }
    #ksh-hearing .ksh-card{ max-height:calc(100vh - 24px); padding:26px 34px; }
    #ksh-hearing .ksh-card:has(.ksh-contact-compact){ padding:14px 24px; }
    #ksh-hearing .ksh-stepper{ margin-bottom:14px; }
    #ksh-hearing .ksh-concierge-row{ margin-bottom:14px; }
    #ksh-hearing .ksh-option-grid{ margin-top:14px; gap:8px; }
    #ksh-hearing .ksh-option-card{ padding:12px 16px; font-size:13.5px; }
    #ksh-hearing .ksh-question{ font-size:19px; }
    #ksh-hearing textarea.ksh-notes{ min-height:90px; margin:12px 0; }
  }

  @media (max-width:880px){
    #ksh-hearing{ overflow-y:auto; overflow-x:hidden; }
    #ksh-hearing .ksh-app{ height:auto; min-height:100%; overflow:visible; }
    #ksh-hearing .ksh-right{ height:auto; overflow:visible; }
    #ksh-hearing .ksh-card{ max-height:none; overflow:visible; }
    #ksh-hearing .ksh-right{ padding:0; }
    #ksh-hearing .ksh-card, #ksh-hearing .ksh-card:has(.ksh-contact-compact){ border-radius:0; box-shadow:none; padding:22px 20px 40px; }
  }

/* ---- ページ化に伴う追加 ---- */
  #ksh-hearing p{ margin-top:0; }
  #ksh-hearing .ksh-brand{ display:inline-block; margin:0 0 14px; }
  #ksh-hearing .ksh-brand img{ height:26px; width:auto; display:block; filter:brightness(0) invert(1); }
  #ksh-hearing .ksh-btn-primary:disabled{ opacity:.45; cursor:not-allowed; }
  #ksh-hearing .ksh-btn-primary.ksh-sending{ opacity:.6; pointer-events:none; }
  #ksh-hearing .ksh-noscript{ font-size:14px; color:var(--ksh-ink-soft); }

  /* SP: 左パネルの代わりに上部バー */
  #ksh-hearing .ksh-sp-bar{ display:none; }
  @media (max-width:880px){
    #ksh-hearing .ksh-sp-bar{
      display:flex; align-items:center; justify-content:space-between; gap:12px;
      background:var(--ksh-navy); color:var(--ksh-navy-text-soft); padding:12px 16px;
    }
    #ksh-hearing .ksh-sp-bar .ksh-brand{ margin:0; }
    #ksh-hearing .ksh-sp-bar .ksh-brand img{ height:20px; }
    #ksh-hearing .ksh-sp-stat{ font-size:11px; line-height:1.3; text-align:right; margin:0; }
    #ksh-hearing .ksh-sp-stat strong{ display:block; font-size:17px; color:var(--ksh-accent); }
  }

  /* 導入企業ロゴ（CMS 導入実績の KeySession案件） */
  #ksh-hearing .ksh-logo-cell{ background:#fff; border-color:transparent; padding:6px 10px; }
  #ksh-hearing .ksh-logo-cell img{ display:block; max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }

  /* ご相談内容の一括変更（会社情報画面の「変更する」） */
  #ksh-hearing .ksh-card.ksh-card-scroll{ overflow-y:auto; }
  #ksh-hearing .ksh-edit-row{ padding:12px 0; border-top:1px solid var(--ksh-line); }
  #ksh-hearing .ksh-edit-label{ font-size:12.5px; font-weight:700; color:var(--ksh-ink); margin:0 0 8px; }
  #ksh-hearing .ksh-edit-chips{ display:flex; flex-wrap:wrap; gap:6px; }
  #ksh-hearing .ksh-edit-chip{
    border:1px solid var(--ksh-line); background:var(--ksh-panel); color:var(--ksh-ink-soft); border-radius:999px;
    padding:5px 12px; font-family:var(--ksh-sans); font-size:12.5px; line-height:1.4; cursor:pointer; transition:border-color .15s ease, background .15s ease;
  }
  #ksh-hearing .ksh-edit-chip:hover{ border-color:var(--ksh-line-strong); }
  #ksh-hearing .ksh-edit-chip.ksh-selected{ border-color:var(--ksh-accent); background:var(--ksh-accent-soft); color:var(--ksh-ink); font-weight:700; }
  #ksh-hearing textarea.ksh-edit-notes{ min-height:64px; margin:0; font-size:13.5px; }
  #ksh-hearing .ksh-edit-actions{ margin-top:16px; }

  /* 課題: その他（自由入力） */
  #ksh-hearing textarea.ksh-option-other{
    width:100%; min-height:100%; border:1px solid var(--ksh-line); border-radius:var(--ksh-radius-el); padding:17px 20px;
    font-family:var(--ksh-sans); font-size:15px; line-height:1.5; color:var(--ksh-ink); background:var(--ksh-panel); resize:vertical;
    transition:border-color .15s ease, background .15s ease;
  }
  #ksh-hearing textarea.ksh-option-other::placeholder{ color:var(--ksh-ink-faint); }
  #ksh-hearing textarea.ksh-option-other:focus{ outline:none; border-color:var(--ksh-accent); }
  #ksh-hearing textarea.ksh-option-other.ksh-filled{ border-color:var(--ksh-accent); background:var(--ksh-accent-soft); }
  #ksh-hearing textarea.ksh-edit-other{ min-height:40px; margin-top:8px; }
  @media (max-height:940px) and (min-width:881px){
    #ksh-hearing textarea.ksh-option-other{ padding:12px 16px; font-size:13.5px; }
  }

  /* 決まっているフロー: 研修内容は5行分の高さ（行の高さ1.7em × 5 ＋ 上下の余白） */
  #ksh-hearing .ksh-direct-fields textarea.ksh-notes.ksh-direct-content{ min-height:calc(1.7em * 5 + 30px); margin:0; }

/* 研修選定コンシェルジュのアバター画像（/img/concierge_avatar.webp） */
  #ksh-hearing .ksh-concierge-avatar{ overflow:hidden; box-shadow:0 0 0 3px #FFFFFF, 0 0 0 4px var(--ksh-line); }
  #ksh-hearing .ksh-concierge-avatar img{ width:100%; height:100%; display:block; object-fit:cover; }

  /* その他（自由入力）: 横幅いっぱい・3行分（行の高さ1.5em × 3 ＋ 上下の余白） */
  #ksh-hearing textarea.ksh-option-other{ grid-column:1 / -1; min-height:calc(1.5em * 3 + 34px); }
  #ksh-hearing textarea.ksh-edit-other{ min-height:calc(1.7em * 3 + 30px); }
  @media (max-height:940px) and (min-width:881px){
    #ksh-hearing textarea.ksh-option-other{ min-height:calc(1.5em * 3 + 24px); }
  }

  /* 内容が画面の高さに収まらないときだけ右側をスクロール（ボタンが画面外に出て押せなくなるのを防ぐ）
     縦の中央寄せは margin:auto で行い、はみ出したときに上が切れないようにする */
  @media (min-width:881px){
    #ksh-hearing .ksh-right{ overflow-y:auto; align-items:flex-start; }
    #ksh-hearing .ksh-card{ margin:auto 0; max-height:none; }
    #ksh-hearing .ksh-card.ksh-card-scroll{ max-height:none; overflow:visible; }
  }
