/* 出展の道のり（2026-11-10 計画 exhibit-journey 工程4・4b）：8段の帯・審査とお支払いの帯・振込先の画面。
   部品 components/exhibit/journey・pay-status と mypage/company_application/bank が読む。 */

/* 8段の帯（components/exhibit/journey）。出展者ホームの押せる帯と、審査・お支払い・振込・ご案内の押せない帯で同じ見た目。
   帯を置いた器の幅が 700px 以下なら、1行の要約（n/8・いまの段）と、段の進みだけを示す棒にする。 */
.xj{ --xj-c:var(--theme-p2,#0E5A78); --xj-c3:var(--theme-p3,#1591B3); container-type:inline-size; position:relative; background:var(--cp-surface,#fff); border:1px solid #e8edf7; border-radius:14px; padding:14px 18px; margin:0 0 16px; }
.xj:has(> .xj-note){ padding-right:96px; }
.xj-note{ position:absolute; top:50%; right:12px; transform:translateY(-50%); }
.xj-band{ list-style:none; margin:0; padding:0; display:flex; align-items:flex-start; }
.xj-st{ flex:1 1 0; min-width:0; position:relative; display:flex; justify-content:center; }
/* 段と段をつなぐ線（前の段から伸ばす）。済んだ段とつながる線はテーマ色、それ以外は灰色。 */
.xj-st + .xj-st::before{ content:""; position:absolute; top:17px; right:calc(50% + 22px); left:calc(-50% + 22px); height:2px; background:#dfe5ee; pointer-events:none; }
.xj-st.is-done + .xj-st::before{ background:color-mix(in srgb, var(--xj-c) 45%, #fff); }
.xj-a{ display:flex; flex-direction:column; align-items:center; gap:4px; text-decoration:none !important; border-bottom:0 !important; color:inherit !important; padding:2px 4px 4px; border-radius:10px; min-width:44px; }
a.xj-a{ transition:background .15s, transform .1s; }
a.xj-a:hover{ background:color-mix(in srgb, var(--xj-c3) 7%, transparent); }
a.xj-a:active{ transform:scale(.97); }
a.xj-a:focus-visible{ outline:2px solid var(--xj-c3); outline-offset:2px; }
.xj-d{ width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font-size:14px; background:#eef1f5; color:#6b7685; border:2px solid #dfe5ee; }
.xj-st.is-done .xj-d{ background:color-mix(in srgb, var(--xj-c) 12%, #fff); color:var(--xj-c); border-color:color-mix(in srgb, var(--xj-c) 30%, #fff); }
.xj-st.is-now .xj-d{ background:linear-gradient(135deg, var(--xj-c), var(--xj-c3)); color:#fff; border-color:transparent; box-shadow:0 6px 14px -8px var(--xj-c); }
.xj-l{ font-size:12.5px; font-weight:800; white-space:nowrap; color:#5b6e89; }
.xj-st.is-done .xj-l{ color:color-mix(in srgb, var(--xj-c) 70%, #5b6e89); }
.xj-st.is-now .xj-l{ color:var(--xj-c); }
.xj-s{ font-size:11px; font-weight:700; color:#5b6e89; white-space:nowrap; font-variant-numeric:tabular-nums; line-height:1.2; }
.xj-sub{ font-weight:600; max-width:12em; overflow:hidden; text-overflow:ellipsis; }
.xj-st.is-now .xj-s{ color:var(--xj-c); }
.xj-m{ display:none; }
@media (max-width:575.98px){ .xj, .xj:has(> .xj-note){ padding:10px 12px; } }
@container (max-width:700px){
  .xj-band{ display:none; }
  .xj-note{ position:static; transform:none; margin-top:6px; display:flow-root; }
  .xj-m{ display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:6px 8px; text-decoration:none !important; border-bottom:0 !important; color:inherit !important; min-height:44px; }
  .xj-mn{ font-size:12px; font-weight:800; color:#fff; background:var(--xj-c); border-radius:999px; padding:2px 9px; font-variant-numeric:tabular-nums; }
  .xj-ml{ font-size:14px; font-weight:800; color:var(--xj-c); min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .xj-mr{ font-size:12px; font-weight:700; color:#5b6e89; white-space:nowrap; }
  .xj-mbar{ grid-column:1 / -1; height:6px; border-radius:999px; background:color-mix(in srgb, var(--xj-c) 12%, #fff); overflow:hidden; }
  .xj-mbar i{ display:block; height:100%; border-radius:999px; background:var(--xj-c); }
}
html[data-theme="dark"] .xj{ background:var(--cp-surface); border-color:var(--cp-border); }
html[data-theme="dark"] .xj-d{ background:var(--cp-surface-2); border-color:var(--cp-border); color:var(--cp-muted); }
html[data-theme="dark"] .xj-l, html[data-theme="dark"] .xj-s, html[data-theme="dark"] .xj-mr{ color:var(--cp-muted); }
html[data-theme="dark"] .xj-st.is-now .xj-l, html[data-theme="dark"] .xj-st.is-now .xj-s, html[data-theme="dark"] .xj-ml{ color:#5fc7e8; }
html[data-theme="dark"] .xj-st + .xj-st::before{ background:var(--cp-border); }
@media (prefers-reduced-motion:reduce){ a.xj-a{ transition:none; } }

/* 審査を待っている・振込待ち（components/exhibit/pay-status） */
.expay{ margin:0 0 16px; padding:14px 16px; border-radius:14px; border:1px solid color-mix(in srgb, var(--theme-p3,#1591B3) 26%, #fff); background:color-mix(in srgb, var(--theme-p2,#0E5A78) 5%, var(--cp-surface,#fff)); }
.expay__head{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin:0 0 10px; }
.expay__title{ font-weight:800; color:var(--theme-p1,#0b3a4f); font-size:15px; margin:0; }
.expay__chip{ display:inline-flex; align-items:center; gap:5px; padding:2px 10px; border-radius:999px; font-size:12px; font-weight:700; background:var(--theme-p2,#0E5A78); color:#fff; }
.expay__meta{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; color:#475569; font-size:14px; }
.expay__meta .btn{ min-height:44px; display:inline-flex; align-items:center; gap:6px; margin-left:auto; }
.expay__bank{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; font-size:14px; color:#334155; }
.expay__bank strong{ font-size:18px; color:var(--theme-p1,#0b3a4f); }
.expay__acts{ display:flex; flex-wrap:wrap; gap:8px; margin-left:auto; }
.expay__acts .btn{ min-height:44px; display:inline-flex; align-items:center; gap:6px; }
html[data-theme="dark"] .expay{ background:var(--cp-surface,#111827); border-color:var(--cp-border,#374151); }
html[data-theme="dark"] .expay__title, html[data-theme="dark"] .expay__bank strong{ color:var(--cp-ink,#e5e7eb); }
html[data-theme="dark"] .expay__meta, html[data-theme="dark"] .expay__bank{ color:var(--cp-ink-2,#cbd5e1); }

/* 振込先の画面（mypage/company_application/bank） */
#capBank{ max-width:760px; margin:0 auto; }
#capBank .cb-card{ background:var(--cp-surface,#fff); border:1px solid #e6eaf2; border-radius:16px; box-shadow:0 10px 28px -18px rgba(16,42,67,.28); padding:20px 22px; margin-bottom:16px; }
#capBank .cb-head{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin:0 0 12px; }
#capBank .cb-head h2{ font-size:16px; font-weight:800; color:#0f172a; margin:0; }
#capBank .cb-table{ width:100%; border-collapse:collapse; font-size:15px; }
#capBank .cb-table th{ width:8.5em; text-align:left; color:var(--cc-muted-on-light,#5b6e89); font-weight:700; padding:10px 12px 10px 0; vertical-align:top; white-space:nowrap; }
#capBank .cb-table td{ padding:10px 0; color:#0f172a; overflow-wrap:anywhere; }
#capBank .cb-table tr + tr th, #capBank .cb-table tr + tr td{ border-top:1px solid #eef1f5; }
#capBank .cb-payee{ font-weight:800; }
#capBank .cb-payee small{ display:block; font-weight:600; color:var(--cc-muted-on-light,#5b6e89); }
#capBank .cb-amount{ font-size:22px; font-weight:800; color:var(--theme-p1,#0b3a4f); }
#capBank .cb-own{ display:inline-flex; align-items:center; gap:4px; margin-left:8px; padding:1px 9px; border-radius:999px; font-size:12px; font-weight:700; background:color-mix(in srgb, var(--theme-p3,#1591B3) 14%, #fff); color:var(--theme-p2,#0E5A78); }
#capBank .cb-acts{ display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
#capBank .cb-acts .btn{ min-height:44px; display:inline-flex; align-items:center; gap:6px; }
#capBank .cb-acts form{ margin:0; }
#capBank .cb-copied{ align-self:center; color:#0f7a4f; font-weight:700; font-size:14px; }
html[data-theme="dark"] #capBank .cb-card{ border-color:var(--cp-border); }
html[data-theme="dark"] #capBank .cb-head h2, html[data-theme="dark"] #capBank .cb-table td{ color:var(--cp-ink); }
html[data-theme="dark"] #capBank .cb-amount{ color:#5fc7e8; }
html[data-theme="dark"] #capBank .cb-table tr + tr th, html[data-theme="dark"] #capBank .cb-table tr + tr td{ border-top-color:var(--cp-border); }
