@font-face {
    font-family: 'Isamanru';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10@1.0/GongGothicLight.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Isamanru';
}

ol, ul {
    list-style: none
}

blockquote,
q {
    quotes: '"' '"'
}

blockquote:after,
blockquote:before,
q:after,
q:before {
    content: '';
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

address {
    font-style: normal
}

textarea {
    width: 100%;
    resize: none;
}

button, img, input, select {
    vertical-align: middle
}

.ellipsis {
    display:inline-block;
    max-width:100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    word-wrap: normal;
    vertical-align:middle
}

table td a {
    overflow: hidden;
    height: auto;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

body, html {
    overflow-x:hidden;
}

body {
    color:#353535;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    -webkit-user-drag: none;
}

::selection {
   background: #ff95d4;
   color: #fff
}

::-moz-selection {
   background: #ff95d4;
   color: #fff
}

::-webkit-selection {
    background: #ff95d4;
   color: #fff
}

area {
    cursor: pointer;
}

.rel {
    position: relative;
}

.container {
    max-width: 1920px;
    margin: auto;
}

.section .inner {
    max-width: 750px;
    margin: auto;
    text-align: center;
}

.section_main {
    height: 927px;
    padding-top: 58px;
    background-image: url('/PROJECT_HTML/ulsan_edu/img/main_bg_new.jpg?new');
    background-size: cover;
    background-position: center 100%;
    border-bottom: 2px solid #0c3462;
}

.section_main .inner {
    height: 100%;
    z-index: 5;
}

.section_main .obj {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.section_main .obj .item {
    position: absolute;
}

.section_main .obj .item.obj_01 {
    left: 56px;
    bottom: -84px;
    width: 178px;
}

.section_main .obj .item.obj_01 .gini_bubble {
    display: block;
    margin-bottom: 4px;
}

.section_main .obj .item.obj_02 {
    left: 208px;
    bottom: -44px;
}

.section_main .obj .item.obj_03 {
    right: 54px;
    bottom: -24px;
}

.section_main .obj .item.obj_03 .people_bubble {
    position: absolute;
    top: -184px;
    right: -36px;
}

.section_main .obj .item.obj_03  .phone_view {
    position: absolute;
    top: 38px;
    left: 5.5px;
    width: 184px;
    height: 105px;
    border-radius: 10px;
    overflow: hidden;
}

/* 전광판 애니메이션 (폰 화면 안 텍스트 흐르는 효과) */
.section_main .obj .item.obj_03 .phone_view img {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  max-width: none;
  animation: marquee 7s linear infinite;
}

/* 옆으로 계속 흐르는 애니메이션 */
@keyframes marquee {
  0% {
    transform: translate(30%, -50%);
  }
  100% {
    transform: translate(-100%, -50%);
  }
}

.section_02 {
    padding-top: 120px;
    background-color: #0045a9;
    height: 1330px;
}

.section_02 .video_area {
    position: absolute;
    width: 636px;
    left: 50%;
    transform: translateX(-50%);
    top: 195px;
}

.video_wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #000;
}

.video_wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section_02 {
    border-bottom: 2px solid #0c3462;
}

.section_02 .info {
    position: relative;
    margin-top: 80px;
    z-index: 5;
}

.section_02 .char.__left {
    left: 0;
}

.section_02 .char.__right {
    right: 0;
}

.section_02 .char .item span {
    position: absolute;
    bottom: 0;
}

.section_02 .char.__right span {
    right: 0;
}

.section_02 .char.__left .char_01 .people {
    left: 165px;
    bottom: 0;
}

.section_02 .char.__left .char_02 .people {
    left: 0;
    bottom: 2px;
}

.section_02 .char.__left .char_01 .bubble {
    left: 245px;
    bottom: 204px;
}

.section_02 .char.__left .char_02 .bubble {
    left: 22px;
    bottom: 334px;
}

.section_02 .char.__right .char_01 .people {
    right: 0;
    bottom: 100px;
}

.section_02 .char.__right .char_01 .bubble {
    right: 16px;
    bottom: 432px;
}

.section_02 .char.__right .char_02 .bubble {
    right: 232px;
    bottom: 266px;
}

.section_03 {
    height: 1148px;
    background-image: url('/PROJECT_HTML/ulsan_edu/img/section03_bg.jpg?new');
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid #0c3462;
}

.section_03 .inner {
    height: 100%;
}

.section_03 .bottom_img {
    position: absolute;
    bottom: 0;
    right: 68px;
	z-index: 10;
}

.section_03 .bottom_img img {
    max-width: 764px;   
}

.section_04 {
    padding: 90px 0;
    background-color: #01cafe;
}

.section_05 {
    padding: 72px 0;
    background-color: #01c0f1;
}

.section_05 .center_item {
    display: inline-block;
    margin: auto;
}

.section_05 dl {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
    color: #000;
}

.section_05 dt {
    padding-right: 3px;
}

.footer {
    padding: 70px 20px;
    background-color: #262626;
    color: #fff;
    text-align: center;
}

.footer .info {
    margin-top: 30px;
    line-height: 180%;
}

/* 오버레이 (팝업) */
.b_popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.7);
  overflow: auto;
  display: none; /* 기본 숨김 */
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
}
.b_popup.is-open { display: flex; } /* 열릴 때 flex */

.b_popup_inner {
  position: relative;
  width: min(680px, 100%);
  background: #fff;
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  max-height: calc(100svh - 48px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #b1d8ff;
}

.b_popup_title {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
    color: #0041a3;
    font-size: 36px;
    font-weight: 900;
}

.b_popup_title span {
    border-bottom: 2px solid #0041a3;
}

.b_popup_title .btn_close_popup {
    position: absolute;
    top: -10px;
    right: 0;
    font-size: 40px;
    color: #999;
    background: transparent;
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.b_popup_content {
    
}

.b_popup_content  .form_group {
    display: flex;
    align-items: center;
    border: 2px solid #000;
    margin-bottom: 12px;
}

.b_popup_content  .form_group label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 166px;
    height: 60px;
    font-size: 24px;
    background-color: #0068ff;
    color: #fff;
}

.b_popup_content .form_group input {
    width: 394px;
    height: 60px;
    padding: 0 12px;
    font-size: 24px;
    border-radius: 0px;
    border: none;
    outline: none;
}

.b_popup_content .form_group input::placeholder {
	font-size: 20px;
}

.b_popup_content .pharases {
    padding: 0 12px 12px;
}

.b_popup_content  dl {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.b_popup_content  dl dt {
    padding-right: 3px;
}

.b_popup .term_zone .term {
    height: 180px;
    background-color: #fff;
    overflow-y: scroll;
    padding: 24px;
    font-size: 18px;
    margin-bottom: 12px;
}

.b_popup .term_zone .term .h5 {
	font-weight: 900;
	margin-bottom: 8px;
}

.b_popup .term_zone .term .h6 {
	margin-bottom: 4px;
}

.b_popup .term_zone .agree {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    gap: 8px;
}

.b_popup .term_zone .agree input + label {
    cursor: pointer;
}

.b_popup .term_zone .agree input {
    appearance: none;
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 50%;
}

.b_popup .term_zone .agree input::after {
    content:'';
    display: none;
    width: 12px;
    height: 12px;
    background-color: #0041a3;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.b_popup .term_zone .agree input:checked::after {
    display: inline-block;
}

.b_popup .btn_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.b_popup .btn_box button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 230px;
    height: 70px;
    background-color: #a4a4a4;
    color: #fff;
    border: 2px solid #000;
    font-size: 25px;
	cursor: pointer;
}

.b_popup .btn_box button.confirm_btn {
    background-color: #0041a3;
}

.quick_btn.pc {
    position: fixed;
    margin: 80px 0 0 946px;
}

.quick_btn.mo {
    display: none;
    max-width: 750px;
    width: 100%;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

/* 반응형 */
@media(max-width: 1600px) {
    .quick_btn.pc {
        margin-left: 750px;
    }
    
    .section_02 .char.__left .char_01 .people {
        width: 20.75vw;
        left: 10.31vw;
    }
    
    .section_02 .char.__left .char_02 .people {
        width: 13vw;
    }
    
    .section_02 .char.__left .char_01 .bubble {
        width: 10.25vw;
        left: 15.31vw;
        bottom: 14.75vw;
    }
    
    .section_02 .char.__left .char_02 .bubble {
        width: 10.25vw;
        left: 1.38vw;
        bottom: 20.88vw;
    }
    
    .section_02 .char.__right .char_01 .people {
        width: 16.7vw;
    }
    
    .section_02 .char.__right .char_02 .people {
        width: 23.63vw;
    }
    
    .section_02 .char.__right .char_01 .bubble {
        width: 10.25vw;
        right: 1vw;
        bottom: 27vw;
    }
    
    .section_02 .char.__right .char_02 .bubble {
        width: 11.38vw;
        right: 14.5vw;
        bottom: 16.63vw;
    }
}

@media(max-width: 1359px) {
    .section_02 .char {
        display: none;
    }
}

@media(max-width: 991px) {
    .quick_btn.pc {
        display: none;
    }
    
    .quick_btn.mo {
        display: block;
    }
    
    .quick_btn.mo img {
        width: 100.1%;
        max-width: 100.1%;
    }
    
    .section_05 {
        padding-bottom: 200px;
    }
}

@media(max-width: 750px) {
    .section_main {
        height: 123.6vw;
        padding-top: 7.73vw;
    }
    
    .section_main .main_title {
        width: 68.27vw;
        margin: auto;
    }
    
    .section_main .obj .item.obj_01 {
        width: 23.73vw;
        left: 7vw;
        bottom: -11.2vw;
    }
    
    .section_main .obj .item.obj_01 .gini_bubble {
        margin-bottom: 0.53vw;
    }
    
    .section_main .obj .item.obj_02 {
        width: 50.13vw;
        left: 27.27vw;
        bottom: -5.87vw;
    }
    
    .section_main .obj .item.obj_03 {
        right: 7.2vw;
        bottom: -3.2vw;
    }
    
    .section_main .obj .item.obj_03 > img {
        width: 27.47vw;
    }
    
    .section_main .obj .item.obj_03 .people_bubble {
        width: 27.2vw;
        top: -24.53vw;
        right: -4.8vw;
    }
    
    .section_main .obj .item.obj_03 .phone_view {
        top: 5.07vw;
        left: 0.73vw;
        width: 24.53vw;
        height: 14vw;
        border-radius: 1.33vw;
    }
    
    .section_main .obj .item.obj_03 .phone_view img {
        width: 85.33vw;
    }
    
    .section_02 {
        padding-top: 16vw;
        height: 177.33vw;
    }
    
    .video_zone > img {
        width: 92.27vw;
    }
    
    .section_02 .video_area {
        width: 84.8vw;
        top: 26vw;
    }
    
    .section_02 .info {
        margin-top: 10.67vw;
    }
    
    .section_02 .info > img {
        width: 90.93vw;
    }
    
    .section_03 {
        height: 146.07vw;
    }
    
    .section_03 .bottom_img {
        right: 9.07vw;
    }
    
    .section_03 .bottom_img img {
        max-width: 101.87vw;
    }
    
    .section_04 {
        padding: 9.33vw 0;
    }
    
    .section_04 .inner > img {
        width: 90.93vw;
    }
    
    .section_05 {
        padding: 9.6vw 0 26.67vw;
    }
    
    .section_05 dl {
        font-size: 2.13vw;
        margin-bottom: 1.33vw;
    }
    
    .footer {
        padding: 9.33vw 2.67vw;
    }
    
    .footer .logo > img {
        width: 27.73vw;
    }
    
    .footer .info {
        margin-top: 4vw;
        font-size: 2.13vw;
    }
    
    .b_popup_inner {
        padding: 6vw;
    }
    
    .b_popup_title {
        margin-bottom: 5.33vw;
        font-size: 4.8vw;
    }
    
    .b_popup_content .form_group label {
        width: 32.13vw;
        height: 40px;
        font-size: 3.2vw;
    }
    
    .b_popup_content .form_group input {
        width: 58.53vw;
        padding: 1.6vw;
        height: 40px;
        font-size: 16px;
    }
    
    .b_popup_content .form_group input::placeholder {
        font-size: 2.53vw;
    }
    
    .b_popup_content .form_group {
        margin-bottom: 1.6vw;
    }
    
    .b_popup_content .pharases {
        padding: 0 1.6vw 1.6vw;
        font-size: 2.4vw;
    }
    
    .b_popup .term_zone .term {
        height: 24vw;
        padding: 3.2vw;
        margin-bottom: 1.6vw;
        font-size: 2.4vw;
    }
	
	.b_popup .term_zone .term .h5 {
		margin-bottom: 8px;
	}

	.b_popup .term_zone .term .h6 {
		margin-bottom: 4px;
	}
    
    .b_popup .term_zone .agree {
        display: block;
        font-size: 3.2vw;
        gap: 1.07vw;
        text-align: center;
    }
    
    .b_popup .term_zone .agree > span:first-child {
        display: block;
        margin-bottom: 2vw;
        text-align: center;
    }
    
    .b_popup .term_zone .agree > span:nth-child(2) {
        margin-right: 1.6vw;
    }
    
    .b_popup .term_zone .agree input {
        width: 3.6vw;
        height: 3.6vw;
    }
    
    .b_popup .term_zone .agree input::after {
        width: 2vw;
        height: 2vw;
    }
    
    .b_popup .btn_box {
        gap: 3.33vw;
    }
    
    .b_popup .btn_box button {
        width: 42.67vw;
        height: 12vw;
        margin-top: 1.6vw;
        font-size: 4.33vw;
    }
}

/* ==========================
   초기 상태 클래스
   ========================== */

/* 완전히 안 보이다가 나타나는 애들(ex: main_title_img, obj_01) */
.pre-hide {
    opacity: 0;
}

/* 처음부터 보이긴 해야 하는데 작게 깔려 있어야 하는 애들(obj_02, obj_03) */
.pre-scale {
    transform: scale(0.6);
    transform-origin: center bottom;
}

/* section_02 캐릭터용: 각 파트별로 따로 숨김 제어할 거라서
   .people / .bubble 각자에 부여 */
.char-hide-people {
    opacity: 0;
}
.char-hide-bubble {
    opacity: 0;
}

/* scroll 감지용 마커.
   일반 컨텐츠들(video_zone 등)은 translate/scale로 등장시킬 거라 scroll-watch 사용.
   캐릭터들은 위치 틀어지면 안 돼서 scroll-watch-char만 씀 (시각적 영향 없음). */
.scroll-watch {
    opacity:0;
    transform: translateY(20px) scale(0.9);
    will-change: transform, opacity;
}
.scroll-watch-char {
    /* 위치 보존. 시각적으로는 그냥 그대로. */
    /* opacity/transform 안 건드림 */
}


/* ==========================
   keyframes
   ========================== */

/* 메인 타이틀 텍스트: 위에서 아래로 내려오면서 페이드 */
@keyframes fadeInDownKey {
    0% { opacity:0; transform: translateY(-20px); }
    100% { opacity:1; transform: translateY(0); }
}

/* obj_01 (지니): 아래서 위로 자연스럽게 */
@keyframes fadeInUpKey {
    0% { opacity:0; transform: translateY(20px); }
    100% { opacity:1; transform: translateY(0); }
}

/* obj_02 / obj_03: 0.6에서 1로 커지는 효과만 (투명도는 안 건드림) */
@keyframes scaleGrowKey {
    0% { transform: scale(0.6); }
    100% { transform: scale(1); }
}

/* 지니 말풍선(.gini_bubble) 좌우 까딱 */
@keyframes bubbleSwingKey {
    0%   { transform: rotate(-3deg) translateY(0); }
    50%  { transform: rotate(3deg) translateY(-1px); }
    100% { transform: rotate(-3deg) translateY(0); }
}

/* obj_03 사람 말풍선(.people_bubble) 좌우 까딱 */
@keyframes bubbleSwingSideKey {
    0%   { transform: rotate(-2deg) translateX(0); }
    50%  { transform: rotate(2deg) translateX(2px); }
    100% { transform: rotate(-2deg) translateX(0); }
}

/* 스크롤 등장용 (video_zone 등 팝업 느낌) */
@keyframes popInKey {
    0% { opacity:0; transform: scale(0.8) translateY(20px); }
    100% { opacity:1; transform: scale(1) translateY(0); }
}

/* info flip(Y축 살짝) */
@keyframes flipInKey {
    0% {
        opacity:0;
        transform: rotateX(20deg) translateY(20px);
        transform-origin: bottom;
    }
    100% {
        opacity:1;
        transform: rotateX(0deg) translateY(0);
    }
}

/* bottom_img 등장 (아래서 위로 올라오는 느낌) */
@keyframes riseInKey {
    0% {
        opacity:0;
        transform: translateY(-20px) scale(0.8);
    }
    100% {
        opacity:1;
        transform: translateY(0) scale(1);
    }
}

/* section_04 .inner 통통 튀면서 등장 */
@keyframes bounceInKey {
    0% {
        opacity:0;
        transform: scale(0.6) translateY(30px);
    }
    60% {
        opacity:1;
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity:1;
        transform: scale(1) translateY(0);
    }
}

/* 캐릭터에서 사람(.people)이 등장할 때 */
@keyframes personInKey {
    0%   { opacity:0; transform: translateY(20px); }
    100% { opacity:1; transform: translateY(0); }
}

/* 캐릭터에서 말풍선(.bubble)이 등장할 때 */
@keyframes bubbleInKey {
    0%   { opacity:0; transform: scale(0.8); }
    100% { opacity:1; transform: scale(1); }
}

/* 말풍선이 떠다니는 무한 루프 (A타입 / B타입 교차) */
@keyframes floatUpDownA {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@keyframes floatUpDownB {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(6px); }
    100% { transform: translateY(0); }
}

@keyframes bubbleFadeInKey {
    0%   { opacity:0; transform: scale(0.9) translateY(-4px); }
    100% { opacity:1; transform: scale(1) translateY(0); }
}

/* 말풍선(people_bubble) 처음엔 숨김 */
.people-bubble-hide {
    opacity: 0;
}

/* 나중에 등장할 때 붙여줄 클래스  */
.people-bubble-reveal {
    /* 1) 먼저 bubbleFadeInKey로 등장 (.4초)
       2) 그 다음 bubbleSwingSideKey로 좌우 까딱 반복
       → 2개 애니메이션을 콤마로 같이 넣고, 두 번째는 delay 0.4s 줌 */
    animation:
        bubbleFadeInKey .4s ease-out forwards,
        bubbleSwingSideKey 2s ease-in-out .01s infinite;
    transform-origin: bottom center;
}

/* ==========================
   로딩 시 on-ani 붙었을 때
   ========================== */

/* 메인 타이틀 텍스트 (부모 .main_title 자체는 안 건드림) */
.main_title_img.on-ani {
    animation: fadeInDownKey .6s ease-out forwards;
}

/* obj_02: 처음엔 .pre-scale 로 깔려 있다가 커짐 */
/* .section_main .obj .item.obj_02.on-ani {
    animation: scaleGrowKey .5s ease-out forwards;
    transform-origin: center bottom;
} */

/* obj_01: (지니) 아래서 위로 / 버블은 까딱 반복 */
.section_main .obj .item.obj_01.on-ani {
    animation: fadeInUpKey .5s ease-out forwards;
}
.section_main .obj .item.obj_01.on-ani .gini_bubble {
    animation: bubbleSwingKey 2s ease-in-out infinite;
    transform-origin: bottom center;
}

/* obj_03: (휴대폰) scale grow / people_bubble 까딱 반복 */
.section_main .obj .item.obj_03.on-ani {
    animation: scaleGrowKey .5s ease-out forwards;
    transform-origin: center bottom;
}

/* phone_view 안 텍스트는 이미 marquee 7s linear infinite 돌고 있으니까 따로 안 건드려 */


/* ==========================
   스크롤 트리거 들어왔을 때
   ========================== */

/* 공통 섹션들 */
.video_zone.scroll-in {
    animation: popInKey .6s cubic-bezier(.16,.84,.44,1) forwards;
}
.section_02 .info.scroll-in {
    animation: flipInKey .6s ease-out forwards;
}
.section_03 .bottom_img.scroll-in {
    animation: riseInKey .6s ease-out forwards;
}
.section_04 .inner.scroll-in {
    animation: bounceInKey .7s cubic-bezier(.16,.84,.44,1) forwards;
}

/* 캐릭터 .people/.bubble 등장용 (순차로 JS에서 클래스 붙여줌) */
.char-people-in {
    animation: personInKey .5s ease-out forwards;
}
.char-bubble-in {
    animation: bubbleInKey .5s ease-out forwards;
}

/* 캐릭터 말풍선이 등장 완료된 뒤엔 둥둥 떠야 함 (좌/우 교차) */
.bubble-float-left {
    animation: floatUpDownA 2.4s ease-in-out infinite;
    transform-origin: bottom center;
}
.bubble-float-right {
    animation: floatUpDownB 2.4s ease-in-out infinite;
    transform-origin: bottom center;
}


/* ==========================
   quick_btn.mo 위치 전환
   ========================== */
.quick_btn.mo.is-fixed {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 999;
}
.quick_btn.mo.is-abs {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

