@charset "utf-8";

/* 포토샵 css */
/* style_ps.css - 무한 반복 재생 및 리스트 1단 v19 (Photo Version) */

/* 1. 전체 울타리 */
#dy-photo-wrapper {
  max-width: 730px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #111;
  background-color: #ffffff;
  text-align: left;
  overflow: hidden;
}

/* 2. 초기화 */
#dy-photo-wrapper * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
#dy-photo-wrapper img {
  max-width: 100%;
  display: block;
  border: 0;
}
#dy-photo-wrapper a {
  text-decoration: none;
  color: inherit;
}
#dy-photo-wrapper .inner {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

/* 3. 공통 섹션 */
#dy-photo-wrapper .section {
  padding: 80px 0;
}
#dy-photo-wrapper .section-title {
  font-size: 29px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -1px;
}
#dy-photo-wrapper .section-sub {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

/* 4. HERO 섹션 */
#dy-photo-wrapper .hero {
  background: #101319;
  color: #fff;
  padding: 80px 0 60px;
  margin-top: 10px;
}
#dy-photo-wrapper .hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
#dy-photo-wrapper .hero-title {
  font-size: 33px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
  word-break: keep-all;
}
#dy-photo-wrapper .hero-title span.highlight {
  color: #00e6ac;
  font-size: 33px;
  display: inline;
}
#dy-photo-wrapper .hero-desc {
  font-size: 15px;
  color: #d5d5d5;
  margin-bottom: 0;
  word-break: keep-all;
}
#dy-photo-wrapper .tag {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #f5f5f5;
  margin-right: 6px;
}
#dy-photo-wrapper .hero-right {
  position: relative;
}
#dy-photo-wrapper .hero-image {
  border-radius: 26px;
  overflow: hidden;
  background: #262b38;
  height: 320px;
}
#dy-photo-wrapper .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#dy-photo-wrapper .hero-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(0,0,0,0.6);
  font-size: 11px;
  color: #f5f5f5;
}

/* 5. WHAT IS PS 섹션 */
#dy-photo-wrapper .what {
  background: #fff;
}
#dy-photo-wrapper .what-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: flex-start;
}
#dy-photo-wrapper .what-title {
  font-size: 25px; 
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.4;
  word-break: keep-all;
  color: #111;
}
#dy-photo-wrapper .what-title span.what-highlight {
  color: #00b894;
  font-size: inherit;
}
#dy-photo-wrapper .what-text {
  font-size: 14px;
  color: #555;
  word-break: keep-all;
}
#dy-photo-wrapper .what-text p + p {
  margin-top: 10px;
}
#dy-photo-wrapper .what-list {
  margin-top: 22px;
  list-style: none;
  font-size: 13px;
  color: #444;
}
#dy-photo-wrapper .what-list li {
  margin-bottom: 6px;
}
#dy-photo-wrapper .what-list li span {
  font-weight: 600;
  margin-right: 4px;
  color: #222;
}
#dy-photo-wrapper .what-img {
  border-radius: 12px;
  margin-bottom: 10px;
}

/* 6. WHO & CURRICULUM */
#dy-photo-wrapper .who { background: #f9fafb; }
#dy-photo-wrapper .who-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
#dy-photo-wrapper .who-card { background: #fff; border-radius: 20px; padding: 18px 18px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid #f0f0f0; }
#dy-photo-wrapper .who-tag { display: inline-block; font-size: 11px; padding: 4px 9px; border-radius: 999px; background: #e8f6f2; color: #00a082; margin-bottom: 10px; font-weight: 600; }
#dy-photo-wrapper .who-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
#dy-photo-wrapper .who-text { font-size: 13px; color: #555; word-break: keep-all; }

#dy-photo-wrapper .curriculum { background: #fff; }
#dy-photo-wrapper .step-wrapper { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: stretch; }
#dy-photo-wrapper .timeline { position: relative; padding-left: 24px; border-left: 2px solid #e0e0e0; }
#dy-photo-wrapper .step { margin-bottom: 22px; position: relative; }
#dy-photo-wrapper .step:last-child { margin-bottom: 0; }
#dy-photo-wrapper .step-bullet { position: absolute; left: -12px; top: 4px; width: 12px; height: 12px; border-radius: 999px; background: #00b894; border: 3px solid #e8fbf6; }
#dy-photo-wrapper .step-label { font-size: 12px; font-weight: 700; color: #00b894; margin-bottom: 3px; }
#dy-photo-wrapper .step-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }

/* 커리큘럼 리스트 1단 통일 (PC/모바일 동일) */
#dy-photo-wrapper .step-desc ul {
  display: grid;
  grid-template-columns: 1fr; /* 무조건 한 줄 */
  gap: 4px;
  margin-top: 6px;
  padding-left: 0;
  list-style: none;
}

#dy-photo-wrapper .step-desc li {
  font-size: 13px;
  color: #555;
  margin-bottom: 2px;
  position: relative;
  word-break: keep-all;
}

#dy-photo-wrapper .curriculum-image-only { width: 100%; height: auto; display: block; border-radius: 24px; }

/* 8. 반응형 */
@media (max-width: 760px) {
  #dy-photo-wrapper .hero-inner,
  #dy-photo-wrapper .what-inner,
  #dy-photo-wrapper .step-wrapper { grid-template-columns: 1fr; }
  
  #dy-photo-wrapper .hero { padding-top: 60px; }
  #dy-photo-wrapper .hero-title { font-size: 28px; }
  #dy-photo-wrapper .hero-title span.highlight { font-size: 28px; }
  #dy-photo-wrapper .what-title { font-size: 24px; }
  #dy-photo-wrapper .hero-image { height: auto; }
}
@media (max-width: 480px) {
  #dy-photo-wrapper .section { padding: 60px 0; }
  #dy-photo-wrapper .section-title { font-size: 22px; }
}

/* ★★★ 애니메이션 (기본: 숨김 -> visible: 보임) ★★★ */
.dy-up, .dy-left, .dy-right, .dy-zoom {
  opacity: 0; /* 기본적으로 안 보임 */
  transition: all 0.8s ease-out; /* 0.8초 동안 움직임 */
}

/* 대기 상태 위치 설정 */
.dy-up { transform: translateY(50px); }
.dy-left { transform: translateX(-50px); }
.dy-right { transform: translateX(50px); }
.dy-zoom { transform: scale(0.8); }

/* visible 클래스가 붙으면 나타남 (원위치) */
.dy-up.visible, .dy-left.visible, .dy-right.visible {
  opacity: 1;
  transform: translate(0);
}
.dy-zoom.visible {
  opacity: 1;
  transform: scale(1);
}



/* 일러스트 css */

/* ========================================================
   [독립형 CSS] 일러스트레이터 실무 과정 (ID: dy-ill-wrapper)
   파일명: style_ill.css
   수정사항: .vid-web-wrap -> #dy-ill-wrapper 로 변경하여 통합 관리
   ======================================================== */

/* 1. 격리된 레이아웃 설정 (전체 페이지 영향 X) */
#dy-ill-wrapper {
  max-width: 730px; /* 가로폭 730px 제한 */
  width: 100%;
  margin: 0 auto;
  overflow: hidden; /* 내부 요소 튀어나옴 방지 */
  background-color: #ffffff;
  color: #111;
  font-family: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  box-sizing: border-box; /* 박스 크기 계산 방식 통일 */
}

/* #dy-ill-wrapper 안쪽에 있는 모든 요소에만 초기화 적용 */
#dy-ill-wrapper * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#dy-ill-wrapper img {
  display: block;
  max-width: 100%;
  border: 0;
}

#dy-ill-wrapper ul {
  list-style: none;
}


/* ================= HERO 섹션 ================= */
#dy-ill-wrapper .hero {
  background: #0f1115;
  color: #f5f5f5;
  padding: 72px 30px 80px;
}

#dy-ill-wrapper .hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

#dy-ill-wrapper .hero-text {
  flex: 1;
}

#dy-ill-wrapper .hero-tag {
  display: inline-block;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #1f232b;
  color: #cfd3e0;
  margin-bottom: 16px;
}

#dy-ill-wrapper .hero-title {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 800;
  margin-bottom: 18px;
  color: #f5f5f5; /* 상속 문제 방지용 재선언 */
}

#dy-ill-wrapper .hero-title span {
  color: #21df8f;       /* 1. 형광 초록색 */
  font-size: 22px;      /* 2. 글자 크기를 작게 설정 (주변은 30px) */
  font-weight: 800;     /* 3. 글자 굵게 */
  display: block;       /* 4. 한 줄을 혼자 차지하게 (줄바꿈 효과) */
  margin-top: 10px;     /* 5. 위쪽 간격 */
  margin-bottom: 5px;   /* 6. 아래쪽 간격 */

  /* ▼ 간격 수정 부분 ▼ */
  margin-top: 5px;      /* 위쪽 간격 (10px -> 5px로 축소) */
  margin-bottom: -5px;  /* 아래쪽 간격 (0보다 더 줄여서 위로 당김) */
  line-height: 0.5;     /* 줄간격을 좁혀서 붕 뜨지 않게 함 */
}

#dy-ill-wrapper .hero-desc {
  font-size: 14px;
  color: #c3c7d5;
  margin-bottom: 6px;
}

#dy-ill-wrapper .hero-desc + .hero-desc {
  margin-top: 4px;
}

#dy-ill-wrapper .hero-media {
  flex: 0 0 40%;
  max-width: 300px;
}

#dy-ill-wrapper .image-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}

#dy-ill-wrapper .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ================= ABOUT 섹션 ================= */
#dy-ill-wrapper .about {
  background: #ffffff;
  padding: 80px 30px 90px;
}

#dy-ill-wrapper .about-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

#dy-ill-wrapper .about-text {
  flex: 1;
}

#dy-ill-wrapper .about-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
  color: #111;
}

#dy-ill-wrapper .about-title span {
  color: #01b89a;
  font-size: 26px; /* 부모와 동일한 크기로 명시적 지정 */
}

#dy-ill-wrapper .about-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

#dy-ill-wrapper .about-list {
  margin-top: 12px;
  font-size: 14px;
  color: #333;
}

#dy-ill-wrapper .about-list li + li {
  margin-top: 4px;
}

#dy-ill-wrapper .about-media {
  flex: 0 0 40%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#dy-ill-wrapper .about-media .image-card {
  aspect-ratio: 2 / 1;
  height: auto; 
  border-radius: 20px;
}


/* ================= 공통 아래 섹션 ================= */
#dy-ill-wrapper .section-extra {
  padding: 100px 30px 120px;
  background: #f6f7f8;
}

#dy-ill-wrapper .section-extra.section-recommend { background: #f7f9ff; }
#dy-ill-wrapper .section-extra.section-curriculum { background: #ffffff; }
#dy-ill-wrapper .section-extra.section-works { background: #f5fbf9; }

#dy-ill-wrapper .section-inner {
  width: 100%;
  margin: 0 auto;
}

#dy-ill-wrapper .section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
  color: #111;
}

#dy-ill-wrapper .section-sub {
  font-size: 16px;
  color: #555;
  margin-bottom: 28px;
}


/* 추천 카드 */
#dy-ill-wrapper .card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#dy-ill-wrapper .card {
  padding: 20px;
  background: #fbfcff;
  border-radius: 16px;
  border: 1px solid #e8edf5;
}

#dy-ill-wrapper .card-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  background: #ecf4ff;
  color: #4a7bd6;
  border-radius: 999px;
  margin-bottom: 8px;
  font-weight: 600;
}

#dy-ill-wrapper .card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111;
}

#dy-ill-wrapper .card-text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}


/* ================= 커리큘럼 ================= */
#dy-ill-wrapper .curriculum-wrap {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

#dy-ill-wrapper .curriculum-left {
  flex: 1.2;
}

#dy-ill-wrapper .curriculum-right {
  flex: 0 0 40%;
}

#dy-ill-wrapper .curriculum-img {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  border-radius: 26px;
  overflow: hidden;
  background: #ddd;
}

#dy-ill-wrapper .curriculum-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#dy-ill-wrapper .step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  color: #333;
}

#dy-ill-wrapper .step-title {
  font-size: 13px;
  font-weight: 700;
  color: #01b89a;
}

#dy-ill-wrapper .step-main {
  font-weight: 600;
  margin-bottom: 4px;
}

#dy-ill-wrapper .step-desc {
  font-size: 13px;
  color: #555;
}


/* ================= 갤러리 ================= */
#dy-ill-wrapper .thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  row-gap: 30px;
  margin-top: 32px;
}

#dy-ill-wrapper .thumb {
  font-size: 13px;
  color: #333;
}

#dy-ill-wrapper .thumb .thumb-card {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #f5f5f5;
}

#dy-ill-wrapper .thumb .thumb-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

#dy-ill-wrapper .thumb-title {
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 14px;
  text-align: center;
  color: #111;
}

#dy-ill-wrapper .thumb-text {
  font-size: 12px;
  color: #666;
  text-align: center;
}


/* ================= 애니메이션 (통합용) ================= */
#dy-ill-wrapper .dy-up, 
#dy-ill-wrapper .dy-down, 
#dy-ill-wrapper .dy-left, 
#dy-ill-wrapper .dy-right, 
#dy-ill-wrapper .dy-zoom {
  opacity: 0;
  transition: all 0.8s ease-out;
}

/* 1. 위로 */
#dy-ill-wrapper .dy-up { transform: translateY(40px); }
#dy-ill-wrapper .dy-up.visible, #dy-ill-wrapper .dy-up.is-active { opacity: 1; transform: translateY(0); }

/* 2. 아래로 */
#dy-ill-wrapper .dy-down { transform: translateY(-40px); }
#dy-ill-wrapper .dy-down.visible, #dy-ill-wrapper .dy-down.is-active { opacity: 1; transform: translateY(0); }

/* 3. 왼쪽 */
#dy-ill-wrapper .dy-left { transform: translateX(-40px); }
#dy-ill-wrapper .dy-left.visible, #dy-ill-wrapper .dy-left.is-active { opacity: 1; transform: translateX(0); }

/* 4. 오른쪽 */
#dy-ill-wrapper .dy-right { transform: translateX(40px); }
#dy-ill-wrapper .dy-right.visible, #dy-ill-wrapper .dy-right.is-active { opacity: 1; transform: translateX(0); }

/* 5. 확대 */
#dy-ill-wrapper .dy-zoom { transform: scale(0.9); }
#dy-ill-wrapper .dy-zoom.visible, #dy-ill-wrapper .dy-zoom.is-active { opacity: 1; transform: scale(1); }


/* ================= 반응형 (모바일) ================= */
@media (max-width: 700px) {
  #dy-ill-wrapper .hero-inner,
  #dy-ill-wrapper .about-inner,
  #dy-ill-wrapper .curriculum-wrap {
    flex-direction: column;
    gap: 32px;
  }

  #dy-ill-wrapper .hero-media,
  #dy-ill-wrapper .about-media,
  #dy-ill-wrapper .curriculum-right {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  #dy-ill-wrapper .image-card, 
  #dy-ill-wrapper .curriculum-img {
    height: auto;
    aspect-ratio: auto;
  }
  
  #dy-ill-wrapper .curriculum-img img,
  #dy-ill-wrapper .thumb .thumb-card img {
    height: auto;
  }

  #dy-ill-wrapper .thumb-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
}



/* 인디자인 css */

/* =========================================================
   [중요] 격리(Scoping) 처리 - InDesign Version
   모든 스타일 앞에 #dy-indesign-wrapper를 붙여서
   홈페이지의 다른 부분(메뉴, 푸터 등)을 건드리지 않게 함
   ========================================================= */

/* 1. 이 영역 안에서만 박스 크기 계산 방식 변경 */
#dy-indesign-wrapper {
  /* 기존 홈페이지 폰트 상속 방지 및 재설정 */
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
  line-height: 1.6;
  text-align: left; /* 혹시 중앙 정렬된 사이트일 경우 대비 */
  width: 100%;
}

#dy-indesign-wrapper * {
  box-sizing: border-box; /* 이 안의 요소들만 box-sizing 적용 */
}

#dy-indesign-wrapper img {
  display: block;
  max-width: 100%;
  margin: 0; /* 글로벌 스타일 간섭 방지 */
}

/* 2. 페이지 너비 설정 */
#dy-indesign-wrapper .page {
  max-width: 730px;
  margin: 0 auto;
  position: relative;
}

/* ================= HERO ================= */
#dy-indesign-wrapper .hero {
  background: #0f1115;
  color: #f5f5f5;
  padding: 72px 20px 80px;
}

#dy-indesign-wrapper .hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap; /* 줄바꿈 방지 */
  gap: 24px;
}

#dy-indesign-wrapper .hero-text {
  width: 48%; /* 여유 있게 잡음 */
  flex-shrink: 0;
}

#dy-indesign-wrapper .hero-tag {
  display: inline-block;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #1f232b;
  color: #cfd3e0;
  margin-bottom: 16px;
  line-height: normal; /* 상속 방지 */
}

#dy-indesign-wrapper .hero-title {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 800;
  margin-bottom: 18px;
  word-break: keep-all;
  margin-top: 0; /* 상속 방지 */
}

#dy-indesign-wrapper .hero-title span {
  color: #21df8f;
}

#dy-indesign-wrapper .hero-desc {
  font-size: 14px;
  color: #c3c7d5;
  margin-bottom: 6px;
  word-break: keep-all;
  margin-top: 0;
}

#dy-indesign-wrapper .hero-media {
  width: 48%;
  flex-shrink: 0;
}

#dy-indesign-wrapper .image-card {
  width: 100%;
  height: 320px;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  margin: 0; /* 상속 방지 */
}

#dy-indesign-wrapper .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= ABOUT ================= */
#dy-indesign-wrapper .about {
  background: #ffffff;
  padding: 80px 20px 90px;
}

#dy-indesign-wrapper .about-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 30px;
}

#dy-indesign-wrapper .about-text {
  width: 53%;
  flex-shrink: 0;
}

#dy-indesign-wrapper .about-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
  margin-top: 0;
  word-break: keep-all;
  color: #111;
}

#dy-indesign-wrapper .about-title span {
  color: #01b89a;
  font-size: 24px; /* 부모와 동일한 크기로 명시적 지정 */
}

#dy-indesign-wrapper .about-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
  word-break: keep-all;
}

#dy-indesign-wrapper .about-list {
  margin-top: 12px;
  font-size: 14px;
  color: #333;
  list-style: none; /* 점 제거 */
  padding: 0;
  margin-left: 0;
}

#dy-indesign-wrapper .about-list li {
  margin: 0;
  padding: 0;
}

#dy-indesign-wrapper .about-list li + li {
  margin-top: 4px;
}

#dy-indesign-wrapper .about-media {
  width: 42%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#dy-indesign-wrapper .about-media .image-card {
  height: 150px;
  border-radius: 22px;
}

/* ================= 공통 아래 섹션 ================= */
#dy-indesign-wrapper .section-extra {
  padding: 120px 20px 140px;
  background: #f6f7f8;
}

#dy-indesign-wrapper .section-extra.section-recommend {
  background: #f7f9ff;
}

#dy-indesign-wrapper .section-extra.section-curriculum {
  background: #ffffff;
}

#dy-indesign-wrapper .section-extra.section-works {
  background: #f5fbf9;
}

#dy-indesign-wrapper .section-inner {
  max-width: 730px;
  margin: 0 auto;
}

#dy-indesign-wrapper .section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  margin-top: 0;
  line-height: 1.4;
  word-break: keep-all;
  color: #111;
}

#dy-indesign-wrapper .section-title-curriculum {
  font-size: 22px;
  line-height: 1.35;
}

#dy-indesign-wrapper .section-sub {
  font-size: 16px;
  color: #555;
  margin-bottom: 28px;
  word-break: keep-all;
}

/* 추천 카드 */
#dy-indesign-wrapper .card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#dy-indesign-wrapper .card {
  padding: 18px;
  background: #fbfcff;
  border-radius: 16px;
  border: 1px solid #e8edf5;
}

#dy-indesign-wrapper .card-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  background: #ecf4ff;
  color: #4a7bd6;
  border-radius: 999px;
  margin-bottom: 8px;
  font-weight: 600;
  line-height: normal;
}

#dy-indesign-wrapper .card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  margin-top: 0;
  color: #111;
}

#dy-indesign-wrapper .card-text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  word-break: keep-all;
  margin: 0;
}

/* 커리큘럼 섹션 좌우 */
#dy-indesign-wrapper .curriculum-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 30px;
}

#dy-indesign-wrapper .curriculum-left {
  width: 53%;
  flex-shrink: 0;
}

#dy-indesign-wrapper .curriculum-right {
  width: 42%;
  flex-shrink: 0;
}

#dy-indesign-wrapper .curriculum-img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #ddd;
  min-height: 300px;
}

#dy-indesign-wrapper .step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  color: #333;
  padding: 0;
  margin: 0;
}

#dy-indesign-wrapper .step-title {
  font-size: 13px;
  font-weight: 700;
  color: #01b89a;
  margin-bottom: 0;
}

#dy-indesign-wrapper .step-main {
  font-weight: 600;
  margin-bottom: 4px;
  color: #111;
}

#dy-indesign-wrapper .step-desc {
  font-size: 13px;
  color: #555;
  word-break: keep-all;
}

/* ================= “어디까지 해보셨나요” ================= */
#dy-indesign-wrapper .thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 32px;
  margin-top: 32px;
}

#dy-indesign-wrapper .thumb-card {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f5;
  margin: 0;
}

#dy-indesign-wrapper .thumb-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

#dy-indesign-wrapper .thumb-title {
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 14px;
  color: #111;
}

/* =========================================================
   [반응형] 768px 이하(모바일)에서만 세로 배치
   ========================================================= */
@media (max-width: 768px) {
  
  #dy-indesign-wrapper .hero, 
  #dy-indesign-wrapper .about { 
    padding: 48px 20px 60px; 
  }
  
  #dy-indesign-wrapper .hero-inner, 
  #dy-indesign-wrapper .about-inner, 
  #dy-indesign-wrapper .curriculum-wrap { 
    flex-direction: column; 
    gap: 32px;
  }

  #dy-indesign-wrapper .hero-text, #dy-indesign-wrapper .hero-media, 
  #dy-indesign-wrapper .about-text, #dy-indesign-wrapper .about-media, 
  #dy-indesign-wrapper .curriculum-left, #dy-indesign-wrapper .curriculum-right { 
    width: 100%; 
    max-width: 100%;
  }

  #dy-indesign-wrapper .image-card, 
  #dy-indesign-wrapper .curriculum-img { 
    height: auto; 
    min-height: 220px; 
  }
  
  #dy-indesign-wrapper .section-extra { 
    padding: 60px 20px 80px; 
  }
  
  #dy-indesign-wrapper .thumb-grid { 
    grid-template-columns: 1fr; 
  }
}


/* =========================================================
   애니메이션용 CSS (스크롤 연동)
   ========================================================= */

#dy-indesign-wrapper .dy-up,
#dy-indesign-wrapper .dy-down,
#dy-indesign-wrapper .dy-left,
#dy-indesign-wrapper .dy-right,
#dy-indesign-wrapper .dy-zoom {
  opacity: 0; 
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

#dy-indesign-wrapper .dy-up    { transform: translateY(40px); }
#dy-indesign-wrapper .dy-down  { transform: translateY(-40px); }
#dy-indesign-wrapper .dy-left  { transform: translateX(40px); }
#dy-indesign-wrapper .dy-right { transform: translateX(-40px); }
#dy-indesign-wrapper .dy-zoom  { transform: scale(0.92); }

#dy-indesign-wrapper .dy-up.is-active,
#dy-indesign-wrapper .dy-down.is-active,
#dy-indesign-wrapper .dy-left.is-active,
#dy-indesign-wrapper .dy-right.is-active,
#dy-indesign-wrapper .dy-zoom.is-active {
  opacity: 1;
  transform: translate(0) scale(1);
}

#dy-indesign-wrapper .delay-1 { transition-delay: 0.1s; }
#dy-indesign-wrapper .delay-2 { transition-delay: 0.2s; }
#dy-indesign-wrapper .delay-3 { transition-delay: 0.3s; }
#dy-indesign-wrapper .delay-4 { transition-delay: 0.4s; }



/* 프리미어 css */

/* =========================================================
   [격리형 CSS] 프리미어 프로 페이지 전용 (최종 수정본)
   수정 핵심: 
   1. 전체 래퍼의 배경색(흰색)을 제거하여 상단 메뉴 가림 방지
   2. padding 대신 margin을 사용하여 물리적으로 위치를 내림
   ========================================================= */

/* 1. 최상위 래퍼 격리 설정 */
#dy-premier-wrapper {
  max-width: 730px;
  width: 100%;
  
  /* ▼ [중요] 상단 탭과 겹치지 않도록 바깥 여백으로 밀어냄 */
  margin: 50px auto 0 auto; 
  
  /* ▼ [중요] 배경색 삭제 (상단 메뉴 가림 방지) */
  background-color: transparent; 
  
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
  line-height: 1.6;
  text-align: left;
  
  /* z-index 삭제 (메뉴 위로 올라오는 현상 방지) */
  position: relative; 
}

/* 2. 내부 요소 초기화 (Reset) */
#dy-premier-wrapper * {
  box-sizing: border-box;
}

#dy-premier-wrapper p,
#dy-premier-wrapper h1, 
#dy-premier-wrapper h2, 
#dy-premier-wrapper h3, 
#dy-premier-wrapper ul, 
#dy-premier-wrapper li,
#dy-premier-wrapper div {
  margin: 0;
  padding: 0;
}

#dy-premier-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

#dy-premier-wrapper ul {
  list-style: none;
}

/* ================= HERO (첫 번째 섹션) ================= */
#dy-premier-wrapper .hero {
  background: #0f1115; /* Hero 섹션만 검정 배경 유지 */
  color: #f5f5f5;
  padding: 72px 20px 80px;
  
  /* 래퍼에서 이미 80px을 내렸으므로 여기서는 추가 여백 불필요 */
  margin-top: 0; 
  border-radius: 0px; /* (선택사항) 상단 모서리를 살짝 둥글게 하여 분리감 줌 */
}

#dy-premier-wrapper .hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#dy-premier-wrapper .hero-text {
  flex: 1 1 50%;
  max-width: 50%;
}

#dy-premier-wrapper .hero-tag {
  display: inline-block;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #1f232b;
  color: #cfd3e0;
  margin-bottom: 16px;
  line-height: 1.2;
}

#dy-premier-wrapper .hero-title {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 800;
  margin-bottom: 18px;
  color: #fff;
}

#dy-premier-wrapper .hero-title span {
  color: #21df8f;
  font-size: 30px;
}

#dy-premier-wrapper .hero-desc {
  font-size: 14px;
  color: #c3c7d5;
  margin-bottom: 6px;
}

#dy-premier-wrapper .hero-media {
  flex: 1 1 50%;
  max-width: 50%;
}

#dy-premier-wrapper .image-card {
  width: 100%;
  height: 320px;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}

#dy-premier-wrapper .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= ABOUT ================= */
#dy-premier-wrapper .about {
  background: #ffffff; /* 흰색 배경은 섹션별로 지정 */
  padding: 80px 20px 90px;
}

#dy-premier-wrapper .about-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

#dy-premier-wrapper .about-text {
  flex: 1 1 55%;
}

#dy-premier-wrapper .about-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
  color: #111;
}

#dy-premier-wrapper .about-title span {
  color: #01b89a;
  font-size: 24px;
}

#dy-premier-wrapper .about-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

#dy-premier-wrapper .about-list {
  margin-top: 12px;
  font-size: 14px;
  color: #333;
}

#dy-premier-wrapper .about-list li + li {
  margin-top: 4px;
}

#dy-premier-wrapper .about-media {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#dy-premier-wrapper .about-media .image-card {
  height: 150px;
  border-radius: 22px;
}

/* ================= 공통 아래 섹션 ================= */
#dy-premier-wrapper .section-extra {
  padding: 120px 20px 140px;
  background: #f6f7f8;
}

#dy-premier-wrapper .section-extra.section-recommend {
  background: #f7f9ff;
}

#dy-premier-wrapper .section-extra.section-curriculum {
  background: #ffffff;
}

#dy-premier-wrapper .section-extra.section-works {
  background: #f5fbf9;
}

#dy-premier-wrapper .section-inner {
  max-width: 730px;
  margin: 0 auto;
}

#dy-premier-wrapper .section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
  color: #111;
}

#dy-premier-wrapper .section-title-curriculum {
  font-size: 22px;
  line-height: 1.35;
}

#dy-premier-wrapper .section-sub {
  font-size: 16px;
  color: #555;
  margin-bottom: 28px;
}

/* 추천 카드 */
#dy-premier-wrapper .card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#dy-premier-wrapper .card {
  padding: 18px;
  background: #fbfcff;
  border-radius: 16px;
  border: 1px solid #e8edf5;
}

#dy-premier-wrapper .card-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  background: #ecf4ff;
  color: #4a7bd6;
  border-radius: 999px;
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.2;
}

#dy-premier-wrapper .card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111;
}

#dy-premier-wrapper .card-text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

/* 커리큘럼 섹션 좌우 */
#dy-premier-wrapper .curriculum-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

#dy-premier-wrapper .curriculum-left {
  flex: 1 1 55%;
}

#dy-premier-wrapper .curriculum-right {
  flex: 1 1 45%;
}

#dy-premier-wrapper .curriculum-img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #ddd;
}

#dy-premier-wrapper .step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  color: #333;
}

#dy-premier-wrapper .step-title {
  font-size: 13px;
  font-weight: 700;
  color: #01b89a;
}

#dy-premier-wrapper .step-main {
  font-weight: 600;
  margin-bottom: 4px;
  color: #111;
}

#dy-premier-wrapper .step-desc {
  font-size: 13px;
  color: #555;
}

/* ================= “어디까지 해보셨나요” ================= */
#dy-premier-wrapper .thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 32px;
  margin-top: 32px;
}

#dy-premier-wrapper .thumb-card {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f5;
}

#dy-premier-wrapper .thumb-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

#dy-premier-wrapper .thumb-title {
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 14px;
  color: #111;
}

/* ================= 반응형 ================= */
@media (max-width: 900px) {
  #dy-premier-wrapper .hero, 
  #dy-premier-wrapper .about { padding: 48px 16px 60px; }
  
  #dy-premier-wrapper .hero-inner, 
  #dy-premier-wrapper .about-inner { flex-direction: column; gap: 24px; }
  
  #dy-premier-wrapper .hero-text, 
  #dy-premier-wrapper .hero-media, 
  #dy-premier-wrapper .about-text, 
  #dy-premier-wrapper .about-media { max-width: 100%; flex: auto; }
  
  #dy-premier-wrapper .image-card, 
  #dy-premier-wrapper .about-media .image-card, 
  #dy-premier-wrapper .curriculum-img { height: auto; }
  
  #dy-premier-wrapper .section-extra { padding: 60px 16px 80px; }
  
  #dy-premier-wrapper .curriculum-wrap { flex-direction: column; }
  
  #dy-premier-wrapper .thumb-grid { grid-template-columns: 1fr; }
}

/* ================= 애니메이션 (JS 연동) ================= */
#dy-premier-wrapper .dy-anim-target {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

#dy-premier-wrapper .dy-anim-target.is-active {
  opacity: 1;
  transform: translateY(0);
}




/* 애프터이펙트 css */

/* =========================================================
   [중요] 기존 사이트 영향 방지를 위해 #dy-effect-wrapper 안에서만 스타일 적용
   ========================================================= */

/* 이 영역 안에서만 box-sizing 적용 */
#dy-effect-wrapper * {
  box-sizing: border-box;
}

/* body 태그 스타일 대신 래퍼 자체에 폰트 스타일 적용 */
#dy-effect-wrapper {
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.6;
  width: 100%;


    /* ▼ [중요] 상단 탭과 겹치지 않도록 바깥 여백으로 밀어냄 */
  margin: 50px auto 0 auto; 
  
  
}



/* 이미지 리셋 */
#dy-effect-wrapper img {
  display: block;
  max-width: 100%;
}

/* 전체 페이지 너비 730px */
#dy-effect-wrapper .page {
  max-width: 730px;
  margin: 0 auto;
}

/* ================= HERO ================= */
#dy-effect-wrapper .hero {
  background: #0f1115;
  color: #f5f5f5;
  padding: 72px 20px 80px;
}

#dy-effect-wrapper .hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#dy-effect-wrapper .hero-text {
  flex: 1 1 50%;
  max-width: 50%;
}

#dy-effect-wrapper .hero-tag {
  display: inline-block;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #1f232b;
  color: #cfd3e0;
  margin-bottom: 16px;
}

#dy-effect-wrapper .hero-title {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 800;
  margin-bottom: 18px;
  color: #f5f5f5;
}

#dy-effect-wrapper .hero-title span {
  color: #21df8f;
  font-size: 30px;
}

#dy-effect-wrapper .hero-desc {
  font-size: 14px;
  color: #c3c7d5;
  margin-bottom: 6px;
}

#dy-effect-wrapper .hero-media {
  flex: 1 1 50%;
  max-width: 50%;
}

#dy-effect-wrapper .image-card {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}
/* 높이값 강제 제거 후 auto로 변경하거나 유지 (여기선 원본 유지하되 깨짐 방지) */
#dy-effect-wrapper .hero-media .image-card {
  height: 320px;
}

#dy-effect-wrapper .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= ABOUT ================= */
#dy-effect-wrapper .about {
  background: #ffffff;
  padding: 80px 20px 90px;
}

#dy-effect-wrapper .about-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

#dy-effect-wrapper .about-text {
  flex: 1 1 55%;
}

#dy-effect-wrapper .about-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
}

#dy-effect-wrapper .about-title span {
  color: #01b89a;
  font-size: 24px;
}

#dy-effect-wrapper .about-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

#dy-effect-wrapper .about-list {
  margin-top: 12px;
  font-size: 14px;
  color: #333;
  list-style: none;
  padding-left: 0;
}

#dy-effect-wrapper .about-list li + li {
  margin-top: 4px;
}

#dy-effect-wrapper .about-media {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#dy-effect-wrapper .about-media .image-card {
  height: 150px;
  border-radius: 22px;
}

/* ================= 공통 아래 섹션 ================= */
#dy-effect-wrapper .section-extra {
  padding: 120px 20px 140px;
  background: #f6f7f8;
}

#dy-effect-wrapper .section-extra.section-recommend {
  background: #f7f9ff;
}

#dy-effect-wrapper .section-extra.section-curriculum {
  background: #ffffff;
}

#dy-effect-wrapper .section-extra.section-works {
  background: #f5fbf9;
}

#dy-effect-wrapper .section-inner {
  max-width: 730px;
  margin: 0 auto;
}

#dy-effect-wrapper .section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}

#dy-effect-wrapper .section-title-curriculum {
  font-size: 22px;
  line-height: 1.35;
}

#dy-effect-wrapper .section-sub {
  font-size: 16px;
  color: #555;
  margin-bottom: 28px;
}

/* 추천 카드 */
#dy-effect-wrapper .card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#dy-effect-wrapper .card {
  padding: 18px;
  background: #fbfcff;
  border-radius: 16px;
  border: 1px solid #e8edf5;
}

#dy-effect-wrapper .card-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  background: #ecf4ff;
  color: #4a7bd6;
  border-radius: 999px;
  margin-bottom: 8px;
  font-weight: 600;
}

#dy-effect-wrapper .card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

#dy-effect-wrapper .card-text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

/* 커리큘럼 섹션 좌우 */
#dy-effect-wrapper .curriculum-wrap {
  max-width: 730px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

#dy-effect-wrapper .curriculum-left {
  flex: 1 1 55%;
}

#dy-effect-wrapper .curriculum-right {
  flex: 1 1 45%;
}

#dy-effect-wrapper .curriculum-img {
  width: 100%;
  height: 100%; /* 부모에 맞춤 */
  min-height: 300px; /* 최소 높이 확보 */
  border-radius: 24px;
  overflow: hidden;
  background: #ddd;
}

#dy-effect-wrapper .step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  color: #333;
  padding-left: 0;
}

#dy-effect-wrapper .step-title {
  font-size: 13px;
  font-weight: 700;
  color: #01b89a;
}

#dy-effect-wrapper .step-main {
  font-weight: 600;
  margin-bottom: 4px;
}

#dy-effect-wrapper .step-desc {
  font-size: 13px;
  color: #555;
}

/* ================= “어디까지 해보셨나요” ================= */
#dy-effect-wrapper .thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 32px;
  margin-top: 32px;
}

#dy-effect-wrapper .thumb-card {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f5;
}

#dy-effect-wrapper .thumb-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

#dy-effect-wrapper .thumb-title {
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 14px;
}

/* 반응형 */
@media (max-width: 900px) {
  #dy-effect-wrapper .hero, 
  #dy-effect-wrapper .about { padding: 48px 16px 60px; }
  
  #dy-effect-wrapper .hero-inner, 
  #dy-effect-wrapper .about-inner { flex-direction: column; gap: 24px; }
  
  #dy-effect-wrapper .hero-text, 
  #dy-effect-wrapper .hero-media, 
  #dy-effect-wrapper .about-text, 
  #dy-effect-wrapper .about-media { max-width: 100%; }
  
  #dy-effect-wrapper .image-card, 
  #dy-effect-wrapper .about-media .image-card, 
  #dy-effect-wrapper .curriculum-img { height: auto; }
  
  #dy-effect-wrapper .section-extra { padding: 60px 16px 80px; }
  #dy-effect-wrapper .curriculum-wrap { flex-direction: column; }
  #dy-effect-wrapper .thumb-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   [신규] 스크롤 애니메이션 클래스 (dy-anim-target)
   ========================================================= */
#dy-effect-wrapper .dy-anim-target {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 화면에 보일 때 JS가 추가하는 클래스 */
#dy-effect-wrapper .dy-anim-target.visible,
#dy-effect-wrapper .dy-anim-target.is-active {
  opacity: 1;
  transform: translateY(0);
}



/* html/css */
/* =========================================================
   [중요] Scoped CSS
   기존 홈페이지 간섭 방지를 위해 #dy-html-wrapper ID 하위로만 스타일 적용
   ========================================================= */

/* 1. 래퍼(Wrapper) 설정: 730px 고정, 중앙 정렬 */
#dy-html-wrapper {
  width: 100%;
  max-width: 730px;
  margin: 0 auto;
  font-family: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.6;
  overflow: hidden; /* 애니메이션으로 인한 가로 스크롤 방지 */
}

/* 2. 초기화 (Reset) - 래퍼 내부에서만 동작 */
#dy-html-wrapper * {
  box-sizing: border-box;
}
#dy-html-wrapper img {
  display: block;
  max-width: 100%;
}

/* ================= HERO ================= */
#dy-html-wrapper .hero {
  background: #0f1115;
  color: #f5f5f5;
  padding: 72px 20px 80px;
}

#dy-html-wrapper .hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#dy-html-wrapper .hero-text {
  flex: 1 1 50%;
  max-width: 50%;
}

#dy-html-wrapper .hero-tag {
  display: inline-block;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #1f232b;
  color: #cfd3e0;
  margin-bottom: 16px;
}

#dy-html-wrapper .hero-title {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 800;
  margin-bottom: 18px;
  color: #fff; /* 명시적 지정 */
}

#dy-html-wrapper .hero-title span {
  color: #21df8f;
  font-size: 30px;
}

#dy-html-wrapper .hero-desc {
  font-size: 14px;
  color: #c3c7d5;
  margin-bottom: 6px;
}

#dy-html-wrapper .hero-media {
  flex: 1 1 50%;
  max-width: 50%;
}

#dy-html-wrapper .image-card {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}
/* 카드 높이값 개별 조정이 필요하면 아래 유지, 아니면 auto */
#dy-html-wrapper .hero-media .image-card {
  height: 320px;
}

#dy-html-wrapper .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= ABOUT ================= */
#dy-html-wrapper .about {
  background: #ffffff;
  padding: 80px 20px 90px;
}

#dy-html-wrapper .about-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

#dy-html-wrapper .about-text {
  flex: 1 1 55%;
}

#dy-html-wrapper .about-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
  color: #111;
}

#dy-html-wrapper .about-title span {
  color: #01b89a;
  font-size: 24px;
}

#dy-html-wrapper .about-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

#dy-html-wrapper .about-list {
  margin-top: 12px;
  font-size: 14px;
  color: #333;
  list-style: none;
  padding-left: 0;
}

#dy-html-wrapper .about-list li + li {
  margin-top: 4px;
}

#dy-html-wrapper .about-media {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#dy-html-wrapper .about-media .image-card {
  height: 150px;
  border-radius: 22px;
}

/* ================= 공통 아래 섹션 ================= */
#dy-html-wrapper .section-extra {
  padding: 120px 20px 140px;
  background: #f6f7f8;
}
#dy-html-wrapper .section-extra.section-recommend {
  background: #f7f9ff;
}
#dy-html-wrapper .section-extra.section-curriculum {
  background: #ffffff;
}
#dy-html-wrapper .section-extra.section-works {
  background: #f5fbf9;
}

#dy-html-wrapper .section-inner {
  width: 100%; /* 부모(730px)를 따름 */
  margin: 0 auto;
}

#dy-html-wrapper .section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
  color: #111;
}

#dy-html-wrapper .section-title-curriculum {
  font-size: 22px;
  line-height: 1.35;
}

#dy-html-wrapper .section-sub {
  font-size: 16px;
  color: #555;
  margin-bottom: 28px;
}

/* 추천 카드 */
#dy-html-wrapper .card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#dy-html-wrapper .card {
  padding: 18px;
  background: #fbfcff;
  border-radius: 16px;
  border: 1px solid #e8edf5;
}

#dy-html-wrapper .card-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  background: #ecf4ff;
  color: #4a7bd6;
  border-radius: 999px;
  margin-bottom: 8px;
  font-weight: 600;
}

#dy-html-wrapper .card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111;
}

#dy-html-wrapper .card-text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

/* 커리큘럼 섹션 */
#dy-html-wrapper .curriculum-wrap {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

#dy-html-wrapper .curriculum-left {
  flex: 1 1 55%;
}
#dy-html-wrapper .curriculum-right {
  flex: 1 1 45%;
}

#dy-html-wrapper .curriculum-img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #ddd;
}

#dy-html-wrapper .step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  color: #333;
  padding-left: 0;
}

#dy-html-wrapper .step-title {
  font-size: 13px;
  font-weight: 700;
  color: #01b89a;
}
#dy-html-wrapper .step-main {
  font-weight: 600;
  margin-bottom: 4px;
  color: #111;
}
#dy-html-wrapper .step-desc {
  font-size: 13px;
  color: #555;
}

/* 썸네일 그리드 */
#dy-html-wrapper .thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 32px;
  margin-top: 32px;
}

#dy-html-wrapper .thumb-card {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f5;
}

#dy-html-wrapper .thumb-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

#dy-html-wrapper .thumb-title {
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 14px;
  color: #111;
}

/* ================= ANIMATION CSS ================= */
/* 공통 트랜지션 설정 */
#dy-html-wrapper .dy-up,
#dy-html-wrapper .dy-zoom,
#dy-html-wrapper .dy-left,
#dy-html-wrapper .dy-right {
    opacity: 0;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 1. 위로 올라오기 (dy-up) */
#dy-html-wrapper .dy-up {
    transform: translateY(40px);
}
#dy-html-wrapper .dy-up.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* 2. 줌 효과 (dy-zoom) */
#dy-html-wrapper .dy-zoom {
    transform: scale(0.9);
}
#dy-html-wrapper .dy-zoom.is-active {
    opacity: 1;
    transform: scale(1);
}

/* 3. 왼쪽에서 등장 (dy-left) */
#dy-html-wrapper .dy-left {
    transform: translateX(-30px);
}
#dy-html-wrapper .dy-left.is-active {
    opacity: 1;
    transform: translateX(0);
}

/* 4. 오른쪽에서 등장 (dy-right) */
#dy-html-wrapper .dy-right {
    transform: translateX(30px);
}
#dy-html-wrapper .dy-right.is-active {
    opacity: 1;
    transform: translateX(0);
}


/* ================= 반응형 (730px 이하) ================= */
@media (max-width: 768px) {
  #dy-html-wrapper .hero, 
  #dy-html-wrapper .about { 
    padding: 48px 16px 60px; 
  }
  
  #dy-html-wrapper .hero-inner, 
  #dy-html-wrapper .about-inner { 
    flex-direction: column; 
    gap: 32px; 
  }

  #dy-html-wrapper .hero-text, 
  #dy-html-wrapper .hero-media, 
  #dy-html-wrapper .about-text, 
  #dy-html-wrapper .about-media { 
    max-width: 100%; 
    flex: auto;
  }
  
  #dy-html-wrapper .hero-media .image-card { height: auto; aspect-ratio: 16/9; }
  #dy-html-wrapper .about-media .image-card { height: auto; aspect-ratio: 16/9; }

  #dy-html-wrapper .section-extra { 
    padding: 60px 16px 80px; 
  }

  #dy-html-wrapper .curriculum-wrap { 
    flex-direction: column; 
  }
  
  #dy-html-wrapper .thumb-grid { 
    grid-template-columns: 1fr; 
  }
}






/* javascript */
/* ========================================================
   [격리형 CSS] JavaScript 실무 과정 (ID: dy-js-wrapper)
   - 홈페이지의 다른 부분에 영향을 주지 않도록 ID Scoping 처리
   ======================================================== */

/* 1. 이 영역 안에서만 박스 크기 계산 방식 변경 */
#dy-js-wrapper {
  max-width: 730px;
  width: 100%;
  
  /* 상단 메뉴 가림 방지 및 위치 잡기 (기존 graphic.css 패턴 참고) */
  margin: 50px auto 0 auto;
  background-color: #ffffff; /* 투명이 필요하면 transparent 로 변경 */
  
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
  line-height: 1.6;
  text-align: left;
  position: relative;
}

/* 2. 내부 요소 초기화 (Reset) - 이 래퍼 내부에서만 작동 */
#dy-js-wrapper * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#dy-js-wrapper img {
  display: block;
  max-width: 100%;
  border: 0;
}

#dy-js-wrapper ul,
#dy-js-wrapper li {
  list-style: none;
}

#dy-js-wrapper a {
  text-decoration: none;
  color: inherit;
}

/* ================= HERO ================= */
#dy-js-wrapper .hero {
  background: #0f1115;
  color: #f5f5f5;
  padding: 72px 20px 80px;
}

#dy-js-wrapper .hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#dy-js-wrapper .hero-text {
  flex: 1 1 50%;
  max-width: 50%;
}

#dy-js-wrapper .hero-tag {
  display: inline-block;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #1f232b;
  color: #cfd3e0;
  margin-bottom: 16px;
}

#dy-js-wrapper .hero-title {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 800;
  margin-bottom: 18px;
  color: #f5f5f5;
}

#dy-js-wrapper .hero-title span {
  color: #21df8f; /* JS 메인 컬러 (초록 계열) */
  font-size: 30px;
}

#dy-js-wrapper .hero-desc {
  font-size: 14px;
  color: #c3c7d5;
  margin-bottom: 6px;
}

#dy-js-wrapper .hero-media {
  flex: 1 1 50%;
  max-width: 50%;
}

#dy-js-wrapper .image-card {
  width: 100%;
  /* 높이 고정하지 않음 (비율 유지) 혹은 필요시 320px */
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}

#dy-js-wrapper .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ================= ABOUT ================= */
#dy-js-wrapper .about {
  background: #ffffff;
  padding: 80px 20px 90px;
}

#dy-js-wrapper .about-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

#dy-js-wrapper .about-text {
  flex: 1 1 55%;
}

#dy-js-wrapper .about-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
  color: #111;
}

#dy-js-wrapper .about-title span {
  color: #01b89a;
  font-size: 24px;
}

#dy-js-wrapper .about-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

#dy-js-wrapper .about-list {
  margin-top: 12px;
  font-size: 14px;
  color: #333;
}

#dy-js-wrapper .about-list li + li {
  margin-top: 4px;
}

#dy-js-wrapper .about-media {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#dy-js-wrapper .about-media .image-card {
  /* 서브 이미지는 높이를 조금 작게 */
  height: auto;
  border-radius: 22px;
}


/* ================= 공통 섹션 (Section Extra) ================= */
#dy-js-wrapper .section-extra {
  padding: 80px 20px 90px;
  background: #ffffff;
}
/* 배경색 변주 */
#dy-js-wrapper .section-extra:nth-child(odd) {
    background-color: #f9fafc; 
}

#dy-js-wrapper .section-inner {
  max-width: 730px;
  margin: 0 auto;
}

#dy-js-wrapper .section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  color: #111;
}

#dy-js-wrapper .section-sub {
  font-size: 14px;
  color: #555;
  margin-bottom: 24px;
}


/* ========== [1] 이 과정에서 무엇을 배웁나요? ========== */
#dy-js-wrapper .learn-intro {
  margin-bottom: 32px;
}

#dy-js-wrapper .learn-rows {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

#dy-js-wrapper .learn-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

#dy-js-wrapper .learn-row.reverse {
  flex-direction: row-reverse;
}

#dy-js-wrapper .learn-img {
  flex: 0 0 48%;
}

#dy-js-wrapper .learn-img-inner {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #f0f2f6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

#dy-js-wrapper .learn-text-block {
  flex: 1 1 52%;
}

#dy-js-wrapper .learn-block-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

#dy-js-wrapper .learn-block-body {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}


/* ========== [2] 이런 분께 추천합니다 ========== */
#dy-js-wrapper .recommend-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e3e6ee;
  padding: 24px 26px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

#dy-js-wrapper .recommend-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #444;
}

#dy-js-wrapper .recommend-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 13px;
  color: #01b89a;
  font-weight: bold;
}

#dy-js-wrapper .recommend-strong {
  font-weight: 700;
  color: #111;
}


/* ========== [3] 커리큘럼 한눈에 보기 ========== */
#dy-js-wrapper .curriculum-box {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e3e6ee;
  padding: 22px 22px 24px;
}

#dy-js-wrapper .step-row + .step-row {
  border-top: 1px solid #edf0f5;
}

#dy-js-wrapper .step-row {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 75px 140px minmax(0, 1fr);
  column-gap: 16px;
  font-size: 13px;
}

#dy-js-wrapper .step-col-small {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

#dy-js-wrapper .step-col-title {
  font-weight: 700;
  color: #222;
  line-height: 1.6;
}

#dy-js-wrapper .step-col-detail {
  color: #555;
  line-height: 1.7;
  word-break: keep-all;
}

#dy-js-wrapper .step-label {
  font-weight: 700;
  color: #01b89a;
  display: block;
  margin-bottom: 2px;
}


/* ========== [4] 실습 프로젝트 ========== */
#dy-js-wrapper .project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#dy-js-wrapper .project-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e3e6ee;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#dy-js-wrapper .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

#dy-js-wrapper .project-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #4a7bd6;
  margin-bottom: 10px;
  font-weight: 700;
}

#dy-js-wrapper .project-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111;
}

#dy-js-wrapper .project-text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}


/* ================= 반응형 (Mobile) ================= */
@media (max-width: 768px) {
  #dy-js-wrapper .hero, 
  #dy-js-wrapper .about { 
    padding: 48px 20px 60px; 
  }

  #dy-js-wrapper .hero-inner, 
  #dy-js-wrapper .about-inner { 
    flex-direction: column; 
    gap: 32px; 
  }

  #dy-js-wrapper .hero-text, 
  #dy-js-wrapper .hero-media, 
  #dy-js-wrapper .about-text, 
  #dy-js-wrapper .about-media { 
    max-width: 100%; 
    flex: auto; 
  }

  /* 모바일에서 Learn Section 세로 정렬 */
  #dy-js-wrapper .learn-row,
  #dy-js-wrapper .learn-row.reverse {
    flex-direction: column;
    gap: 20px;
  }
  
  #dy-js-wrapper .learn-img {
    width: 100%;
  }

  #dy-js-wrapper .project-grid {
    grid-template-columns: 1fr;
  }

  #dy-js-wrapper .step-row {
    grid-template-columns: 65px 1fr;
    gap: 6px;
  }
  
  #dy-js-wrapper .step-col-title,
  #dy-js-wrapper .step-col-detail {
    grid-column: 2 / 3;
  }
  
  #dy-js-wrapper .step-col-title {
    margin-bottom: 4px;
  }
}


/* =========================================================
   [애니메이션] 스크롤 시 위로 올라오는 효과
   ========================================================= */
#dy-js-wrapper .js-anim-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* 화면에 보일 때 JS가 추가하는 클래스 (.is-active) */
#dy-js-wrapper .js-anim-up.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* 딜레이 클래스 */
#dy-js-wrapper .delay-1 { transition-delay: 0.1s; }
#dy-js-wrapper .delay-2 { transition-delay: 0.2s; }
#dy-js-wrapper .delay-3 { transition-delay: 0.3s; }





/* =========================================
   [모바일 반응형 최적화 - 미디어 쿼리 적용]
   설명: 768px 이하 화면(모바일)에서 px을 %로 강제 변환
   ========================================= */

@media screen and (max-width: 768px) {

    /* 1. 최상위 컨테이너: 730px 고정 해제 -> 화면 가득 채우기 */
    #dy-product-wrapper,
    #dy-3dprinter-wrapper,
    #dy-arch-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important; /* 좌우 여백 제거 혹은 조절 */
    }

    /* 2. 섹션 여백 조절: 모바일에서는 상하 여백을 줄여 공간 확보 */
    #dy-product-wrapper .cad-section,
    #dy-3dprinter-wrapper .cad-section,
    #dy-arch-wrapper .cad-section {
        padding: 40px 20px !important;
    }

    /* 3. 텍스트 크기 최적화: 너무 큰 폰트는 화면 깨짐의 원인이 됨 */
    .cad-hero-title, .cad-section-title {
        font-size: 24px !important; /* 제목 크기 축소 */
        word-break: keep-all; /* 단어 단위 줄바꿈 */
    }
    
    .cad-hero-sub, .cad-section-desc {
        font-size: 15px !important;
    }

    /* 4. 카드/박스 그리드: 2열/3열 배치를 1열(100%)로 변경 */
    /* 강점 카드, 자격증 박스, 혜택 박스 등을 한 줄에 하나씩 배치 */
    .cad-strength-card,
    .cad-cert-box,
    .cad-cert-item,
    .cad-benefit-item,
    .cad-field-item,
    .cad-job-item {
        width: 100% !important;
        margin-bottom: 15px !important;
        flex: none !important; /* flex 비율 무시 */
    }

    /* 5. 커리큘럼 리스트: 이미지와 텍스트를 상하 배치 */
    .cad-curr-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    /* 커리큘럼 이미지: 고정 px 제거하고 비율 유지하며 꽉 채우기 */
    .cad-curr-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 10; /* 이미지 비율 유지 (예: 16:10) */
        margin-bottom: 15px !important;
    }

    /* 6. 로드맵(단계별) 스타일: 세로 배치로 변경 */
    .cad-roadmap-steps,
    .cad-roadmap-box {
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* 로드맵 연결선 제거 (세로 배치시 어색함) */
    .cad-roadmap-steps::before,
    .cad-roadmap-step::before {
        display: none !important; 
    }
    
    .cad-step-item,
    .cad-roadmap-step {
        width: 100% !important;
    }

    /* 7. 포트폴리오 슬라이더 (모바일 문제 해결 핵심) */
    /* CSS 애니메이션 슬라이더는 모바일에서 폭 계산이 어려우므로
       가로 스크롤(스와이프) 방식으로 변경하는 것을 추천 */
    
    .cad-slider-track {
        width: auto !important; /* 고정된 긴 너비 제거 */
        animation: none !important; /* 자동 흐름 애니메이션 중지 */
        display: flex !important;
        overflow-x: auto !important; /* 가로 스크롤 허용 */
        scroll-snap-type: x mandatory; /* 스크롤 시 딱딱 멈추게 */
        padding-bottom: 20px !important; /* 스크롤바 공간 확보 */
    }

    .cad-slide-item {
        width: 85vw !important; /* 화면 너비의 85% 크기로 설정 (옆에 다음거 살짝 보이게) */
        min-width: 85vw !important;
        margin-right: 15px !important;
        scroll-snap-align: center; /* 스크롤 시 중앙 정렬 */
    }

    .cad-slide-img {
        height: 200px !important; /* 이미지 높이 적절히 고정 */
    }
    
    /* 8. 혜택 그리드 (숫자 나오는 부분) */
    .cad-benefit-grid {
        flex-direction: column !important;
    }
}