main {
  padding: 2rem 0 ;
}
main .bank_wrap {
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}
main .bank_wrap ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(25%, 25%))
}
main .bank_wrap ul li label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.2rem 1rem;
  font-size: 1.3rem;
  color: #666;
  border-radius: 1rem;
  border: 1px solid transparent;
}
main .bank_wrap ul li img {
  width: 3rem;
  margin-bottom: 1.3rem;
}
main .bank_wrap ul li input:checked ~ label {
  background: #f1f2f6;
}

main .income_wrap {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
  position: relative;
}
main .income_wrap > h2,
main .interest_wrap > h2,
main .criteria_wrap > h2 {
  font-size: 1.7rem;
  color: #248dd4;
}
main .income_wrap select {
  width: 100%;
  font-size: 2.2rem;
  font-weight: 600;
  padding: 1rem 0;
  border: none;
  border-bottom: 2px solid #69c5f7;
  outline: none;
  background: url("../img/select.png") no-repeat 98% 50% / 1rem;
  letter-spacing: -.1rem;
}
main .income_wrap select option {
  font-size: inherit;
}
main .income_wrap input {
  font-size: 2.4rem;
  font-weight: 600;
  padding: 1rem 0 .8rem;
  border-bottom: 1px solid #ddd;
  outline: none;
  position: relative;
}
main .income_wrap .unit {
  font-size: 2.3rem;
  font-weight: 600;
  position: absolute;
  bottom: 1.2rem;
  right: 0;
}

main .criteria_wrap {
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}
main .criteria_wrap .radio_container {
  display: flex;
}
main .criteria_wrap .radio_container .radio_box:first-child {
  margin-right: 5rem;
}

main .interest_wrap {
  margin-bottom: 5rem;
  padding: 0 1.5rem;
}
main .interest_wrap .radio_container,
main .criteria_wrap .radio_container {
  margin-top: 1.5rem;
}
main .interest_wrap .radio_box,
main .criteria_wrap .radio_box {
  display: flex;
  align-items: center;
  margin-bottom: 1.8rem;
}
main .interest_wrap input,
main .criteria_wrap input {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  background: url("../img/check_off.png") no-repeat center / contain;
}
main .interest_wrap label,
main .criteria_wrap label {
  font-size: 1.8rem;
  margin-left: 1rem;
}
main .interest_wrap input:checked,
main .criteria_wrap input:checked {
  background: url("../img/check.png") no-repeat center / contain;
}
main .calc {
  display: block;
  width: calc(100% - 3rem);
  font-size: 1.8rem;
  font-weight: 600;
  background: #0075cc;
  color: #fff;
  padding: 1.5rem;
  border-radius: .8rem;
  margin: 0 auto;
}

/* calc_sub.php */
main .input_wrap {
  padding: 0 1.5rem;
}
main .input_wrap ul li {
  margin-bottom: 3rem;
}
main .input_wrap ul li .title {
  font-size: 1.7rem;
  color: #2990d5;
  font-weight: 600;
}
main .input_wrap ul li input {
  font-size: 2rem;
  font-weight: 600;
  padding: 1rem 0 .8rem;
  border-bottom: 2px solid #69c5f7;
  outline: none;
  width: 100%;
}
main .input_wrap ul li input::placeholder {
  color: #bbb;
}
main .input_wrap ul li input:disabled {
  background: none;
}

main .result_wrap {
  border-top: 5px solid #f2f3f7;
  padding: 2rem;
  margin-top: 3rem;
}
main .result_wrap ul {
  border-bottom: 1px solid #ddd;
}
main .result_wrap ul li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

main .result_wrap ul li .result,
main .result_wrap .total_wrap .result {
  font-weight: 600;
}
main .result_wrap ul li .notice {
  font-size: 1.5rem;
  color: #999;
  margin-top: 1.5rem;
  text-align: right;
}
main .result_wrap ul li .qt {
  position: relative;
}
main .result_wrap ul li .qt::after {
  content: "*";
  color: #999;
  font-size: 1.4rem;
  position: absolute;
  top: 0;
  right: -1rem;
}
main .result_wrap .total_wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 1.5rem;
  position: relative;
}
main .result_wrap .total_wrap .title {
  color: #0075cc;

  margin-bottom: 1rem;
}
/* main .result_wrap .total_wrap .result {
  font-size: 2.2rem;
} */

main .result_wrap .notice_wrap {
  margin-top: 1.5rem;
}
main .result_wrap .notice_wrap p {
  font-size: 1.5rem;
  color: #999;
  line-height: 1.4;
}


/* 추가 수정 */
main .input_wrap button.calc { width: 100%;}

main .result_wrap .bank_icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
}
main .result_wrap .bank_name_wrap { justify-content: left; align-items: center; gap: 1rem; margin-bottom: 2rem;}
main .result_wrap .bank_name_wrap p { font-weight: 600;}
main .result_wrap .bank_icon.NH {
  background: #f1f2f7 url("../img/1NH_mini.png") no-repeat center / 2.5rem;
}
main .result_wrap .bank_icon.SH {
  background: #f1f2f7 url("../img/2SH_mini.png") no-repeat center / 2.5rem;
}
main .result_wrap .bank_icon.WR {
  background: #f1f2f7 url("../img/3WR_mini.png") no-repeat center / 2.5rem;
}
main .result_wrap .bank_icon.HN {
  background: #f1f2f7 url("../img/4HN_mini.png") no-repeat center / 2.5rem;
}
main .result_wrap .bank_icon.IBK {
  background: #f1f2f7 url("../img/5IBK_mini.png") no-repeat center / 2.5rem;
}
main .result_wrap .bank_icon.KB {
  background: #f1f2f7 url("../img/6KB_mini.png") no-repeat center / 2.5rem;
}
main .result_wrap .bank_icon.DGB {
  background: #f1f2f7 url("../img/7DGB_mini.png") no-repeat center / 2.5rem;
}
main .result_wrap .bank_icon.BNKB {
  background: #f1f2f7 url("../img/8BNKB_mini.png") no-repeat center / 2.5rem;
}
main .result_wrap .bank_icon.GJ {
  background: #f1f2f7 url("../img/9GJ_mini.png") no-repeat center / 2.5rem;
}
main .result_wrap .bank_icon.JB {
  background: #f1f2f7 url("../img/10JB_mini.png") no-repeat center / 2.5rem;
}
main .result_wrap .bank_icon.BNKK {
  background: #f1f2f7 url("../img/11BNKK_mini.png") no-repeat center / 2.5rem;
}

main .result_wrap ul li p {
  font-size: 1.8rem;
}
main .result_wrap .total_wrap p {
  font-size: 2rem;
  line-height: 1.3;
}

main .result_wrap .total_wrap p span {
  font-size: 2rem;
  color: #0075cc;
  font-weight: 600;
  line-height: 1.3;
}