@charset "utf-8";

/* btn */
.bt:not(.bt-red)::after {background: none;}
.bt-quiz{position: relative; z-index: 10; background: url(../img/page005/btn-quiz.png) no-repeat center center / contain;text-indent: -9999px;width: 351px; height: 86px;text-shadow: none;box-shadow: none;}
.bt-quiz:hover{background-image: url(../img/page005/btn-quiz-active.png);}
.bt-quiz.on,.bt-quiz:active{background-image: url(../img/page005/btn-quiz-press.png);}
.cont-body .bt {position: absolute;width: auto;padding: 8px;border-radius: 22px;border: 1px solid rgba(0, 0, 0, 0.15);box-shadow: 2px 2px 2px 0px rgba(255, 255, 255, 0.25) inset, -2px -2px 1px 0px rgba(0, 0, 0, 0.25) inset, 0px 4px 4px 0px rgba(0, 0, 0, 0.25);font-size: 35px;background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(101deg, #BEAD92 42.03%, #B7A17E 93.47%);color: #59482E;cursor: auto;pointer-events: none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;	user-select:none;}
.cont-body .bt span {display: flex; justify-content: center;align-items: center;padding: 10px 20px;width: 100%;height: 100%; border-radius: 15px;box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.50);background: #D9D0BD;text-shadow: none;}
.bt.active {background: linear-gradient(101deg, #2BA7FF 42.03%, #0D7ED6 93.47%);cursor: pointer;pointer-events: auto;}
.bt.active span {background: #fff;color: #010781;}
.bt.afterActive {background: linear-gradient(101deg, #2BA7FF 42.03%, #0D7ED6 93.47%);cursor: pointer;pointer-events: auto;}
.bt.afterActive span {background: linear-gradient(0deg, rgba(1, 7, 129, 0.15) 0%, rgba(1, 7, 129, 0.15) 100%), linear-gradient(0deg, #2CA6FC -39.56%, #0F7ED5 223.68%);background-blend-mode: plus-darker, normal;text-shadow: 0px 4px 0px rgba(0, 0, 0, 0.20);color: #fff;}
button[data-step="1"] {top: 193.91px;left: 232.95px;}
button[data-step="2"] {top: 226.11px;left: 1496.38px;}
button[data-step="3"] {top: 457.32px;left: 604.32px;}
button[data-step="4"] {top: 581.25px;left: 349.23px;}
button[data-step="5"] {top: 744.49px;left: 752.77px;}
button[data-step="6"] {top: 651.25px;left: 1251.84px;}
button[data-step="7"] {top: 682.95px;left: 1606.03px;}

/* cursor */
.active-cursor {position: relative;z-index: 10;}
/* .active-cursor img {position: absolute;}
.active-cursor img:last-child {animation: cursorAni infinite alternate 0.6s linear;}
@keyframes cursorAni {
    from {opacity: 0;}
    to {opacity: 1;}
} */

/* popup */
.popup {padding: 56px 0 0 40px;height: 173px;color: #000;font-weight: 700;font-size: 35px;opacity: 0; transition: 0.2s;pointer-events: none;}
.popup.beforeAllActive {width: 556px;background:url(../img/page005/popup1.png) no-repeat 0 0 / contain;}
.popup.allActive {width: 669px;background:url(../img/page005/popup2.png) no-repeat 0 0 / contain;}
.bt-quiz.on ~ .popup.beforeAllActive {display: none;opacity: 0;pointer-events: none;}

/* modal */
.modal .close-btn {position: absolute;z-index: 1;width: 80px;height: 80px;top: -15px;right: -15px;}
.modal .modal-dialog {max-width: 1000px;}
.modal .modal-content {padding: 20px;}
.modal .modal-body {padding: 50px 70px;}
.modal-market .market-img {margin: 0 auto 30px;width: 820px;height: 450px;border-radius: 40px;overflow: hidden;}
.modal-market .market-img img {width: 100%;height: 100%;object-fit: cover;}
.modal-market .market-name-wrp {text-align: center;}
.modal-market .market-name {display: inline-block; position: relative;margin: 0 auto 10px;padding-bottom: 40px;text-align: center;}
.modal-market .market-name::before {content: '';position: absolute; bottom: 0px;width: 100%;height: 40px;background: url(../img/page005/market-name-deco.jpg) repeat-x;}
.modal-market .market-detail {font-size: 40px;font-weight: 600;line-height: 1.4;color: #000;text-align: justify;}
.modal-quiz .modal-dialog {max-width: 1300px;}
.modal-quiz .modal-content {max-height: 800px;height: 800px;background: linear-gradient(180deg, #76D464 0%, #43AD33 100%);}
.modal-quiz .modal-body {padding: 80px 0 40px;}
.quiz-char {position: absolute;z-index: 10;top: -60px;left: 30px;}
.modal-quiz .quest {margin: 0 auto;width: 1000px;height: 380px;font-size: 60px;font-weight: 700;line-height: 1.4;color: #000;}
.modal-quiz .quest > .d-flex {justify-content: space-between;align-items: center;gap: 40px;}
.modal-quiz .answer {display: flex; justify-content: center;gap: 30px;margin-bottom: 65px;}
.modal-quiz .answer:has(.checked) {pointer-events: none;}
.choice-quiz .bt {position: relative;display: flex;width: 400px;height: 160px;padding: 58px 0px;justify-content: center;align-items: center;gap: 10px;border-radius: 30px;background: #FF9924;box-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.15) inset, 0px 10px 10px 0px rgba(255, 255, 255, 0.20) inset, 0px -8px 8px 0px rgba(0, 0, 0, 0.20) inset;color: #FFF;text-align: center;text-shadow: 0px 6px 0px rgba(0, 0, 0, 0.15);font-size: 60px;font-weight: 400;line-height: 120%;transition: all 0.3s;}
.choice-quiz .bt:hover {box-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.15) inset;text-shadow: none;}
.choice-quiz .bt.checked::before {content: url(../img/page005/answer-checked.png);position: absolute;top: 50%;left: 50%;transform: translate(-50%, -46%);}
.initial-quiz .bt {display: inline-flex;width: auto;height: 160px;padding: 0px 80px;justify-content: center;align-items: center;gap: 8px;flex-shrink: 0;border-radius: 30px;border: 8px solid #3CCA2C;background: #FFF;color: rgba(0, 0, 0, 0.30);text-align: justify;font-size: 60px;font-weight: 400;line-height: 100%;text-wrap: nowrap;transition: none;text-shadow: none;box-shadow: none;}
.initial-quiz .bt span:nth-child(1) {display: block;}
.initial-quiz .bt span:nth-child(2) {display: none;}
.initial-quiz .bt.checked {background: #3CCA2C;color: #FFF;}
.initial-quiz .bt.checked span:nth-child(1) {display: none;}
.initial-quiz .bt.checked span:nth-child(2) {display: block;}


/* swiper */
.swiper-basic{padding-bottom: 40px}
.page-fill>.swiper-basic{height: 100%}
.page-fill .swiper-basic{margin: 0 -40px}
.swiper-basic .swiper-wrapper{align-items: center}
.swiper-basic .swiper-slide{height: auto;padding: 0 60px}
.swiper-button-next, .swiper-button-prev{width: 100px;height: 90px;background: url(../img/page005/swiper.png) no-repeat 0 0/100% auto;margin-top: -57px}
.swiper-button-disabled{background-image: url(../img/page005/swiper-disabled.png)}
.swiper-button-prev{left: 0px;transform: scaleX(-1);}
.swiper-button-next{right: 0px}
.swiper-pagination{line-height: 0}
.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {margin: 0 10px;width: 40px;height: 40px;padding-bottom: 2px;border-radius: 40px;background: linear-gradient(0deg, #D7DAE2 0%, #D7DAE2 100%), #FF872B;box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.15) inset, -2px -2px 2px 0px rgba(255, 255, 255, 0.25) inset;opacity: 1}
.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet-active {background: #71D15F;box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25), -2px -2px 2px 0px rgba(0, 0, 0, 0.20) inset, 2px 2px 2px 0px rgba(255, 255, 255, 0.25) inset;}

/* content */
.wrap{width: 100%;height: 100%;overflow: hidden;}
.wrap>div{width: 100%;height: 100%;position: absolute;top: 0;left: 0;bottom: 0;right: 0;}
#main{position: relative;background: url(../img/page005/bg.jpg) no-repeat center center / cover;transition: all 0.4s;}

/* 배경 이미지 최적화 */
#main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: opacity 0.4s ease;
}

#main.gameStart::before {
    background-image: url(../img/page005/bg-move.jpg);
    opacity: 1;
}

#animation_container {position:absolute;width: 100%;height: 100%;left:0;right:0;top:0;bottom:0; display: none;pointer-events: none;}
.title {display: block;position: absolute;z-index: 10;top: 440px;left: 50%;transform: translateX(-50%);width: 1111px;height: 108px;}
.start-btn {position: absolute;z-index: 10;top: 370px;left: 50%;transform: translateX(-50%);width: 1340px;height: 380px;border-radius: 50px;background: rgba(5, 27, 17, 0.80);}
.start-btn .bt {position: absolute; bottom: 40px;left: 50%;transform: translateX(-50%);}
.cont-top .bt-quiz {pointer-events: none;}
.cont-body {pointer-events: none;opacity: 0;}
.bt-quiz-wrp {position: relative;}
.bt-quiz-wrp .popup {position: absolute; z-index: 10; top: 92px;right: 72px;}
.bt-quiz-wrp .popup.beforeAllActive {z-index: 11;}
.bt-quiz-wrp .popup.allActive .popup-close,.bt-quiz-wrp .popup.beforeAllActive .popup-close {position: absolute; top: 37.33px;right: 22px;pointer-events: auto;}
.bt-quiz-wrp .popup.beforeAllActive .popup-close{right: 12px;}
.bt-quiz-wrp .active-cursor {opacity: 0; top: -30px; right: -280px;transition: opacity 0.4s;pointer-events: none;}

#main.gameStart {background: url(../img/page005/bg-move.jpg) no-repeat center center / cover;}
.gameStart .title {display: block;position: absolute; top: 30px;left: 120px;transform: none;width: 617px;height: 60px;transition: all 1.4s;}
.gameStart .title .bt {display: none;}
.gameStart .start-btn {display: none;}
.gameStart .cont-body {pointer-events: auto; opacity: 1;transition: opacity 0.4s; transition-delay: 1.4s;}
.gameStart .cont-top .bt-quiz {pointer-events: all;}
.gameStart #animation_container,
.gameStart .btn-home{display: block;}
.readyQuiz .btn-home{position: relative;z-index: 1;}

.readyQuiz {position: relative;}
.readyQuiz::after {content: '';position: absolute;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.50);}
.readyQuiz .cont-top .bt-quiz {pointer-events: none;}
.readyQuiz .bt-quiz-wrp:hover .popup.beforeAllActive {opacity: 0;display: none;}
.readyQuiz .popup.allActive {opacity: 1;}

.btn-home{display: none;}

.startQuiz .cont-top .bt-quiz{pointer-events: auto}
.startQuiz .bt-quiz-wrp .active-cursor{display: block; opacity: 1}

/* 터치 장치에서 :hover 비활성화 */
@media (hover: none) {
    .bt-quiz:hover {
        background-image: url(../img/page005/btn-quiz.png);
    }
    .bt-quiz:active {
        background-image: url(../img/page005/btn-quiz-press.png);
    }
}