main .input_wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
main .input_wrap .item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  position: relative;
}
main .input_wrap .item label {
  font-size: 1.4rem;
  white-space: nowrap;
}
main .input_wrap .item input {
  width: 100%;
  flex-grow: 1;
  padding: 1rem;
  outline: none;
  font-size: 1.4rem;
  font-weight: bold;
  color: #666;
}
main .input_wrap .item .unit {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #999;
}

main .result > p {
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
main .input_wrap .result > p:nth-child(2) {
  margin: .4rem 0;
}
main .input_wrap .result > p em {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: #fc90bc;
}

main #calculateBtn,
main #calc {
  width: 100%;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 1.5rem;
  color: #fff;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  background: #3571e3;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
main #calculateBtn:disabled,
main #calc:disabled {
  background: #bbb;
}

main #result3 h3 {
  font-size: 2.2rem;
  font-weight: 700;
  padding: 1.5rem 0;
  border-bottom: 1px solid #ddd;
}
main #result3 .result {
  padding: 1.5rem 0 0;
}
main #result3 .result p {
  color: #888;
  font-size: 1.8rem;
  margin: .5rem 0;
}
main #result3 .result em {
  font-size: inherit;
  font-weight: inherit;
  color: #333;
}

/* earning.php */
main #result > h2 {
  font-size: 1.8rem;
  font-weight: 700;
  padding: 1.5rem 0 1.5rem;
  border-bottom: 1px solid #ddd;
}
main #result .container {
  padding: 1.5rem 0;
}
main #result .container .result-item {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ededed;
  padding-bottom: 0.6rem;
}
main #result .container .result-item:not(:last-of-type) {
  margin-bottom: 0.6rem;
}
main #result .container .result-item em {
  color: #3571e3;
  font-size: inherit;
  font-weight: 600;
}

/* earning_fore.php */
.coin_wrap {
  width: fit-content;
  border-radius: 1.2rem;
  border: 1px solid #ddd;
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
}
.coin_wrap > button {
  width: 8rem;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 1.2rem 0;
  z-index: 99;
  position: relative;
  color: #555;
}
.coin_wrap .act_bg {
  background: #ffc6dd;
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  transition: left 0.25s;
}

/* comrate.php */
main .result_wrap .rate {
  font-size: 2rem;
  padding-bottom: .5rem;
  margin-top: 1.5rem;
}
main .result_wrap .rate em,
main .result_wrap .rate_info em {
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  color: #fc90bc;
}
main .result_wrap .rate_info {
  font-size: 2rem;
  line-height: 1.4;
  letter-spacing: -.1rem;
}


/* 추가 스타일 */
main {max-width: 1200px; min-height: 70vh;margin: 0 auto; padding: 2rem 0;}
main .other_list { display: flex; border: 1px solid #ddd; border-top: 2px solid #3571e3; margin-bottom: 2rem;}
main .other_list li { width: 25%; border-right: 1px solid #ddd; }
main .other_list li a,
main .other_list li span { font-size: 1.2rem;display: block;padding: 1.2rem 0 ; text-align: center;}
main .other_list li.on span {font-weight: bold; color: #3571e3; background: #fafafa;}
main .calc_wrap { display: flex; gap: 1.5rem;}
main .calc_wrap .left { width: 60%;}
main .calc_wrap .result { width: 40%; border: 1px solid #ddd; border-radius: 1.2rem; padding: 0.5rem 1.5rem;}
main .calc_wrap .left .notice { margin-bottom: 3rem; }
main .calc_wrap .left .notice p { font-size: 1.2rem; color: #8d8d8d; margin-bottom: .6rem;}
main .calc_wrap .left .notice a { text-decoration: underline;}

/* 연봉계산기 */
main .year_calc .input_wrap  { gap: 3rem;}
main .year_calc .input_wrap .item span { font-size: 1.4rem;}
main .year_calc .input_wrap .item label { font-weight: 600;}
main .year_calc .input_wrap .btn_wrap { display: flex; justify-content: space-between; gap: 1rem;}
main .year_calc .input_wrap .btn_wrap button { padding: 1rem 0; width: calc(100% / 5); background: #3571e3; border-radius: 1rem; color: #fff; font-weight: 500;}
main .year_calc .result_wrap { width: 40%;display: flex; justify-content: center; align-items: center;}
main .year_calc .result_wrap p { font-size: 1.4rem; font-weight: 600; display: flex; flex-direction: column; text-align: center; gap: 2rem;}
main .year_calc .result_wrap p em { font-size: 1.8rem; font-weight: bold; color: #3571e3;}


@media screen and (max-width: 767px) {
	main { padding: 2rem 1.5rem; min-height: 80vh;}
	main .other_list li { width: 50%;}
	main .calc_wrap { flex-wrap: wrap;}
	main .calc_wrap .left { width: 100%;}
	main .calc_wrap .result { width: 100%; display: none;}
	main .calc_wrap .result.on { display: block;}
	main .year_calc .result_wrap { width: 100%;}

}