/* =========================================================
   울산다파컴퓨터디자인학원 — 메인 페이지 (PC 1280 기준)
   원본 사이트의 computed style 을 측정해 그대로 옮긴 값입니다.
   ========================================================= */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #363636;
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;           /* 27.2px */
  font-weight: 400;
  letter-spacing: normal;
  word-break: keep-all;       /* 한글 단어 단위 줄바꿈 */
}
a { color: inherit; text-decoration: none; background: transparent; }
img { border: 0; vertical-align: middle; max-width: 100%; }
p { margin: 0; }
h3, h4, h5 { margin: 10px 0; }
ul { margin: 0; padding: 0; list-style: none; }
hr { margin: 0; }
button { font-family: inherit; }
strong { font-weight: 700; }

:root {
  --blue: #1c73d7;           /* rgb(28,115,215) */
  --dark: #0e0e0e;
}
.blue { color: var(--blue); }
.inside { max-width: 1280px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  color: #fff;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
  transition: .3s;
}
.btn:hover { color: #fffce9; }
.btn-blue  { background: var(--blue); }
.btn-black { background: #000; }
.btn-lg { font-size: 14px; line-height: 18.6667px; padding: 15px 35px; }
.btn-sm { font-size: 12px; line-height: 17.1429px; padding: 10px 35px; }
.btn.round { border-radius: 9999px; }

/* ---------- Scroll animation (fadeInUp) ---------- */
.anim { visibility: hidden; }
.anim.in {
  visibility: visible;
  animation: fadeInUp var(--dur, .7s) var(--delay, 0s) both;
}
.anim.fade.in { animation-name: fadeIn; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 100%, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   HEADER  (height 70)
   ========================================================= */
.hd {
  position: relative;
  z-index: 1000;
  height: 70px;
  background: #fff;
  font-family: Poppins, Pretendard, "Pretendard Variable", sans-serif;
}
.hd-inner {
  max-width: 1280px;
  height: 70px;
  margin: 0 auto;
  padding: 0 65px;
  display: grid;
  grid-template-columns: 24% 52% 24%;   /* 276 / 598 / 276 */
}
.hd-left { display: flex; align-items: center; }
.logo { display: flex; align-items: center; height: 29px; }
.logo img { width: 42px; height: 28px; display: block; }
.logo-title {
  padding-left: 3px;
  font-size: 17px;
  font-weight: 700;
  line-height: 28.9px;
  color: #212121;
  white-space: nowrap;
}

.hd-center { text-align: center; }
.gnb { display: inline-flex; height: 70px; }
.gnb-item { position: relative; z-index: 10; }
.gnb-link {
  display: flex; align-items: center;
  height: 70px;
  padding: 0 18px;
  font-size: 15px;
  line-height: 25.5px;
  color: #202020;
  white-space: nowrap;
  transition: .3s;
}
.gnb-item:hover > .gnb-link { color: var(--blue); }

.sub {
  position: absolute;
  top: 70px; left: 18px;
  min-width: 160px;
  background: #fff;
  text-align: left;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}
.gnb-item:hover > .sub { opacity: 1; visibility: visible; }
.sub a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  line-height: 18.5714px;
  color: #656565;
  white-space: nowrap;
  transition: .3s;
}
.sub a:hover { color: var(--blue); }

.hd-right {
  display: flex; justify-content: flex-end; align-items: center;
  padding-top: 4px;
}
.hd-login { font-size: 13px; line-height: 22.1px; color: #656565; }
.hd-login:first-child { margin-right: 10px; }



/* =========================================================
   Footer
   ========================================================= */
.dark-gap { height: 73px; background: var(--dark); }
.ft { background: var(--dark); color: #8a8a8a; }
.ft-inside { max-width: 1160px; height: 483px; position: relative; }
.ft hr { border: 0; border-top: 1px solid; }
.ft-hr0 { color: rgba(0,0,0,.05); }
.ft-logo { margin-top: 134px; height: 37px; display: flow-root; }
.ft-logo img { display: block; width: 290px; height: 46px; margin-top: -4px; }
.ft-hr1 { margin-top: 22px; border-color: #414141 !important; }
.ft-row { display: grid; grid-template-columns: 2fr 1fr; padding-top: 28px; }
.ft-company span { color: #c3c3c3; }
.ft-info-title strong { color: #8a8a8a; }
.ft-yt { margin-top: 19px; line-height: 32px; }
.ft-yt span { font-size: 13px; line-height: 26px; color: #979797; }
.ft-menu { font-size: 0; }
.ft-menu li { display: inline-block; }
.ft-menu a {
  display: inline-block;
  padding-bottom: 5px;
  margin-right: 25px;
  font-size: 13px; line-height: 22.1px;
  color: #8a8a8a;
}
.ft-menu a:hover { color: #fff; }
.ft-r { }
.ft-info { margin-top: 19px; min-height: 136px; font-size: 14px; line-height: 23.8px; color: #8a8a8a; }
.ft-hr2 { margin-top: 50px; border-color: #8a8a8a !important; }
.ft-copy { text-align: center; }
.ft-copy span { font-size: 13px; line-height: 22.1px; color: #4b4b4b; }

.ft-bottom {
  background: var(--dark);
  padding: 30px 0;
  font-size: 11px;
  line-height: 18.7px;
  color: #000;
}
.ft-bottom .inside { padding: 15px 0 0; }
.ft-bottom p { margin-bottom: 20px; }
.ft-bottom span { display: inline-block; margin-right: 8px; }

/* =========================================================
   Floating quick menu
   ========================================================= */
.floatingWrap {
  position: fixed;
  top: 55%; right: 0;
  width: 90px;
  z-index: 99;
  background: #fff;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0,0,0,.15);
  transition: transform .4s ease;
}
.floatingWrap.closed { transform: translateX(100%); }
.flo-item { padding: 12px 10px 8px; border-bottom: 1px solid #eee; }
.flo-item a { display: block; transition: .3s; }
.flo-item img { display: block; width: 21px; height: 21px; margin: 4px auto 0; }
.flo-item .txt { margin-top: 5px; font-size: 14px; line-height: 23.8px; }
.flo-item.tel { border-bottom: 0; height: 100px; }
.flo-item.tel .txt { margin-top: 3px; }
.flo-item.tel .txt { line-height: 19.6px; }
.flo-item.tel span { display: block; font-size: 13px; font-weight: 700; color: #5a96fd; }

.quick {
  position: fixed;
  right: 0; bottom: -25.1875px;
  width: 140px; height: 27.1875px;
  z-index: 99;
  background: var(--blue);
  color: #fff;
  font-size: 12px; line-height: 27.2px;
  text-align: center;
  cursor: pointer;
  transition: bottom .3s;
}
.quick.open { bottom: 0; }
.quick .quckTxt { color: #fff; font-size: 12px; }

/* =========================================================
   YouTube lightbox
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.85);
}
.lightbox[hidden] { display: none; }
.lb-frame { width: min(90vw, 960px); aspect-ratio: 16 / 9; }
.lb-frame iframe { width: 100%; height: 100%; border: 0; }
.lb-close {
  position: absolute; top: 16px; right: 24px;
  background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer;
}

/* =========================================================
   서브페이지 공통 — 비주얼 배너 / 서브메뉴 / 본문 틀
   원본: .widget.image.text_position_overlay + .nav.sub-menu
   ========================================================= */
.sub-visual {
  position: relative;
  height: 335px;
  overflow: hidden;
  text-align: center;
}
.sub-visual img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  min-height: 615px;
  object-fit: cover;
}
.sub-visual .txt {
  position: relative;
  height: 335px;
  display: flex; align-items: center; justify-content: center;
  padding: 36px;
}
.sub-visual .txt_body {
  color: #fff;
  font-size: 36px;
  line-height: 43.2px;
}

/* 서브메뉴(브레드크럼) */
.sub-nav {
  padding-top: 30px;
  text-align: center;
  font-size: 0;
  line-height: 0;
}
.sub-nav a {
  display: inline-block;
  font-size: 13px;
  line-height: 22.1px;
  color: rgba(54, 54, 54, .7);
}
.sub-nav .depth2 { padding-left: 25px; color: #363636; }
.sub-nav .depth2::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin: 0 10px 2px -17px;
  border-right: 1px solid #b5b5b5;
  border-bottom: 1px solid #b5b5b5;
  transform: rotate(-45deg);
}
.sub-line {
  margin-top: 30px;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, .05);
}

/* 서브페이지 본문 기본 틀 */
.sub-body { padding-top: 68px; }
.sub-body .inside { max-width: 1280px; margin: 0 auto; }

/* 섹션 제목 (h5 파랑 소제목) */
.sec-h5 {
  font-size: 27.424px;
  line-height: 32.9088px;
  margin: 10px 0;
}
.sec-h5 span { color: var(--blue); }

/* =========================================================
   교직원 소개 카드 (/22)
   ========================================================= */
.staff {
  background: #fff;
  padding-top: 20px;
  padding-bottom: 32px;
}
.staff-row {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 427px 109px 747px;
}
.staff-photo { text-align: center; }
.staff-photo img { width: 216px; height: 288px; object-fit: cover; }
.staff-info { grid-column: 3; }
.staff-info h6 {
  font-size: 20.576px;
  line-height: 28.8064px;
  font-weight: 400;
  margin: 10px 0;
}
.staff-info h6 img {
  float: left;
  width: 55px; height: 23px;
  margin: 5px 10px 5px 0;
}
.staff-info h6 strong { font-weight: 700; }
.staff-info hr {
  margin: 0;
  border: 0;
  border-top: 2px solid #656565;
}
.staff-career {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.staff-career li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 16.1px;
  color: #656565;
}
.staff-cert {
  margin-top: 20px;
  padding: 15px 20px;
  background: rgba(28, 115, 215, .15);
  border-radius: 7px;
  line-height: 24px;
}
.staff-cert p { line-height: 24px; }
.staff-cert span { font-size: 14px; line-height: 21px; }

/* ---------- 반응형 (공통) ---------- */
@media (max-width: 1280px) {
  .inside, .ft-inside { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 1024px) {
  .hd-inner { padding: 0 20px; grid-template-columns: auto 1fr auto; }
  .floatingWrap { display: none; }
  .sub-visual .txt_body { font-size: 26px; }
}
