@charset "UTF-8";

body {background-color: #fff;}

body.sub .floating ul {display: none;}


body.is-scrolled header * {color: #202020;}
body.is-scrolled .header-top {border-bottom: 1px solid #ccc;}
body.is-scrolled .header-top .cityhall {border-color: #ccc;}
body.is-scrolled .header-top .header-etc .admin a::before {background: url('../images/common/admin-b.svg')no-repeat center center/contain;}
body.is-scrolled .header-top .header-etc .login a::before {background: url('../images/common/login-b.svg')no-repeat center center/contain;}
body.is-scrolled .header-top .header-etc .logout a::before {background: url('../images/common/logout-b.svg')no-repeat center center/contain;}
body.is-scrolled .header-top .header-etc li .lang-btn::before {background: url('../images/common/lang-b.svg')no-repeat center center/contain;}
body.is-scrolled .header-top .header-etc .search-btn::before {background: url('../images/common/ico-search.svg')no-repeat center center/contain;}
body.is-scrolled .header-top .sitemap {background: url('../images/common/sitemap.svg')no-repeat center center/28px;}
body.is-scrolled .header-top .header-etc > ul > li:first-child:before {background-color: #ccc;}
body.is-scrolled .header-top .logo a img.logo-w {opacity: 0; position: absolute; pointer-events: none;}
body.is-scrolled .header-top .logo a img.logo-c {opacity: 1; position: static; pointer-events: unset;}

body.is-scrolled .header-bottom {border-bottom: 1px solid #b0b0b0;}


/* ----- 서브 헤더 ----- */
.sub-header-wrap {width: 100%; height: 500px; position: relative;}
.sub-header-bg {width: 100%; height: 100%; overflow: hidden; position: absolute; top: 0; left: 0;}
.sub-header-bg::before {content: ''; width: 100%; max-width: 100%; height: 100%; background: inherit; transition: 0.3s ease-in-out; position: absolute; top: 0; left: 50%; z-index: 0; animation: bgScale 0.5s ease-in-out forwards; filter: brightness(0.5);}
.sub-header {max-width: 1550px; height: 100%; margin: 0 auto; position: relative; z-index: 100;}
@keyframes bgScale {
    from {transform: translateX(-50%) scale(1.2);}
    to {transform: translateX(-50%) scale(1);}
}


.sub-header .sub-text {position: absolute; top: 42%; transform: translateY(-50%); left: 20px; padding-top: 130px; padding-right: 20px; transition: 0.15s ease-in-out;}
.sub-header .sub-text h2 {font-size: 64px; line-height: 1.8; color: rgba(255, 255, 255, 0.4); animation: fade 0.5s ease-in-out forwards; position: relative;}
.sub-header .sub-text h2::before {content: attr(data-text); position: absolute; top: 0; left: 0; white-space: nowrap; background: #fff; -webkit-background-clip: text; background-clip: text; color: transparent; overflow: hidden; width: 0%; animation: textFill 1.5s ease-in-out forwards; animation-delay: 0.3s; pointer-events: none;}
.sub-header .sub-text p {color: rgba(255, 255, 255, 0.8); animation: fade 0.5s ease-in-out forwards;}

/* 2depth 메뉴 바로 위 고정 태그라인 (글자 단위로 하나씩 나타남) */
.sub-header .sub-tagline {position: absolute; bottom: 90px; right: 60px; text-align: right; font-family: 'Outfit SemiBold'; font-style: italic; font-size: 30px; color: #ffffffc4; text-shadow: 0 2px 10px rgba(0,0,0,0.55); word-break: keep-all;}
.sub-header .sub-tagline .line {display: block; color: inherit; opacity: 0;}
.sub-header .sub-tagline .line span {color: inherit; opacity: 0; animation: tagline-fade 0.4s ease-in-out forwards; animation-delay: calc(var(--i) * 30ms + 200ms);}

.sub-header .sub-tagline .line:nth-child(1) {animation: tagline-in-left 0.6s ease-out forwards; animation-delay: 0.3s;}
.sub-header .sub-tagline .line:nth-child(2) {animation: tagline-in-right 0.6s ease-out forwards; animation-delay: 0.5s;}

@keyframes tagline-fade {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes tagline-in-left {
    from {opacity: 0; transform: translateX(-40px);}
    to {opacity: 1; transform: translateX(0);}
}
@keyframes tagline-in-right {
    from {opacity: 0; transform: translateX(40px);}
    to {opacity: 1; transform: translateX(0);}
}

@keyframes textFill {
  from {width: 0%;}
  to   {width: 100%;}
}
@keyframes fade {
    from {opacity: 0;}
    to {opacity: 1;}
}

.sub-header-wrap .sub-menu {display: flex; align-items: center; justify-content: center; position: absolute; left: 50%; bottom: 0; width: 100vw; height: 79px; transform: translateX(-50%); border-top: 1px solid rgba(255,255,255,0.25); background: rgba(0,0,0,0.12); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); margin: 0; padding: 0; z-index: 1;}

.sub-header-wrap .sub-menu li {position: relative; height: 100%; flex: 0 1 auto; display: flex; align-items: center;}
.sub-header-wrap .sub-menu li a {display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 28px; border-radius: 999px; font-weight: 600; color: rgba(255,255,255,0.75); white-space: nowrap; position: relative; transition: 0.2s ease-in-out;}
.sub-header-wrap .sub-menu li a:hover {color: #fff;}
.sub-header-wrap .sub-menu li.active a {background-color: rgba(255,255,255,0.92); color: #1A62E5;}
.sub-header-wrap .sub-menu li a[target="_blank"]::after {content: '\F1C5'; font-family: 'bootstrap-icons'; font-weight: bold; font-size: 16px; display: inline-block; margin-left: 5px;}

/* 모바일 전용 드롭다운 메뉴 (PC/태블릿에서는 숨김, PC용 .sub-menu와 완전히 별도) */
.sub-header-wrap .sub-menu-m {display: none;}



/* ----- 서브 모바일 뎁스 메뉴 ----- */
.m-sub-menu {width: 100%; background-color: #fff; display: flex; position: absolute; bottom: 0; z-index: 200; display: none;}
.m-sub-menu .depth-wrap {width: 50%; border-top: 1px solid #c3c3c3; border-bottom: 1px solid #c3c3c3; border-right: 1px solid #c3c3c3; position: relative; display: flex; align-items: center; justify-content: center;}
.m-sub-menu .depth-wrap:last-child {border-right: 0;}
.m-sub-menu .depth-wrap > a {font-family: 'Paperlogy SemiBold'; width: 100%; height: 50px; line-height: 50px; background-color: #fff; padding: 0 20px; padding-right: 45px; transition: 0.2s ease-in-out; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.m-sub-menu .depth-wrap > a:hover {color: #0249B4;}
.m-sub-menu .depth-wrap > a::before {content: '\F282'; font-family: 'bootstrap-icons'; font-size: 15px; font-weight: bold; position: absolute; top: 50%; transform: translateY(-50%); right: 20px; transition: transform 0.2s ease-in-out;}
.m-sub-menu .depth-wrap > ul {position: absolute; top: 50px; left: 0; width: 100%; background-color: #eff5fc; border-radius: 0 0 15px 15px; padding: 15px 10px; display: none; word-break: keep-all;}
.m-sub-menu .depth-wrap > ul li a {font-family: 'Paperlogy Medium'; font-size: 18px; display: block; padding: 8px 10px; transition: 0.2s ease-in-out;}
.m-sub-menu .depth-wrap > ul li a:hover {color: #0249B4;}
.m-sub-menu .depth-wrap > ul li.active a {color: #0249B4;}
.m-sub-menu .depth-wrap > ul li a[target="_blank"]::after {content: '\F1C5'; font-family: 'bootstrap-icons'; font-weight: bold; font-size: 15px; display: inline-block; margin-left: 5px;}

.m-sub-menu .depth-wrap.is-open > a {background-color: #eff5fc; color: #0249B4;}
.m-sub-menu .depth-wrap.is-open > a::before{transform: translateY(-50%) rotate(180deg);}

@media (max-width: 1200px) {
    .sub-header-wrap {height: 400px;}

    .sub-header .sub-text {padding-top: 10px;}
    .sub-header .sub-text h2 {font-size: 44px;}
    .sub-header .sub-text p {font-size: 20px;}

    .sub-header .sub-tagline {font-size: 24px; right: 40px; bottom: 110px;}

    .sub-header-wrap .sub-menu {height: 65px;}
    .sub-header-wrap .sub-menu li a {font-size: 17px; padding: 0 20px;}
}
@media (max-width: 1024px) {
    .sub-header-wrap {height: 360px;}
}
@media (max-width: 768px) {
    .sub-header-wrap {height: 320px}

    .sub-header .sub-text {left: 15px; padding-right: 15px;}
    .sub-header .sub-text h2 {font-size: 32px;}
    .sub-header .sub-text p {font-size: 18px;}

    .sub-header .sub-tagline {display: none;}

    /* PC용 메뉴는 모바일에서 완전히 숨김 */
    .sub-header-wrap .sub-menu {display: none;}

    /* 모바일 전용 드롭다운 래퍼 (하단 고정, PC용 sub-menu와 완전히 별도) */
    .sub-header-wrap .sub-menu-m {display: block; position: absolute; left: 0; top: calc(100% - 54px); width: 100%; padding: 5px 0; z-index: 990;}

    /* 드롭다운 트리거 버튼 (현재 active 메뉴명 표시) */
    .sub-header-wrap .sub-menu-mo {display: flex; align-items: center; justify-content: center; gap: 8px; width: 80%; margin: 0 auto; height: 44px; padding: 0 20px; border: 0; border-radius: 50px; background: rgba(255,255,255,0.92); font-size: 16px; color: #1A62E5; cursor: pointer;}
    .sub-header-wrap .sub-menu-mo::after {content: '\F282'; font-family: 'bootstrap-icons'; font-weight: bold; font-size: 12px; color: #1A62E5; transition: transform 0.2s ease-in-out;}
    .sub-header-wrap .sub-menu-mo.is-open::after {transform: rotate(180deg);}

    /* 드롭다운 목록 (모바일 전용, PC용과 별도 엘리먼트) - position을 지정하지 않고(static) 버튼 바로 아래 정상 흐름으로 쌓이게 함 */
    .sub-header-wrap .sub-menu-list {display: none; position: static; flex-direction: column; align-items: stretch; width: 80%; margin: 0 auto; height: auto; padding: 8px; background: var(--color-primary-dark); border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,0.25);}
    .sub-header-wrap .sub-menu-list li {flex: 0 0 auto; width: 100%; height: auto; padding: 0;}
    .sub-header-wrap .sub-menu-list li a {display: flex; align-items: center; justify-content: center; font-size: 18px; height: 44px; border-radius: 8px; padding: 0 15px; color: #fff;}
    .sub-header-wrap .sub-menu-list li a:hover {background-color: rgba(255,255,255,0.1);}
    .sub-header-wrap .sub-menu-list li.active a {border-radius: 5px; background-color: #fff; color: #1A62E5;}
}


/* ----- 서브 컨텐츠 ----- */
#subContents {max-width: 1550px; padding: 150px 20px; margin: 0 auto;}

@media (max-width: 768px) {
    #subContents {padding: 50px 15px 100px;}
}


/* ----- Alumni 리스트 ----- */
.alumni-list {display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;}
.alumni-list .thumb {width: 100%; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background-color: #f2f2f2; margin-bottom: 16px;}
.alumni-list .thumb img {width: 100%; height: 100%; object-fit: cover;}
.alumni-list .name {font-family: 'Paperlogy Bold'; font-size: 20px; color: #101010;}
.alumni-list .degree {font-size: 15px; color: #666; margin-top: 4px;}
.alumni-list .now {font-size: 15px; color: #0249B4; margin-top: 8px;}

@media (max-width: 1024px) {
    .alumni-list {grid-template-columns: repeat(3, 1fr); gap: 30px;}
}
@media (max-width: 768px) {
    .alumni-list {grid-template-columns: repeat(2, 1fr); gap: 24px;}
    .alumni-list .thumb {border-radius: 12px; margin-bottom: 12px;}
    .alumni-list .name {font-size: 17px;}
    .alumni-list .degree, .alumni-list .now {font-size: 14px;}
}


/* ----- 서브 컨텐츠 안 depth03 ----- */
.cont-tab-wrap {margin-bottom: 50px; position: relative;}
.cont-tab-wrap .cont-tab-mo {display: none; align-items: center; justify-content: space-between; width: 100%; height: 50px; padding: 0 15px; border: 1px solid #1c59a4; background: #fff; border-radius: 10px; font-family: 'Paperlogy Medium'; font-size:18px; color:#1C59A4; cursor:pointer; padding-right: 55px;}
.cont-tab-wrap .cont-tab-mo i {transition:transform 0.2s; background-color: #1C59A4; display: flex; align-items: center; justify-content: center; width: 45px; height: 100%; color: #fff; position: absolute; right: 0; border-radius: 0 10px 10px 0;}
.cont-tab-wrap .cont-tab-mo i::before {font-weight:bold !important; font-size:12px; display:flex; align-items:center; justify-content:center; transition: 0.2s ease-in-out;}
.cont-tab-wrap .cont-tab-mo.open i::before {transform:rotate(180deg);}

.cont-tab-wrap .cont-tab {display:flex; gap: 50px;}
.cont-tab-wrap .cont-tab li {width: fit-content;}
.cont-tab-wrap .cont-tab li a {display:flex; align-items:center; justify-content:center; width:100%; height:100%; position: relative; padding-top: 8px;}
.cont-tab-wrap .cont-tab li a::before {content: ''; width: 7px; height: 7px; border-radius: 50%; background-color: #1C59A4; position: absolute; top: 0; left: 50%; transform: translateX(-50%); opacity: 0; visibility: hidden; transition: 0.2s ease-in-out;}
.cont-tab-wrap .cont-tab li a::after {content: ''; width: 5px; height: 5px; border-radius: 50%; background-color: #666; position: absolute; top: 20px; left: 10px; display: none; transition: 0.2s ease-in-out;}
.cont-tab-wrap .cont-tab li.active a::before {opacity: 1; visibility: visible;}
.cont-tab-wrap .cont-tab li.active a::after {background-color: #1c59a4;}
.cont-tab-wrap .cont-tab li:hover a::after {background-color: #1c59a4;}
.cont-tab-wrap .cont-tab li a span {font-family: 'Paperlogy ExtraBold'; font-size: 25px; text-align: center; word-break: keep-all; transition:0.2s ease-in-out; color: #333;}
.cont-tab-wrap .cont-tab li:hover a span {color:#1C59A4;}
.cont-tab-wrap .cont-tab li.active a span {color:#1C59A4;}

@media (max-width: 1200px){
    .cont-tab-wrap {margin-bottom: 40px;}
    .cont-tab-wrap .cont-tab {gap: 30px;}
    .cont-tab-wrap .cont-tab li a span {font-size: 22px;}
}
@media (max-width: 768px){
    .cont-tab-wrap {margin-bottom: 30px;}
    .cont-tab-wrap .cont-tab-mo {display: flex;}
    
    .cont-tab-wrap .cont-tab {display: none; width: 100%; flex-direction: column; gap: 0; background:#EFF6FF; border-radius: 10px; padding: 6px 5px; position: absolute; top: 55px; left:0; z-index: 200;}
    .cont-tab-wrap .cont-tab li {width: 100%;}
    .cont-tab-wrap .cont-tab li a {justify-content: flex-start; padding: 6px 15px; padding-left: 25px;}
    .cont-tab-wrap .cont-tab li a::before {display: none;}
    .cont-tab-wrap .cont-tab li a::after {display: block;}
    .cont-tab-wrap .cont-tab li.active a {color:#1C59A4;}
    .cont-tab-wrap .cont-tab li a span {font-family: 'Paperlogy Medium'; font-size: 18px; text-align: left;}
    .cont-tab-wrap .cont-tab li a[target="_blank"] span::after {content: '\F1C5'; font-family: 'bootstrap-icons'; font-size: 14px; margin-left: 8px; font-weight: bold !important;}
}
@media (max-width: 500px) {
    .cont-tab-wrap .cont-tab-mo {height: 45px; font-size: 17px; border-radius: 8px; padding-right: 50px;}
    .cont-tab-wrap .cont-tab-mo i {width: 40px; border-radius: 0 8px 8px 0;}
    .cont-tab-wrap .cont-tab {top: 50px; border-radius: 8px;}
    .cont-tab-wrap .cont-tab li a {padding: 6px 12px; padding-left: 20px;}
    .cont-tab-wrap .cont-tab li a::after {left: 7px;}
    .cont-tab-wrap .cont-tab li a span {font-size: 17px;}
}
