@media (max-width: 1540px) {
  [class$="_inner"] {
    margin: auto 40px;
  }
}

@media (max-width: 1200px) {
  .container {
    margin: 0 40px;
  }

  .sec_4_ct {
    display: none;
  }

  .sec_4_ct_m {
    display: block !important; /* display:none 을 덮어쓰기 위해 */
    width: 14rem;
    opacity: 1 !important; /*  투명도 100% */
    clip-path: inset(0) !important; /* 잘라내기 해제 */
  }
}

@media (min-width: 950px) {
  .banner_first_mo,
  .banner_next_mo {
    display: none;
  }
}

/* ===================================
   반응형: 화면 최대 너비 900px 이하일 때
   =================================== */
@media (max-width: 950px) {
  .banner {
    aspect-ratio: 8/10 !important;
  }

  .banner_first,
  .banner_next {
    display: none;
  }

  .banner .banner_first_mo,
  .banner .banner_next_mo {
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease-in-out;
  }

  .banner .banner_first_mo {
    transform: translateX(0);
    z-index: 2;
  }

  .banner .banner_next_mo {
    transform: translateX(100%);
    z-index: 1;
  }

  .banner_first_mo img,
  .banner_next_mo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /*.sec_2_box를 세로로 변경 */
  .sec_2_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px;
  }

  .sec_2_illust {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  .consul t-list {
    width: 100%;
    padding: 0;
  }

  .consult-list li {
    width: 100%;
    margin-bottom: 20px;
  }

  .consult-item .top-row {
    justify-content: flex-start;
    gap: 12px;
  }

  .consult-item .desc {
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.4;
  }
}

/* 모바일용 미디어쿼리 */
@media (max-width: 768px) {
  .banner_inner .banner_txt {
    padding-top: 30px !important;
    font-size: 48px !important;
  }

  .banner_inner ul .icon .icon_txt {
    font-size: 1rem !important;
    line-height: 1.3;
    letter-spacing: 0.1rem !important;
    font-weight: 300 !important;
  }

  /*--------- banner ----------------*/

  .banner_inner ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;

    justify-items: center;
    text-align: center;
  }

  .banner-title {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.06rem;
  }

  /*--------- SEC ----------------*/

  [class$="_inner"] {
    margin: auto 6px;
  }

  /*--------- sec_1 ----------------*/
  .sec_1_inner {
    padding-top: 5rem !important;
  }

  .sec_1_inner .box .box_img img {
    width: 220px !important;
  }

  /*--------- sec_2 ----------------*/
  .sec_2_inner .sec_2_illust {
    width: 300px;
  }

  /*--------- sec_3 ----------------*/
  .sec_3_inner .eu_li span {
    font-size: 14px !important;
  }

  .sec_3_inner .eu .eu_li {
    font-size: 18px !important;
    line-height: 0.8;
    letter-spacing: 0.07em;
  }

  /*--------- sec_5 ----------------*/

  .sec_5 {
    padding-bottom: 40px !important;
  }

  .sec_5_inner {
    padding-top: 0 !important;
    min-height: 0 !important;

    margin-left: 10px !important;
  }
}

@media (min-width: 769px) {
  .mobile_header,
  .mobile_menu {
    display: none !important;
  }
}
