/* ===================================================
   業種別シミュレーター パネル内スタイル
   =================================================== */

.dl-panel {
  overflow: hidden;
}

.sim-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* ── ヘッダー ── */
.sim-panel__header {
  background: linear-gradient(145deg, #1e6dd0 0%, #1548a8 100%);
  color: #fff;
  padding: 22px 22px 18px;
  flex-shrink: 0;
  position: relative;
}

.sim-panel__badge {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.sim-panel__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.sim-panel__subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

/* ── プログレスドット ── */
.sim-panel__progress {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid #eaecf0;
  flex-shrink: 0;
}

.sim-progress__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  background: #eaecf0;
  color: #bbb;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.sim-progress__dot.is-done {
  background: #1a5fa8;
  color: #fff;
}

.sim-progress__dot.is-active {
  background: #fff;
  color: #1a5fa8;
  border: 2px solid #1a5fa8;
  box-shadow: 0 0 0 4px rgba(26, 95, 168, 0.12);
}

.sim-progress__line {
  flex: 1;
  height: 2px;
  background: #e0e4ea;
  transition: background 0.25s;
}

.sim-progress__line.is-done {
  background: #1a5fa8;
}

/* ── ボディ（スクロール領域） ── */
.sim-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 20px 20px;
  -webkit-overflow-scrolling: touch;
}

/* ── ステップ ── */
.sim-step { display: none; }
.sim-step.is-active { display: block; }

.sim-step__label {
  font-size: 10px;
  font-weight: 600;
  color: #aab0ba;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.sim-step__question {
  font-size: 15px;
  font-weight: 700;
  color: #0f1923;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* ── 選択肢 ── */
.sim-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.sim-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1.5px solid #e2e6ed;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
  user-select: none;
}

.sim-option:hover {
  border-color: #1a5fa8;
  background: #f5f8ff;
  box-shadow: 0 3px 10px rgba(26, 95, 168, 0.1);
  transform: translateY(-1px);
}

.sim-option input[type="radio"] { display: none; }

/* ── アイコン背景ボックス ── */
.sim-option__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #f0f3f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8896a5;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.sim-option__icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.75;
  display: block;
}

.sim-option:hover .sim-option__icon {
  background: #dbeafe;
  color: #1a5fa8;
}

.sim-option__text {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: #2c3a4a;
  transition: color 0.15s, font-weight 0.1s;
}

/* チェックマーク（選択時のみ表示） */
.sim-option__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  background: transparent;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s, transform 0.2s;
}

/* 選択済み */
.sim-option.is-selected {
  border-color: #1a5fa8;
  border-left-width: 3px;
  background: #f0f6ff;
  padding-left: 12px;
  box-shadow: 0 2px 8px rgba(26, 95, 168, 0.1);
  transform: none;
}

.sim-option.is-selected .sim-option__icon {
  background: #1a5fa8;
  color: #fff;
}

.sim-option.is-selected .sim-option__text {
  color: #1a5fa8;
  font-weight: 600;
}

.sim-option.is-selected .sim-option__check {
  opacity: 1;
  transform: scale(1);
  background: #1a5fa8;
}

.sim-option.is-selected .sim-option__check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
  width: 5px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

/* ── 結果 ── */
.sim-result { display: none; }
.sim-result.is-active { display: block; }

.sim-result__heading {
  font-size: 13px;
  font-weight: 700;
  color: #0f1923;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eaecf0;
}

.sim-result__section {
  margin-bottom: 12px;
}

.sim-result__section-label {
  font-size: 10px;
  font-weight: 700;
  color: #8896a5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.sim-result__section-body {
  font-size: 12px;
  line-height: 1.75;
  color: #2c3a4a;
  padding: 11px 13px;
  background: #f5f8ff;
  border-radius: 8px;
  border-left: 3px solid #1a5fa8;
}

.sim-result__section-body--cost {
  background: #fffbf2;
  border-left-color: #b45309;
}

/* ── 安心リスト ── */
.sim-result__cta-text {
  margin-bottom: 14px;
}

.sim-result__cta-lead {
  font-size: 12px;
  font-weight: 600;
  color: #0f1923;
  margin-bottom: 8px;
}

.sim-promise {
  list-style: none;
  padding: 11px 13px;
  margin: 0;
  background: #f2f5f8;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-promise li {
  font-size: 11px;
  color: #444;
  line-height: 1.5;
}

/* ── メール入力 ── */
.sim-result__email {
  width: 100%;
  padding: 12px 13px;
  border: 1.5px solid #dde1e8;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 8px;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
}

.sim-result__email:focus {
  outline: none;
  border-color: #1a5fa8;
  box-shadow: 0 0 0 3px rgba(26, 95, 168, 0.08);
}

.sim-result__email.is-error { border-color: #e53e3e; }

/* ── 送信ボタン ── */
.sim-btn-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: #e85d0a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.02em;
}

.sim-btn-submit:hover {
  background: #c94e08;
  transform: translateY(-1px);
}

.sim-result__privacy {
  font-size: 10px;
  color: #aaa;
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}

.sim-result__privacy a {
  color: #aaa;
  text-decoration: underline;
}

.sim-result__reset {
  display: block;
  text-align: center;
  font-size: 10px;
  color: #bbb;
  margin-top: 14px;
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
}

.sim-result__reset:hover { color: #666; }

/* ── 送信完了 ── */
.sim-success { display: none; }
.sim-success.is-active { display: block; text-align: center; padding: 32px 0; }

.sim-success__icon { font-size: 44px; margin-bottom: 16px; }

.sim-success__title {
  font-size: 16px;
  font-weight: 700;
  color: #0f1923;
  margin-bottom: 10px;
}

.sim-success__body {
  font-size: 12px;
  color: #555;
  line-height: 1.8;
}
