.section_D .top {
    background: linear-gradient(to bottom, #f3fcec, #fff);
    display: flex;
    padding: 20px;
    justify-content: space-between;
    align-items: center;
    height: 320px;
    margin-top: -70px;
}

.section_D .top .left .title .point2{
    font-size: 28px;
    font-weight: 800;
    color:#abcc85;
}
.section_D .contents .box:nth-of-type(5){
    margin-top: 60px;
}
.section_D .contents .box .bold{
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: #bdd79e;
    padding: 0 15px;
}
.section_D .contents .box .point3{
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: #bdd79e;
}
.section_D .contents .box .con{
    font-size: 18px;
    line-height: 1.3;
    padding: 15px;
    border-radius: 15px;
}
.top img {
    width: 220px;
    height: auto;
 }
.top .left {
   
}
.top .left .title{
    font-size: 28px;
    font-weight: 800;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
}
.top .left .sub_title{
    font-size: 18px;
    color: #646665;
    margin-top: 30px;
}
.contents {
    padding: 2rem 2rem 4rem;
}
.container1 {
    border-radius: 15px; border: 2px solid #cfe2b9; padding: 2rem; 
    margin: 20px;
}
.container1 .text{
   font-size: 18px;
   line-height: 1.3;
   font-weight: 600;
   margin-bottom: 25px;
}
 .input_wrap {
    display: flex;
    flex-direction: column;
  }
  .input_container {
    border-bottom: 1px solid #969696;
    display: flex;
    justify-content: right;
    align-items: center;
    width: 100%;
    margin-left: 15px;
  }
   .input_wrap .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
  }
   .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;

  }
   .input_wrap .item label,
   .input_wrap .item span,
    .item label  {
    font-size: 18px;
    font-weight: 800;
  }
   .input_wrap .item input {
    width: 50%;
    font-size: 18px;
    outline: none;
    padding: .7rem .5rem;
    margin-left: 1rem;
    text-align: right;
    display: flex;
    justify-content: right;
  }
  
   .type_wrap {
    display: flex;
   
    margin-left: 1rem;
    width: 100%;
  }
   .type_wrap > button {
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #cfe2b9; padding: 10px;
  }
   .type_wrap > button.active {
    border: 1px solid #b6d395;
    background-color: #f3fcec;
    border-radius: 0.2rem;
  }
  .toggle_wrap {
    display: flex;
    margin-left: 1rem;
  }
  
  .toggle_wrap > button {
    flex: 1; /* Each button takes equal space */
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #cfe2b9;
    padding: 10px;
    box-sizing: border-box; /* Ensures padding is included in width calculation */
    cursor: pointer; /* Change cursor to pointer on hover */
    outline: none; /* Remove default outline */
  }
  
  .toggle_wrap > button.active {
    border: 1px solid #b6d395;
    background-color: #f3fcec;
    border-radius: 0.2rem;
  }
  
  /* Specific button adjustments */
  .toggle_wrap > button:first-child {
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
  }
  
  .toggle_wrap > button:last-child {
    border-top-right-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
  }
  p.text-\[2rem\].font-semibold.mb-6 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 1.5rem;
  }
  .btnBlock{
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin: 25px 0 0;
  }
   .calc {
    width: 100%;
    font-size: 18px;
    font-weight: 800;
    padding: 10px;
    border-radius: 10px;
    background: #f3fcec;
    display: flex;
    justify-content: center;
    align-items: center;
    border:1px solid  #b6d395; 
  }
   .calc img {
    width: 8%;
    margin-right: 5px;
  }
   .calc:nth-last-of-type(2) {
    width: 100%;
    font-size: 18px;
    font-weight: 800;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border:1px solid  #b6d395; 
  }
  #result {
    padding: 40px;
  }
   #result .loan_info_wrap {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1.8rem;
    padding-bottom: 3rem;
   
  }

   #result .loan_info_wrap .title {
    font-size: 18px;
    color: #777;
    width: 100%;
  }
   #result .loan_info_wrap .title:nth-child(n + 2):nth-child(-n + 3) {
    width: 50%;
  }
   #result .loan_info_wrap .title em {
    font-size: inherit;
    font-weight: 600;
  }
  
   #result .total_info_wrap {
    margin-bottom: 2.5rem;
  }
   #result .total_info_wrap .container {
    padding: 2rem 0;
    border-bottom: 1px solid #ddd;
  }
   #result .total_info_wrap .container .title {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 1rem;
  }
   #result .total_info_wrap .container .value {
    font-size: 30px;
    color: #bdd79e;
    font-weight: 700;
  }
   #result .total_info_wrap .container .value::after {
    content: "원";
    font-size: 18px;
    color: #999;
    margin-left: .5rem;
  }
  
   #result .list_wrap > h2 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: .8rem;
  }
  
   #result .list_wrap ul li {
    padding: 2rem 0;
    border-bottom: 1px solid #ddd;
  }
   #result .list_wrap ul li .count {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 1.5rem;
  }
   #result .list_wrap ul li .row,
   #result .list_wrap ul li .month {
    display: flex;
    justify-content: space-between;
    margin-top: 1.2rem;
  }
   #result .list_wrap ul li .row .title {
    font-size: 18px;
    color: #777;
  }
   #result .list_wrap ul li .row .value,
   #result .list_wrap ul li .month .title {
    font-size: 18px;
    font-weight: 600;
  }
  
   #result .list_wrap ul li .month .value {
    font-size: 18px;
    font-weight: 600;
    color: #bdd79e;
  }
  
   .input_wrap .radio_box {
    display: flex;
    border: 1px solid #bdd79e;
    border-radius: 1.5rem;
    width: fit-content;
    position: relative;
    overflow: hidden;
    
  }
   .input_wrap .radio_box p {
    width: 10rem;
    font-size: 18px;
    font-weight: 600;
    padding: 1.2rem 0;
    color: #555;
    text-align: center;
    z-index: 9;
  }
   .input_wrap .radio_box .active {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #ffc6dd;
    transition: left 0.25s;
  }
  
   .result_wrap ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.7rem;
  }
   .result_wrap ul li p {
    font-size: 18px;
  }
   .result_wrap ul li .value {
    font-weight: 600;
    color: #333 !important;
  }
  
  /* salary.php */
   .btn_wrap {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: .8rem;
  }
   .btn_wrap button {
    width: 20%;
    display: block;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background: #fc90bc;
    color: #fff;
    flex-grow: 1;
    padding: 1.5rem 0;
    border-radius: 1rem;
  }
   .result_wrap p {
    font-size: 18px;
    font-weight: 600;
    color: #777;
    display: flex;
    align-items: center;
  }
   .result_wrap p em {
    display: block;
    width: 35%;
    text-align: center;
    font-size: 2.2rem;
    font-weight: inherit;
    border-bottom: 1px solid #ddd;
    margin-left: 1rem;
    padding: .7rem .5rem;
  }
  
  @media screen and (max-width: 900px) {
    .contents {
    padding: 0 2rem 4rem;
}
.section_D .top  {
    height: 280px;
    padding-bottom: 0;
}
.top .left .title {
    font-size: 20px;
    line-height: 1.3;
}
.section_D .top .left .title .point2 {
    font-size: 20px;
    line-height: 1.3;
}
.top .left .sub_title {
    font-size: 16px;
    line-height: 1.3;
}
.top img {
    width: 120px;
    height: auto;
}
.container1 {
    padding: 2rem;
    margin:0 20px;
}
.container1 .text {
    font-size: 16px;
}
.type_wrap {
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
  width: 100%;
}
.calc img {
    width: 15%;
    margin-right: 5px;
}
.calc:nth-last-of-type(2) {
  font-size: 16px;
}
.calc {
  font-size: 16px;
}
.section_D .contents .box .con {
    font-size: 16px;
}
.section_D .contents .box .point3 {
    font-size: 16px;
}
.input_wrap .item label, .input_wrap .item span, .item label {
    font-size: 16px;
}
.section_D .contents .box:nth-of-type(5) {
    margin-top: 20px;
}
.type_wrap > button {
    font-size: 16px;
}
#result .loan_info_wrap .title {
  font-size: 16px;
}
#result .total_info_wrap .container .title {
    font-size: 18px;
}
#result .total_info_wrap .container .value {
    font-size: 20px;
}
#result .list_wrap > h2 {
    font-size: 20px;
}
#result .list_wrap ul li .count {
    font-size: 18px;
}
#result .list_wrap ul li .row .title {
    font-size: 16px;
}
#result .list_wrap ul li .row .value, #result .list_wrap ul li .month .title {
    font-size: 16px;
}#result .list_wrap ul li .month .value {
    font-size: 16px;
}
span#period2-unit {
  font-size: 16px;
}
p.text-\[2rem\].font-semibold.mb-6 {
  font-size: 18px;
}
}