@charset="euc-kr";

@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansBold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansLight';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* 공통 */
#wrapper {
    overflow: hidden;
    min-width: 1300px;
    margin: 0 auto;
}

#wrapper.wide { 
	width: auto !important; 
}

#wrapper > div > img {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

#wrapper > div > .inner {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
    text-align: center;
}

/* visual */
.visual {
    position: relative;
    background: linear-gradient(180deg,rgba(0, 43, 153, 1) 0%, rgba(0, 6, 31, 1) 54%);
}

#wrapper .visual .inner {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0;
}

#wrapper .visual .inner .tit {
    position: absolute;
    top: 244px;
    left: 0;
}

/* visual bg layers (design size 1920 x 846) */
@property --visual_reveal {
    syntax: '<percentage>';
    inherits: false;
    initial-value: -30%;
}

@property --visual_neon {
    syntax: '<percentage>';
    inherits: false;
    initial-value: .5%;
}

@property --visual_neon_a {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

#wrapper .visual .visual_bg {
    position: relative;
    left: 50%;
    width: 1920px;
    height: 846px;
    transform: translateX(-50%);
    overflow: hidden;
}

#wrapper .visual .visual_bg img {
    position: absolute;
    display: block;
}

#wrapper .visual .visual_bg .bg_dark, #wrapper .visual .visual_bg .bg_light {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* light: 네온 마스크(차 출발점 50% 88% → 앞으로) + 배경 마스크(소실점 52% 82% → 전체) */
#wrapper .visual .visual_bg .bg_light {
    --visual_reveal: -30%;
    --visual_neon: .5%;
    --visual_neon_a: 0;
    -webkit-mask-image:
        radial-gradient(ellipse calc(var(--visual_neon) * 3) var(--visual_neon) at 50% 88%, rgba(0,0,0,var(--visual_neon_a)) 60%, transparent 100%),
        radial-gradient(ellipse at 52% 82%, #000 var(--visual_reveal), transparent calc(var(--visual_reveal) + 30%));
    mask-image:
        radial-gradient(ellipse calc(var(--visual_neon) * 3) var(--visual_neon) at 50% 88%, rgba(0,0,0,var(--visual_neon_a)) 60%, transparent 100%),
        radial-gradient(ellipse at 52% 82%, #000 var(--visual_reveal), transparent calc(var(--visual_reveal) + 30%));
}

/* car: transform-origin = 차가 나타나는 점 → 커지며 다가옴 */
#wrapper .visual .visual_bg .car {
    left: 826px;
    top: 650px;
    width: 266px;
    height: auto;
    opacity: 0;
    transform-origin: 50% 52%;
    will-change: transform, opacity;
}

/* play */
#wrapper .visual.is_play .bg_light {
    animation: visual_reveal 2.8s linear forwards;
}

#wrapper .visual.is_play .car {
    animation: visual_car_come 1.8s cubic-bezier(.5,0,.2,1) .4s forwards;
}

@keyframes visual_reveal {
    /* 1. 어두움 (차 대기 0.4초) */
    0%, 14% {
        --visual_reveal: -30%;
        --visual_neon: .5%;
        --visual_neon_a: 0;
        filter: brightness(1);
        animation-timing-function: cubic-bezier(.5,0,.2,1);
    }

    /* 차가 보이기 시작하는 시점에 네온 켜짐 */
    24% {
        --visual_neon_a: 1;
    }

    /* 2. 차 전진: 네온이 뒤에서 앞으로 켜짐 + 중심부 밝아짐 (차 도착 1.93초) */
    69% {
        --visual_reveal: 35%;
        --visual_neon: 20%;
        --visual_neon_a: 1;
        filter: brightness(1.1);
        animation-timing-function: cubic-bezier(.2,.8,.3,1);
    }

    /* 3. 도착 순간 번쩍 */
    76% {
        filter: brightness(1.3);
    }

    /* 3. 전체 밝아짐 */
    100% {
        --visual_reveal: 100%;
        --visual_neon: 20%;
        --visual_neon_a: 1;
        filter: brightness(1);
    }
}

@keyframes visual_car_come {
    0% {
        opacity: 0;
        transform: scale(.06);
        filter: blur(2px) brightness(.5);
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
        transform: scale(1.03);
        filter: blur(0) brightness(1.15);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #wrapper .visual.is_play .bg_light, #wrapper .visual.is_play .car {
        animation: none;
    }

    #wrapper .visual .visual_bg .bg_light {
        --visual_reveal: 100%;
        --visual_neon: 20%;
        --visual_neon_a: 1;
    }

    #wrapper .visual .visual_bg .car {
        opacity: 1;
    }
}

.visual .gauge_wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* ===== gauge (design size 331 x 235 @1x) ===== */
.visual .gauge_wrap {
    position: relative;
    width: 331px;
    height: 235px;
    transform-origin: 50.91% 70%;
}

.visual .gauge_wrap img {
    position: absolute;
    display: block;
}

.visual .gauge_wrap .gauge_bg, .gauge_wrap .gauge_fill, .gauge_wrap .gauge_scale {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.visual .gauge_wrap .gauge_fade {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-mask-image: linear-gradient(to bottom, #000 88.51%, rgba(0,0,0,.92) 89.79%, rgba(0,0,0,.8) 91.06%, rgba(0,0,0,.68) 92.34%, rgba(0,0,0,.55) 93.62%, rgba(0,0,0,.33) 94.89%, rgba(0,0,0,.16) 96.17%, rgba(0,0,0,.05) 97.45%, rgba(0,0,0,.01) 98.72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 88.51%, rgba(0,0,0,.92) 89.79%, rgba(0,0,0,.8) 91.06%, rgba(0,0,0,.68) 92.34%, rgba(0,0,0,.55) 93.62%, rgba(0,0,0,.33) 94.89%, rgba(0,0,0,.16) 96.17%, rgba(0,0,0,.05) 97.45%, rgba(0,0,0,.01) 98.72%, transparent 100%);
}

/* fill: revealed by a conic mask, --gauge_a is driven by JS */
.visual .gauge_wrap .gauge_fill {
    --gauge_a: 16deg;
    --gauge_s: 0;
    -webkit-mask-image: conic-gradient(from 225deg at 50.91% 70%, rgba(0,0,0,var(--gauge_s)) 0deg, rgba(0,0,0,var(--gauge_s)) 16deg, #000 16deg, #000 var(--gauge_a), transparent var(--gauge_a));
    mask-image: conic-gradient(from 225deg at 50.91% 70%, rgba(0,0,0,var(--gauge_s)) 0deg, rgba(0,0,0,var(--gauge_s)) 16deg, #000 16deg, #000 var(--gauge_a), transparent var(--gauge_a));
}

/* needle: pivot = dial center, image pose = final pose (113) */
.visual .gauge_wrap .gauge_needle {
    left: 28.4%;
    top: 40.43%;
    width: 58.91%;
    height: 54.04%;
    transform-origin: 38.21% 54.72%;
    transform: rotate(-190.8deg);
}

.visual .gauge_wrap .gauge_mph {
    left: 32.63%;
    top: 44.26%;
    width: 36.56%;
    height: 51.49%;
}

/* number (placed above the MPH text) */
.visual .gauge_wrap .gauge_num {
    position: absolute;
    left: 32.63%;
    top: 60.85%;
    width: 36.56%;
    height: 36px;
    font-family: 'GangwonEdu Power', 'GmarketSans', 'Pretendard', sans-serif;
    font-size: 52px;
    letter-spacing: 3px;
    color: #fff;
    line-height: 36px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* tit bar */
.tit_bar {
    height: 254px;
    background: #674CFF;
}

.tit_bar .inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    height: 100%;
}

.tit_bar.bar1 .inner {
    background: url(img/tit_bar_obj01.png) left 35px bottom no-repeat;
}

.tit_bar.bar2 .inner {
    background: url(img/tit_bar_obj02.png) right bottom no-repeat;
}

.tit_bar.bar3 .inner {
    background: url(img/tit_bar_obj03.png) left bottom no-repeat;
}

.tit_bar.bar4 .inner {
    background: url(img/tit_bar_obj04.png) right 67px top 13px no-repeat;
}

.tit_bar.bar5 .inner {
    background: url(img/tit_bar_obj05.png) left 20px bottom no-repeat;
}

.tit_bar p {
    font-family: "GmarketSansBold";
    font-size: 56px;
    color: #fff;
    text-align: center;
    line-height: 68px;
    letter-spacing: -4px;
}

.tit_bar p span {
    display: block;
    color: #ffe969;
}

/* record */
.record {
    background: #01040f;
}

.record .thumb {
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.record {
    position: relative;
}

#wrapper .record .inner {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    padding: 50px 0;
}

.record .inner .con {
    position: relative;
}

.record .inner .con ul {
    position: absolute;
    top: 309px;
    left: 530px;
}

.record .inner .con ul li:not(:first-child) {
    margin-top: 18px;
}

.record .inner .txt {
    margin-top: 10px;
}

/* 마지막 li: on/off 겹쳐서 깜박임 */
.record .inner .con ul li.blink {
    position: relative;
    margin: 8px -10px 0 0;
}

.record .inner .con ul li.blink img {
    display: block;
}

.record .inner .con ul li.blink .on {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* AOS로 등장한 뒤부터 깜박임 시작 (페이드 없이 딱딱 끊어서 전환) */
.record .inner .con ul li.blink.aos-animate .off {
    animation: blinkOff 1s steps(1, end) 1.2s infinite;
}

.record .inner .con ul li.blink.aos-animate .on {
    animation: blinkOn 1s steps(1, end) 1.2s infinite;
}

@keyframes blinkOn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes blinkOff {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* provision */
.provision .inner .tit {
    display: inline-block;
    position: relative;
}

.provision .inner .tit:before {
    content: "";
    display: block;
    position: absolute;
    top: -46px;
    right: -164px;
    width: 140px;
    height: 140px;
    background: url(img/provision_badge.png) 0 0 no-repeat;
}

.provision .inner .track {
    display: flex;
    width: max-content;
    will-change: transform;
    position: relative;
    right: 50%;
    transform: translateX(-50%);
    margin-top: 75px;
    animation: marqueeLoop 100s linear infinite;
}

.provision .inner .rolling {
    display: flex;
    gap: 10px;
}

.provision .inner .rolling .item {
    flex: 0 0 auto;
}

@keyframes marqueeLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* 그룹이 2개라 -50%면 딱 이어짐 */
}

/* compact */
.compact {
    background: #F5F8FF;
}

.compact .inner .tit {
    margin-bottom: 50px;
}

.compact .inner .con+.con {
    margin-top: 30px;
}

/* contrast */
.contrast {
    background: #F5F8FF;
}

.contrast .inner {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contrast .inner .con {
    position: relative;
}

.contrast .inner .con a {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
}

/* service */
.service .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service .inner .con {
    position: relative;
    width: calc(100% / 2 - 15px);
}

.service .inner .btn {
    margin-top: 30px;
}

.service .inner .btn a {
    display: block;
    width: 490px;
    height: 130px;
    background: url(img/service_btn.png) 0 0 no-repeat;
    text-indent: -9999px;
}

/* lineup */
#wrapper .lineup .inner {
    width: 1400px;
}

.lineup .inner .slide {
    position: relative;
    margin-top: 25px;
}

.lineup .inner .slide .box {
    margin: -500px 0 0;
}

.lineup .inner .slide .box .swiper-button-prev, .lineup .inner .slide .box .swiper-button-next {
    background: url(img/lineup_slide_arr.png) no-repeat 0 0 / 100%;
    width: 30px;
    height: auto;
    aspect-ratio: 1 / 1.7;
    top: 500px;
}

.lineup .inner .slide .box .swiper-button-prev {
    left: 100px;
}

.lineup .inner .slide .box .swiper-button-next {
    right: 100px;
    transform: scaleX(-1);
}

.lineup .inner .slide .box .swiper-button-prev:after, .lineup .inner .slide .box .swiper-button-next:after {
    display: none;
}

.lineup .inner .con {
    position: relative;
    margin-top: 60px;
}

.lineup .inner .con .circle_box {
    position: absolute;
    left: 149px;
    top: 45px;
}

.lineup .inner .con .circle_progress {
    position: relative;
    width: 290px;
    margin: 0 auto;
}

.lineup .inner .con .circle_progress svg {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

.lineup .inner .con .circle_bg {
    fill: none;
    stroke: #EFF3FF;
    stroke-width: 36;
}

.lineup .inner .con .circle_bar {
    fill: none;
    stroke: url(#circleGrad);
    stroke-width: 36;
    stroke-linecap: round;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
}

.lineup .inner .con .circle_center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    width: 100%;
    line-height: 1;
}

.lineup .inner .con .circle_center .txt1 {
    font-size: 25px;
    font-weight: 500;
    color: #000;
    margin-top: 8px;
}

.lineup .inner .con .circle_center .txt2 {
    font-size: 38px;
    font-weight: 700;
    color: #000;
    margin-top: 8px;
}

.lineup .inner .con .circle_center .txt3 {
    font-size: 40px;
    font-weight: 800;
    color: #1D4DFF;
    letter-spacing: -0.04em;
    margin-top: 8px;
}

.lineup .inner .con .circle_center .txt3 .num {
    display: inline-block;
    text-align: center;
}

.lineup .inner .con .circle_center .txt3 .star {
    font-size: 20px;
    font-weight: 800;
    color: #1D4DFF;
    position: relative;
    top: -10px;
    left: 2px;
}

/* banner */
.banner {
    background: #121530;
}

/* lectureList */
#lectureList {
    width: 1200px;
    margin: 0 auto;
}

/* 하단배너 제거 */
.fix_all_btm_type_banner {
    display: none;
}

/* ------------------------------ animation css ↓ ---------------------------------------------
	animation:60s linear 0s infinite normal forwards running rollingTop1;
	animation:60s linear 0s infinite normal forwards running rollingTop2;
	animation:click 1s ease-in infinite alternate;
	animation:blinker 1s ease-in infinite alternate;
------------------------------------------------------------------------------------------ */
/* 한쪽으로 흐르는 애니메이션(top:위로, right:오른쪽으로) */
@keyframes rollingTop1 {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-100%);
    }

    50.01% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes rollingTop2 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-200%);
    }
}

@keyframes rollingTop3 {
    0% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(-150%);
    }

    50.01% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes rollingTop4 {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(-250%);
    }
}

@keyframes rollingBottom1 {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(100%);
    }

    50.01% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes rollingBottom2 {
    0% {
        transform: translateY(-200%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes rollingRight1 {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(100%);
    }

    50.01% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes rollingRight2 {
    0% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0);
    }
}

/* 손가락 클릭 유도 애니메이션 */
@keyframes click {
    0% {
        transform: translate(0,0);
    }

    100% {
        transform: translate(10%,10%);
    }
}

/* 위 아래 떠다니는 애니메이션 */
@keyframes bounce {
    50% {
        transform: translate(10px,-10px)
    }
}

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(3000px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%);
    }
}

@keyframes twinkle1 {
    0% {
        opacity: 0.3;
        transform: scale(0.92);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.3;
        transform: scale(0.92);
    }
}

@keyframes twinkle2 {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.3;
    }
}

/* anchor */
.anchor {
    position: fixed !important;
    right: 20px;
    top: 300px;
    z-index: 15;
    /*display: none;*/
}

.anchor * {
    font-family: "Pretendard";
}

.anchor ul {
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.anchor ul li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 155px;
    background: #fff;
    border: 1px solid #ECECED;
    border-bottom: none;
    text-align: center;
    transition: height .5s;
}

.anchor ul li:first-child a {
    border-radius: 16px 16px 0 0;
}

.anchor ul li:last-child a {
    background: #FF3E67;
    border-bottom: 1px solid #ECECED;
    border-radius: 0 0 16px 16px;
}

.anchor ul li:last-child * {
    color: #fff;
}

.anchor ul li a .num {
    margin: -3px 0 2px 0;
    font-weight: 900;
    font-size: 16px;
    color: #524CFF;
}

.anchor ul li a p {
    font-weight: 500;
    font-size: 18px;
    color: #000;
    line-height: 21px;
}

.anchor ul li a p span {
    display: block;
    font-weight: 700;
    color: #524CFF;
}

.anchor > a {
    display: block;
    margin-top: 10px;
    text-align: center;
}

.anchor ul li a.on {
    height: 85px;
    background: #5631F2 url(img/anchor_obj.png) center top 10px no-repeat;
}

.anchor ul li a.on * {
    color: #fff;
}

.anchor ul li a.on p {
    padding-top: 26px;
}
