main {
  padding: 2rem 1.5rem;
}
main .bank_wrap {
  margin-bottom: 3rem;
}
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 {
    border: 1px solid #2a6fd3;
    background: #f0f7ff;
	color: #2a6fd3;
}

main .income_wrap {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
  position: relative;
}
main .income_wrap > h2,
main .interest_wrap > h2,
main .criteria_wrap > h2 {
  font-size: 1.7rem;
  color: #2a73f4;
  font-weight: 600;
}
main .income_wrap select {
  width: 100%;
  font-size: 2rem;
  font-weight: 600;
  padding: 1rem 0.7rem;
  border: 1px solid #ddd;
  outline: none;
  background: url("../img/select.png") no-repeat 98% 50% / 1rem;
  letter-spacing: -.1rem;
  border-radius: 5px;
  margin-top: 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;
}
main .criteria_wrap .radio_container {
  display: flex;
}
main .criteria_wrap .radio_container .radio_box:first-child {
  
}

main .interest_wrap {
  margin-bottom: 5rem;
}

main .interest_wrap .radio_container {
  margin-top: 1.5rem;
}
main .interest_wrap .radio_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
main .interest_wrap input {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  background: url("../img/check_off.png") no-repeat center / contain;
}
main .interest_wrap label {
  font-size: 1.8rem;
  font-weight: 500;
}
main .interest_wrap input:checked {
	background: url("../img/check.png") no-repeat center / contain;

}

main .criteria_wrap .radio_container {
  margin-top: 1rem;
}
main .criteria_wrap .radio_box {
  display: flex;
  align-items: center;
  margin-bottom: 1.8rem;
  width: 50%;
}
main .criteria_wrap input {
  display: none;
}
main .criteria_wrap label {
  font-size: 1.8rem;
  width: 100%;
  text-align: center;
    padding: 1rem 0;
    color: #bbbbc8;
    background: #fafafa;
	border: 1px solid #dfdfdf;
}
main .criteria_wrap input:checked ~ label {
	border: 1px solid #2a6fd3;
    background: #f0f7ff;
    color: #2a6fd3;
    padding: 1rem 0;
}
main .calc {
  display: block;
  width: 100%;
  font-size: 1.8rem;
  font-weight: 600;
  background: #2a6fd3;
  color: #fff;
  padding: 1.5rem;
  border-radius: .8rem;
}

/* calc_sub.php */
main .input_wrap ul li {
  margin-bottom: 3rem;
}
main .input_wrap ul li .title {
  font-size: 1.7rem;
  color: #2a73f4;
  font-weight: 600;
}
main .input_wrap ul li input {
	width: 100%;
    font-size: 2rem;
    font-weight: 600;
    padding: 1rem 0.8rem;
    border: 1px solid #ddd;
    outline: none;
    margin-top: 1rem;
    border-radius: 5px;
}
main .input_wrap ul li input::placeholder {
  color: #bbb;
}
main .input_wrap ul li input:disabled {
  background: none;
}

main .result_wrap {
    background: #ffffff;
    border-top: 10px solid #f1f2f6;
    padding: 2rem;
    margin-top: 3rem;
}
main .result_wrap ul {
	border: 2px solid #ddd;
    padding: 1rem 1.5rem;
    background: #fafafa;
	margin-top: 2rem;
}
main .result_wrap ul li {
  display: flex;
  justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}
main .result_wrap ul li:nth-last-child(1) {
	border-bottom: none;
}
main .result_wrap ul li p,
main .result_wrap .total_wrap p {
  font-size: 1.8rem;
}
main .result_wrap ul li .result,
main .result_wrap .total_wrap .result {
  font-weight: 600;
}
main .result_wrap .notice {
  font-size: 1.5rem;
  color: #bfbfbf;
  margin-top: 1.5rem;
  text-align: left;
}
main .result_wrap .notice span {
  font-size: 1.5rem;
  color: #f93d4a;
}
main .result_wrap ul li .qt {
  position: relative;
}
main .result_wrap ul li .qt::after {
  content: "*";
  color: #f93d4a;
  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;
  align-items: center; 
  gap: 1rem;
}
main .result_wrap .total_wrap .title {
  color: #2a73f4;
  font-weight: 600;
  margin-bottom: 1rem;
}
main .result_wrap .total_wrap .result {
	font-size: 2.5rem;
    color: #0075cc;
}
main .result_wrap .total_wrap .bank_icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
}

main .result_wrap .total_wrap .bank_icon.NH {
  background: #f1f2f6 url("../img/1NH_mini.png") no-repeat center / 4rem;
}
main .result_wrap .total_wrap .bank_icon.SH {
  background: #f1f2f6 url("../img/2SH_mini.png") no-repeat center / 4rem;
}
main .result_wrap .total_wrap .bank_icon.WR {
  background: #f1f2f6 url("../img/3WR_mini.png") no-repeat center / 4rem;
}
main .result_wrap .total_wrap .bank_icon.HN {
  background: #f1f2f6 url("../img/4HN_mini.png") no-repeat center / 4rem;
}
main .result_wrap .total_wrap .bank_icon.IBK {
  background: #f1f2f6 url("../img/5IBK_mini.png") no-repeat center / 4rem;
}
main .result_wrap .total_wrap .bank_icon.KB {
  background: #f1f2f6 url("../img/6KB_mini.png") no-repeat center / 4rem;
}
main .result_wrap .total_wrap .bank_icon.DGB {
  background: #f1f2f6 url("../img/7DGB_mini.png") no-repeat center / 4rem;
}
main .result_wrap .total_wrap .bank_icon.BNKB {
  background: #f1f2f6 url("../img/8BNKB_mini.png") no-repeat center / 4rem;
}
main .result_wrap .total_wrap .bank_icon.GJ {
  background: #f1f2f6 url("../img/9GJ_mini.png") no-repeat center / 4rem;
}
main .result_wrap .total_wrap .bank_icon.JB {
  background: #f1f2f6 url("../img/10JB_mini.png") no-repeat center / 4rem;
}
main .result_wrap .total_wrap .bank_icon.BNKK {
  background: #f1f2f6 url("../img/11BNKK_mini.png") no-repeat center / 4rem;
}
main .result_wrap .notice_wrap {
  margin-top: 1.5rem;
}
main .result_wrap .notice_wrap p {
  font-size: 1.4rem;
  color: #bebebe;
  line-height: 1.4;
  text-align: center;
}



/* 추가 디자인 */
main.sub { 
	padding: 0;
}
main .input_wrap { padding:2rem 1.5rem;}
main .result_wrap .total_wrap .bank_name { font-weight: 600;}