/* === v8c — pricing simulator + platform banners === */

/* ---------- シミュレーター全体 ---------- */
.ds-simulator {
  padding: 80px 24px;
  background: #f8f8fa;
  border-top: 1px solid #e6e7ea;
  border-bottom: 1px solid #e6e7ea;
}
.ds-simulator__inner {
  max-width: 820px;
  margin: 0 auto;
}
.ds-simulator__note-top {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.8;
}
.ds-simulator__note-top b {
  color: #c8102e;
}

/* ---------- 初回キャンペーン ---------- */
.ds-sim-campaign {
  background: linear-gradient(135deg, #fff7f0, #fff0e6);
  border: 2px solid #e8a060;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 28px;
  text-align: center;
}
.ds-sim-campaign__badge {
  display: inline-block;
  background: #c8102e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}
.ds-sim-campaign__price {
  font-size: 28px;
  font-weight: 700;
  color: #16181d;
  margin: 8px 0 4px;
}
.ds-sim-campaign__price b {
  color: #c8102e;
  font-size: 36px;
}
.ds-sim-campaign__sub {
  font-size: 13px;
  color: #666;
}

/* ---------- 計算フォーム ---------- */
.ds-sim-form {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
}
.ds-sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 8px;
}
.ds-sim-row:last-child {
  border-bottom: none;
}
.ds-sim-row__label {
  font-size: 14px;
  font-weight: 600;
  color: #16181d;
  flex: 1 1 200px;
}
.ds-sim-row__label small {
  display: block;
  font-size: 12px;
  color: #888;
  font-weight: 400;
  margin-top: 2px;
}
.ds-sim-row__input {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ds-sim-row__input input[type="number"],
.ds-sim-row__input select {
  width: 100px;
  padding: 8px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 15px;
  text-align: right;
  background: #fafafa;
  font-family: inherit;
}
.ds-sim-row__input select {
  width: 160px;
  text-align: left;
}
.ds-sim-row__unit {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
}

/* ---------- チェックボックス行 ---------- */
.ds-sim-row__check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ds-sim-row__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #c8102e;
}

/* ---------- 結果表示 ---------- */
.ds-sim-result {
  background: linear-gradient(135deg, #16181d 0%, #2a2d35 100%);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  margin-bottom: 24px;
}
.ds-sim-result__label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.ds-sim-result__price {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
}
.ds-sim-result__price small {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}
.ds-sim-result__breakdown {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

/* ---------- 支払い方法 ---------- */
.ds-sim-payment {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ds-sim-payment__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f0f0;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: #333;
  font-weight: 500;
}
.ds-sim-payment__tag--primary {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

/* ---------- 注意書き ---------- */
.ds-sim-notes {
  font-size: 12px;
  color: #888;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 20px;
}
.ds-sim-notes li {
  margin-bottom: 4px;
  list-style: none;
  padding-left: 1.2em;
  text-indent: -1.2em;
}
.ds-sim-notes li::before {
  content: "※ ";
  color: #c8102e;
}

/* ---------- CTA ---------- */
.ds-sim-cta {
  text-align: center;
}
.ds-sim-cta__btn {
  display: inline-block;
  background: linear-gradient(135deg, #c8102e, #a80d26);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}
.ds-sim-cta__btn:hover {
  opacity: 0.85;
  color: #fff;
}
.ds-sim-cta__sub {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}

/* ---------- 外部PFバナー ---------- */
.ds-platforms {
  padding: 60px 24px;
  background: #fff;
}
.ds-platforms__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.ds-platforms__title {
  font-size: 14px;
  color: #888;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.ds-platforms__grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.ds-platforms__card {
  flex: 1 1 340px;
  max-width: 400px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.ds-platforms__card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.ds-platforms__card img {
  width: 100%;
  height: auto;
  display: block;
}
.ds-platforms__card-label {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  background: #fafafa;
  text-align: center;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .ds-simulator { padding: 60px 16px; }
  .ds-sim-form { padding: 20px 16px; }
  .ds-sim-result__price { font-size: 32px; }
  .ds-sim-campaign__price { font-size: 24px; }
  .ds-sim-campaign__price b { font-size: 30px; }
  .ds-platforms { padding: 40px 16px; }
  .ds-platforms__grid { flex-direction: column; align-items: center; }
  .ds-platforms__card { max-width: 100%; }
}
@media (max-width: 480px) {
  .ds-sim-row { flex-direction: column; align-items: flex-start; }
  .ds-sim-row__input { width: 100%; }
  .ds-sim-row__input input[type="number"],
  .ds-sim-row__input select { width: 100%; }
  .ds-sim-result__price { font-size: 26px; }
}
