@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(-120px);
}
[data-smg="smg-fade-down"].animated {
    opacity: 1;
    transform: translateY(0);
}

[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-fade-left"] {
    opacity: 0;
    transform: translateX(200px);
}
[data-smg="smg-fade-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-smg="smg-fade-right"] {
    opacity: 0;
    transform: translateX(-200px);
}
[data-smg="smg-fade-right"].animated {
    opacity: 1;
    transform: translateX(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;
}

.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: -320px;
    width: 320px;
    height: 840px;
    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: 416px;
    height: 93px;
    background: url(../img/item/ico-menu-open.webp) right bottom / auto 93px no-repeat;
}

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

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

.menu .list-item .li-title {
    width: 69px;
    height: 26px;
    margin-bottom: 16px;
}

.menu .list-item .li-title a {
    display: block;
    width: 100%;
    height: 100%;
}
.menu .list-item .li-title a.c1 { background: url(../img/item/menu-title-1.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item .li-title a.c2 { background: url(../img/item/menu-title-2.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item .li-title a.c3 { background: url(../img/item/menu-title-3.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item .li-title a.c4 { background: url(../img/item/menu-title-4.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item .li-title a.c5 { 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: 240px;
    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.c1-1 { background: url(../img/item/menu-c-1-1.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.c1-2 { background: url(../img/item/menu-c-1-2.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.c2-1 { background: url(../img/item/menu-c-2-1.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.c2-2 { background: url(../img/item/menu-c-2-2.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.c3-1 { background: url(../img/item/menu-c-3-1.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.c3-2 { background: url(../img/item/menu-c-3-2.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.c4-1 { background: url(../img/item/menu-c-4-1.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.c4-2 { background: url(../img/item/menu-c-4-2.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.c5-1 { background: url(../img/item/menu-c-5-1.webp) 0 0 / 100% auto no-repeat; }
.menu .list-item li a.c5-2 { background: url(../img/item/menu-c-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@2x.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 !important;
}

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

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

.guide {
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}

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

/* Main Titile */
#main {
    overflow: unset;
}

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

#main .cover {

}

#main .cover .obj-desk {
    top: 864px;
    right: 0;
    width: 721px;
    height: 86px;
    background: url(../img/intro/deco-desk.webp) 0 0 / 100% auto no-repeat;
    transition-delay: 0ms;
}

#main .cover .obj-monitor {
    top: 474px;
    right: 0;
    width: 552px;
    height: 390px;
    background: url(../img/intro/deco-monitor.webp) 0 0 / 100% auto no-repeat;
    transition-delay: 1000ms;
}

#main .grp-board {
    position: absolute;
    top: 335px;
    left: 148px;
    width: 970px;
    height: 504px;
    background: url(../img/intro/main-board.webp) 0 0 / 100% auto no-repeat;
    transition-delay: 0ms;
}

#main .grp-board .obj-flag {
    top: 40px;
    left: 248px;
    width: 461px;
    height: 120px;
    background: url(../img/intro/title-flag.webp) 0 0 / 100% auto no-repeat;
    animation: rubberBand 2s 3;
}

#main .grp-board .obj-doodle {
    top: 130px;
    right: 110px;
    width: 92px;
    height: 94px;
    background: url(../img/intro/title-heart.webp) 0 0 / 100% auto no-repeat;
    transition-delay: 0ms;
}

#main .grp-board .obj-text1 {
    top: 207px;
    left: 230px;
    width: 512px;
    height: 77px;
    background: url(../img/intro/title-1.webp) 0 0 / 100% auto no-repeat;
    transition-delay: 1000ms;
}

#main .grp-board .obj-text2 {
    top: 305px;
    left: 118px;
    width: 746px;
    height: 118px;
    background: url(../img/intro/title-2.webp) 0 0 / 100% auto no-repeat;
    transition-delay: 1500ms;
}

#main .obj-cup {
    position: absolute;
    top: 645px;
    right: 130px;
    width: 97px;
    height: 219px;
    background: url(../img/intro/deco-cup.webp) 0 0 / 100% auto no-repeat;
    transition-delay: 2s;
}

#main .grp-title {
    position: absolute;
    top: 32px;
    left: 460px;
    width: 350px;
    height: 364px;
}

#main .grp-title .obj-newspaper {
    top: 0;
    left: 0;
    width: 345px;
    height: 327px;
    background: url(../img/intro/tit-news.webp) 0 0 / 100% auto no-repeat;
}

#main .grp-title .obj-label {
    top: 70px;
    left: 33px;
    width: 244px;
    height: 69px;
    transform-origin: bottom center;
}
#main .grp-title .obj-label.animated {
    animation: ky-lesson-label 1s 1;
}

@keyframes ky-lesson-label {
    0% {
        transform: scale(0);
    }
    80% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}
#main .grp-title .obj-label.l1 {background: url(../img/intro/tit-lesson-1.webp) 0 0 / 100% auto no-repeat;}
#main .grp-title .obj-label.l2 {background: url(../img/intro/tit-lesson-2.webp) 0 0 / 100% auto no-repeat;}
#main .grp-title .obj-label.l3 {background: url(../img/intro/tit-lesson-3.webp) 0 0 / 100% auto no-repeat;}
#main .grp-title .obj-label.l4 {background: url(../img/intro/tit-lesson-4.webp) 0 0 / 100% auto no-repeat;}
#main .grp-title .obj-label.l5 {background: url(../img/intro/tit-lesson-5.webp) 0 0 / 500% auto no-repeat;}

#main .grp-title .obj-text {
    background-color: transparent;
    perspective: 1000px;
}

#main .grp-title .obj-t-dok {
    position: absolute;
    top: 142px;
    left: -98px;
    width: 132px;
    height: 146px;
}
#main .grp-title .obj-t-do {
    position: absolute;
    top: 154px;
    left: 29px;
    width: 125px;
    height: 138px;
}
#main .grp-title .obj-t-sin {
    position: absolute;
    top: 143px;
    left: 149px;
    width: 130px;
    height: 142px;
}
#main .grp-title .obj-t-mun {
    position: absolute;
    top: 143px;
    left: 273px;
    width: 132px;
    height: 144px;
}

.obj-text .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.obj-text.animated .flip-card-inner {
    animation: ky-flip-card 1s 1;
}

@keyframes ky-flip-card {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(180deg);
    }
}

.obj-text .flip-card-front,
.obj-text .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

.obj-text .flip-card-back {
    transform: rotateY(180deg);
}

#main .grp-title .obj-t-dok .flip-card-front,
#main .grp-title .obj-t-dok .flip-card-back {background: url(../img/intro/tit-word-1.webp) 0 0 / 100% auto no-repeat;}
#main .grp-title .obj-t-do .flip-card-front,
#main .grp-title .obj-t-do .flip-card-back {background: url(../img/intro/tit-word-2.webp) 0 0 / 100% auto no-repeat;}
#main .grp-title .obj-t-sin .flip-card-front,
#main .grp-title .obj-t-sin .flip-card-back {background: url(../img/intro/tit-word-3.webp) 0 0 / 100% auto no-repeat;}
#main .grp-title .obj-t-mun .flip-card-front,
#main .grp-title .obj-t-mun .flip-card-back {background: url(../img/intro/tit-word-4.webp) 0 0 / 100% auto no-repeat;}

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

/* Map */
#scene2 .background {
    height: 950px;
    background: #90dbdf url(../img/map/bg-map.webp) 50% 50% / 100% auto repeat;
}

#scene2 .cover {
    
}

#scene2 .cover .obj-books {
    bottom: 0;
    left: 0;
    width: 398px;
    height: 586px;
    background: url(../img/map/deco-books.webp) 0 0 / 100% auto no-repeat;
    transition-delay: 400ms;
}

#scene2 .cover .obj-plant {
    bottom: 0;
    right: 0;
    width: 428px;
    height: 419px;
    background: url(../img/map/deco-plant.webp) 0 0 / 100% auto no-repeat;
    transition-delay: 1000ms;
}

#scene2 .grp-board {
    position: absolute;
    top: 70px;
    left: -10px;
    width: 1286px;
    height: 863px;
    background: url(../img/map/mission-board.webp) 0 0 / 100% auto no-repeat;
    transition-delay: 0ms;
}

#scene2 .grp-board .obj-pic {
    position: absolute;
    top: 150px;
    left: 150px;
    width: 317px;
    height: 230px;
    background: url(../img/map/deco-pic.webp) 0 0 / 100% auto no-repeat;
    transition-delay: 500ms;
}

#scene2 .grp-board .obj-menu {
    position: absolute;
    transform-origin: top center;
    cursor: pointer;
}
#scene2 .grp-board .obj-menu.m1 {
    top: 450px;
    left: 330px;
    width: 354px;
    height: 287px;
    padding-top: 45px;
    transition-delay: 800ms;
    animation: ky-menu-rotate 1s infinite 1s ease-in-out;
}
#scene2 .grp-board .obj-menu.m2 {
    top: 450px;
    left: 770px;
    width: 360px;
    height: 294px;
    padding-top: 50px;
    transition-delay: 1000ms;
    animation: ky-menu-rotate 1s infinite 1.2s ease-in-out backwards;
}

#lesson1 .grp-board .obj-menu.m1 { background: url(../img/map/menu-1-1.webp) 0 0 / 100% auto no-repeat; }
#lesson1 .grp-board .obj-menu.m2 { background: url(../img/map/menu-1-2.webp) 0 0 / 100% auto no-repeat; }
#lesson2 .grp-board .obj-menu.m1 { background: url(../img/map/menu-2-1.webp) 0 0 / 100% auto no-repeat; }
#lesson2 .grp-board .obj-menu.m2 { background: url(../img/map/menu-2-2.webp) 0 0 / 100% auto no-repeat; }
#lesson3 .grp-board .obj-menu.m1 { background: url(../img/map/menu-3-1.webp) 0 0 / 100% auto no-repeat; }
#lesson3 .grp-board .obj-menu.m2 { background: url(../img/map/menu-3-2.webp) 0 0 / 100% auto no-repeat; }
#lesson4 .grp-board .obj-menu.m1 { background: url(../img/map/menu-4-1.webp) 0 0 / 100% auto no-repeat; }
#lesson4 .grp-board .obj-menu.m2 { background: url(../img/map/menu-4-2.webp) 0 0 / 100% auto no-repeat; }
#lesson5 .grp-board .obj-menu.m1 { background: url(../img/map/menu-5-1.webp) 0 0 / 100% auto no-repeat; }
#lesson5 .grp-board .obj-menu.m2 { background: url(../img/map/menu-5-2.webp) 0 0 / 100% auto no-repeat; }

@keyframes ky-menu-rotate {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

#scene2 .grp-board .obj-pin {
    position: absolute;
    top: 100px;
    left: 480px;
    width: 606px;
    height: 399px;
    background: url(../img/map/deco-path.webp) 0 0 / 100% auto no-repeat;
}

.dokdotalk .background {
    height: 950px;
    background: #bda2f5 url(../img/chat/bg-chat.webp) 50% 50% / auto 100% no-repeat;
}

.dokdotalk .chat-wrap {
    position: absolute;
    top: 111px;
    left: 24px;
    width: 1213px;
    height: 838px;
    overflow: hidden;
}

.dokdotalk .chat-wrap .grp-talks {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* overflow-y: scroll; */
    /* scrollbar-color: #ffd144 #fff */
}

.dokdotalk .chat-wrap .grp-talks .talk {
    opacity: 0;
    position: relative;
    margin-bottom: 15px;
    background-size: auto 100%;
    background-position: top 0 left 45px;
    background-repeat: no-repeat;
    transition: all 1s;
    transform: translateY(-120px);
}
.dokdotalk .chat-wrap .grp-talks .talk.active {
    opacity: 1;
    transform: translateY(0);
    animation: shakeY 1s ease-in-out 1 normal both;
}
.dokdotalk .chat-wrap .grp-talks .talk.item1 {
    margin-top: 230px;
}
.dokdotalk .chat-wrap .grp-talks .talk.item2 {
    background-position: top 0 right 45px;
}

#lesson1 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-1-1.webp);
}
#lesson1 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item2 {
    height: 152px;
    background-image: url(../img/chat/talk-l-1-2.webp);
}
#lesson1 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item3 {
    height: 199px;
    background-image: url(../img/chat/talk-l-1-3.webp);
}
#lesson1 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-1-4.webp);
}
#lesson1 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item2 {
    height: 152px;
    background-image: url(../img/chat/talk-l-1-5.webp);
}
#lesson1 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item3 {
    height: 199px;
    background-image: url(../img/chat/talk-l-1-6.webp);
}
#lesson1 .dokdotalk.item3 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-1-7.webp);
}
#lesson1 .dokdotalk.item3 .chat-wrap .grp-talks .talk.item2 {
    height: 98px;
    margin-top: 30px;
    background-image: url(../img/chat/talk-l-1-8.webp);
}
.dokdotalk.item3 .chat-wrap .grp-talks .talk.item3,
.dokdotalk.item3 .chat-wrap .grp-talks .talk.item3,
.dokdotalk.item3 .chat-wrap .grp-talks .talk.item3,
.dokdotalk.item3 .chat-wrap .grp-talks .talk.item3,
.dokdotalk.item3 .chat-wrap .grp-talks .talk.item3 {
    height: 199px;
    background-image: url(../img/chat/talk-end.webp);
}

#lesson2 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-2-1.webp);
}
#lesson2 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item2 {
    height: 152px;
    background-image: url(../img/chat/talk-l-2-2.webp);
}
#lesson2 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item3 {
    height: 199px;
    background-image: url(../img/chat/talk-l-2-3.webp);
}
#lesson2 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-2-4.webp);
}
#lesson2 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item2 {
    height: 152px;
    background-image: url(../img/chat/talk-l-2-5.webp);
}
#lesson2 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item3 {
    height: 199px;
    background-image: url(../img/chat/talk-l-2-6.webp);
}
#lesson2 .dokdotalk.item3 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-2-7.webp);
}
#lesson2 .dokdotalk.item3 .chat-wrap .grp-talks .talk.item2 {
    height: 98px;
    margin-top: 30px;
    background-image: url(../img/chat/talk-l-2-8.webp);
}

#lesson3 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-3-1.webp);
}
#lesson3 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item2 {
    height: 152px;
    background-image: url(../img/chat/talk-l-3-2.webp);
}
#lesson3 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item3 {
    height: 199px;
    background-image: url(../img/chat/talk-l-3-3.webp);
}
#lesson3 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-3-4.webp);
}
#lesson3 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item2 {
    height: 152px;
    background-image: url(../img/chat/talk-l-3-5.webp);
}
#lesson3 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item3 {
    height: 199px;
    background-image: url(../img/chat/talk-l-3-6.webp);
}
#lesson3 .dokdotalk.item3 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-3-7.webp);
}
#lesson3 .dokdotalk.item3 .chat-wrap .grp-talks .talk.item2 {
    height: 98px;
    margin-top: 30px;
    background-image: url(../img/chat/talk-l-3-8.webp);
}

#lesson4 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-4-1.webp);
}
#lesson4 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item2 {
    height: 152px;
    background-image: url(../img/chat/talk-l-4-2.webp);
}
#lesson4 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item3 {
    height: 199px;
    background-image: url(../img/chat/talk-l-4-3.webp);
}
#lesson4 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-4-4.webp);
}
#lesson4 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item2 {
    height: 152px;
    background-image: url(../img/chat/talk-l-4-5.webp);
}
#lesson4 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item3 {
    height: 199px;
    background-image: url(../img/chat/talk-l-4-6.webp);
}
#lesson4 .dokdotalk.item3 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-4-7.webp);
}
#lesson4 .dokdotalk.item3 .chat-wrap .grp-talks .talk.item2 {
    height: 152px;
    background-image: url(../img/chat/talk-l-4-8.webp);
}

#lesson5 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-5-1.webp);
}
#lesson5 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item2 {
    height: 152px;
    background-image: url(../img/chat/talk-l-5-2.webp);
}
#lesson5 .dokdotalk.item1 .chat-wrap .grp-talks .talk.item3 {
    height: 199px;
    background-image: url(../img/chat/talk-l-5-3.webp);
}
#lesson5 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-5-4.webp);
}
#lesson5 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item2 {
    height: 152px;
    background-image: url(../img/chat/talk-l-5-5.webp);
}
#lesson5 .dokdotalk.item2 .chat-wrap .grp-talks .talk.item3 {
    height: 199px;
    background-image: url(../img/chat/talk-l-5-6.webp);
}
#lesson5 .dokdotalk.item3 .chat-wrap .grp-talks .talk.item1 {
    height: 199px;
    background-image: url(../img/chat/talk-l-5-7.webp);
}
#lesson5 .dokdotalk.item3 .chat-wrap .grp-talks .talk.item2 {
    height: 98px;
    margin-top: 30px;
    background-image: url(../img/chat/talk-l-5-8.webp);
}

.dokdotalk .chat-wrap .grp-noti {
    position: absolute;
    top: 20px;
    left: 45px;
    width: 1130px;
    height: 160px;
    z-index: 1;
}

.dokdotalk .chat-wrap .grp-noti.c1 { background: url(../img/chat/noti-panel-1.webp) 0 0 / 100% auto no-repeat; }
.dokdotalk .chat-wrap .grp-noti.c2 { background: url(../img/chat/noti-panel-2.webp) 0 0 / 100% auto no-repeat; }
.dokdotalk .chat-wrap .grp-noti.c3 { background: url(../img/chat/noti-panel-3.webp) 0 0 / 100% auto no-repeat; }
.dokdotalk .chat-wrap .grp-noti.c4 { background: url(../img/chat/noti-panel-4.webp) 0 0 / 100% auto no-repeat; }
.dokdotalk .chat-wrap .grp-noti.c5 { background: url(../img/chat/noti-panel-5.webp) 0 0 / 100% auto no-repeat; }

.dokdotalk .chat-wrap .grp-noti .obj-shake {
    top: 50px;
    left: 40px;
    width: 160px;
    height: 64px;
    background: url(../img/chat/bell-shake.webp) 0 0 / auto 100% no-repeat;
    animation: ky-ani-shake 1s steps(2) infinite;
}

@keyframes ky-ani-shake {
    to {
        background-position: -320px 0;
    }
}

.dokdotalk .chat-wrap .grp-noti .obj-bell {
    top: 16px;
    left: 70px;
    width: 97px;
    height: 111px;
    transform-origin: top center;
    background: url(../img/chat/bell.webp) 0 0 / auto 100% no-repeat;
    animation: ky-menu-rotate 1s infinite;
}

.dokdotalk .chat-wrap .grp-noti .obj-dot {
    top: 20px;
    left: 125px;
    width: 47px;
    height: 47px;
    background: url(../img/chat/bell-noti.webp) 0 0 / auto 100% no-repeat;
    animation: flash 2s infinite;
}

/* Contents */
.btn-collect {
    opacity: 0;
    position: absolute;
    bottom: 40px;
    left: 50%;
    margin-left: -137.5px;
    width: 275px;
    height: 102px;
    background: url(../img/item/btn-collect@2x.webp) 0 0 / 100% auto no-repeat;
    transform: translateY(400px);
    transition: transform 1s ease-in-out;
    z-index: 99;
}
.btn-collect.active {
    transform: translateY(0);
    opacity: 1;
}

/* Ending */
#ending .background {
    height: 950px;
    background: #5f9ae3 url(../img/ending/bg-ending.webp) 50% 50% / auto 100% no-repeat;
    cursor: url(../img/item/pointer.webp), default;
    z-index: 0;
}

#ending .contents {
    height: 0;
    top: 950px;
}

#ending .grp-folder {
    position: absolute;
    bottom: 220px;
    right: 47px;
}

#ending .grp-folder .file {
    width: 215px;
    height: 169px;
    margin-bottom: 40px;
    cursor: url(../img/item/pointer.webp), default; 
}
#ending .grp-folder .file.item1 {
    transition-delay: 500ms;
}
#ending .grp-folder .file.item2 {
    transition-delay: 1000ms;
}

#ending .grp-folder .file.c1-1 { background: url(../img/ending/sp-folder-1-1.webp) 0 0 / auto 100% no-repeat; }
#ending .grp-folder .file.c1-2 { background: url(../img/ending/sp-folder-1-2.webp) 0 0 / auto 100% no-repeat; }
#ending .grp-folder .file.c2-1 { background: url(../img/ending/sp-folder-2-1.webp) 0 0 / auto 100% no-repeat; }
#ending .grp-folder .file.c2-2 { background: url(../img/ending/sp-folder-2-2.webp) 0 0 / auto 100% no-repeat; }
#ending .grp-folder .file.c3-1 { background: url(../img/ending/sp-folder-3-1.webp) 0 0 / auto 100% no-repeat; }
#ending .grp-folder .file.c3-2 { background: url(../img/ending/sp-folder-3-2.webp) 0 0 / auto 100% no-repeat; }
#ending .grp-folder .file.c4-1 { background: url(../img/ending/sp-folder-4-1.webp) 0 0 / auto 100% no-repeat; }
#ending .grp-folder .file.c4-2 { background: url(../img/ending/sp-folder-4-2.webp) 0 0 / auto 100% no-repeat; }
#ending .grp-folder .file.c5-1 { background: url(../img/ending/sp-folder-5-1.webp) 0 0 / auto 100% no-repeat; }
#ending .grp-folder .file.c5-2 { background: url(../img/ending/sp-folder-5-2.webp) 0 0 / auto 100% no-repeat; }

#ending.l3 .grp-folder .file,
#ending.l4 .grp-folder .file.item2,
#ending.l5 .grp-folder .file {
    padding-top: 60px;
}

#ending .grp-holding {
    position: absolute;
    bottom: 0px;
    left: -194px;
    width: 1145px;
    height: 906px;
    transform-origin: 40px 906px;
    background: url(../img/ending/news-panel.webp) 0 0 / 100% auto no-repeat;
    transform: rotate(80deg) translate(150px, 70px);
    transition: all 1s;
}
#ending .grp-holding.animated {
    transform: rotate(0deg) translate(0, 0);
}

#ending .curr-page {
    position: absolute;
    top: 23px;
    right: 76px;
    width: 43px;
    height: 44px;
}
#ending .curr-page.item1 { background: url(../img/ending/curr-page-1.webp) 0 0 / auto 100% no-repeat; }
#ending .curr-page.item2 { background: url(../img/ending/curr-page-2.webp) 0 0 / auto 100% no-repeat; }
#ending .curr-page.item3 { background: url(../img/ending/curr-page-3.webp) 0 0 / auto 100% no-repeat; }
#ending .curr-page.item4 { background: url(../img/ending/curr-page-4.webp) 0 0 / auto 100% no-repeat; }
#ending .curr-page.item5 { background: url(../img/ending/curr-page-5.webp) 0 0 / auto 100% no-repeat; }

#ending .news-desc {
    position: absolute;
    top: 188px;
    left: 240px;
    width: 830px;
    height: 40px;
    transform: rotate(-.5deg);
}

#ending .grp-summary {
    position: absolute; 
    top: 240px;
    width: 405px;
    height: 560px;
    padding: 10px;
}
#ending .grp-summary.m1 {
    left: 240px;
}
#ending .grp-summary.m2 {
    left: 660px;
}

#ending .grp-summary .title {
    width: 401px;
    height: 64px;
    margin-bottom: 20px;
    padding: 13px;
}
#ending .grp-summary.c1-1 .title { background: url(../img/ending/ending-tit-1-1.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c1-2 .title { background: url(../img/ending/ending-tit-1-2.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c2-1 .title { background: url(../img/ending/ending-tit-2-1.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c2-2 .title { background: url(../img/ending/ending-tit-2-2.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c3-1 .title { background: url(../img/ending/ending-tit-3-1.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c3-2 .title { background: url(../img/ending/ending-tit-3-2.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c4-1 .title { background: url(../img/ending/ending-tit-4-1.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c4-2 .title { background: url(../img/ending/ending-tit-4-2.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c5-1 .title { background: url(../img/ending/ending-tit-5-1.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c5-2 .title { background: url(../img/ending/ending-tit-5-2.webp) 0 0 / 100% auto no-repeat; }

#ending .grp-summary.m1 .article {
    /* position: absolute;
    top: 0;
    left: 8px;
    width: 100%;
    height: 320px; */
}

#ending .grp-summary.m1 .article p {
    position: absolute;
    top: 190px;
    left: 18px;
    width: 382px;
    height: 320px;

}
#ending .grp-summary.c1-1 .article p { background: url(../img/ending/ending-art-1-1.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c2-1 .article p { background: url(../img/ending/ending-art-2-1.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c3-1 .article p { background: url(../img/ending/ending-art-3-1.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c4-1 .article p { background: url(../img/ending/ending-art-4-1.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c5-1 .article p { background: url(../img/ending/ending-art-5-1.webp) 0 0 / 100% auto no-repeat; }


#ending .grp-summary.m2 .tit {
    position: absolute;
    top: 105px;
    left: 40px;
    width: 333px;
    height: 42px;
}
#ending .grp-summary.c1-2 .article .tit { background: url(../img/ending/ending-art-1-2.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c2-2 .article .tit { background: url(../img/ending/ending-art-2-2.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c3-2 .article .tit { background: url(../img/ending/ending-art-3-2.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c4-2 .article .tit { background: url(../img/ending/ending-art-4-2.webp) 0 0 / 100% auto no-repeat; }
#ending .grp-summary.c5-2 .article .tit { background: url(../img/ending/ending-art-5-2.webp) 0 0 / 100% auto no-repeat; }

#ending .grp-summary .article input,
#ending .grp-summary .article textarea {
    width: 100%;
    padding: 9px 20px;
    border: 4px solid #201d1a;
    border-radius: 12px;
    background-color: #fff;
}
#ending .grp-summary .article input {
    height: 70px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 32px;
    color: #444;
}
#ending .grp-summary .article textarea {
    resize: none;
    font: 400 26px / 1.6 'Esamanru';
    text-align: left;
    color: #444;
}

/* input placeholder */
#ending .grp-summary .article .form {
    position: absolute;
}

#ending .grp-summary.m1 .article .form {
    top: 90px;
    left: 10px;
}

#ending .grp-summary.m2 .article .form {
    left: 10px;
    top: 180px;
}

#ending .grp-summary .article div.form.guide::before {
    content: '제목을 작성해 보자';
    position: absolute;
    top: 13px;
    width: 100%;
    font: 400 26px / 1.6 'Esamanru';
    font-size: 33px;
    text-align: center;
    color: #eee;
    pointer-events: none;
}
#ending .grp-summary .article p.form.guide::after {
    content: '내용을 작성해 보자';
    position: absolute;
    top: 150px;
    left: 10px;
    width: calc(100% - 20px);
    font: 400 26px / 1.6 'Esamanru';
    font-size: 33px;
    text-align: center;
    color: #eee;
    pointer-events: none;
}

#ending .news-nav {
    position: absolute;
    bottom: 30px;
    left: 260px;
    width: 800px;
    text-align: center;
}

#ending .news-nav li {
    display: inline-block;
    position: relative;
    width: 43px;
    height: 46px;
    cursor: pointer;
}
#ending .news-nav li.item1 { background: url(../img/ending/nav-idx-1.webp) 0 0 / auto 100% no-repeat; }
#ending .news-nav li.item2 { background: url(../img/ending/nav-idx-2.webp) 0 0 / auto 100% no-repeat; }
#ending .news-nav li.item3 { background: url(../img/ending/nav-idx-3.webp) 0 0 / auto 100% no-repeat; }
#ending .news-nav li.item4 { background: url(../img/ending/nav-idx-4.webp) 0 0 / auto 100% no-repeat; }
#ending .news-nav li.item5 { background: url(../img/ending/nav-idx-5.webp) 0 0 / auto 100% no-repeat; }

#ending .news-nav li.active {
    background-position: -43px 0;
    cursor: default;
}

/* 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;
}

.modal#tryAgain .dimmed {
    background-color: transparent;
}

.modal#tryAgain .modal-contents {
    position: relative;
    width: 838px;
    height: 325px;
    padding: 100px 60px 70px 340px;
    background: url(../img/item/wrong-panel.webp) 0 0 / 100% auto no-repeat;
}
.modal#tryAgain .modal-contents.book {
    background: url(../img/item/wrong-panel-book.webp) 0 0 / 100% auto no-repeat;  
}
.modal#tryAgain .modal-contents.name {
    background: url(../img/item/wrong-panel-name.webp) 0 0 / 100% auto no-repeat;  
}

.modal#tryAgain .modal-contents .btn-modal-close {
    position: absolute;
    right: -20px;
    top: -27px;
    width: 84px;
    height: 84px;
    background: url(../img/item/btn-modal-close@2x.webp) 0 0 / 100% auto no-repeat;
    cursor: pointer;
}

/* 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) {


}