/**
 * 年収の壁・手取りシミュレーター（2026年版）
 * Stylesheet
 */

.nenshu-sim {
  background: #fffbea;
  border: 2px solid #f5d76e;
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
  font-size: 15px;
  line-height: 1.6;
}

.nenshu-sim .nsim-title {
  font-size: 1.15em;
  font-weight: bold;
  color: #b7791f;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #f5d76e;
}

.nenshu-sim .nsim-input {
  margin-bottom: 18px;
}

.nenshu-sim .nsim-input label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #555;
  font-size: 0.95em;
}

.nenshu-sim .nsim-input input[type=range] {
  width: 100%;
}

.nenshu-sim .nsim-input select {
  width: 100%;
  padding: 10px;
  border: 1px solid #d0c690;
  border-radius: 6px;
  font-size: 0.95em;
  background: #fff;
}

.nenshu-sim .nsim-value {
  font-size: 1.4em;
  color: #b7791f;
  font-weight: bold;
  text-align: right;
  margin-top: 4px;
}

.nenshu-sim .nsim-result {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  margin-top: 18px;
}

.nenshu-sim .nsim-result table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.nenshu-sim .nsim-result th,
.nenshu-sim .nsim-result td {
  padding: 8px 6px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 0.95em;
}

.nenshu-sim .nsim-result th {
  color: #666;
  font-weight: normal;
  width: 45%;
}

.nenshu-sim .nsim-result td {
  text-align: right;
  font-weight: bold;
}

.nenshu-sim .nsim-result .tedori {
  background: #fef3c7;
}

.nenshu-sim .nsim-result .tedori th,
.nenshu-sim .nsim-result .tedori td {
  font-size: 1.05em;
  color: #b7791f;
}

.nenshu-sim .nsim-alert {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  padding: 12px;
  margin-top: 14px;
  border-radius: 4px;
  font-size: 0.9em;
}

.nenshu-sim .nsim-alert.ok {
  background: #f0fdf4;
  border-left-color: #22c55e;
}

.nenshu-sim .nsim-alert div {
  padding: 3px 0;
}

.nenshu-sim .nsim-note {
  font-size: 0.82em;
  color: #888;
  margin-top: 14px;
  margin-bottom: 0;
  line-height: 1.5;
}
