html {
  font-size: 62.5%; /* 1rem ≈ 10px */
}

.pc_only{display:block !important;}
.pc_none{display:none !important;}
.m_only{display:none !important;}
@media (max-width:1440px) {
  .free_visual_inner{width:100% !important;}
  .free_visual img{
    width:100%;
  }
}

/* 태블릿 이하에서 조금 줄이기 */
@media (max-width: 1200px) {
  /* 강사 */
  .free_professor_inner_small{width:100% !important;}
  html {
    font-size: 56.25%;  /* 1rem ≒ 9px */
  }
  h2{font-size:6rem !important;}
  .m_free_professor_inner{width:100% !important;}
  .free_book{width:100% !important;}
  .pc_only{display:none !important;}
  .pc_none{display:block !important;}
  .m_free_professor_inner{text-align: center !important;}
  .m_free_professor_inner h2{color:#fff;}
  .m_free_professor_inner p{font-size:2rem !important; color:#fff;}
  .m_free_professor_inner img{padding-top:20px;width:100% !important;}

  /* 추가로 더! */
  .the_{width:100% !important;}
  .free_wrap_2_list {flex-wrap:wrap;}
  .free_wrap_2_list li{width:47% !important; margin-bottom:52px; padding: 3rem 0 !important;}
  
  h2{font-size:4.5rem !important;}
  .free_wrap_2_list_inner{
    width:90% !important;
    margin:0 auto;
  }
  .free_wrap_2_list_inner{
    margin-top:2rem !important;
  }
  .coupon_badge_cbt{
    width:50px !important;
  }
  .coupon_badge {
    height: 74px !important;
    width: 100% !important;
    border-radius: 10px;
    padding:0 !important;
    justify-content:center;
}
.coupon_badge::before {
    width: 15px;
    border-top-left-radius: 9px;
    border-bottom-left-radius: 9px;
}
.coupon_badge::after {
    width: 10px;
    height: 10px;
    left: 5px;
    border-radius: 50%;
    border: 1.2px solid #ff412c;
}
.coupon_badge span {
    font-size: 1.6rem;
    margin-left: 9px;
}
.coupon_badge_cbt{
  padding:0 !important;
}
.free_cbt_o{
  top: -30px !important;
  right: -22px !important;
}

/* 스타트혜택 */
.free_wrap_3_inner_2{
  width:100% !important;
  flex-direction:column;
}
/* 무료고재 */
.free_book ul{
  flex-direction:column;
  align-items:center;
  padding:4rem 3rem;
  gap:0;
  width:100% !important;
}
.free_book_list li{
  display:none;
  width:71%;
}
.free_book_list li.active{
  display:block;
  width:53%;
}
.free_book ul li p{
  text-align:center;
  font-size:18px !important;
  line-height:1.3;
  white-space: nowrap;
}
.free_book ul li img{
  width:100%;
}
.free_book_o, .countdown_left{
  top:-6rem;
  left:1rem;
}
.free_book_controls{
  display:flex;
  width:90% !important;
  left: 50% !important;
  justify-content: center !important;
  transform: translate(-50%, -50%) !important;
}
}



@media (max-width: 768px) {
  .m_only{display:flex !important;}
  html {
    font-size: 50%;     /* 1rem = 8px */
  }
  .free_visual_inner{padding:0 !important;}
  .free_visual_sub_typo{font-size:12px !important;}
  .free_visual{padding-bottom: 40px !important;
  }
  .free_visual_typo img{width:100% !important;}
  .free_cbt_o{
    top: -39px !important;
    right: -3px !important;
    width: 60px !important;
    height: 60px !important;
  }
  .product_popup{width:100%;}
  .product_list{max-height:60px;}
}

/* 더 작은 모바일 (아이폰 SE, 작은 기기) */
@media (max-width: 480px) {
  html {
    font-size: 43.75%; /* 1rem ≈ 7px */
  }
}
h2{
  font-size:5.5rem ;
  font-weight: 900;
}
h2 span{
  color:#b67e36;
}


/* 바텀배너 */
.free_professor_inner_small{
  width: 1200px;
  margin: 20px auto;
  color: #808080;
  font-size: 1.6rem;
  text-align: center;
  }
  .bottom_banner{
      position: fixed;
      bottom:0;
      left:0;
      width:100%;
      z-index: 100;
      background-color:#b67e36;
      box-shadow: 0 0 10px 0 rgba(255,255,255,0.1);
      padding:20px;
      font-size:3rem;
      color:#fff;
      font-weight: 900;
      display: block;
      text-align: center;
  }
  .free_popup{
      padding:3rem;
  }

  .free_popup h4{
      font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 3rem;
  text-align: center;
  }


  /* 대상 상품 보기 css */
  .product_popup{
  background: #fff;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
}
  .product_popup h4{
      font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 3rem;
  text-align: center;
  }
.product_list{
  border:1px solid #ccc;
  padding:1rem;
  overflow-y: auto;
  max-height:182px;
}


  .pi-consent{
      margin-bottom: 2rem;
  }
  .pi-row{
      display: flex;
      justify-content: space-between;
      font-size: 1.8rem;
  }
  .req{
      color:red;
  }
  .pi-text-info p{
      font-size: 1.4rem;
      line-height: 1.5;
      padding: 1rem;
  }
  .pi-text-info{
      border: 1px solid #ccc;margin-top: 10px;
  }
  .agree-ctrl{
    display:flex;
  }

.free_wrap{
  background:url('https://image.engineerlab.co.kr/data/www/engr/promotion/2025/free/bg__2.jpg') 
  no-repeat top center / cover;
  z-index: -2;
  overflow: hidden;
  padding-bottom:10rem;
  padding-left:20px;
  padding-right:20px;
}
/* 비주얼배너 */
.free_visual{width:100%;padding:14rem 0;position: relative;overflow: hidden;}
.free_visual_inner{padding:0 2rem;text-align: center; width:1300px;margin: 0 auto;}
.free_visual_typo img{width:90%;}
.free_visual_sub_typo{font-size:1.8rem;
  color:#808080;font-weight: 300; line-height: 1.5;text-align: center;padding-top:1.4rem;}
.free_professor_inner{width:1200px; margin:0 auto;text-align: center;}
.free_professor_inner img{width:90%;}


/* 책무료교재 */
.free_book_wrap{background:#f0d3a1;}
.free_book{margin: 0 auto;width:1200px;text-align: center;}

.free_book h2{
  color:#212121;
  text-align: center;
  padding-top:14.625rem;
}

.free_book ul{
  align-items:center;
  position: relative;
  display:flex;
  justify-content: center;
  width:40%;
  margin:0 auto;
}
.free_book_list_wrap{
  margin-top:7rem;
  display:flex;
  width:100%;
  position: relative;
}

.free_book_list li{
  display:none;
  width:60%;
}
.free_book_list li.active{
  display:block;
}

.free_book ul li img{
  width:60%;
}
.free_book_controls{
  display:flex;
}

.free_book_list_2{
  width:60%;
  background:rgba(255,255,255,0.6);
  padding:5rem;
  position: relative;
  border-radius: 5px;
  display:flex;
  align-items:center;
}
.free_book_list_2 img{
  width:60%;
}

.free_book_list_2 > div {
  display: none;
}

.free_book_list_2 > div.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.free_book_list_2 p{
  font-size:2.5rem;
  line-height:1.5;
  font-weight: 700;
  text-align:left;
  margin-top:30px;
  color:#212121;
}



.free_book_ctrl{
  width:4.4rem;
  height:4.4rem;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.5);
  background:rgba(0,0,0,0.35);
  color:#fff;
  font-size:1.6rem;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background 0.2s ease, border-color 0.2s ease;
}

.free_book_ctrl:hover{
  background:rgba(255,255,255,0.2);
  border-color:#fff;
}

.free_book ul li p{
  font-size:2rem;
  color:#212121;
  padding-top:1rem;
  text-align:center;
  line-height:1.3;
}

.free_book ul li img{
  width:100%;
}

.free_o{
  border-radius: 50%;
  width:10rem;
  height:10rem; 
  text-align: center;
  position: absolute;
  display:flex;
  justify-content: center;
  align-items: center;
  background: #b67e36;
}

.free_book_o{
  top:-21px;
  left:40px;
  background: #b67e36;
}
.free_book_o p{
  font-size:3rem;
  font-weight: 700;
  color:#fff;
}

/* 교재신청하기 영역 */
.book_btn_area{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2rem;
  margin-top:5.625rem;
}

/* 딱지용 */
.countdown_left{
  background:#111;
  border-radius: 50%;
  align-items:center;
  justify-content:center;
  display:flex;
  border-radius: 50%;
  width:10rem;
  height:10rem; 
  text-align: center;
  position: absolute;
  background: #121212;
  top: 61px;
  left: 40px;
}

/* 선착순 카운트다운 박스 */
.countdown_box{
 height:9.5rem;
 display:flex;
 border-top: 1px solid #212121;
 border-bottom: 1px solid #212121;
}


.countdown_text{
  color:#fff;
  font-size:2rem;
  font-weight:700;
  white-space:nowrap;
}

.countdown_right{
  padding:2rem 2.5rem;
  display:flex;
  align-items:center;
  gap:29px;
}

.countdown_date{
  font-size:3rem;
  font-weight:700;
  color:#212121;
  text-align:left;
}

.countdown_info{
  display:flex;
  align-items:center;
  gap:1rem;
  font-size:1.8rem;
  color:#111;
}

.countdown_number_box_wrap{
  display:flex;
  align-items:center;
  gap:1rem;
}

.countdown_number_box{
  width:7.5rem;
  height:7rem;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:0.3rem;
  background-color:#fff;
}

.countdown_number{
  font-size:4.2rem;
  font-weight:700;
  color:#ff412c;
  line-height:1;
}

.countdown_number_text{
  font-size:3rem;
  font-weight:700;
}

.book_btn{
  position: relative;
  background:#111;
  height:9.3rem;
  width:40%;
  color:#fff;
  padding:1rem 2rem;
  border-radius: 0.5rem;
  font-size:2.5rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
}

.book_btn_cursor{
  position: absolute;
  bottom: -26px;
  right: -17px;
  animation: cursor-move 1s infinite;
}
@keyframes cursor-move {
  0% { transform: translate(0, 0); }
  50% { transform: translate(10px, 10px); }
  100% { transform: translate(0, 0); }
}
.book_btn_cursor img{
  width:80%;
}

/* 팝업 스타일 */
.book_popup{
  background:#fff;
  padding:3rem;
  border-radius:1rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
  max-width:90vw;
  max-height:90vh;
  overflow-y:auto;
  overflow-x:hidden;
  display:none;
}
.book_popup h4{
  font-size:2.5rem;
  font-weight: 700;
  color:#111;
  margin-bottom:3rem;
  text-align:center;
}

/* 섹션 스타일 */
.popup_section{
  margin-bottom:3rem;
  text-align:left;
}

.section_label{
  background:#111;
  color:#fff;
  padding:1rem 1.5rem;
  font-size:1.8rem;
  font-weight: 700;
  margin-bottom:1.5rem;
  
}

/* 교재 선택 옵션 */
.book_options{
  display:flex;
  flex-direction:column;
}

.radio_option{
  display:flex;
  align-items:center;
  cursor:pointer;
  font-size:1.8rem;
  color:#111;
  gap:1rem;
}

.radio_option span{
  line-height:1.5;
}

/* 혜택 안내 */

.benefit_info p{
  font-size:1.6rem;
  color:#111;
  line-height:1.5;
}

.highlight_red{
  color:#ff412c;
  font-weight:700;
}

/* 버튼 영역 */
.popup_buttons{
  display:flex;
  gap:1.5rem;
  justify-content:center;
  margin-top:3rem;
  padding-top:2rem;
  border-top:1px solid #e0e0e0;
}

.btn_confirm,
.btn_close{
  padding:1.2rem 3rem;
  font-size:1.8rem;
  font-weight:700;
  border-radius:0.5rem;
  cursor:pointer;
  border:none;
  min-width:12rem;
}

.btn_confirm{
  background:#111;
  color:#fff;
}

.btn_close{
  background:#e0e0e0;
  color:#111;
}

.btn_confirm:hover{
  background:#333;
}

.btn_close:hover{
  background:#d0d0d0;
}

/* 반응형 이건 팝업창*/
@media (max-width: 768px) {
  .book_popup, .free_popup{
    padding:2rem;
    min-width:90vw;
  }
  
  .book_popup h4{
    font-size:2rem;
  }
  
  .section_label{
    font-size:1.6rem;
    padding:0.8rem 1.2rem;
  }
  
  .radio_option{
    font-size:1.6rem;
  }
  
  .popup_buttons{
    flex-direction:column;
  }
  
  .btn_confirm,
  .btn_close{
    width:100%;
    font-size:1.6rem;
  }
  
  .book_btn_area{
    flex-direction:column;
    gap:1.5rem;
    margin-top:0 !important;
  }
  
  
  .countdown_left{
    top: 37px;
  }
  .book_btn_cursor img{
    width:51%;
  }
  
  .countdown_text{
    font-size:1.6rem;
  }
  
  .countdown_right{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    width:100%;
    gap:10px;
  }

  
  .countdown_info{
    align-items:center;
  }
  .countdown_number{
    font-size:3.2rem;
  }
  
  .book_btn{
    width:60%;
    font-size:3rem;
  }
}


/* 공용 */
.free_wrap_wrap{
  padding:14rem 0;
  margin: 0 auto;
  text-align: center;
}

/* 추가로 더 혜택 */
.the_{
  padding:14rem 0;
  margin: 0 auto;
  text-align: center;
  width:1200px;
}
.the_ h2 {
  color:#212121;
}


.free_wrap_2_list{
  display:flex;
  justify-content:center;
  gap:1rem;
  margin-top:5.625rem;
}
.free_wrap_2_list li{
  border:1px solid #ccc;
  width:25%;
  height:36rem;
  padding-top:3rem;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
  position: relative;
  background-color:#fff;
}
.free_wrap_2_list li h3{
  font-size:3rem;
}
.free_wrap_2_list li p{
  font-size:2.5rem;
  padding-top:1rem;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-color: #ff412c;
  color:#212121;
}
.free_wrap_2_list_inner{
  width:100%;
  height:100px;
  margin-top:4rem;
  border-radius: 15px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1rem;

}

.free_wrap_2_list_inner .coupon_badge{
  display: inline-flex;
  align-items: center;
  height: 100px;
  padding: 0 50px;
  background: #fff;
  border: 2px solid #ff412c;
  border-radius: 18px;
  position: relative;
  box-sizing: border-box;
} 

.coupon_badge::before {
  content: "";
  display: block;
  width: 13px;
  height: 100%;
  background: #ff412c;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.free_cbt_o{
  top: -19%;
    right: -19%;
  background: #b67e36;
}
.free_cbt_o p{
  font-size:2rem !important;
  color:#fff !important;
  text-decoration:none !important;
}

.cbt_wrap{
  display: flex;
  flex-direction: column;
}
.coupon_badge_cbt{
  border: 2px solid #111 !important;
  height:50px ;
  border-radius: 10px !important;
  justify-content:center;
  width:200px;
  padding:0 !important;
}
.coupon_badge_cbt::before {
  display:none !important;
}
.coupon_badge_cbt::after {
  display:none !important;
}
.coupon_badge_cbt span {
  color: #111 !important;
  margin-left: 0px !important;
  font-size: 2rem !important;
}



.coupon_badge::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 2px solid #ff412c;
}
.coupon_badge span {
  position: relative;
  z-index: 2;
  color: #ff412c;
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-left: 13px;
  display: inline-block;
  line-height: 1;
}


/* 추가더 혜택 버튼들들 */
.free_wrap_2_list_btn{
  width:101%;
  background-color:#ff412c;
  color:#fff;
  font-size:2.5rem;
  font-weight: 700;
  padding:2rem;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  width:100%;
  bottom:0;
}

/* 추가더 버튼 오버했을시  */
.free_wrap_2_list_btn:hover{
  animation: button-hover 0.3s ease-in-out;
}
@keyframes button-hover {
  0% {
    transform: translate(-50%) scale(1);
  }
  50% {
    transform: translate(-50%) scale(1.05);
  }
  100% {
    transform: translate(-50%) scale(1);
  }
}

/* 스타트혜택 */
.free_wrap_3{
  background:#f8f8f8;
}
.free_wrap_3_inner h2 span{
  color:#b69e5e;
}

.free_wrap_3_inner_2{
  display:flex;
  justify-content:center;
  width:1200px;
  gap:1rem;
  margin: 4.2rem auto;
  overflow: hidden;
  padding:0 20px;
}
.free_wrap_3_info{
  background:#fff;
  border:1px solid #ccc;
  padding:3rem;
  border-radius: 15px;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
}

.free_wrap_3_info ul{
  display:flex;
  justify-content: space-between;
  gap:1rem;
  align-items:end;
}

.free_wrap_3_info ul li{
  text-align:left;
}

.free_wrap_3_info ul li h4{
  font-size:2.5rem;
  line-height:1.3;
}
.free_wrap_3_info ul li p{
  font-size:1.6rem;
  font-weight: 300;
  color:#808080;
  line-height:1.5;
  margin-top:1rem;
}

.free_wrap_3_info ul li a{
  background-color:#111;
  color:#fff;
  padding:1rem 2rem;
  border-radius: 15px;
  font-size:1.6rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  margin-top:1.6rem;
}

.free_wrap_3_info ul li h4 span{
  color:#ff412c;
}


/* 마지막 */
.free_wrap_4{
  background:#111;
}
.free_wrap_4 h2{
  color:#fff;
}

.free_wrap_4 .inner{
    width: 1200px;
        display: flex;
        flex-flow: wrap;
        justify-content: center;
        gap: 18px;
        margin-top: 45px;
    }
    @media screen and (max-width: 1200px) {
        .free_wrap_4 .inner {
        width: 100%;
        }
    }
    @media screen and (max-width: 768px) {
        .free_wrap_4 .inner {
        width: 95%;
        }
        .free_wrap_4 .conts span{
            width: 45%;
            margin-bottom: 18px;
        }
        .free_wrap_4 img{
            width:100%;
        }
    }