/* ==========================================================
   受託会社のマイページ（.vp の中だけに効く。サイト全体のCSSに依存しない）
   並べ方：やること → 一覧（パネル） → 数字
   ========================================================== */
.vp {
  --vp-ink: #10223f; --vp-sub: #5d6f87; --vp-line: #dce7f1; --vp-bg: #f6f9fc; --vp-panel: #ffffff;
  --vp-accent: #0a86c9; --vp-accent-dark: #066aa3; --vp-accent-soft: #e6f3fb;
  --vp-warn: #fff3d6; --vp-warn-line: #e6c36a; --vp-danger: #b3261e;
  --vp-key: #d93025; --vp-key-dark: #b3261e; --vp-ai: #fff7cc; --vp-ai-line: #e8cf5a;
  max-width: 1120px; margin: 0 auto; padding: 0 16px 48px;
  color: var(--vp-ink); font-size: 15px; line-height: 1.6;
}
.vp *, .vp *::before, .vp *::after { box-sizing: border-box; }
.vp h1 { font-size: 1.5rem; margin: 8px 0 4px; line-height: 1.3; }
.vp h2 { font-size: 1.1rem; margin: 0; line-height: 1.4; }
.vp h3 { font-size: 0.95rem; margin: 0 0 8px; }
.vp p { margin: 0 0 0px; }
.vp a { color: var(--vp-accent); }
.vp-narrow { max-width: 520px; padding-top: 24px; }

/* ヘッダー */
.vp-header { 
  border-bottom: 1px solid var(--vp-line);
  margin: 10px -16px 20px;
  padding: 0px 25px;
  background: var(--vp-panel);
  border-radius: 50px;
 }
.vp-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.vp-brand { display: flex; flex-direction: column; line-height: 1.3; }
.vp-brand-sub { font-size: 0.78rem; color: var(--vp-sub); letter-spacing: 0.04em; }
.vp-brand strong { font-size: 1.1rem; }
.vp-nav { display: flex; align-items: center; gap: 6px; }
.vp-nav a { text-decoration: none; color: var(--vp-ink); padding: 6px 12px; border-radius: 8px; }
.vp-nav a:hover { background: var(--vp-bg); }
.vp-nav a.current { background: var(--vp-accent-soft); color: var(--vp-accent-dark); font-weight: 700; }
.vp-logout-form, .vp-inline-form { display: inline; margin: 0; }
.vp-logout { background: none; border: 1px solid var(--vp-line); border-radius: 8px; padding: 5px 12px; cursor: pointer; font: inherit; color: var(--vp-sub); }

/* やること */
.vp-todo { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 20px; }
.vp-todo-card { flex: 1 1 280px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px;
  background: var(--vp-warn); border: 1px solid var(--vp-warn-line); color: var(--vp-ink); text-decoration: none; }
.vp-todo-card:hover { filter: brightness(0.98); }
.vp-todo-num { font-size: 2rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.vp-todo-none { width: 100%; padding: 14px 18px; border-radius: 5px; background: var(--vp-accent-soft); margin: 0; }

/* パネル（見出し＋ボタン＋表） */
.vp-panel { background: var(--vp-panel); border: 1px solid var(--vp-line); border-radius: 5px; padding: 16px 18px; margin: 0 0 20px; }
.vp-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 12px; }
.vp-panel-note { 
  color: #2368c3;
  font-size: 0.85rem;
  text-decoration: underline;
 }
.vp-empty { color: var(--vp-sub); margin: 4px 0; }
.vp-foot { color: var(--vp-sub); font-size: 0.85rem; margin: 10px 0 0; }
.vp-lead { color: var(--vp-sub); }
.vp-back { margin: 0 0 4px; font-size: 0.9rem; }
.vp-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }

/* 表 */
.vp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.vp-table th, .vp-table td { padding: 10px 12px; border-bottom: 1px solid var(--vp-line); text-align: left; vertical-align: middle; }
.vp-table thead th { font-size: 0.8rem; font-weight: 700; color: var(--vp-sub); background: var(--vp-bg); border-bottom: 1px solid var(--vp-line); white-space: nowrap; }
.vp-table tbody tr:last-child td { border-bottom: none; }
.vp-table tbody tr:hover { background: #fafcfb; }
.vp-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vp-table .actions { text-align: right; white-space: nowrap; }
.vp-table .actions > * + * { margin-left: 6px; }
.vp-table .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88rem; }
.vp-table col.w-date { width: 7.5em; } .vp-table col.w-datetime { width: 9em; } .vp-table col.w-code { width: 8em; }
.vp-table col.w-amount { width: 8em; } .vp-table col.w-money { width: 10em; } .vp-table col.w-status { width: 9em; }
.vp-table col.w-action { width: 9.5em; } .vp-table col.w-action-wide { width: 13em; } .vp-table col.w-num { width: 9em; }
.vp-table col.w-kind { width: 8.5em; } .vp-table col.w-cond { width: 7em; } .vp-table col.w-tax { width: 5em; }
.vp-table col.w-source { width: 7em; } .vp-table col.w-who { width: 8em; }
.vp-attention { background: #fffbf1; }
.vp-attention:hover { background: #fff6e0 !important; }
.vp-inactive td { color: var(--vp-sub); }
.vp-sub { color: var(--vp-sub); font-size: 0.82rem; line-height: 1.4; }
.vp-small { font-size: 0.85rem; }
.vp-old { color: var(--vp-sub); }
.vp-none { color: #9aa7a3; }
.vp-break { overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }

/* 状況の印 */
.vp-status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8rem; background: #eef2f1; white-space: nowrap; margin-left: 4px; }
.vp-table td > .vp-status { margin-left: 0; }
.vp-status-notified, .vp-status-order-placed { background: #ffe1a1; font-weight: 700; }
.vp-status-quoted, .vp-status-ordered, .vp-status-order-confirmed, .vp-status-order-completed { background: #dcecf8; color: var(--vp-accent-dark); }
.vp-status-declined, .vp-status-expired, .vp-status-order-cancelled { background: #eceeed; color: var(--vp-sub); }

/* ボタン */
.vp-btn { 
  display: inline-block;
  padding: 2px 14px;
  border-radius: 3px;
  background: var(--vp-accent);
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--vp-accent);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.4;
  font-size: 13px;
 }
.vp-btn:hover { background: var(--vp-accent-dark); }
.vp-btn-sub { background: #fff; color: var(--vp-accent) !important; }
.vp-btn-sub:hover { background: var(--vp-accent-soft); }
.vp-btn-danger { background: #fff; color: var(--vp-danger) !important; border-color: #e3b5b1; }
.vp-btn-danger:hover { background: #fdf0ef; }
/* 大事なボタン（公開の申請・保存・AIで下書き）は赤で目立たせる */
.vp-btn-key, .vp-btn-main { background: var(--vp-key); border-color: var(--vp-key); font-weight: 700; }
.vp-btn-key:hover, .vp-btn-main:hover { background: var(--vp-key-dark); border-color: var(--vp-key-dark); }
.vp-btn-key:disabled, .vp-btn-main:disabled { opacity: 0.6; cursor: wait; }
.vp-btn-main { font-size: 1rem; padding: 10px 24px; box-shadow: 0 2px 6px rgba(200, 40, 30, 0.25); }

/* 数字のカード */
.vp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.vp-card { background: var(--vp-panel); border: 1px solid var(--vp-line); border-radius: 12px; padding: 14px 18px; }
.vp-big { font-size: 1.7rem; font-weight: 700; margin: 2px 0 4px; font-variant-numeric: tabular-nums; }

/* 基本情報と仕様（見る） */
.vp-kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vp-kv-block-wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .vp-kv-grid { grid-template-columns: 1fr; } }
.vp-kv-block { border: 1px solid var(--vp-line); border-radius: 10px; padding: 12px 14px; }
.vp-kv { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 6px 12px; margin: 0; }
.vp-kv dt { color: var(--vp-sub); font-size: 0.88rem; }
.vp-kv dd { margin: 0; }

/* 入力画面 */
.vp-form fieldset, .vp-evidence { border: 1px solid var(--vp-line); border-radius: 12px; padding: 14px 18px 18px; margin: 0 0 16px; background: var(--vp-panel); }
.vp-form legend, .vp-evidence legend { font-weight: 700; padding: 0 6px; }
.vp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 20px; }
.vp-field { display: flex; flex-direction: column; gap: 4px; }
.vp-field-label { font-size: 0.88rem; font-weight: 600; }
.vp-wide { grid-column: 1 / -1; }
.vp-check { flex-direction: row; align-items: center; gap: 8px; }
.vp input[type="text"], .vp input[type="url"], .vp input[type="email"], .vp input[type="number"], .vp input[type="date"],
.vp input[type="password"], .vp select, .vp textarea, .vp-input {
  font-size:13px; font-weight:normal !important; width: 100%; max-width: 100%; padding: 5px 10px; border: 1px solid #c6d1cd; border-radius: 5px; font: inherit; background: #fff; }
.vp input:focus, .vp select:focus, .vp textarea:focus { outline: 2px solid var(--vp-accent); outline-offset: 1px; border-color: var(--vp-accent); }
.vp-evidence { background: var(--vp-bg); }
.vp-radio { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-weight: 600; }
.vp-radio input { width: auto; }
.vp-evidence-detail { margin: 0 0 8px 26px; display: grid; gap: 10px; max-width: 640px; }
.vp-stack { display: grid; gap: 14px; margin: 16px 0; }
.vp-stack label { display: grid; gap: 4px; font-weight: 600; font-size: 0.92rem; }
.vp-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.vp-inline .vp-input { flex: 1 1 280px; width: auto; }
.vp .req { color: var(--vp-danger); font-size: 0.78rem; font-weight: 700; }
.vp-error { padding: 12px 16px; border-radius: 10px; background: #fdecea; color: #7f1d17; margin: 0 0 16px; }
.vp-error ul { margin: 6px 0 0; padding-left: 1.2em; }
.vp-login-help { margin-top: 18px; padding-left: 1.2em; font-size: 0.9rem; color: var(--vp-sub); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 600px) {
  .vp-kv { grid-template-columns: 1fr; gap: 0 0; }
  .vp-kv dd { margin-bottom: 8px; }
  .vp-evidence-detail { margin-left: 0; }
}

/* ==========================================================
   研究者の「見積依頼の履歴」（マイページと同じ部品を使う）
   研究者から見て「次にすること」がある状態（見積あり）を目立たせる
   ========================================================== */
.rq { padding-top: 20px; }
.rq-head { margin-bottom: 16px; }
.rq-todo { margin: 0 0 16px; }
.vp-table col.w-code-wide { width: 10.5em; }
.rq-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rq-items li { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 460px; }
.rq-company { overflow-wrap: anywhere; }
.vp-status.rq-quoted { background: #dcecf8; color: var(--vp-accent-dark); font-weight: 700; }
.vp-status.rq-ordered { background: var(--vp-accent); color: #fff; }
.vp-status.rq-notified, .vp-status.rq-awaiting_vendor, .vp-status.rq-waiting { background: #eef2f1; color: var(--vp-ink); }
.vp-status.rq-declined, .vp-status.rq-expired { background: #eceeed; color: var(--vp-sub); }

/* 分類で絞り込む・並べ替える */
.vp-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; background: var(--vp-panel);
  border: 1px solid var(--vp-line); border-radius: 5px; padding: 12px 16px; margin: 0 0 20px; }
.vp-filter-item { display: flex; flex-direction: column; gap: 4px; flex: 1 1 200px; }
.vp-filter-actions { display: flex; gap: 8px; align-items: center; }
.vp-filter-note { margin: -8px 0 16px; font-size: 0.88rem; color: var(--vp-accent-dark); }
.vp-breadcrumb { margin: 8px 0 0; font-size: 0.85rem; color: var(--vp-sub); }

/* タブ（見積依頼・注文・掲載中のサービス・設定） */
.vp-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--vp-line); margin: 0 0 16px; overflow-x: auto; }
.vp-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; margin-bottom: -2px;
  border-bottom: 3px solid transparent; color: var(--vp-sub) !important; text-decoration: none; white-space: nowrap; font-weight: 600; }
.vp-tab:hover { color: var(--vp-ink) !important; background: var(--vp-bg); border-radius: 8px 8px 0 0; }
.vp-tab.active { color: var(--vp-accent-dark) !important; border-bottom-color: var(--vp-accent); }
.vp-tab-count { display: inline-block; min-width: 1.6em; padding: 0 6px; border-radius: 999px; background: #ffd27a;
  color: var(--vp-ink); font-size: 0.78rem; text-align: center; line-height: 1.6; }

/* 分析タブ */
.vp-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 20px; }
.vp-kpi { background: var(--vp-panel); border: 1px solid var(--vp-line); border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.vp-kpi-label { font-size: 0.82rem; color: var(--vp-sub); font-weight: 600; }
.vp-kpi-value { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; }
.vp-kpi-value small { font-size: 0.85rem; font-weight: 600; color: var(--vp-sub); }
.vp-kpi-note { font-size: 0.76rem; color: var(--vp-sub); }
.vp-bars { display: flex; gap: 0; margin: 4px 0 18px; }
.vp-bar-col { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 5px; }
.vp-bar-plot { height: 140px; width: calc(100% + 10px); margin: 0 -5px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; border-bottom: 1px solid var(--vp-line); }
.vp-bar { display: block; width: min(100%, 44px); min-height: 2px; background: var(--vp-accent); border-radius: 4px 4px 0 0; }
.vp-bar-col:hover .vp-bar { background: var(--vp-accent-dark); }
.vp-bar-value { font-size: 0.8rem; color: var(--vp-ink); font-variant-numeric: tabular-nums; line-height: 1.4; }
.vp-bar-label { font-size: 0.78rem; color: var(--vp-sub); margin-top: 4px; }
.vp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
@media (max-width: 860px) { .vp-two { grid-template-columns: 1fr; } }
.vp-table-compact { min-width: 0; }
.vp-subhead { margin: 18px 0 8px; font-size: 0.95rem; }
.vp-kind-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vp-kind-list li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--vp-line); padding: 6px 0; }
.vp-cards { margin-top: 4px; }

/* 新しいサービスの登録：手順と、下書き・申請中の表示 */
.vp-steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 12px; counter-reset: step; }
.vp-steps li { counter-increment: step; padding: 6px 12px; border-radius: 999px; background: #eef2f1; color: var(--vp-sub); font-size: 0.88rem; }
.vp-steps li::before { content: counter(step) ". "; font-weight: 700; }
.vp-steps li.current { background: var(--vp-accent-soft); color: var(--vp-accent-dark); font-weight: 700; }
.vp-state { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 12px; margin: 8px 0 20px; }
.vp-state-draft { background: #eef2f1; border: 1px solid var(--vp-line); }
.vp-state-wait { background: var(--vp-warn); border: 1px solid var(--vp-warn-line); }
.vp-returned { margin-top: 8px; padding: 8px 12px; border-radius: 8px; background: #fdecea; color: #7f1d17; }
.vp-panel-head-sub { margin-top: -6px; }
.vp-table col.w-state { width: 12em; }

/* 掲載の終了・下書きの削除 */
.vp-danger-zone { border-color: #eac3bf; }
.vp-danger-zone h2 { color: var(--vp-danger); }
.vp-warn-line { padding: 8px 12px; border-radius: 8px; background: var(--vp-warn); border: 1px solid var(--vp-warn-line); }

/* AI 入力サポート */
.vp-ai-box { background: linear-gradient(0deg, var(--vp-panel), var(--vp-panel)); border-style: dashed; }
.vp-ai-box .vp-inline .vp-input { flex: 1 1 360px; }
.vp-ai-done { padding: 12px 16px; border-radius: 12px; background: var(--vp-accent-soft); border: 1px solid #b7d9ef; margin: 0 0 16px; }
.vp-ai-quote { display: block; font-size: 0.8rem; color: #6b5300; background: #fffbe8; border-left: 3px solid var(--vp-ai-line);
  padding: 4px 8px; border-radius: 0 6px 6px 0; overflow-wrap: anywhere; }

/* AIが入れた値（薄い黄色） */
.vp input.vp-ai-filled, .vp select.vp-ai-filled, .vp textarea.vp-ai-filled { background: var(--vp-ai); border-color: var(--vp-ai-line); }
.vp-table tr.vp-ai-filled td, .vp-table tbody tr.vp-ai-filled:hover { background: var(--vp-ai); }
.vp-ai-mark { background: var(--vp-ai); border: 1px solid var(--vp-ai-line); border-radius: 4px; padding: 0 6px; font-weight: 700; }

/* AIが読んでいる間のポップアップ */
.vp-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(20, 30, 28, 0.45); }
.vp-overlay[hidden] { display: none; }
.vp-overlay-card { background: #fff; border-radius: 16px; padding: 28px 28px 20px; max-width: 420px; width: 100%;
  text-align: center; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25); white-space: normal; }
.vp-overlay-title { font-size: 1.15rem; font-weight: 700; margin: 12px 0 8px !important; }
.vp-spinner { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%;
  border: 4px solid var(--vp-accent-soft); border-top-color: var(--vp-accent); animation: vp-spin 0.9s linear infinite; }
@keyframes vp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vp-spinner { animation-duration: 3s; } }

/* 解析ごとの仕様：複数選べる項目（チェックボックスを横に並べる） */
.vp-checks { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 4px 0; }
.vp-checks .vp-check { font-weight: 400; }
.vp-checks input[type="checkbox"] { width: auto; }

/* 申込画面の「料金表」。押すと下に表が出る（JavaScript は使っていない） */
.vp-pricing-pop { position: relative; display: inline-block; }
.vp-pricing-pop > summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  color: #0a86c9;
  border: 1px solid #cde6fa;
  border-radius: 8px;
  padding: 7px 14px;
  background: #fff;
  white-space: nowrap;
}
.vp-pricing-pop > summary::-webkit-details-marker { display: none; }
.vp-pricing-pop > summary::after { content: " ▾"; }
.vp-pricing-pop[open] > summary::after { content: " ▴"; }
.vp-pricing-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  width: 340px;
  max-width: 80vw;
  background: #fff;
  border: 1px solid #cde6fa;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(16, 36, 60, 0.12);
  padding: 12px 14px;
}
.vp-pricing-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vp-pricing-table th, .vp-pricing-table td {
  border-bottom: 1px solid #eef2f6;
  padding: 6px 4px;
  text-align: right;
}
.vp-pricing-table th { color: #6b7280; font-weight: 700; }
.vp-pricing-table td:last-child, .vp-pricing-table th:last-child { font-weight: 700; }

/* 見出しの行で、料金表と「＋ 新しく申し込む」を並べる */
.vp-title-actions { display: flex; align-items: center; gap: 10px; }

/* 画面の右上に置いたときは、右端を起点に開く（左端起点だと右へはみ出す） */
.vp-pricing-pop.is-right .vp-pricing-panel { left: auto; right: 0; }

/* 運営が、この会社として開いているときの帯（2026-10-09）。見間違えないよう赤く */
.vp-operator-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #fdecea;
  border-bottom: 2px solid #c0392b;
  color: #8a2b1f;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
}
.vp-operator-quit {
  background: #c0392b;
  color: #fff;
  border: 0;
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================
   VENDOR QUOTE REQUEST DETAIL
   受託会社向け・見積依頼詳細
========================================== */

.vqr-page {
  --vqr-blue: #0788f5;
  --vqr-navy: #102f60;
  --vqr-text: #375978;
  --vqr-muted: #738ba5;
  --vqr-border: #dce9f6;

  width: 100%;
  min-width: 0;
  padding-bottom: 80px;
  background: #f6fbff;
  color: var(--vqr-navy);
}

.vqr-page *,
.vqr-page *::before,
.vqr-page *::after {
  box-sizing: border-box;
}

.vqr-container {
  width: min(100% - 36px, 1100px);
  margin-inline: auto;
}

/* ==========================================
   HERO
========================================== */

.vqr-hero {
  min-height: 250px;
  padding: 39px 0 60px;
  background-color: #e9f6ff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.vqr-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #0987ec;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.vqr-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.vqr-heading-row h1 {
  margin: 0;
  color: #0e3068;
  font-size: clamp(25px, 3.2vw, 35px);
  font-weight: 800;
  line-height: 1.5;
}

.vqr-heading-row p {
  margin: 9px 0 0;
  color: #58799c;
  font-size: 13px;
  line-height: 1.8;
}

.vqr-request-status {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-top: 9px;
  padding: 7px 13px;
  border-radius: 20px;
  background: #ffefeb;
  color: #d6614e;
  font-size: 11px;
  font-weight: 800;
}

.vqr-hero-info {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 15px;
  margin-top: 26px;
  padding: 17px 21px;
  border: 1px solid #d6e9f9;
  border-radius: 5px;
  background: rgba(255, 255, 255, .89);
  box-shadow: 0 6px 20px rgba(26, 91, 158, .05);
}

.vqr-hero-info > div {
  min-width: 0;
}

.vqr-hero-info > div + div {
  padding-left: 17px;
  border-left: 1px solid #dfeaf5;
}

.vqr-meta-label {
  display: block;
  margin-bottom: 7px;
  color: #8498ad;
  font-size: 11px;
}

.vqr-hero-info strong {
  display: block;
  color: #284c77;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.vqr-hero-info .vqr-code {
  color: #087bdc;
  font-variant-numeric: tabular-nums;
}

/* ==========================================
   MAIN
========================================== */

.vqr-main {
  position: relative;
  z-index: 1;
  margin-top: -20px;
}

.vqr-start-box {
  margin-bottom: 19px;
}

.vqr-start-box:empty {
  display: none;
}

/* 登録案内パーシャル側が背景を持つ場合 */
.vqr-start-box > * {
  max-width: 100%;
}

.vqr-card {
  min-width: 0;
  margin-bottom: 19px;
  padding: 28px 31px;
  border: 1px solid #dce9f6;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 9px 32px rgba(35, 102, 171, .06);
}

.vqr-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 23px;
}

.vqr-heading-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, #43b8ff, #087aea);
  color: #fff;
  box-shadow: 0 5px 14px rgba(17, 134, 235, .14);
}

.vqr-heading-icon svg {
  width: 24px;
  height: 24px;
}

.vqr-section-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #168cf0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.vqr-card-heading h2 {
  margin: 0;
  color: #153c69;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
}

.vqr-card-heading p {
  margin: 5px 0 0;
  color: #7b91a9;
  font-size: 12px;
  line-height: 1.8;
}

/* ==========================================
   依頼内容の共通テーブル
========================================== */

.vqr-summary {
  min-width: 0;
  overflow-x: auto;
}

.vqr-page .vqr-summary table {
  width: 100%;
  margin: 0;
  border: 1px solid #dbe7f4;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}

.vqr-page .vqr-summary th,
.vqr-page .vqr-summary td {
  padding: 5px 17px;
  border: 0;
  border-right: 1px solid #e4edf6;
  border-bottom: 1px solid #e4edf6;
  color: #3d5b7a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.85;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.vqr-page .vqr-summary tr > :last-child {
  border-right: 0;
}

.vqr-page .vqr-summary tbody tr:last-child > th,
.vqr-page .vqr-summary tbody tr:last-child > td {
  border-bottom: 0;
}

.vqr-page .vqr-summary th {
  width: 32%;
  background: #f0f7ff;
  color: #23466c;
  font-weight: 800;
}

.vqr-page .vqr-summary td {
  background: #fff;
}

.vqr-page .vqr-summary td strong {
  color: #174d82;
}

.vqr-page .vqr-summary td p {
  margin: 0 0 7px;
}

.vqr-page .vqr-summary td p:last-child {
  margin-bottom: 0;
}

/* 塩基配列がある場合 */
.vqr-page .vqr-summary details {
  margin-top: 8px;
}

.vqr-page .vqr-summary summary {
  color: #087fe5;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.vqr-page .vqr-summary pre {
  max-width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: #f1f7fd;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ==========================================
   情報案内
========================================== */

.vqr-info-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 5px 17px;
  border: 1px solid #d4e9fa;
  border-radius: 5px;
  background: #eff8ff;
}

.vqr-info-icon {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #168cf0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.vqr-info-note p {
  margin: 0;
  color: #557796;
  font-size: 12px;
  line-height: 1.9;
}

/* ==========================================
   フォーム
========================================== */

.vqr-page .vqr-form {
  display: block;
}

.vqr-page .vqr-form .vqr-field {
  display: block;
  margin: 0 0 22px;
}

.vqr-page .vqr-field-label {
  display: block;
  margin-bottom: 9px;
  color: #23476d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.vqr-page .vqr-required {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 7px;
  border-radius: 4px;
  background: #fff0ef;
  color: #e16162;
  font-size: 10px;
  font-weight: 800;
  vertical-align: middle;
}

.vqr-page .vqr-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 47px;
  margin: 0;
  padding: 11px 15px;
  border: 1px solid #cedeec;
  border-radius: 5px;
  outline: none;
  background: #fff;
  color: #294b6c;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: none;
}

.vqr-page .vqr-input::placeholder {
  color: #a0afbf;
}

.vqr-page .vqr-input:focus {
  border-color: #168cf0;
  box-shadow: 0 0 0 4px rgba(22, 140, 240, .1);
}

.vqr-page .vqr-textarea {
  min-height: 115px;
  resize: vertical;
}

/* 金額 */
.vqr-amount-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.vqr-page .vqr-amount-input {
  width: min(100%, 320px);
}

.vqr-amount-preview {
  color: #0876d5;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.vqr-page .vqr-hint {
  margin: 9px 0 0;
  color: #8095ab;
  font-size: 11px;
  line-height: 1.95;
}

/* 税区分 */
.vqr-page .vqr-tax-group {
  min-width: 0;
  margin: 0 0 23px;
  padding: 0;
  border: 0;
}

.vqr-page .vqr-tax-group legend {
  float: none;
  width: auto;
  padding: 0;
}

.vqr-radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vqr-page .vqr-radio-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 130px;
  padding: 12px 17px;
  border: 1px solid #d9e7f5;
  border-radius: 5px;
  background: #fafcff;
  color: #325678;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.vqr-page .vqr-radio-option:has(input:checked) {
  border-color: #168cf0;
  background: #edf7ff;
  color: #0c70c7;
}

.vqr-page .vqr-radio-option input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #168cf0;
}

/* 2カラムの入力 */
.vqr-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vqr-field-grid .vqr-field {
  min-width: 0;
}

/* PDF */
.vqr-file-field {
  margin: 4px 0 22px;
  padding: 19px;
  border: 1px dashed #c0daef;
  border-radius: 5px;
  background: #f7fbff;
}

.vqr-page .vqr-file-input {
  display: block;
  max-width: 100%;
  color: #446683;
  font-family: inherit;
  font-size: 12px;
}

.vqr-file-input::file-selector-button {
  margin-right: 12px;
  padding: 9px 14px;
  border: 1px solid #c9dff2;
  border-radius: 7px;
  background: #fff;
  color: #187cce;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.vqr-attached {
  margin: 12px 0 0;
  color: #557b9d;
  font-size: 11px;
  overflow-wrap: anywhere;
}

/* 無料案内 */
.vqr-free-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 21px;
  padding: 5px 15px;
  border: 1px solid #d5ecdf;
  border-radius: 5px;
  background: #f1fbf6;
  color: #188867;
  font-size: 12px;
  font-weight: 800;
}

.vqr-free-note span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #1aa579;
  color: #fff;
}

/* 送信 */
.vqr-submit-area {
  margin-top: 22px;
}

.vqr-page .vqr-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 48px;
  padding: 11px 27px;
  border: 1px solid #087bea;
  border-radius: 9px;
  background: linear-gradient(180deg, #37acff, #087dea);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(15, 127, 231, .16);
}

.vqr-page .vqr-primary-button:hover {
  filter: brightness(.97);
}

/* ==========================================
   登録案内
========================================== */

.vqr-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 25px;
}

.vqr-benefits > div {
  min-width: 0;
  padding: 17px;
  border: 1px solid #dcebf7;
  border-radius: 10px;
  background: #f7fbff;
}

.vqr-benefits strong {
  display: block;
  margin-bottom: 8px;
  color: #1b4976;
  font-size: 13px;
}

.vqr-benefits p {
  margin: 0;
  color: #6683a0;
  font-size: 11px;
  line-height: 1.9;
}

.vqr-signup-form {
  padding-top: 20px;
  border-top: 1px solid #e4edf6;
}

/* 既存signup_fieldsの標準入力にも適用 */
.vqr-signup-form .stack-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.vqr-signup-form .stack-form select,
.vqr-signup-form .stack-form textarea {
  max-width: 100%;
  border: 1px solid #cfdeee;
  border-radius: 8px;
}

/* ==========================================
   状況通知
========================================== */

.vqr-alert {
  margin: 0 0 19px;
  padding: 18px 20px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.9;
}

.vqr-alert p {
  margin: 8px 0 0;
}

.vqr-alert-danger {
  border: 1px solid #f0cac8;
  background: #fff5f4;
  color: #985453;
}

.vqr-alert-warning {
  border: 1px solid #f0dfbc;
  background: #fffaf0;
  color: #836732;
}

.vqr-changes {
  margin: 9px 0;
  padding-left: 20px;
}

.vqr-changes li {
  margin-bottom: 7px;
}

.vqr-state-notice {
  margin: 0 0 19px;
  padding: 19px 22px;
  border: 1px solid #d8e7f5;
  border-radius: 5px;
  background: #fff;
  color: #4b6885;
  font-size: 13px;
  font-weight: 700;
}

/* ==========================================
   質問・辞退
========================================== */

.vqr-thread {
  margin-bottom: 19px;
}

.vqr-question-form {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e3edf7;
}

.vqr-decline-icon {
  border: 1px solid #f4d6d7;
  background: #fff1f1;
  color: #da6069;
  box-shadow: none;
}

.vqr-decline-content {
  max-width: 100%;
}

.vqr-decline-content textarea {
  display: block;
  width: 100%;
  min-height: 85px;
  padding: 12px 15px;
  border: 1px solid #d2dfea;
  border-radius: 5px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  resize: vertical;
}

.vqr-decline-content label {
  color: #315575;
  font-size: 12px;
  font-weight: 800;
}

.vqr-decline-content input[type="submit"],
.vqr-decline-content button {
  min-height: 40px;
  padding: 9px 23px;
  border: 1px solid #e37b83;
  border-radius: 8px;
  background: #fff;
  color: #cd4854;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.vqr-decline-content input[type="submit"]:hover,
.vqr-decline-content button:hover {
  background: #fff1f2;
}

.vqr-operator-note {
  margin: 4px 0 22px;
  color: #758ba3;
  font-size: 12px;
  line-height: 1.8;
}

.vqr-operator-note a {
  color: #087fdf;
}

/* ==========================================
   不審な依頼の報告
========================================== */

.vqr-page .vqr-report {
  margin: 23px 0 0;
  padding: 0;
  border: 1px solid #e3ebf4;
  border-radius: 5px;
  background: #fff;
}

.vqr-report > details > summary {
  padding: 17px 20px;
  color: #67809b;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  list-style-position: inside;
}

.vqr-report > details > summary:hover {
  color: #235987;
  background: #f8fbff;
}

.vqr-report-content {
  padding: 0 20px 22px;
}

.vqr-report-content > p {
  color: #7890a8;
  font-size: 11px;
  line-height: 1.85;
}

.vqr-page .vqr-report-button {
  min-height: 40px;
  padding: 9px 18px;
  border: 1px solid #bfcddd;
  border-radius: 8px;
  background: #fff;
  color: #526d88;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.vqr-page .vqr-report-button:hover {
  background: #f3f8fd;
}

.vqr-report > .vqr-info-note {
  margin: 0;
  border: 0;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 760px) {
  .vqr-page {
    padding-bottom: 45px;
  }

  .vqr-container {
    width: calc(100% - 26px);
  }

  .vqr-hero {
    min-height: 220px;
    padding: 29px 0 50px;
    background-position: 69% center;
  }

  .vqr-heading-row {
    flex-direction: column;
    gap: 9px;
  }

  .vqr-heading-row h1 {
    font-size: 24px;
  }

  .vqr-heading-row p {
    font-size: 12px;
  }

  .vqr-request-status {
    margin-top: 0;
  }

  .vqr-hero-info {
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 14px;
    margin-top: 20px;
  }

  .vqr-hero-info > div + div {
    padding: 11px 0 0;
    border-left: 0;
    border-top: 1px solid #e1edf7;
  }

  .vqr-main {
    margin-top: -12px;
  }

  .vqr-card {
    margin-bottom: 14px;
    padding: 19px 14px;
    border-radius: 12px;
  }

  .vqr-card-heading {
    gap: 10px;
    margin-bottom: 17px;
  }

  .vqr-heading-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .vqr-heading-icon svg {
    width: 19px;
    height: 19px;
  }

  .vqr-card-heading h2 {
    font-size: 18px;
  }

  .vqr-card-heading p {
    font-size: 11px;
  }

  .vqr-page .vqr-summary th,
  .vqr-page .vqr-summary td {
    padding: 10px;
    font-size: 11px;
  }

  .vqr-page .vqr-summary th {
    width: 40%;
  }

  .vqr-field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .vqr-benefits {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .vqr-benefits > div {
    padding: 14px;
  }

  .vqr-page .vqr-amount-input {
    width: 100%;
  }

  .vqr-page .vqr-input {
    font-size: 16px;
  }

  .vqr-page .vqr-primary-button {
    width: 100%;
  }

  .vqr-radio-options {
    gap: 8px;
  }

  .vqr-page .vqr-radio-option {
    min-width: 0;
    flex: 1;
  }

  .vqr-info-note {
    padding: 12px;
  }

  .vqr-info-note p {
    font-size: 11px;
  }
}

.vqr-page a:focus-visible,
.vqr-page button:focus-visible,
.vqr-page input:focus-visible,
.vqr-page textarea:focus-visible,
.vqr-page summary:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .vqr-page *,
  .vqr-page *::before,
  .vqr-page *::after {
    transition: none !important;
  }
}

/* ==========================================
   ORDER NEW - 受託解析Quick
========================================== */

.ordnew-page {
  --ord-blue: #0789f5;
  --ord-navy: #103363;
  --ord-muted: #718aa6;
  --ord-line: #dce9f7;

  width: 100%;
  min-width: 0;
  padding-bottom: 80px;
  background: #f6fbff;
  color: var(--ord-navy);
}

.ordnew-page *,
.ordnew-page *::before,
.ordnew-page *::after {
  box-sizing: border-box;
}

.ordnew-container {
  width: min(100% - 36px, 1100px);
  margin-inline: auto;
}

/* HERO */

.ordnew-hero {
  min-height: 260px;
  padding: 42px 0 63px;
  background-color: #eaf7ff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.ordnew-eyebrow,
.ordnew-overline {
  display: block;
  margin-bottom: 10px;
  color: #0988ec;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.ordnew-hero h1 {
  margin: 0;
  color: #0c3068;
  font-size: clamp(28px, 3.2vw, 39px);
  font-weight: 800;
  line-height: 1.4;
}

.ordnew-hero p {
  margin: 13px 0 0;
  color: #58789a;
  font-size: 13px;
  line-height: 1.95;
}

/* ステップ */

.ordnew-progress {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
}

.ordnew-progress span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #7a94af;
  font-size: 12px;
  font-weight: 800;
}

.ordnew-progress b {
  display: grid;
  place-items: center;
  flex: 0 0 33px;
  width: 33px;
  height: 33px;
  border: 1px solid #bad8ef;
  border-radius: 50%;
  background: #fff;
  color: #718fae;
  font-size: 13px;
}

.ordnew-progress .is-complete,
.ordnew-progress .is-current {
  color: #087ee2;
}

.ordnew-progress .is-complete b,
.ordnew-progress .is-current b {
  border-color: #168cf0;
  background: #168cf0;
  color: #fff;
}

.ordnew-progress i {
  width: 60px;
  height: 1px;
  background: #bcd8ec;
}

/* メインレイアウト */

.ordnew-main {
  position: relative;
  z-index: 1;
  margin-top: -25px;
}

.ordnew-quote-card,
.ordnew-card {
  margin-bottom: 19px;
  padding: 28px 32px;
  border: 1px solid #dce9f6;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 9px 32px rgba(35, 102, 171, .06);
}

/* 見積サマリー */

.ordnew-quote-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e7eef6;
}

.ordnew-quote-top h2 {
  margin: 0;
  color: #153d6c;
  font-size: 20px;
  font-weight: 800;
}

.ordnew-code {
  padding: 8px 13px;
  border: 1px solid #cfe5f9;
  border-radius: 20px;
  background: #f0f8ff;
  color: #087bdc;
  font-size: 11px;
  font-weight: 800;
}

.ordnew-quote-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 25px 0;
}

.ordnew-quote-company {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.ordnew-company-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eaf6ff;
  color: #168cf0;
}

.ordnew-company-symbol svg {
  width: 27px;
  height: 27px;
}

.ordnew-quote-company strong {
  color: #183e70;
  font-size: 17px;
  font-weight: 800;
}

.ordnew-quote-company p {
  margin: 7px 0 0;
  color: #6685a2;
  font-size: 13px;
  line-height: 1.7;
}

.ordnew-price-area {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  flex-shrink: 0;
  gap: 8px;
  padding: 0px 22px;
}

.ordnew-price-area span {
  color: #6383a2;
  font-size: 11px;
  font-weight: 800;
}

.ordnew-price-area strong {
  color: #0c4385;
  font-size: clamp(20px, 2.7vw, 31px);
  font-weight: 900;
  line-height: 1.4;
  text-align: right;
}

.ordnew-quote-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 35px;
  padding-top: 18px;
  border-top: 1px solid #e7eef6;
}

.ordnew-quote-details > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ordnew-quote-details span {
  color: #8397ad;
  font-size: 11px;
}

.ordnew-quote-details strong {
  color: #335579;
  font-size: 13px;
}

/* セクション見出し */

.ordnew-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

.ordnew-section-num {
  display: grid;
  place-items: center;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3eb3ff, #0879ed);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(8, 126, 229, .17);
}

.ordnew-section-heading h2 {
  margin: 0;
  color: #163d70;
  font-size: 21px;
  font-weight: 800;
}

.ordnew-section-heading p {
  margin: 6px 0 0;
  color: #7b92a9;
  font-size: 12px;
  line-height: 1.8;
}

/* 案内 */

.ordnew-info,
.ordnew-direct-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  padding: 5px 19px;
  border: 1px solid #d4e9fa;
  border-radius: 5px;
  background: #f0f8ff;
}

.ordnew-info-mark {
  display: grid;
  place-items: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #168cf0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.ordnew-info p,
.ordnew-direct-note p {
  margin: 0;
  color: #577997;
  font-size: 12px;
  line-height: 1.95;
}

.ordnew-profile-note {
  color: #7189a3;
  font-size: 12px;
  line-height: 1.85;
}

/* 入力フォーム */

.ordnew-page .ordnew-field {
  margin: 0 0 22px;
}

.ordnew-field-label {
  display: block;
  margin-bottom: 9px;
  color: #24496e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.ordnew-required {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 7px;
  border-radius: 4px;
  background: #fff0ef;
  color: #e05d62;
  font-size: 10px;
  font-weight: 800;
  vertical-align: middle;
}

.ordnew-optional,
.ordnew-field-help {
  margin-left: 7px;
  color: #8799ab;
  font-size: 11px;
  font-weight: 500;
}

.ordnew-page .ordnew-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: 11px 15px;
  border: 1px solid #cedeeb;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: #294a6d;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
}

.ordnew-page .ordnew-input:focus {
  border-color: #168cf0;
  box-shadow: 0 0 0 4px rgba(22, 140, 240, .1);
}

.ordnew-page .ordnew-input::placeholder {
  color: #9eafc1;
}

.ordnew-page .ordnew-count-input {
  width: min(100%, 260px);
}

.ordnew-page .ordnew-textarea {
  min-height: 100px;
  resize: vertical;
}

.ordnew-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.ordnew-divider {
  height: 1px;
  margin: 25px 0;
  background: #e5edf6;
}

.ordnew-subsection {
  margin: 25px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3edf7;
}

.ordnew-subsection h3 {
  margin: 0;
  color: #194f84;
  font-size: 16px;
}

.ordnew-subsection p {
  margin: 6px 0 0;
  color: #7c91a9;
  font-size: 11px;
}

/* ラジオ選択 */

.ordnew-page .ordnew-fieldset {
  margin: 0 0 23px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.ordnew-page .ordnew-fieldset legend {
  width: auto;
  padding: 0;
}

.ordnew-options {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.ordnew-page .ordnew-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
  padding: 10px 17px;
  border: 1px solid #dbe8f6;
  border-radius: 5px;
  background: #fafcff;
  color: #355879;
  font-size: 13px;
  cursor: pointer;
}

.ordnew-page .ordnew-option:has(input:checked) {
  border-color: #168cf0;
  background: #edf7ff;
  color: #0b70c7;
}

.ordnew-page .ordnew-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #168cf0;
}

/* 条件変更 */

.ordnew-page .ordnew-change-note {
  margin-bottom: 22px;
  padding: 19px;
  border: 1px solid #f1dfb5;
  border-radius: 10px;
  background: #fffcf3;
}

.ordnew-page .ordnew-change-note[hidden] {
  display: none !important;
}

.ordnew-change-note .ordnew-field {
  margin-bottom: 0;
}

.ordnew-condition-hint {
  padding: 5px 19px;
  border-left: 3px solid #168cf0;
  border-radius: 0 9px 9px 0;
  background: #f4faff;
}

.ordnew-condition-hint > strong {
  color: #2c5982;
  font-size: 12px;
}

.ordnew-condition-hint p {
  margin: 7px 0 0;
  color: #65819c;
  font-size: 12px;
  line-height: 1.9;
}

.ordnew-condition-hint a {
  color: #087ddf;
  font-weight: 800;
}

/* ご依頼者 */

.ordnew-contact {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 5px 22px;
  border: 1px solid #dce9f6;
  border-radius: 5px;
  background: #f8fbff;
}

.ordnew-contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 53px;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: #e4f3ff;
  color: #168cf0;
}

.ordnew-contact-icon svg {
  width: 27px;
  height: 27px;
}

.ordnew-contact-details {
  min-width: 0;
}

.ordnew-contact-details > strong {
  display: block;
  color: #1c436f;
  font-size: 17px;
}

.ordnew-contact-details p {
  margin: 7px 0;
  color: #58799b;
  font-size: 13px;
  line-height: 1.8;
}

.ordnew-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
  color: #6c86a1;
  font-size: 12px;
  overflow-wrap: anywhere;
}

/* 同意と注文 */

.ordnew-page .ordnew-consent-box {
  padding: 23px;
  border: 1px solid #cde5f8;
  border-radius: 5px;
  background: #f0f8ff;
}

.ordnew-page .ordnew-consent {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: #2e5278;
  font-size: 13px;
  line-height: 2;
  cursor: pointer;
}

.ordnew-page .ordnew-consent input[type="checkbox"] {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin: 4px 0 0;
  accent-color: #168cf0;
}

.ordnew-page .ordnew-consent a {
  color: #087bde;
  font-weight: 800;
}

.ordnew-consent-foot {
  margin: 18px 0 0 34px;
  padding-top: 14px;
  border-top: 1px solid #d7e8f7;
  color: #66829c;
  font-size: 12px;
  line-height: 1.9;
}

.ordnew-final-actions {
  margin-top: 28px;
  text-align: center;
}

.ordnew-final-actions p {
  margin: 0 0 13px;
  color: #788da4;
  font-size: 12px;
}

.ordnew-page .ordnew-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 340px;
  min-height: 53px;
  padding: 13px 30px;
  border: 1px solid #087cea;
  border-radius: 10px;
  background: linear-gradient(180deg, #36adff, #087af0);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 21px rgba(13, 126, 229, .18);
  cursor: pointer;
}

.ordnew-page .ordnew-submit:hover {
  filter: brightness(.97);
}

/* スマートフォン */

@media (max-width: 760px) {
  .ordnew-page {
    padding-bottom: 45px;
  }

  .ordnew-container {
    width: calc(100% - 26px);
  }

  .ordnew-hero {
    padding: 31px 0 51px;
    background-position: 69% center;
  }

  .ordnew-hero h1 {
    font-size: 27px;
  }

  .ordnew-hero p {
    font-size: 12px;
  }

  .ordnew-progress {
    flex-wrap: wrap;
    gap: 8px;
  }

  .ordnew-progress span {
    gap: 5px;
    font-size: 10px;
  }

  .ordnew-progress b {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    font-size: 11px;
  }

  .ordnew-progress i {
    width: 15px;
  }

  .ordnew-main {
    margin-top: -12px;
  }

  .ordnew-quote-card,
  .ordnew-card {
    margin-bottom: 14px;
    padding: 19px 15px;
    border-radius: 12px;
  }

  .ordnew-quote-body {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .ordnew-price-area {
    align-items: flex-start;
  }

  .ordnew-price-area strong {
    text-align: left;
  }

  .ordnew-section-heading {
    gap: 11px;
  }

  .ordnew-section-num {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 13px;
  }

  .ordnew-section-heading h2 {
    font-size: 19px;
  }

  .ordnew-section-heading p {
    font-size: 11px;
  }

  .ordnew-field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ordnew-page .ordnew-input {
    font-size: 16px;
  }

  .ordnew-page .ordnew-count-input {
    width: 100%;
  }

  .ordnew-info,
  .ordnew-direct-note {
    padding: 13px;
  }

  .ordnew-info p,
  .ordnew-direct-note p {
    font-size: 11px;
  }

  .ordnew-contact {
    gap: 11px;
    padding: 15px;
  }

  .ordnew-contact-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .ordnew-contact-icon svg {
    width: 22px;
    height: 22px;
  }

  .ordnew-page .ordnew-consent-box {
    padding: 15px;
  }

  .ordnew-page .ordnew-consent {
    font-size: 12px;
  }

  .ordnew-consent-foot {
    margin-left: 0;
    font-size: 11px;
  }

  .ordnew-page .ordnew-submit {
    width: 100%;
    min-width: 0;
  }
}

/* アクセシビリティ */

.ordnew-page a:focus-visible,
.ordnew-page button:focus-visible,
.ordnew-page input:focus-visible,
.ordnew-page textarea:focus-visible {
  outline: 3px solid #168cf0;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .ordnew-page *,
  .ordnew-page *::before,
  .ordnew-page *::after {
    transition: none !important;
  }
}
