/* =====================================================
   自社支援化LP 専用スタイル (page-jisha-shien.php)
   ===================================================== */

.lp-hero { background: var(--primary-deep); color: #fff; padding: 76px 0 84px; overflow: hidden; }
.lp-hero .lp-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.lp-hero .for-whom {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  border-radius: 4px;
  padding: 5px 14px;
  margin-bottom: 22px;
}
.lp-hero h1 { font-size: clamp(30px, 4vw, 52px); line-height: 1.35; }
.lp-hero h1 .q { color: var(--accent); }
.lp-hero .lp-lede { color: rgba(255,255,255,0.82); margin-top: 20px; max-width: 560px; }
.lp-hero .fv-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.lp-hero img.slot { width: 100%; height: 360px; object-fit: cover; display: block; border-radius: 14px; }
@media (max-width: 920px) {
  .lp-hero .lp-grid { grid-template-columns: 1fr; }
  .lp-hero img.slot { height: 240px; }
}

/* ---- シミュレーター ---- */
.sim-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
}
.sim-inputs { padding: 36px 34px; border-right: 1px solid var(--line); display: grid; gap: 26px; align-content: start; }
.sim-inputs label { font-weight: 700; font-size: 14.5px; color: var(--primary); display: block; margin-bottom: 8px; }
.sim-inputs .sim-value { font-family: var(--heading-font); font-weight: 900; font-size: 30px; color: var(--ink); }
.sim-inputs .sim-value small { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.sim-inputs input[type="range"] { width: 100%; accent-color: var(--accent); height: 32px; }
.sim-inputs select {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}
.sim-results { padding: 36px 34px; background: var(--bg); display: grid; gap: 18px; align-content: start; }
.sim-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.sim-row .r-label { font-size: 14px; color: var(--ink-soft); }
.sim-row .r-num { font-family: var(--heading-font); font-weight: 700; font-size: 24px; color: var(--ink); white-space: nowrap; }
.sim-row .r-num small { font-size: 13px; font-weight: 500; }
.sim-save {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  text-align: center;
}
.sim-save .s-label { font-size: 13.5px; font-weight: 700; color: var(--accent-deep); letter-spacing: 0.08em; }
.sim-save .s-num {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: clamp(38px, 4vw, 54px);
  color: var(--accent-deep);
  line-height: 1.15;
}
.sim-save .s-num small { font-size: 0.4em; font-weight: 700; }
.impact-box { background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--radius-sm); padding: 18px 20px; text-align: center; }
.impact-box .s-label { font-size: 13px; font-weight: 700; color: var(--accent-deep); letter-spacing: 0.08em; }
.impact-badge { font-family: var(--heading-font); font-weight: 900; font-size: 40px; color: var(--accent-deep); line-height: 1.1; margin: 2px 0 6px; }
.sim-bars { display: grid; gap: 10px; margin-top: 4px; }
.sim-bar { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; font-size: 12.5px; }
.sim-bar .t { height: 30px; border-radius: 5px; background: rgba(127,140,160,0.25); position: relative; overflow: hidden; }
.sim-bar .f {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  color: #fff;
  font-weight: 700;
  min-width: 86px;
  transition: width 0.4s ease;
}
.sim-bar .f.itaku { background: #7d8ca0; }
.sim-bar .f.jisha { background: var(--accent); }
@media (max-width: 860px) {
  .sim-panel { grid-template-columns: 1fr; }
  .sim-inputs { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ---- Shienmee 機能 ---- */
.feature-card h3 { display: flex; align-items: center; gap: 10px; }
.feature-card h3 .f-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.shienmee-shot { margin-top: 44px; }
.shienmee-shot img.slot { width: 100%; max-width: 860px; margin: 0 auto; height: auto; object-fit: contain; display: block; border-radius: 14px; background: #fff; }
@media (max-width: 760px) { .shienmee-shot img.slot { height: 240px; } }

/* ---- 伴走 ---- */
.bansou-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .bansou-row { grid-template-columns: 1fr; } }


/* グリッド子要素のmin-width:autoによるはみ出し防止 */
.sim-panel > * { min-width: 0; }

/* 移行ステップ(5列)のレスポンシブ。インラインstyleでの列指定はモバイルで崩れるため禁止 */
.steps.steps-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .steps.steps-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .steps.steps-5 { grid-template-columns: repeat(2, 1fr); } }
