@charset "UTF-8";

body {
    width: 100%;
    font-family: '돋움', Dotum, '굴림', Gulim, Helvetica, sans-serif !important;
    font-size: 16px;
    line-height: 1.267em;
    -webkit-text-size-adjust: none;
    font-weight: 400;
    letter-spacing: -0.05em;
    -ms-word-break: keep-all;
    word-break: keep-all;
    background-color: #FFF;
    color: #333;

    /* Before isReady */
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s;
}

/* Common Class */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: fixed !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
    background-color: #1d60a7;
    clip: auto !important;
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: bold;
    height: auto;
    left: 0;
    right: 0;
    line-height: normal;
    padding: 15px;
    text-decoration: none;
    top: 0;
    text-align: center;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar */
}

.clearfix:before,
.clearfix:after {
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

.clearfix:after {
    clear: both;
}

.hidden {
    visibility: hidden;
    overflow: hidden;
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    text-indent: 101%;
    font-size: 0;
    line-height: 0;
    white-space: nowrap;
}

/* Skip navigation */
#skip {
    position: relative;
    z-index: 9999;
}

#skip a {
    position: absolute;
    top: -200px;
    left: 0;
    width: 160px;
    line-height: 30px;
    border: 1px solid #dedede;
    background-color: #333;
}

#skip a:active,
#skip a:focus {
    top: 0;
}

/* Layouts */
.wrap {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

article {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* scroll magic */
[data-smg^="smg-"] {
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

[data-smg="smg-reveal"] {
    opacity: 0;
    transform: scale(0.8);
}
[data-smg="smg-reveal"].animated {
    opacity: 1;
    transform: scale(1);
}

[data-smg="smg-fade-down"] {
    opacity: 0;
    transform: translateY(-100%);
}
[data-smg="smg-fade-down"].animated {
    opacity: 1;
    transform: translateY(0%);
}

[data-smg="smg-flip"] {
    opacity: 0;
    transform: scale(1, 0);
}
[data-smg="smg-flip"].animated {
    opacity: 1;
    transform: scale(1, 1);
}

[data-smg="smg-fade-up"] {
    opacity: 0;
    transform: translate3d(0, 100px, 0)
}
[data-smg="smg-fade-up"].animated {
    opacity: 1;
    transform: translateZ(0)
}

[data-smg="smg-zoom-in"] {
    opacity: 0;
    transform: scale(.6);
}
[data-smg="smg-zoom-in"].animated {
    opacity: 1;
    transform: scale(1);
}

[data-smg="smg-stamp"] {
    opacity: 0;
    transform: scale(1.5);
}
[data-smg="smg-stamp"].animated {
    opacity: 1;
    transform: scale(1);
    transition-delay: .5s;
}

[data-smg="smg-fade-left"] {
    opacity: 0;
    transform: translateX(300px);
}
[data-smg="smg-fade-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-smg="smg-fade-right"] {
    opacity: 0;
    transform: translateX(-300px);
}
[data-smg="smg-fade-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

.underline {
    position: relative;
    display: inline-block;
}

.underline::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 8px;
    background: url(../img/item/img-underline.webp) 50% 50% / 193px auto repeat-x;
}

/* Quick Menu */
.menu-wrap {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 9000;
}

.menu-wrap .menu {
    position: absolute;
    top: 40px;
    left: -280px;
    width: 282px;
    height: 830px;
    background: url(../img/item/bg-menu-panel.webp) top left / auto 100% no-repeat;
    transition: all .5s ease-in-out;
    z-index: 1;
}
.menu-wrap .menu.opened {
    left: 0;
}

.menu-wrap .menu + .dimmed {
    position: fixed;
    transition: all .5s ease-in-out;
    width: 0;
    height: 0;
    z-index: 0;
}

.menu-wrap .menu.opened + .dimmed {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.menu .btn-menu {
    position: absolute;
    top: 20px;
    left: 0;
    width: 376px;
    height: 100px;
    background: url(../img/item/ico-menu-open.webp) right bottom / auto 100px no-repeat;
}

.menu .panel-menu {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 120px 20px 40px 30px;
}

.menu .list-item {
    margin-top: 14px;
}

.menu .list-item .li-title {
    width: 64px;
    height: 25px;
    margin-bottom: 18px;
}

.menu .list-item .li-title a {
    display: block;
    width: 100%;
    height: 100%;
}
.menu .list-item .li-title a.b1 { background: url(../img/item/menu-title-1.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item .li-title a.b2 { background: url(../img/item/menu-title-2.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item .li-title a.b3 { background: url(../img/item/menu-title-3.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item .li-title a.b4 { background: url(../img/item/menu-title-4.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item .li-title a.b5 { background: url(../img/item/menu-title-5.webp) 0 0 / 100% auto no-repeat; }

.menu .list-item li {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
    padding-left: 24px;
}

.menu .list-item li a {
    display: block;
    width: 173px;
    height: 22px;
}

.menu .list-item li::before {
    content: '';
    position: absolute;
    left: -4px;
    width: 0;
    height: 100%;
    background-color: #fcff1e;
    transition: width .5s ease-in-out;
    z-index: -1;
}
.menu .list-item li:hover::before {
    width: calc(100% + 15px);
}
.menu .list-item li::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 4px;
    width: 8px;
    height: 8px;
    display: inline-block;
    background: url(../img/item/ico-list-item.webp) 50% 50% / 100% auto no-repeat;
}
.menu .list-item li a.b1-1 { background: url(../img/item/menu-b-1-1.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.b1-2 { background: url(../img/item/menu-b-1-2.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.b2-1 { background: url(../img/item/menu-b-2-1.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.b2-2 { background: url(../img/item/menu-b-2-2.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.b3-1 { background: url(../img/item/menu-b-3-1.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.b3-2 { background: url(../img/item/menu-b-3-2.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.b4-1 { background: url(../img/item/menu-b-4-1.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.b4-2 { background: url(../img/item/menu-b-4-2.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.b5-1 { background: url(../img/item/menu-b-5-1.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.b5-2 { background: url(../img/item/menu-b-5-2.webp) 0 0 / 100% auto no-repeat; }

/* Floating */
.floating {
    position: fixed;
    right: 20px;
    bottom: 40px;
    z-index: 8000;
}

.floating .btn-go-top {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 117px;
    height: 117px;
    background: url(../img/item/ico-to-top.webp) 50% 50% / 100% auto no-repeat;
    transition: opacity 1s;
}

.floating .btn-go-top.active {
    opacity: 1;
    visibility: visible;
}

/* Scene Common */
.background {
    position: relative;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.contents {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1260px;
    height: 100%;
    margin: 0 auto;
    text-align: center;
    transform: translateX(-50%);
    overflow: visible;
}

.cover {
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    width: 2000px;
    min-width: 1590px;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
}

div[class^="obj-"] {
    position: absolute;
}

div[class^="btn-"] {
    cursor: pointer;
}

/* Guides */
.guide.disabled {
    display: none;
}

.guide {
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}
#main .guide {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.obj-guide {
    width: 238px;
    height: 264px;
    background: url(../img/item/guide-finger.webp) 50% 50% / 100% auto no-repeat;
    z-index: 2;
    pointer-events: none;
}

/* Main Titile */

#main .background {
    height: 960px;
    background: #50d3ff url(../img/intro/bg-main.webp) 50% 50% / auto 100% no-repeat;
}

#main .obj-lt-wave {
    top: 144px;
    left: -15px;
    width: 812px;
    height: 352px;
    background: url(../img/intro/bg-lt-wave.webp) 50% 50% / 100% auto no-repeat;
}

#main .obj-rt-wave {
    top: 144px;
    left: 699px;
    width: 536px;
    height: 354px;
    background: url(../img/intro/bg-rt-wave.webp) 50% 50% / 100% auto no-repeat;
    animation-delay: .9s; 
}

#main .obj-shadow {
    top: 391px;
    left: 108px;
    width: 1063px;
    height: 371px;
    background: url(../img/intro/bg-shadow-1.webp) 50% 50% / 100% auto no-repeat;
    /* animation: headShake 10s infinite alternate; */
}

#main .obj-kflag {
    top: 217px;
    left: 1002px;
    width: 124px;
    height: 135px;
    background: url(../img/intro/ico-korea-flag.webp) 50% 50% / 100% auto no-repeat;
    transform-origin: bottom left; 
}

#main .obj-dokdo {
   top: 150px;
   left: 81px;
   width: 1114px;
   height: 412px;
   background: url(../img/intro/bg-dokdo.webp) 50% 50% / 100% auto no-repeat;
}

#main .obj-gull1 {
    top: 104px;
    left: 1103px;
    width: 120px;
    height: 42px;
    background: url(../img/intro/bg-deco-gull-1.webp) 50% 50% / 100% auto no-repeat;
    animation-delay: 2.3s;
}

#main .obj-gull2 {
    top: 233px;
    left: -11px;
    width: 123px;
    height: 54px;
    background: url(../img/intro/bg-deco-gull-2.webp) 50% 50% / 100% auto no-repeat;
    animation-delay: 1s;
}

#main .obj-block1 {
    top: 446px;
    left: 1218px;
    width: 126px;
    height: 48px;
    background: url(../img/intro/bg-blocks-1.webp) 50% 50% / 100% auto no-repeat;
    animation-delay: .2s;
}

#main .obj-block2 {
    top: 485px;
    left: -199px;
    width: 193px;
    height: 74px;
    background: url(../img/intro/bg-blocks-2.webp) 50% 50% / 100% auto no-repeat;
    animation-delay: .4s;
}

#main .obj-block3 {
    top: 505px;
    left: 836px;
    width: 210px;
    height: 110px;
    background: url(../img/intro/bg-blocks-3.webp) 50% 50% / 100% auto no-repeat;
    animation-delay: .7s;
}

#main .cover .obj-lt-conc {
    left: 0;
    bottom: 0;
    width: 684px;
    height: 411px;
    background: url(../img/intro/bg-lt-conc.webp) 50% 50% / 100% auto no-repeat;
}

#main .cover .obj-lt-bird {
    left: 350px;
    bottom: 252px;
    width: 154px;
    height: 131px;
    background: url(../img/intro/bg-bird.webp) 50% 50% / 100% auto no-repeat;
    /* animation-duration: 2s; */
}

#main .cover .obj-lt-text {
    left: 290px;
    bottom: 390px;
    width: 215px;
    height: 177px;
    background: url(../img/intro/bg-talk.webp) 50% 50% / 100% auto no-repeat;
    /* animation */
    animation: tada 2s ease-out infinite;
    transform-origin: bottom center;
}

#main .cover .obj-rt-conc {
    right: 0;
    bottom: 0;
    width: 580px;
    height: 427px;
    background: url(../img/intro/bg-rt-conc.webp) 50% 50% / 100% auto no-repeat;
}

#main .cover .obj-title {
    left: 50%;
    top: 66px;
    width: 537px;
    height: 360px;
    margin-left: -268px;
}
#lesson1 #main .cover .obj-title {background: url(../img/intro/bg-title-1.webp) 50% 50% / 100% auto no-repeat;}
#lesson2 #main .cover .obj-title {background: url(../img/intro/bg-title-2.webp) 50% 50% / 100% auto no-repeat;}
#lesson3 #main .cover .obj-title {background: url(../img/intro/bg-title-3.webp) 50% 50% / 100% auto no-repeat;}
#lesson4 #main .cover .obj-title {background: url(../img/intro/bg-title-4.webp) 50% 50% / 100% auto no-repeat;}
#lesson5 #main .cover .obj-title {background: url(../img/intro/bg-title-5.webp) 50% 50% / 100% auto no-repeat;}

#main .grp-texts {
    position: absolute;
    top: 581px;
    left: 50%;
    width: 675px;
    transform: translateX(-50%);
    text-align: center;
}

#main .grp-texts > * {
    display: block;
    position: relative;
    width: 100%;
    height: 35px;
    margin-bottom: 5px;
    background: url(../img/intro/txt-1-1.webp) 50% 50% / auto 100% no-repeat;
    transition: all .5s ease-in-out;
}

#main .obj-txt2 {
    transition-delay: 200ms;
    background: url(../img/intro/txt-1-2.webp) 50% 50% / auto 100% no-repeat;
}
#main .obj-txt3 {
    margin-bottom: 10px;
    transition-delay: 400ms;
    background: url(../img/intro/txt-1-3.webp) 50% 50% / auto 100% no-repeat;
}
#main .obj-txt4 {
    transition-delay: 500ms;
    background: url(../img/intro/txt-2-1.webp) 50% 50% / auto 100% no-repeat;
}
#main .obj-txt5 {
    transition-delay: 600ms;
    background: url(../img/intro/txt-2-2.webp) 50% 50% / auto 100% no-repeat;
}
#main .obj-txt6 {
    transition-delay: 1000ms;
    background: url(../img/intro/txt-2-3.webp) 50% 50% / auto 100% no-repeat;
}

#main .obj-pt-cover {
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url(../img/intro/bg-cover.webp) 0 0 / 540px auto repeat-x;
    animation: ky-cover 30s infinite both normal;
}

@keyframes ky-cover {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 2000px 0;
    }
}

#main .float-scroll {
    position: absolute;
    bottom: 10px;
    left: 50%;
    width:  105px;
    height: 105px;
    margin-left: -51px;
    background: url(../img/intro/ico-scroll.webp) 50% 50% / 100% auto no-repeat;
    z-index: 1;
    animation-duration: 5s;
}

/* Map */
#scene2 .background {
    height: 1600px;
    background: #236db2 url(../img/map/bg-map.webp) center bottom 0px / auto 102% no-repeat;
}

#scene2 .obj-guide {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -20px;
    margin-left: -30px;
    animation: shakeY 3s infinite;
}

#scene2 .guide-text {
    height: 90px;
    margin-top: 80px;
    background: url(../img/map/img-guide-text.webp) 50% 50% / auto 100% no-repeat;
}

#scene2 .grp-dice {
    position: absolute;
    width: 200px;
    height: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

#scene2 .grp-dice .obj-dice {
    width: 214px;
    height: 230px;
    background: url(../img/map/obj-dice.webp) 0 0 / 428px 230px no-repeat;
    animation: sp-dice-blink 2s steps(2) infinite;
    cursor: pointer;
}
#scene2 .grp-dice .obj-dice:hover {
    background-position: -214px 0;
    animation: none;
}

#scene2 .grp-dice .obj-sp-dice {
    display: none;
    margin-left: -71px;
    margin-top: -185px;
    width: 406px;
    height: 540px;
    animation: sp-dice-ani 3s steps(12) 1 forwards paused;
}

#scene2 .grp-dice .obj-sp-dice.active {
    display: block;
    animation-play-state: running;
}

.nav-map .grp-board {
    position: absolute;
    left: 50%;
    top: 590px;
}

.nav-map .obj-cloud1 {
    width: 141px;
    height: 108px;
    top: 43px;
    left: 1302px;
    background: url(../img/map/bg-cloud-1.webp) 50% 50% / 100% auto no-repeat;
}

.nav-map .obj-cloud2 {
    width: 200px;
    height: 149px;
    top: 345px;
    left: 1374px;
    background: url(../img/map/bg-cloud-2.webp) 50% 50% / 100% auto no-repeat;
}

.nav-map .obj-cloud3 {
    width: 239px;
    height: 183px;
    left: -212px;
    top: 1301px;
    background: url(../img/map/bg-cloud-3.webp) 50% 50% / 100% auto no-repeat;
}

.nav-map .obj-buoy {
    width: 121px;
    height: 171px;
    left: 162px;
    top: 615px;
    background: url(../img/map/bg-buoy.webp) 50% 50% / 100% auto no-repeat;
}

.nav-map .obj-lt-boat {
    width: 504px;
    height: 300px;
    left: -450px;
    top: 660px;
    background: url(../img/map/bg-lt-boat.webp) 50% 50% / 100% auto no-repeat;
}

.nav-map .obj-rt-boat {
    width: 469px;
    height: 300px;
    left: 1161px;
    top: 562px;
    background: url(../img/map/bg-rt-boat.webp) 50% 50% / 100% auto no-repeat;
}

.nav-map .obj-balloon {
    width: 205px;
    height: 258px;
    left: -152px;
    top: 299px;
    background: url(../img/map/bg-balloon.webp) 50% 50% / 100% auto no-repeat;
}

.nav-map .obj-gull1 {
    width: 136px;
    height: 48px;
    left: -63px;
    top: 1210px;
    background: url(../img/map/bg-gull-1.webp) 50% 50% / 100% auto no-repeat;
}

.nav-map .obj-gull2 {
    width: 136px;
    height: 48px;
    left: 1159px;
    top: 564px;
    background: url(../img/map/bg-gull-1.webp) 50% 50% / 100% auto no-repeat;
    transform: scaleX(-1);
}

.nav-map .grp-board {
    position: absolute;
    left: -65px;
    top: 570px;
    width: 1397px;
    height: 1015px;
    overflow: visible;
    background: url(../img/map/bg-board.webp) 50% 50% / 100% auto no-repeat;
}

.nav-map .grp-node { 
    width: 100%;
    height: 100%;
}
.nav-map .grp-node div[class^="node"] {
    position: absolute;
    width: 180px;
    height: 200px;
}

.nav-map .grp-node .r1 {top: -44px}
.nav-map .grp-node .r2 {top: 38px; z-index: 1;}
.nav-map .grp-node .r3 {top: 120px; z-index: 2;}
.nav-map .grp-node .r4 {top: 202px; z-index: 3;}
.nav-map .grp-node .r5 {top: 284px; z-index: 4;}
.nav-map .grp-node .r6 {top: 366px; z-index: 5;}
.nav-map .grp-node .r7 {top: 448px; z-index: 6;}
.nav-map .grp-node .r8 {top: 530px; z-index: 7;}
.nav-map .grp-node .r9 {top: 612px; z-index: 8;}
.nav-map .grp-node .r10 {top: 694px; z-index: 9;}
.nav-map .grp-node .r11 {top: 776px; z-index: 10;}

.nav-map .grp-node .c1 {left: 66px}
.nav-map .grp-node .c2 {left: 174px}
.nav-map .grp-node .c3 {left: 282px}
.nav-map .grp-node .c4 {left: 390px}
.nav-map .grp-node .c5 {left: 498px}
.nav-map .grp-node .c6 {left: 606px}
.nav-map .grp-node .c7 {left: 714px}
.nav-map .grp-node .c8 {left: 822px}
.nav-map .grp-node .c9 {left: 930px}
.nav-map .grp-node .c10 {left: 1038px}
.nav-map .grp-node .c11 {left: 1146px}

.nav-map .grp-node .node1-1 {
    transition-delay: 100ms;
    background: url(../img/map/img-node-1-1-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .4s;}
.nav-map .grp-node .node1-2 {
    transition-delay: 100ms;
    background: url(../img/map/img-node-1-2-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .5s;}
.nav-map .grp-node .node1-3 {
    transition-delay: 100ms;
    background: url(../img/map/img-node-1-3-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: 0s;}
.nav-map .grp-node .node2-1 {
    transition-delay: 400ms;
    background: url(../img/map/img-node-2-1-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .3s;}
.nav-map .grp-node .node2-2 {
    transition-delay: 400ms;
    background: url(../img/map/img-node-2-2-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .7s;}
.nav-map .grp-node .node2-3 {
    transition-delay: 400ms;
    background: url(../img/map/img-node-2-3-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .5s;}
.nav-map .grp-node .node2-4 {
    transition-delay: 400ms;
    background: url(../img/map/img-node-2-4-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .4s;}
.nav-map .grp-node .node3-1 {
    transition-delay: 800ms;
    background: url(../img/map/img-node-3-1-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .5s;}
.nav-map .grp-node .node3-2 {
    transition-delay: 800ms;
    background: url(../img/map/img-node-3-2-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .3s;}
.nav-map .grp-node .node3-3 {
    transition-delay: 800ms;
    background: url(../img/map/img-node-3-3-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: 0s;}
.nav-map .grp-node .node3-4 {
    transition-delay: 800ms;
    background: url(../img/map/img-node-3-4-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .5s;}
.nav-map .grp-node .node4-1 {
    transition-delay: 1300ms;
    background: url(../img/map/img-node-4-1-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .4s;}
.nav-map .grp-node .node4-2 {
    transition-delay: 1300ms;
    background: url(../img/map/img-node-4-2-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .3s;}
.nav-map .grp-node .node4-key {
    transition-delay: 1300ms;
    background: url(../img/map/img-node-key-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .5s;}
.nav-map .grp-node .node4-3 {
    transition-delay: 1300ms;
    background: url(../img/map/img-node-4-3-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .3s;}
.nav-map .grp-node .node4-4 {
    transition-delay: 1300ms;
    background: url(../img/map/img-node-4-4-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .5s;}
.nav-map .grp-node .node5-1 {
    transition-delay: 1800ms;
    background: url(../img/map/img-node-5-1-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .7s;}
.nav-map .grp-node .node5-2 {
    transition-delay: 1800ms;
    background: url(../img/map/img-node-5-2-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: 0s;}
.nav-map .grp-node .node5-3 {
    transition-delay: 1800ms;
    background: url(../img/map/img-node-5-3-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .5s;}
.nav-map .grp-node .node5-4 {
    transition-delay: 1800ms;
    background: url(../img/map/img-node-fin-on.webp) 50% 50% / 100% auto no-repeat; animation-delay: .7s;}

.nav-map .grp-node .node1-1.disabled {background: url(../img/map/img-node-1-1-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node1-2.disabled {background: url(../img/map/img-node-1-2-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node2-1.disabled {background: url(../img/map/img-node-2-1-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node2-2.disabled {background: url(../img/map/img-node-2-2-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node2-3.disabled {background: url(../img/map/img-node-2-3-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node2-4.disabled {background: url(../img/map/img-node-2-4-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node3-1.disabled {background: url(../img/map/img-node-3-1-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node3-2.disabled {background: url(../img/map/img-node-3-2-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node3-3.disabled {background: url(../img/map/img-node-3-3-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node3-4.disabled {background: url(../img/map/img-node-3-4-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node4-1.disabled {background: url(../img/map/img-node-4-1-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node4-2.disabled {background: url(../img/map/img-node-4-2-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node4-key.disabled {background: url(../img/map/img-node-key-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node4-3.disabled {background: url(../img/map/img-node-4-3-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node4-4.disabled {background: url(../img/map/img-node-4-4-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node5-1.disabled {background: url(../img/map/img-node-5-1-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node5-2.disabled {background: url(../img/map/img-node-5-2-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node5-3.disabled {background: url(../img/map/img-node-5-3-off.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .node5-4.disabled {background: url(../img/map/img-node-fin-off.webp) 50% 50% / 100% auto no-repeat;}

.nav-map .grp-node div[class^="node"].active {cursor: pointer;}
.nav-map .grp-node div[class^="node"].active::after {
    content: '';
    display: block;
    position: absolute;
    left: -5px;
    bottom: 20px;
    width: 180px;
    height: 70px;
    animation: bounce 2s infinite paused;
}
.nav-map .grp-node .m1:hover div[class^="node"].active::after,
.nav-map .grp-node .m2:hover div[class^="node"].active::after {
    animation-play-state: running;
}

.nav-map .grp-node .l1.m1:hover .node1-2::after {background: url(../img/map/img-node-1-2-txt.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .l1.m2:hover .node1-3::after {background: url(../img/map/img-node-1-3-txt.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .l2.m1:hover .node2-2::after {background: url(../img/map/img-node-2-2-txt.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .l2.m2:hover .node2-4::after {background: url(../img/map/img-node-2-4-txt.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .l3.m1:hover .node3-2::after {background: url(../img/map/img-node-3-2-txt.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .l3.m2:hover .node3-3::after {background: url(../img/map/img-node-3-3-txt.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .l4.m1:hover .node4-2::after {background: url(../img/map/img-node-4-2-txt.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .l4.m2:hover .node4-3::after {background: url(../img/map/img-node-4-3-txt.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .l5.m1:hover .node5-2::after {background: url(../img/map/img-node-5-2-txt.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .l5.m2:hover .node5-3::after {background: url(../img/map/img-node-5-3-txt.webp) 50% 50% / 100% auto no-repeat;}

.nav-map .grp-node .l1.m0:hover .node1-1.active {background-image: url(../img/map/img-node-1-1-hov.webp);}
.nav-map .grp-node .l1.m1:hover .node1-2.active {background-image: url(../img/map/img-node-1-2-hov.webp);}
.nav-map .grp-node .l1.m2:hover .node1-3.active {background-image: url(../img/map/img-node-1-3-hov.webp);}
.nav-map .grp-node .l2.m0:hover .node2-1.active {background-image: url(../img/map/img-node-2-1-hov.webp);}
.nav-map .grp-node .l2.m1:hover .node2-2.active {background-image: url(../img/map/img-node-2-2-hov.webp);}
.nav-map .grp-node .l2.m1:hover .node2-3.active {background-image: url(../img/map/img-node-2-3-hov.webp);}
.nav-map .grp-node .l2.m2:hover .node2-4.active {background-image: url(../img/map/img-node-2-4-hov.webp);}
.nav-map .grp-node .l3.m0:hover .node3-1.active {background-image: url(../img/map/img-node-3-1-hov.webp);}
.nav-map .grp-node .l3.m1:hover .node3-2.active {background-image: url(../img/map/img-node-3-2-hov.webp)}
.nav-map .grp-node .l3.m2:hover .node3-3.active {background-image: url(../img/map/img-node-3-3-hov.webp);}
.nav-map .grp-node .l3.m2:hover .node3-4.active {background-image: url(../img/map/img-node-3-4-hov.webp);}
.nav-map .grp-node .l4.m0:hover .node4-1.active {background-image: url(../img/map/img-node-4-1-hov.webp);}
.nav-map .grp-node .l4.m1:hover .node4-2.active {background-image: url(../img/map/img-node-4-2-hov.webp)}
.nav-map .grp-node .l4.m1:hover .node4-key.active {background-image: url(../img/map/img-node-key-hov.webp);}
.nav-map .grp-node .l4.m2:hover .node4-3.active {background-image: url(../img/map/img-node-4-3-hov.webp)}
.nav-map .grp-node .l4.m2:hover .node4-4.active {background-image: url(../img/map/img-node-4-4-hov.webp);}
.nav-map .grp-node .l5.m0:hover .node5-1.active {background-image: url(../img/map/img-node-5-1-hov.webp);}
.nav-map .grp-node .l5.m1:hover .node5-2.active {background-image: url(../img/map/img-node-5-2-hov.webp);}
.nav-map .grp-node .l5.m2:hover .node5-3.active {background-image: url(../img/map/img-node-5-3-hov.webp);}
.nav-map .grp-node .l5.m2:hover .node5-4.active {background-image: url(../img/map/img-node-fin-hov.webp);}

.nav-map .grp-node .node1-2.active:hover {background-image: url(../img/map/img-node-1-2-hov.webp);}
.nav-map .grp-node .node1-3.active:hover {background-image: url(../img/map/img-node-1-3-hov.webp);}

.nav-map .grp-node .obj-dokdo {
    left: 323px;
    top: 194px;
    width: 711px;
    height: 496px;
    background: url(../img/map/img-ct-dokdo.webp) 50% 50% / 100% auto no-repeat;
    pointer-events: none;
    z-index: 5;
}

.nav-map .grp-node .flag-clear,
.nav-map .grp-node .flag-quest {
    display: none;
    position: absolute;
    left: 45px;
    top: -24px;
    width: 90px;
    height: 109px;
}
.nav-map .grp-node .flag-clear {background: url(../img/map/ico-check-clear.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .flag-quest {background: url(../img/map/ico-check-quest.webp) 50% 50% / 100% auto no-repeat;}
.nav-map .grp-node .flag-clear.active {
    display: block;
}
.nav-map .grp-node .flag-quest.active {
    display: block;
    animation: bounce 1s infinite;
}

/* 간지 */

.grp-kangi {
    position: relative;
    left: -10px;
    width: 1248px;
    height: 281px;
    margin: 50px auto 0;
}
.grp-kangi.b1 {background: url(../img/map/bg-kangi-1.webp) 50% 50% / 100% auto no-repeat;}
.grp-kangi.b2 {background: url(../img/map/bg-kangi-2.webp) 50% 50% / 100% auto no-repeat;}
.grp-kangi.b3 {background: url(../img/map/bg-kangi-3.webp) 50% 50% / 100% auto no-repeat;}
.grp-kangi.b4 {background: url(../img/map/bg-kangi-4.webp) 50% 50% / 100% auto no-repeat;}
.grp-kangi.b5 {background: url(../img/map/bg-kangi-5.webp) 50% 50% / 100% auto no-repeat;}

.grp-chkboard {
    position: relative;
    left: -43px;
    width: 1293px;
    height: 271px;
    margin: 16px auto 0;
    padding: 120px 0 0 270px;
}

#lesson1 .grp-chkboard.m1 {background: url(../img/1-m1/img-chkboard.webp) 50% 50% / 100% auto no-repeat;}
#lesson1 .grp-chkboard.m2 {background: url(../img/1-m2/img-chkboard.webp) 50% 50% / 100% auto no-repeat;}

#lesson2 .grp-chkboard.m1 {background: url(../img/2-m1/img-chkboard.webp) 50% 50% / 100% auto no-repeat;}
#lesson2 .grp-chkboard.m2 {background: url(../img/2-m2/img-chkboard.webp) 50% 50% / 100% auto no-repeat;}

#lesson3 .grp-chkboard.m1 {background: url(../img/3-m1/img-chkboard.webp) 50% 50% / 100% auto no-repeat;}
#lesson3 .grp-chkboard.m2 {background: url(../img/3-m2/img-chkboard.webp) 50% 50% / 100% auto no-repeat;}

#lesson4 .grp-chkboard.m1 {background: url(../img/4-m1/img-chkboard.webp) 50% 50% / 100% auto no-repeat;}
#lesson4 .grp-chkboard.m2 {background: url(../img/4-m2/img-chkboard.webp) 50% 50% / 100% auto no-repeat;}

#lesson5 .grp-chkboard.m1 {background: url(../img/5-m1/img-chkboard.webp) 50% 50% / 100% auto no-repeat;}
#lesson5 .grp-chkboard.m2 {background: url(../img/5-m2/img-chkboard.webp) 50% 50% / 100% auto no-repeat;}

.grp-chkboard .obj-chk-bird {
    bottom: 15px;
    left: 160px;
    width: 84px;
    height: 160px;
    background: url(../img/item/img-chk-bird.webp) 50% 50% / 100% auto no-repeat;
}

.grp-chkboard p {
    width: 895px;
    height: 64px;
}
.grp-chkboard.b1-1 p { background: url(../img/item/miss-txt-1-1.webp) 0 0 / 100% auto no-repeat; }
.grp-chkboard.b1-2 p { background: url(../img/item/miss-txt-1-2.webp) 0 0 / 100% auto no-repeat; }
.grp-chkboard.b2-1 p { background: url(../img/item/miss-txt-2-1.webp) 0 0 / 100% auto no-repeat; }
.grp-chkboard.b2-2 p { background: url(../img/item/miss-txt-2-2.webp) 0 0 / 100% auto no-repeat; }
.grp-chkboard.b3-1 p { background: url(../img/item/miss-txt-3-1.webp) 0 0 / 100% auto no-repeat; }
.grp-chkboard.b3-2 p { background: url(../img/item/miss-txt-3-2.webp) 0 0 / 100% auto no-repeat; }
.grp-chkboard.b4-1 p { background: url(../img/item/miss-txt-4-1.webp) 0 0 / 100% auto no-repeat; }
.grp-chkboard.b4-2 p { background: url(../img/item/miss-txt-4-2.webp) 0 0 / 100% auto no-repeat; }
.grp-chkboard.b5-1 p { background: url(../img/item/miss-txt-5-1.webp) 0 0 / 100% auto no-repeat; }
.grp-chkboard.b5-2 p { background: url(../img/item/miss-txt-5-2.webp) 0 0 / 100% auto no-repeat; }


/* Ending */
#ending .background {
    height: 1340px;
    background: #236db2 url(../img/map/bg-map.webp) center bottom / auto 107% no-repeat;
}

#ending.nav-map .grp-board {
    top: 301px;
}

#ending.nav-map .grp-deco {
    position: absolute;
    top: -270px;
}

#ending.nav-map .grp-ending {
    position: relative;
    left: -4px;
    width: 1116px;
    height: 161px;
    margin: 66px auto 0;
    background: url(../img/map/img-final-panel.webp) 50% 50% / 1116px auto no-repeat;
}

#ending.nav-map .grp-ending p {
    padding: 55px 0 55px 40px;
    font: 400 40px 'MobilePop';
    white-space: nowrap;
    color: #2b2d36;
    text-align: center;
}

#ending.nav-map .grp-ending .obj-medal {
    bottom: -17px;
    left: 20px;
    width: 186px;
    height: 216px;
    background: url(../img/map/img-medal.webp) 50% 50% / 100% auto no-repeat;
}
#ending.nav-map .grp-ending .obj-medal.animated {
    animation: ky-stamp 3s 1;
}

/*  modal */
.modal {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
}

.modal.active {
    display: block;
    opacity: 1;
    pointer-events: unset;
}

.modal .dimmed {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
}
.modal.active .dimmed {
    opacity: 1;
    pointer-events: unset;
}

.modal .modal-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 340px;
    max-width: 90%;
    height: 240px;
    padding: 50px 20px 10px;
    border-radius: 20px;
    background-color: rgba(0,0,0,.8);
    font: 400 24px / 1.4 'MobilePop';
    color: #fff;
    text-align: center;
}

.modal .modal-contents {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* alert modal */
.modal#rotateDevice,
.modal#resizeDevice {
    position: fixed;
    z-index: 10002;
}

.modal#rotateDevice .modal-box .sp-rotate {
    width: 90px;
    height: 77.5px;
    margin: 0 auto 30px;
    background: url(../img/item/img-rotate-sprite@2x.webp) 0 0 / auto 100% no-repeat;
    animation: sp-rotate 2s steps(3) infinite;
}

/* massage modal */
.modal#massageModal {
    position: absolute;
    z-index: 10000;
}

.modal#massageModal .modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 570px;
    height: 340px;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 20px 20px 30px rgb(0 0 0 / 10%);
    font: 400 35px / 1.4 'MobilePop';
    color: #212121;
    text-align: center;
}

.modal#massageModal .modal-box p {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    padding: 0 40px;
}

.modal#massageModal .modal-box .btn-modal-close {
    position: absolute;
    top: -20px;
    right: -30px;
    width: 84px;
    height: 84px;
    background: url(../img/3-m1/btn-modal-close@2x.webp) 50% 50% / 100% auto no-repeat;
    cursor: pointer;
}

@keyframes sp-rotate {
    to { background-position: -270px; }
}

.modal#resizeDevice .modal-box {
    padding-top: 110px;
}

/* Confetti Style */
.confetti-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* 1066 * 714 */
@media (min-width: 768px) and (max-width: 1023px) {


}