@charset "utf-8";

.average_wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-color: #E6FFF7;
  padding: 16px;
  margin: 0 auto;
  justify-content: center;
  line-height: 1;
}
.average_wrap h4 {
  position: relative;
  font-size: 21px;
  padding-left: 21px;
  font-weight: normal;
}
.average_wrap h4::before {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  background-color: #0AA365;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}
.male_wrap {
  margin-top: 20px;
}
.male_wrap h5 {
  font-weight: normal;
  color: #fff;
  background-color: #0A45A3;
  padding: 10px;
  width: fit-content;
  font-size: 20px;
  margin: 0 auto;
}
.male_wrap .age {
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.05em;
  font-size: 45px;
  color: #0A45A3;
  margin-top: 8px;
  text-align: center;
}
.female_wrap {
  margin-top: 32px;
}
.female_wrap h5 {
  font-weight: normal;
  color: #fff;
  background-color: #EF862C;
  padding: 10px;
  width: fit-content;
  font-size: 20px;
  margin: 0 auto;
}
.female_wrap .age {
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.05em;
  font-size: 45px;
  color: #EF862C;
  margin-top: 8px;
  text-align: center;
}
.average_wrap .nmlTable {
  margin-top: 20px;
  table-layout: auto;
  line-height: 1.5;
}
.average_wrap .nmlTable th,.average_wrap .nmlTable td {
  font-size: 21px;
  padding: 6px 16px;
  height: auto;
  border: 1px solid #39342E;
  background-color: transparent;
  font-weight: normal;
  font-family: 'Lato', sans-serif;
}
.average_wrap .nmlTable th {
  text-align: center;
  border-left: none;
}
.average_wrap .nmlTable td {
  text-align: right;
}
.average_wrap .nmlTable tbody td:last-child {
  border-right: none;
}
.average_wrap .nmlTable thead th {
  border-top: none;
  background-color: transparent;
  color: #333333;
}
.average_wrap .nmlTable .th_male {
  background-color: #0A45A3;
  color: #fff;
}
.average_wrap .nmlTable .th_female {
  background-color: #EF862C;
  border-right: none;
  color: #fff;
}

.criterion_wrap {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 16px 10px;
  line-height: 1;
}
.criterion_wrap .government_worker {
  text-align: center;
  margin: 16px 0 32px;
}
.criterion_wrap .retirement {
  padding-bottom: 22px;
  border-bottom: 1px solid #0AA365;
}
.criterion_wrap .retirement .manager {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 24px;
}
.criterion_wrap .case_wrap {
  padding-top: 22px;
  text-align: center;
}
.criterion_wrap .case_wrap .head {
  background-color: #0AA365;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: center;
  width: 90%;
  margin: 0 auto;
  margin-bottom: 16px;
}
.criterion_wrap .case_wrap .case {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.criterion_wrap .retirement .head {
  font-size: 25px;
  text-align: center;
}
.criterion_wrap .government_worker + .head {
  margin-bottom: 16px;
}
.criterion_wrap .sub_head {
  font-size: 22px;
  font-family: 'Lato', sans-serif;
  text-align: center;
  line-height: 1.3;
}
.criterion_wrap .amount {
  color: #0AA365;
  font-family: 'Lato', sans-serif;
  font-size: 36px;
  letter-spacing: 0.025em;
}
.criterion_wrap sup {
  font-size: small !important;
  color: #333333;
}
.criterion_wrap .case_wrap .nmlText {
  margin-bottom: 12px;
}
.criterion_wrap .case_wrap .case_text {
  font-size: 18px;
  color: #191000;
  text-align: center;
  line-height: 1.3;
}
.criterion_wrap .case_wrap .total_amount {
  color: #EF862C;
  font-size: 36px;
  font-family: 'Lato', sans-serif;
  margin-top: 10px;
  text-align: center;
  letter-spacing: 0.025em;
}
