br.mo {
  display: none;
}
.mo {
  display: none;
}

@media (min-width: 1400px) {
  .heroimg4,
  .heroimg3 {
    right: 14%;
  }
  .heroimg2 {
    left: 14%;
  }
  .heroimg1 {
    display: none;
  }
}
@media (min-width: 1600px) {
  .sec1 {
    max-height: 900px;
    background-position-y: bottom;
  }
}
@media (min-width: 1800px) {
  .heroimg4,
  .heroimg3 {
    right: 19%;
  }
  .heroimg2 {
    left: 19%;
  }
}

@media (min-width: 2100px) {
  .heroimg4,
  .heroimg3 {
    right: 25%;
  }
  .heroimg2 {
    left: 25%;
  }
}
@media (max-width: 1250px) {
  div.sec.sec1 div.inner,
  div.sec.sec2 div.inner,
  div.sec.sec3 div.inner,
  div.sec.sec4 div.inner,
  div.sec.sec5 div.inner,
  div.sec.sec6 div.inner,
  div.sec.sec7 div.inner,
  div.sec.sec8 div.inner,
  div.sec.sec9 div.inner,
  div.sec.sec10 div.inner,
  div.sec.sec11 div.inner {
    padding: 0 30px; /* 19px -> 1.9rem */
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 1200px) {
  .mo {
    display: block;
  }
  .pc {
    display: none;
  }
  .list-header .cell.instructor {
    flex-basis: 50%;
  }
  .list-header .cell.course-name {
    flex-basis: 50%;
  }
  .cell.instructor {
    flex-basis: 50%;
  }
  .cell.course-name {
    flex-basis: 50%;
  }
  .course-group .cell.course-name {
    border-radius: 0 16px 16px 0;
  }
  html {
    /* 1200px일 때 10px(1rem), 393px일 때 6.4px로 root 폰트 크기를 동적 설정 */
    font-size: clamp(6.4px, 0.446vw + 2.9px, 10px);
  }
  br.mo {
    display: block;
  }
  .sec p {
    margin: 0;
  }

  .sec.sec1 .text-box p.t1 {
    font-size: 2.6rem;
    margin-bottom: 3.2rem;
  }
  .sec.sec1 .text-box p.t2 {
    font-size: 5.4rem;
    margin-bottom: 1.9rem;
  }
  .sec.sec1 .text-box p.t3 {
    font-size: 9.8rem;
  }
  .sec.sec1 .text-box p.t4 {
    font-size: 12rem;
    margin-top: -3rem;
  }
  .sec.sec1 .text-box a {
    border-radius: 10rem;
    font-size: 3rem;
    margin-top: 3.1rem;
  }

  /* sec2 */
  .sec.sec2 {
    padding-top: 15rem;
  }
  .sec.sec2 .inner {
    max-width: 120rem;
    margin: 0 auto;
  }
  .sec.sec2 .inner .top-box p.t1 {
    font-size: 3.8rem;
    margin-bottom: 1.3rem;
  }
  .sec.sec2 .inner .top-box p.t2 {
    font-size: 5.2rem;
    margin-bottom: 2.9rem;
    line-height: 1;
  }
  .sec.sec2 .inner .top-box p.t2 span {
    font-size: 5.2rem;
  }
  .sec.sec2 .inner .top-box p.t2 span.whnr,
  .sec.sec2 .inner .top-box p.t2 span.xxc {
    color: #000;
    font-size: 3rem;
  }
  .sec.sec2 .card-list .card-item {
    padding: 4rem 2rem;
  }
  .sec.sec2 .card-list .card-item .img-box {
    max-width: 50%;
    aspect-ratio: unset;
    height: fit-content;
  }
  .sec.sec2 .card-list {
    gap: 4.4rem;
  }
  .sec.sec2 .card-list .card-item .text-box .x-num {
    background-color: #4b63de;
    justify-self: center;
  }
  .sec.sec2 .card-list .card-item .text-box .t3 {
    font-size: 4.6rem;
    margin-top: 1.4rem;
    margin-bottom: 2.8rem;
    text-align: center;
  }
  .sec.sec2 .card-list .card-item .text-box .t4 {
    font-size: 2.5rem;
    margin: 0;
    line-height: 4.3rem;
    text-align: center;
    padding: 0 2rem;
    padding-bottom: 5rem;
  }
  .sec.sec2 .card-list .card-item .text-box .t3 .color-bg {
    height: 2.3rem;
    bottom: 1.9rem;
    top: unset;
    bottom: 0;
  }

  .sec.sec2 .card-list .card-item:nth-child(1) .text-box .t3 .color-bg {
    left: -0.4rem;
  }
  .sec.sec2 .card-list .card-item:nth-child(2) .text-box .t3 .color-bg {
    left: -0.4rem;
  }
  .sec.sec2 .card-list .card-item:nth-child(3) .text-box .t3 .color-bg {
    left: -0.4rem;
  }
  .sec.sec2 .card-list .card-item:nth-child(4) .text-box .t3 .color-bg {
    left: -0.4rem;
  }
  .sec.sec2 .card-list .card-item:nth-child(2),
  .sec.sec2 .card-list .card-item:nth-child(4) {
    padding-right: 0;
  }

  .gradient-link-button {
    width: 40.1rem;
    height: 9.5rem;
    border-radius: 10rem;
    font-size: 3.5rem;
    box-shadow: 0 0.253rem 0.745rem rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    margin-top: 8rem;
    margin-bottom: 10.6rem;
    place-self: center;
  }
  .sec.sec3 {
    height: 49.6rem;
    height: auto;
    padding-top: 15rem;
  }
  .sec.sec3 img {
    width: 1.6rem;
    margin: 0 auto;
    margin-top: 2.8rem;
  }
  .sec.sec3 p.t1 {
    font-size: 3.8rem;
    line-height: 4.9rem;
    margin-bottom: 1.9rem;
  }
  .sec.sec3 p.t2 {
    font-size: 5.2rem;
    line-height: 4.9rem;
  }
  .sec.sec3 p.t2.mo {
    line-height: 1.2;
    font-weight: 300;
    font-size: 4rem;
  }
  .sec.sec3 p.t2.mo span {
    position: relative;
  }
  .sec.sec3 p.t2.mo span.color-bg {
    position: absolute;
    height: 34px;
    width: 104%;
    left: -11px;
    bottom: 0;
    background-color: hsla(230, 69%, 58%, 0.1);
  }
  .sec.sec3 p.t2.mo span.blue {
    font-size: 6rem;
    font-weight: 500;
  }
  .sec.sec3 .card-list {
    max-width: 100%;
    width: calc(100% - 60px);
    margin: 0 auto;
    gap: 2rem;
    bottom: unset;
    left: 30px;
    right: 30px;
    flex-direction: column;
    position: relative;
    margin: 0;
    margin-top: 14px;
    margin-bottom: -335px;
  }
  .sec.sec3 .card-list .card-item {
    border: 0.3rem solid #4b63de;
    height: 220px;
    /* aspect-ratio: 333/148; */
    /* padding-top: 4.9rem; */
    border-radius: 1.5rem;
    flex: unset;
    justify-content: center;
  }
  .sec.sec3 .card-list .card-item p.t3 {
    font-size: 2.5rem;
    margin-bottom: 2.1rem;
  }
  .sec.sec3 .card-list .card-item p.t4 {
    font-size: 4.4rem;
    margin: 0;
  }
  .sec.sec3 .card-list .card-item p.t4 .color-bg {
    height: 3.6rem;
    bottom: -0.4rem;
  }

  .sec.sec3 .card-list .card-item:nth-child(2)::before {
    width: 7.2rem;
    height: 7.2rem;
    left: 50%;
    top: -35px;
    transform: translateX(-50%);
  }
  .sec.sec4 {
    height: 106.6rem;
    height: auto;
    padding-top: 353px;
    padding-bottom: 15rem;
  }
  .sec.sec4 .inner {
    max-width: 120rem;
    height: 100%;
    margin: 0 auto;
  }
  .sec.sec4 .inner .benefit-list {
    gap: 2rem;
    padding: 4.2rem 4rem;
    border-radius: 1.6rem;
  }
  .sec.sec4 .inner .benefit-list .benefit-item {
    /* height: 16.8rem; */
    aspect-ratio: 309/172;
    border-radius: 1.6rem;
    padding-left: 4.3rem;
    padding-right: 4.3rem;
    flex-direction: column;
    justify-content: center;
  }
  .sec.sec4 .inner .benefit-list .benefit-item .text-box {
    text-align: left;
    width: 100%;
  }
  .sec.sec4 .inner .benefit-list .benefit-item .img-box {
    text-align: right;
    width: 100%;
  }
  .sec.sec4 .inner .benefit-list .benefit-item .t1 {
    font-size: 2.6rem;
  }
  .sec.sec4 .inner .benefit-list .benefit-item .t2 {
    font-size: 3.5rem;
  }
  .sec.sec4 .inner .benefit-list .benefit-item .t2 span {
    font-size: 2.6rem;
  }
  .sec.sec4 .inner .benefit-list .benefit-item:nth-child(1) img {
    width: 8rem;
  }
  .sec.sec4 .inner .benefit-list .benefit-item:nth-child(2) img {
    width: 12.6rem;
  }
  .sec.sec4 .inner .benefit-list .benefit-item:nth-child(3) img {
    width: 10.5rem;
  }
  .sec.sec4 .inner .benefit-list .benefit-item:nth-child(4) img {
    width: 14.8rem;
  }
  .sec.sec5 {
    padding-top: 15rem;
    padding-bottom: 14.8rem;
  }
  .sec.sec5 .inner {
    max-width: 120rem;
    margin: 0 auto;
  }
  .sec.sec5 .inner p.t1 {
    font-size: 6rem;
    margin-bottom: 5.6rem;
  }
  .sec.sec5 .inner p.t2 {
    font-size: 3rem;
    margin-bottom: 1.6rem;
  }
  .sec.sec5 .inner p.t3 {
    font-size: 3.5rem;
  }

  .sec.sec5 .inner .how-list {
    gap: 2rem;
    row-gap: 1.8rem;
  }
  .sec.sec5 .inner .how-list .how-item,
  .how-item-last {
    max-width: 100%;
    width: 100%;
    height: 46rem;
    border-radius: 0.8rem;
    padding-top: 4.6rem;
  }
  .sec.sec5 .inner .how-list .how-item:nth-child(1) img {
    height: 24.5rem;
    margin-top: 2.9rem;
    width: auto;
  }
  .sec.sec5 .inner .how-list .how-item:nth-child(2) img {
    height: 11rem;
    margin-top: 9rem;
    width: auto;
  }
  .sec.sec5 .inner .how-list .how-item:nth-child(3) img {
    height: 26.1rem;
    margin-top: 2.8rem;
    width: auto;
  }
  .sec.sec5 .inner .how-list .how-item:nth-child(4) img {
    height: 22.5rem;
    margin-top: 3.5rem;
    width: auto;
  }
  .sec.sec5 .inner a {
    margin-bottom: 0;
  }
  .how-item-last {
    margin-top: 1.8rem;
    max-width: 100%;
    height: fit-content;
    padding-bottom: 3rem;
  }
  .how-item-last .t3 {
    margin-bottom: 3.6rem;
  }
  .how-item-last img {
    /* height: 32.7rem; */
    height: auto;
    max-width: 90%;
  }
  .sec.sec6 {
    padding: 14rem 0;
  }

  .sec.sec6 .inner {
    max-width: 120rem;
    margin: 0 auto;
  }
  .sec.sec6 .t1 {
    font-size: 6rem;
    margin-bottom: 2rem;
  }

  .sec.sec6 .t2 {
    font-size: 2.4rem;
    margin-bottom: 3rem;
  }
  .sec.sec6 .t3 {
    font-size: 2rem;
    margin-top: 3.6rem;
    margin-bottom: 5.6rem;
  }
  .sec.sec6 .top {
    font-size: 3.2rem;
    border-radius: 1.6rem;
    height: 8rem;
    margin-bottom: 3.3rem;
  }

  .table-container .table-left {
    font-size: 2rem;
    border-radius: 1.6rem 0 0 1.6rem;
    min-width: 8.2rem;
    height: 82.1rem;
    border: 0.1rem solid #e8e8e8;
  }
  .sec.sec6 .top img.sample {
    top: 0.6rem;
    left: -7rem;
    width: 10.8rem;
    height: 10.8rem;
    box-shadow: 0.1rem 0 1.6rem rgba(0, 0, 0, 0.2);
  }
  .table-container table thead th {
    height: 10.2rem;
    font-size: 2.2rem;
    min-width: 10rem;
  }
  .table-container table thead th.z1 {
    font-size: 2rem;
    border-radius: 0 1.6rem 0 0;
  }
  .table-container table thead th.z2 {
    font-size: 2rem;
    border-radius: 0 0 1.6rem 0;
  }
  .table-container table thead th:nth-child(4) {
    width: 50.8rem;
  }
  .table-container table tbody tr td {
    font-size: 2rem;
  }
  .table-container table tbody tr td.col-category3 {
    border-top: 0.1rem solid #fff;
    border-bottom: 0.1rem solid #fff;
  }
  .table-container table tbody tr td.borderfftb {
    border-top: 0.2rem solid #fff;
    border-bottom: 0.2rem solid #fff;
  }
  .table-container table tbody tr td.bdte8 {
    border-top: 0.1rem solid #e8e8e8;
  }
  .table-container table tfoot tr td {
    height: 11.5rem;
    font-size: 2rem;
  }
  .table-container table tbody tr td.col-time {
    width: 18.4rem;
  }
  .table-container table tbody tr td.col-details {
    width: 50.8rem;
  }
  .sec.sec6 .btn-wrapper {
    gap: 3.9rem;
  }
  .sec.sec6 .btn-wrapper a {
    width: 41.1rem;
    height: 7.4rem;
    border-radius: 10rem;
    font-size: 3rem;
  }
  .sec.sec7 {
    padding-top: 15rem;
    padding-bottom: 13rem;
  }
  .sec.sec7 .t1 {
    font-size: 4rem;
    margin-bottom: 2.3rem;
  }
  .sec.sec7 .t2 {
    font-size: 6rem;
  }
  .sec.sec7 .top-box img {
    width: 26rem;
    margin-bottom: -4.2rem;
  }
  .sec.sec7 .top-box .info-x {
    width: 49.8rem;
    height: 8.4rem;
    border-radius: 10rem;
    font-size: 3rem;
    margin-top: -4.2rem;
    max-width: 100%;
  }
  .sec.sec7 .story-doc {
    padding: 9.7rem 8.1rem 6.9rem 8rem;
    font-size: 3.2rem;
    box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.15);
    max-width: 120rem;
    margin: 0 auto;
    margin-top: -4.2rem;
    border-radius: 1.6rem;
  }

  .sec.sec7 .story-doc span.color-bg::after {
    height: 2.3rem;
    bottom: -0.6rem;
    content: none;
  }
  .sec.sec7 .story-doc span.txt-span {
    z-index: 4;
    position: relative;
  }
  .sec.sec7 .story-doc span.color-bg .cb {
    position: relative;
    z-index: 3;
  }
  .sec.sec7 .story-doc span.color-bg .cb::before {
    content: "";
    z-index: -1;
    background-color: #dbe0f8;
    position: absolute;
    width: 104%;
    left: 0;
    height: 2.3rem;
    bottom: -0.6rem;
  }
  .sec.sec8 .inner {
    max-width: 120rem;
    margin: 0 auto;
  }
  .sec.sec8 .dtc1 {
    margin-bottom: 12rem;
  }
  .sec.sec8 .dtc2 {
    margin-bottom: 3rem;
  }
  .sec.sec8 .t1 {
    font-size: 4rem;
    line-height: 5rem;
  }

  .sec.sec8 .t2 {
    font-size: 5.2rem;
    line-height: 1.3;
    margin-bottom: 5rem;
  }
  .sec.sec8 .t2 span.blue .color-bg {
    position: absolute;
    height: 3.6rem;
    bottom: -0.4rem;
  }
  p.t3 {
    font-size: 14px;
  }
  .course-group .instructor {
    border-right: 0.1rem solid #e8e8e8;
    border-top: 0.1rem solid #e8e8e8;
  }
  .course-group .cell.course-name {
    border-right: 0.1rem solid #e8e8e8;
    border-top: 0.1rem solid #e8e8e8;
  }
  .course-group .cell.duration {
    border-right: 0.1rem solid #e8e8e8;
    border-top: 0.1rem solid #e8e8e8;
    border-radius: 0 1.6rem 1.6rem 0;
  }

  /* 헤더 스타일 */
  .list-header {
    border-radius: 1.6rem;
    font-size: 3rem;
  }

  /* * 행 그룹 (예: '회계' 그룹, '경제' 그룹) 
*/
  .course-group {
    margin-top: 1.2rem;
  }

  /* 과목 셀 (rowspan 처리) */
  .course-group .cell.subject {
    border-right: 0.1rem solid #eee;
    font-size: 2.4rem;
    border-radius: 1.6rem 0 0 1.6rem;
  }

  /* 개별 행 (강사, 강의, 시간) */
  .sub-row {
    height: 9.4rem;
    height: auto;
    font-size: 2.4rem;
  }
  /* 모든 셀의 공통 스타일 */
  .cell {
    padding: 1.2rem 1rem;
  }
  .list-header .cell.subject {
    flex-basis: 20%;
  }
  .cell.subject {
    flex-basis: 20%;
  }
  .course-group .sub-row.lt div.cell {
    border-bottom: 0.1rem solid #e8e8e8;
  }
  .course-group .cell.duration.nobr {
    border-radius: 0;
  }
  .course-group .cell.duration.nobb {
    border-radius: 0 1.6rem 0 0;
  }
  .course-group .cell.duration.nobt {
    border-radius: 0 0 1.6rem 0;
  }
  .sec.sec9 {
    padding-top: 15rem;
    padding-bottom: 10rem;
  }
  .sec.sec9 .t1 {
    font-size: 5.3rem;
    line-height: 4.8rem;
    margin-bottom: 5.1rem;
  }
  .sec.sec9 .t2 {
    font-size: 14px;
    text-align: center;
  }
  .sec.sec9 img {
    width: 58.6rem;
    max-width: 90%;
    margin-bottom: 6rem;
  }

  .sec.sec9 span.color-bg {
    height: 3.4rem;
    left: -1.1rem;
  }

  .sec.sec9 a {
    margin-top: 0;
    margin-bottom: 1.8rem;
  }
  .sec.sec10 {
    padding-top: 14.8rem;
    padding-bottom: 16rem;
  }
  .sec.sec10 .inner {
    max-width: 120rem;
    margin: 0 auto;
  }
  .sec.sec10 p.t1 {
    font-size: 4rem;
    line-height: 4.8rem;
    margin-bottom: 1rem;
  }
  .sec.sec10 p.t2 {
    font-size: 5.3rem;
    line-height: 4.8rem;
  }
  .sec.sec10 p.t3 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
  }
  .sec.sec10 span.color-bg {
    height: 3.4rem;
    left: -1.1rem;
  }

  .sec.sec10 .lecture-list {
    gap: 2rem;
    margin-top: 4.2rem;
    flex-direction: column;
  }
  .sec.sec10 .lecture-item {
    aspect-ratio: 352/216;
    aspect-ratio: unset;

    height: auto;
    border-radius: 2rem;
    padding-top: 4.7rem;
    padding-bottom: 4.7rem;
    max-width: 456px;
    width: 100%;
    place-self: center;
  }
  .sec.sec10 .lecture-item img {
    width: 21.5rem;
    margin: 0 auto;
  }
  .sec.sec10 .lecture-item a {
    width: 41rem;
    height: 8.3rem;
    border-radius: 0.8rem;
    font-size: 3.2rem;
    margin-top: -2.3rem;
    box-shadow: 0.5rem 0.5rem 1.6rem rgba(0, 0, 0, 0.1);
  }
  .sec.sec11 {
    padding-bottom: 3rem;
    padding-top: 15rem;
  }
  .sec.sec11 .inner {
    max-width: 120rem;
    margin: 0 auto;
  }
  .sec.sec11 .gradient-link-button {
    padding: 2.5rem 3.8rem;
    margin-bottom: 0;
  }

  .sec.sec11 .t1 {
    font-size: 4rem;
    margin-bottom: 5.3rem;
  }
  .sec.sec11 .t4 {
    font-size: 2rem;
    margin-top: 4rem;
    margin-bottom: 3.2rem;
  }
  .sec.sec11 .faq-list {
    gap: 0; /* 40px -> 4rem */
    border-bottom: 0.2rem solid #f0f0f0; /* 2px -> 0.2rem */
    padding-bottom: 2rem; /* 20px -> 2rem */
    padding: 6.1rem 5.8rem 3.8rem 4.8rem; /* 61px 58px 38px 48px -> rem */
    border-radius: 2.4rem; /* 24px -> 2.4rem */
    flex-direction: column;
    padding: 2rem;
  }
  .sec.sec11 .faq-list .line {
    width: 0.1rem; /* 1px -> 0.1rem */
    border-width: 0.1rem; /* 1px -> 0.1rem */
    background-image: linear-gradient(
      to bottom,
      #c0c0c0 0.9rem,
      /* 9px -> 0.9rem */ transparent 0.9rem /* 9px -> 0.9rem */
    );
    background-size: 0.1rem 1.8rem; /* 1px 18px -> 0.1rem 1.8rem */
  }
  .sec.sec11 .faq-column {
    min-width: 30rem; /* 300px -> 30rem */
  }
  .sec.sec11 .faq-item {
    margin-bottom: 5.1rem; /* 51px -> 5.1rem */
  }
  .sec.sec11 .faq-question {
    font-size: 3rem; /* 18px -> 1.8rem */
    margin: 0 0 1.2rem 0; /* 12px -> 1.2rem */
  }
  .sec.sec11 .faq-answer {
    font-size: 2.4rem; /* 18px -> 1.8rem */
    margin: 0;
    line-height: 4rem; /* 21px -> 2.1rem */
    margin-left: 1.8rem; /* 18px -> 1.8rem */
  }
  .sec.sec11 .button-wrapper {
    margin-top: 2rem; /* 20px -> 2rem */
  }
  .sec.sec11 .cta-button {
    font-size: 2.4rem; /* 24px -> 2.4rem */
    width: 17.8rem; /* 178px -> 17.8rem */
    height: 6.1rem; /* 61px -> 6.1rem */
    border-radius: 1.6rem; /* 16px -> 1.6rem */
  }

  /* =========================================
 * 미디어 쿼리 (response.css)
 * ========================================= */

  .table-container {
    overflow-x: auto;
  }
  .table-container table {
    min-width: 111.9rem; /* 1119px -> 111.9rem */
  }
  .sec.sec6 .top img.sample {
    left: 0;
    top: -1.6rem; /* -26px -> -2.6rem */
  }
  /* 아래 .t1, .t2는 이미 rem으로 변환되어
    html의 clamp()에 따라 자동으로 크기가 조절됩니다.
    (원본 코드 유지)
  */
  .sec.sec1 .text-box p.t1 {
    font-size: 2.6rem;
  }
  .sec.sec1 .text-box p.t2 {
    font-size: 5.4rem;
  }
}
@media (max-width: 1100px) {
  .heroimg1 {
    width: 18.4rem;
    position: absolute;
    left: 0;
    top: 4.1rem;
  }
  .heroimg2 {
    width: 29.3rem;
    position: absolute;
    left: 5.2rem;
    bottom: 1.9rem;
  }
  .heroimg3 {
    width: 18.4rem;
    position: absolute;
    right: 3.6rem;
    bottom: 1.9rem;
  }
  .heroimg4 {
    width: 18.7rem;
    position: absolute;
    right: 8.2rem;
    top: 0;
  }
}
@media (max-width: 900px) {
  /* 스크롤바를 포함하는 컨테이너 요소 */
  .table-container {
    overflow-x: scroll; /* 또는 scroll */
    -webkit-overflow-scrolling: touch; /* 모바일에서 부드러운 스크롤 */
  }

  /* 1. 스크롤바 전체 영역을 강제로 보이게 만듭니다. */
  .table-container::-webkit-scrollbar {
    /* display: block; */ /* 일부 브라우저에서 필요할 수 있으나, 크기 지정만으로도 동작하는 경우가 많습니다. */
    width: 8px; /* 스크롤바의 너비 */
    height: 8px; /* 가로 스크롤바의 높이 */
  }

  /* 2. 스크롤바 트랙(바탕) 스타일 */
  .table-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1); /* 트랙의 배경색 */
  }

  /* 3. 스크롤바 핸들(움직이는 막대) 스타일 */
  .table-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.4); /* 핸들의 배경색 */
    border-radius: 4px; /* 핸들의 모서리 둥글게 */
  }

  /* (선택) 핸들에 호버 시 스타일 (모바일에선 의미 없지만 PC 호환용) */
  .table-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.6);
  }
}
@media (max-width: 768px) {
  html {
    /* 1200px일 때 10px(1rem), 393px일 때 6.4px로 root 폰트 크기를 동적 설정 */
    font-size: clamp(6.4px, 0.8vw + 2.9px, 10px);
  }
  .sec1 {
    width: 100%;
    aspect-ratio: 393/623;
    background-image: url("https://landit.dothome.co.kr/landingzone/freecourse/img/heroback_mo.png");
  }
  .sec.sec1 .text-box p.t4 img {
  }
  .heroimg1 {
    display: none;
  }
  .heroimg2 {
    display: none;
  }
  .heroimg3 {
    display: none;
  }
  .heroimg4 {
    display: none;
  }
  .sec.sec1 {
    align-items: unset;
  }
  .sec.sec1 .text-box {
    margin-top: 44%;
  }
  .sec.sec6 .btn-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .sub-row {
    font-size: 2.2rem;
    line-height: 2.5;
  }
  .sec.sec7 .story-doc {
    font-size: 2.2rem;
  }
  .sec.sec7 .story-doc {
    padding: 6rem 4rem;
  }

  .sec.sec2 .card-list .card-item {
    border-radius: 1.6rem;
    border: 0.1rem solid #cacaca;
    padding: 4.8rem;
    padding-right: 7rem;
    gap: 5.2rem;
    flex-direction: column;
    padding: 0;
  }
  .sec.sec2 .card-list .card-item:nth-child(2) .img-box {
    order: 1;
  }
  .sec.sec2 .card-list .card-item:nth-child(4) .img-box {
    order: 1;
  }

  .sec.sec2 .card-list .card-item .img-box {
    /* max-width: 40.4rem; */
    width: 100%;
    max-width: 100%;
    aspect-ratio: 378/280;
    height: auto;
    border-radius: 1.6rem;
    border-radius: 1.6rem 1.6rem 0 0;
    order: 1;
  }
  .sec.sec2 .card-list .card-item .text-box {
    width: 100%;
    max-width: 100%;
    order: 2;
  }
  .sec.sec2 .card-list .card-item .text-box .x-num {
    width: 4.4rem;
    height: 4.4rem;
    font-size: 2.4rem;
    border-radius: 0.7rem;
    place-self: center;
  }
  .sec.sec10 .lecture-item {
    max-width: unset;
    place-self: unset;
  }
  .sec.sec11 .faq-item {
    margin-bottom: 1rem;
  }
  .sec.sec11 .faq-question {
    font-size: 2rem;
  }
  .sec.sec11 .faq-answer {
    font-size: 1.6rem;
  }
  .sec.sec11 .gradient-link-button {
    font-size: 2.7rem;
  }
  .sec.sec7 .story-doc span.color-bg .cb::before {
    bottom: 0.5rem;
    height: 40%;
  }
  .sec.sec9 .t1,
  .sec.sec10 p.t2 {
    white-space: nowrap;
    font-size: 4.7rem;
  }
  /*  */
  .x-num {
    display: inline-block;
    vertical-align: super;
    margin-left: 16px;
    margin-right: 5px;
  }
  .sec.sec2 .card-list .card-item .text-box .t3 {
    display: inline-block;
    font-size: 3.6rem;
    line-height: 1;
  }
  .sec.sec2 .card-list .card-item .text-box .t3 span {
    position: relative;
  }
}
@media (max-width: 485px) {
  .how-item-last img {
    width: 100%;
    height: auto;
  }
  .sec.sec9 img {
    width: 100%;
  }
  .sec.sec6 .top img.sample {
    width: 12.8rem;
    height: 12.8rem;
  }
  .sec.sec6 .btn-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .sec.sec5 .inner .how-list .how-item,
  .how-item-last {
    max-width: 100%;
    width: 100%;
  }
  .sec.sec2 .card-list .card-item {
    padding: 0;
  }
  .sec.sec2 .card-list .card-item .text-box .t4 {
    padding: 2rem;
  }
  .sec.sec2 .card-list .card-item .text-box .t4 br {
    display: none;
  }
  div.sec.sec1 div.inner,
  div.sec.sec2 div.inner,
  div.sec.sec3 div.inner,
  div.sec.sec4 div.inner,
  div.sec.sec5 div.inner,
  div.sec.sec6 div.inner,
  div.sec.sec7 div.inner,
  div.sec.sec8 div.inner,
  div.sec.sec9 div.inner,
  div.sec.sec10 div.inner,
  div.sec.sec11 div.inner {
    padding: 0 5rem;
  }
  .sec.sec9 .t1,
  .sec.sec10 p.t2 {
    font-size: 4rem;
  }
}

@media (max-width: 400px) {
  html {
    font-size: clamp(4.4px, 0.7vw + 2.9px, 10px);
  }
}
