@charset "UTF-8";



.brand-logo-img{
width:24%;
height:auto;
}
@media (max-width: 767px) {
.brand-logo-img{
width:32%;
height:auto;
}
}
/* =========================
   Base
========================= */
:root{
  --bg:#f4f7ff;
  --card:#ffffff;
  --text:#1b2430;
  --muted:#5d6b7a;
  --line:#e7edf7;

  --blue-500:#3b82f6;
  --blue-600:#2563eb;
  --blue-700:#1d4ed8;
  --blue-800:#1e40af;

  --yellow-500:#f59e0b;
  --orange-600:#ea580c;

  --red-500:#ef4444;
  --pink-600:#db2777;

  --shadow:0 16px 40px rgba(16,24,40,.10);
  --shadow-soft:0 10px 30px rgba(16,24,40,.08);
  --radius:22px;

  --container: 1180px;
  --pad: 28px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color:var(--text);
  background:radial-gradient(1200px 700px at 18% 0%, #eaf2ff 0%, var(--bg) 55%, #fff 100%);
}

/* spam対策のハニーポット（非表示） */
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}

/* =========================
   Header (back only)
========================= */
.site-header--simple{
  background:#fff;
  border-bottom:1px solid var(--line);
}

.header-inner{
  width:100%;
  padding:14px var(--pad);
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.back-btn{
  appearance:none;
  border:1px solid #dbe6ff;
  background:#fff;
  color:var(--text);
  font-weight:900;
  border-radius:999px;
  padding:10px 14px;
  font-size:13px;
  cursor:pointer;
  transition:transform .08s ease, opacity .15s ease, box-shadow .15s ease;
  box-shadow:0 6px 16px rgba(16,24,40,.08);
}
.back-btn:active{ transform:scale(.98); }
.back-btn:hover{ opacity:.92; }
.back-btn--header{ padding:10px 14px; }

/* =========================
   Layout
========================= */
.page{padding:0 0 64px}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--pad);
}
.container--wide{ max-width:var(--container); }

/* =========================
   Hero (logo / title area)
========================= */
.hero{
  padding:26px 0 12px;
}
.hero-inner{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--pad);
}

.brand-row{ margin:10px 0 14px; }
.brand-logo-box{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.85);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.brand-mark{
  width:34px;height:34px;border-radius:10px;
  display:grid;place-items:center;
  background:linear-gradient(135deg, #6aa8ff, #2b6fff);
  color:#fff;font-weight:1000;
  font-size:18px;
}
.brand-text{
  font-weight:1000;
  letter-spacing:.02em;
  color:#2a3a55;
  font-size:20px;
}

.page-head{margin:0 0 14px}
.page-title{
  margin:0 0 6px;
  font-size:36px;
  letter-spacing:.02em;
}
.page-sub{
  margin:0;
  color:var(--muted);
  font-size:15px;
}

/* =========================
   Stage canvas
========================= */
.stage{
  margin-top:10px;
}
.form-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px 22px 12px;
}

/* =========================
   Step indicator (PC bigger)
========================= */
.step-indicator{
  display:flex;
  gap:18px;
  justify-content:space-between;
  align-items:flex-end;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}

.steps{
  display:flex;
  gap:22px;
  padding:0;margin:0;
  list-style:none;
  align-items:center;
}
.step{display:flex;gap:12px;align-items:center}
.step .label{font-size:13px;color:var(--muted);font-weight:800}

.dot{
  width:34px;height:34px;border-radius:999px;
  display:grid;place-items:center;
  background:#e9eef9;
  position:relative;
}
.dot::before{
  content: attr(data-num);
  font-weight:900;
  font-size:14px;
  color:#526075;
}
.step.is-current .dot,
.step.is-done .dot{background:var(--blue-600)}
.step.is-current .dot::before,
.step.is-done .dot::before{color:#fff}
.step.is-done .dot::before{content:"✓"}

.progress-wrap{display:flex;gap:12px;align-items:center}
.progress-bar{
  width:340px;height:10px;border-radius:999px;
  background:#e9eef9;overflow:hidden;
}
.progress-fill{
  height:100%;
  width:0%;
  background:linear-gradient(90deg,var(--blue-500),var(--blue-700));
  transition:width .25s ease;
}
.progress-text{font-size:13px;color:var(--muted);min-width:48px;text-align:right;font-weight:800}

/* =========================
   Step guide (taller)
========================= */
.step-guide{
  margin:18px 0 22px;
  padding:18px 18px;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(90deg,var(--blue-600),var(--blue-500));
}
.step-guide .g-title{margin:0 0 6px;font-size:15px;font-weight:700}
.step-guide .g-desc{margin:0;font-size:13px;opacity:.92;line-height:1.7}

.step-panel{padding:8px 4px 0}

/* =========================
   Form fields
========================= */
.grid{display:grid;gap:14px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}

.field{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}

.label{
  font-size:14px;
  font-weight:1000;
  letter-spacing:.01em;
}

.req{
  display:inline-block;
  margin-left:10px;
  font-size:11px;
  font-weight:1000;
  color:#fff;
  background:var(--blue-600);
  padding:3px 10px;
  border-radius:999px;
  transform: translateY(-1px);
}
.opt{
  display:inline-block;
  margin-left:10px;
  font-size:11px;
  font-weight:1000;
  color:#516070;
  background:#eef3ff;
  padding:3px 10px;
  border-radius:999px;
  transform: translateY(-1px);
}

input,select,textarea{
  width:100%;
  font-size:15px;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid #dbe6ff;
  background:#fff;
  outline:none;
  transition:border .15s ease, box-shadow .15s ease;
}
textarea{min-height:140px;resize:vertical}
input:focus,select:focus,textarea:focus{
  border-color:rgba(59,130,246,.75);
  box-shadow:0 0 0 5px rgba(59,130,246,.16);
}

.hint{margin:0;color:var(--muted);font-size:13px}
.warn{
  margin:0;
  font-size:13px;
  color:#b45309;
}



/* =========================
   Validation (hard)
========================= */
.field.is-invalid .label{ color:#b91c1c; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea{
  border-color:#ef4444;
  background:#fff5f5;
  box-shadow:0 0 0 5px rgba(239,68,68,.12);
}

/* “押せるが進めない”疑似disabled（クリックで赤表示を出すため） */
.btn.is-disabled{
  opacity:.45;
  cursor:not-allowed;
}

/* Quick fill button */
.btn-small{
  padding:10px 14px;
  font-size:13px;
}
.quickfill{
  margin:-6px 0 16px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.quickfill-hint{
  font-size:12px;
}
.selected-badge{margin-top:10px}
.badge{
  display:inline-block;
  padding:7px 12px;
  border-radius:999px;
  background:#dbeafe;
  color:#1d4ed8;
  font-weight:1000;
  font-size:12px;
}

.onsite{
  margin:10px 0 18px;
  border:1px solid #2563eb;
  border-radius:18px;
  padding:14px 14px;
  background:linear-gradient(135deg,var(--blue-700),var(--blue-800));
  color:#fff;
}
.onsite-row{display:flex;gap:12px;align-items:flex-start;cursor:pointer}
.onsite-row input{width:18px;height:18px;margin-top:4px}
.onsite-title{display:block;font-weight:700}
.onsite-desc{display:block;font-size:13px;opacity:.9;margin-top:3px;line-height:1.6}

.details{padding:10px 0 0}
.details-title{margin:0 0 10px;font-size:15px}
.details-note{margin:0;color:var(--muted);font-size:14px;line-height:1.8}
.divider{height:1px;background:var(--line);margin:12px 0 18px}

/* =========================
   Actions (bottom buttons)
========================= */
.actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:16px 4px 8px;
  border-top:1px solid var(--line);
  margin-top:12px;
}
.actions-right{display:flex;gap:10px;align-items:center}

.btn{
  appearance:none;border:none;cursor:pointer;
  font-weight:1000;
  border-radius:999px;
  padding:14px 20px;
  font-size:15px;
  transition:transform .08s ease, opacity .15s ease, background .15s ease;
}
.btn:active{transform:scale(.98)}
.btn[disabled]{opacity:.45;cursor:not-allowed}

.btn-primary{
  color:#fff;
  background:linear-gradient(90deg,var(--blue-600),var(--blue-500));
  box-shadow:0 12px 24px rgba(37,99,235,.22);
}
.btn-ghost{
  background:#eef3ff;color:#1d4ed8;
  padding:14px 22px;
}

/* まとめて入力（現地調査）バー：視認性アップ（柔らかい赤系） */
.quickfill{
  margin:12px 0 16px;
  border-radius:10px;
  border:1px solid rgba(244,63,94,.25);
  background:#fff1f2;
  overflow:hidden;
  text-align: center;
}
.quickfill #quickFillOnsite.btn{
  background:transparent;
  box-shadow:none;
  color:#b91c1c;
  font-weight:700;
  padding:14px 22px 10px;
}
.quickfill #quickFillOnsite.btn:hover{
  background:rgba(244,63,94,.06);
}
.quickfill .quickfill-hint{
  margin:0;
  color:#7f1d1d;
  font-size:12px;
  padding:0 22px 12px;
}
.btn-white{
  background:#fff;color:#0f172a;
  border:1px solid rgba(255,255,255,.55);
}

/* 右下“次へ”を少し丸く大きく（添付2寄せ） */
.btn-next{
  min-width:96px;
  padding:16px 22px;
}

/* =========================
   Modals (既存維持)
========================= */
body.is-modal-open{ overflow:hidden; }

.modal{ position:fixed; inset:0; display:none; z-index:99999; }
.modal.is-open{display:block}

.modal-overlay{ position:absolute;inset:0; background:rgba(0,0,0,.55); }

.modal-card{
  position:relative;
  max-width:980px;
  margin:6vh auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 30px 80px rgba(0,0,0,.22);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.25);
}

.modal-head{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:16px 16px;
  color:#fff;
}
.modal-head--confirm{ background:linear-gradient(90deg,var(--yellow-500),var(--orange-600)); }
.modal-card--confirm .modal-head{background:linear-gradient(90deg,var(--yellow-500),var(--orange-600))}
.modal-card--success .modal-head{background:linear-gradient(90deg,var(--blue-500),var(--blue-600))}
.modal-card--error .modal-head{background:linear-gradient(90deg,var(--red-500),var(--pink-600))}
.modal-card--blue .modal-head{background:linear-gradient(90deg,var(--blue-500),var(--blue-600))}

.modal-icon{
  width:42px;height:42px;border-radius:999px;
  background:rgba(255,255,255,.18);
  display:grid;place-items:center;
  font-weight:1000;
  flex:0 0 auto;
}
.modal-title{margin:0;font-size:16px}
.modal-sub{margin:4px 0 0;font-size:12px;opacity:.95;line-height:1.5}

.modal-x{
  margin-left:auto;
  width:34px;height:34px;border-radius:999px;
  border:none;cursor:pointer;
  background:rgba(255,255,255,.18);
  color:#fff;font-size:18px;line-height:1;
}

.modal-body{ padding:16px 18px; color:var(--text); }
.modal-body--scroll{ max-height:70vh; overflow:auto; }

.modal-foot{
  display:flex;justify-content:flex-end;gap:10px;
  padding:14px 16px;
  background:rgba(245,247,255,.7);
  border-top:1px solid var(--line);
}
.modal-foot--sticky{
  position:sticky;
  bottom:0;
  background:rgba(245,247,255,.95);
  backdrop-filter: blur(10px);
}

.issue-list{margin:0;padding-left:18px}
.issue-list li{margin:8px 0;line-height:1.6}

.summary{display:flex;flex-direction:column;gap:14px}
.summary-section h3{margin:0 0 8px;font-size:14px}
.summary-grid{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:10px 14px;
  font-size:13px;
}
.k{color:var(--muted);font-weight:700}
.v{color:var(--text);font-weight:800}
.flow{margin:0;padding-left:18px}
.flow li{margin:8px 0;line-height:1.6}
.contact-mini{
  margin-top:12px;
  border:1px dashed #dbe6ff;
  border-radius:14px;
  padding:10px 12px;
  background:#f7faff;
  font-size:13px;
}

/* =========================
   Responsive (最低限)
========================= */
@media (max-width: 900px){
  :root{ --pad:16px; }
  .page-title{font-size:28px}
  .grid-2{grid-template-columns:1fr}
  .progress-bar{width:200px}
  .form-card{padding:16px 16px 10px}
  .brand-logo-box{padding:12px 14px}
}
