@import url('https://fonts.googleapis.com/css2?family=Rakkas&display=swap');

body, html{font-family: sans-serif; font-size: 1em; height: 100%;}
html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
}
html.on{overflow: hidden;}
.panel{position: relative;z-index: 1; }
h2{position: relative;font-family: 'Rakkas'; display: inline-block; height: 124px; font-size: 4em; letter-spacing: .03em;color:#ffe2a9; 
    text-shadow: 0 3px 0 rgba(44,37,15,1),0 15px 5px rgba(0,0,0,.5); height: 180px; background: url(../images/h2bg_c.png) no-repeat center top; padding: 120px 100px 0;
opacity: 0; transform: translateY(60px); transition: .5s; transition-delay: 0s; margin-bottom: 50px; z-index: 996;}
.active h2{ opacity: 1;transform: none; transition-delay: .7s; }
h2::before{ position:absolute ; content: ""; display: inline-block; width: 100px; height: 50px; background: url(../images/h2bg_s.png) no-repeat left top; bottom:0; left: 0; }
h2::after{ position:absolute ; content: ""; display: inline-block; width: 100px; height: 50px; background: url(../images/h2bg_s.png) no-repeat right top; bottom:0; right: 0; }
.gift h3{font-family: 'Rakkas'; display: inline-block; height: 60px; font-size: 1.3em; letter-spacing: .1em;color:#ffe8bc; background: url(../images/h3bg.png) no-repeat center bottom;
min-width: 235px; display: inline-block; text-shadow: 0 0 18px rgba(182,132,68,.8);  line-height: 18px; height: 70px; }
.resize{box-sizing: border-box;}

.sub_inner{position: absolute; width: 1380px; height: 900px; top:calc(50% - 490px); left: calc(50% - 690px); }

/*vod*/
.vod_area{position: absolute; z-index: -1; top:0; left: 0; width: 100%; height: 100%; overflow: hidden; white-space: nowrap;}
.vod_area video{ position: absolute; top:50%; left: 50%; transform: translate(-50% , -50%); width: 100%; height: 150%;}
/*네비게이션*/
.nav_toggle{display: none;}
.nav{position: fixed; width: 300px; height: 100%; background: linear-gradient(270deg, rgba(31,14,5,0) 0%, rgba(0,0,0,0.5662858893557423) 80%);; z-index: 998;}
.nav h1{ position: absolute; top:calc(50% - 400px) ; left: calc(50% - 90px); background: url(../images/logo_s.png) no-repeat;}
.nav h1 a{ display: block; width: 180px; height: 141px;}
.nav .pagination{ position: absolute; top:calc(50% - 30px); left: 0; transform: translateY(-50%); width:100%; font-family: 'Rakkas'; font-size: 1.3em;
letter-spacing: .1em }
.nav .pagination li{ width: 100%; height: 60px;;}
.nav .pagination li a{  position:relative; display: inline-block;width: 100%; height: 60px; color:#b7a793; text-indent: 67px; opacity: .9; line-height: 60px; white-space: nowrap;}
.nav .pagination li a.active{color:#ffd200; opacity: 1;}
.nav .pagination li a::before{ position: absolute;top:0; left: -65px; content: ""; display: inline-block; width: 60px; height: 100%; 
    background: url(../images/nav_mark.png) no-repeat center; transition: .5s ease-in-out;}
.nav .pagination li a.active::before{left: 5px;}
.sns_btn{ display: inline-block; text-align: left; position: absolute; top:calc(50% + 250px); left: 60px; }
.sns_btn a{ display: inline-block; width: 80px; height: 80px; background: url(../images/sns_btn.png); margin: 0 10px 0 0;}
.sns_btn a.facebook_btn{ background-position: left 0;}
.sns_btn a.discord_btn{ background-position: right 0;}

.langs{ position: absolute; left: 60px; bottom:70px; }
.langs select{height: 40px; width: 180px;  background:rgba(255,255,255,.3) url(../images/lang.png) no-repeat 10px center; text-indent: 55px;  background-size: 30px auto; border-radius: 25px;
border-color:#000}


@media (max-width:1440px){ 
    .nav{width: 200px; }
}

/*base*/
.panel{ position: relative; width: 100% ; background-size: cover !important; text-align: center;}

.home{ position: relative; background: url(../images/main.jpg) no-repeat center top;}
.gift{ background: url(../images/bg_02.jpg) no-repeat center top;}
.character{ background: url(../images/bg_03.jpg) no-repeat center top;}
.story{ background: url(../images/bg_04.jpg) no-repeat center top;}
.features{ background: url(../images/bg_05.jpg) no-repeat center top;}

/*home*/
.home .inner{ position:absolute; display: block; width: 820px; height: 900px; text-align: center; top:calc(50% - 300px); left: calc(50% - 410px);}
.home .inner h1{ display: inline-block; width: 820px; height: 702px; background: url(../images/logo.png); animation: h1s 5s infinite; transform: scale(.7); margin-bottom: -50px;}
.main_btn{ display: inline-block; width: 600px; height: 140px; background: url(../images/prereg_btn.png); transform: translateY(-50px); 
    font-family: 'Rakkas'; color:#362b16; font-size: 3em; line-height: 120px; transition: .5s; margin-bottom: -30px;}
.main_btn:hover{transform: translateY(-30px);}
.appstore{ display: inline-block; width: 200px; height: 60px; background: url(../images/store_btn.png) no-repeat left top; margin: -20px 10px;}
.playstore{display: inline-block;width: 200px; height: 60px; background: url(../images/store_btn.png) no-repeat right top; margin: -20px 10px;}
.mycard{display: inline-block;width: 200px; height: 60px; background: url(../images/store_btn.png) no-repeat center top; margin: -20px 10px;}
.main_btn_area{ margin-top: -100px;}
.home h2{ width: 1px; height: 1px; opacity: 0;;}

/*gift*/
.achieve{margin-top: -20px;}
.achieve_list{display:block; white-space:nowrap; text-align: center; margin-top: -30px;}
.achieve_list li{ position: relative; display: inline-block; width: 260px; height: 260px; background: url(../images/gift_bg_01.png) no-repeat center left; margin: 0 -24px; vertical-align: top;}
.achieve_list li.on{ background-position: right top;}
.achieve_list li.on::before{position: absolute; content:""; width: 260px; height: 260px; background: url(../images/gift_bg_01.png) no-repeat center; left: 0;  animation:  gift 10s infinite linear;
mix-blend-mode:overlay;}
.achieve_list li > span{ display: block;font-family: 'Rakkas';color:#ffe8bb; font-size: 1.3em;; margin:40px 0 25px;}
.achieve_list li span > span{ opacity: 1;  position: absolute; display: block; width: 100%; font-size: .9em; opacity: 1; }
.achieve_list li span > span > b{ opacity: 0; display: block;}
.achieve_list li.on span > span > b{opacity: 1;}
.achieve_list li span > em{ font-style: normal; font-size: 1.6em; margin-top: 15px;}
.achieve_list li figcaption{ color: #ffe8bb;font-family:sans-serif; letter-spacing:0; font-size: .85em; margin-top: -10px;}
.gift_sub{ display:flex; justify-content: center; width: 100%; text-align: center; }
.gift_sub > div{ display:inline-block; width: 33%; height: 360px; margin: 0 -50px; background: url(../images/gift_bg_02.png) no-repeat center 30px;}
.gift_sub > div figure{margin-top: 20px;}
.gift_sub > div figcaption{color: #ffe8bb;font-family:sans-serif; letter-spacing: 0; font-size: .85em; margin-top: 0px; line-height: 1.4em; }
@keyframes gift{
    0%{opacity: 1; transform: rotate(0deg);}
    50%{ opacity: .1; transform: rotate(180deg);}
    100%{opacity: 1; transform: rotate(359deg);}
}
.gift_info{color:#ffe8bc; line-height: 1.2em;}

/*character*/
.character_list{width: 1300px; display: flex; flex-direction: row; position: absolute; top:200px; left: calc(50% - 650px); }
.character_list li{ width: 260px; height: 760px; background: url(../images/character.png) no-repeat; filter: grayscale(1);-webkit-filter: grayscale(1); opacity: .7; transition: .5s;}
.character_list li:hover{filter: grayscale(0);-webkit-filter: grayscale(0); opacity: 1; transform:translateY(-20px); transform-origin: center top;}
.character_list li a{ display: inline-block; width: 100%; height: 100%;}
.character_list li a em{ display: inline-block; width: 100%; margin-top: 150px; font-style: normal;font-family: 'Rakkas';color:#ffe8bb; font-size: 2em;}
.character_list li.char_01{ background-position: 0 0 ;}
.character_list li.char_02{ background-position: -260px 0 ;}
.character_list li.char_03{ background-position: -520px 0 ;}
.character_list li.char_04{ background-position: -780px 0 ;}
.character_list li.char_05{ background-position: -1040px 0 ;}
.char_info{position: fixed; z-index: 1002; top:0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); backdrop-filter: blur(2px);-webkit-backdrop-filter: blur(2px); display: none;}
.char_info_inner{ position:absolute; background:url(../images/char_bg.png); width: 1060px; height: 580px; top:calc(50% - 250px) ; left: calc(50% - 400px); }
.char_kind{ position: relative;width:100%; height: 100%; padding: 50px 60px 80px 400px; color: #362b16; line-height: 1.3em; font-size: 1.2em; display: none;}
.char_kind::after{position: absolute; top:-200px; left: -350px; content: ""; display: inline-block; width: 840px; height: 1000px;}
 #char_01::after{ background:url(../images/char_01.png) no-repeat ; }
 #char_02::after{ background:url(../images/char_02.png) no-repeat ; }
 #char_03::after{ background:url(../images/char_03.png) no-repeat ; }
 #char_04::after{ background:url(../images/char_04.png) no-repeat ; }
 #char_05::after{ background:url(../images/char_05.png) no-repeat ; }
.char_kind h3{ position: relative; font-family: 'Rakkas'; font-size: 2.5em; letter-spacing: .05em; margin-bottom: 15px; display: block; width: 100%; border-bottom:#6c593b 1px solid; padding-bottom: 5px;}
.char_kind h3::after{ position: absolute; content:""; border:#6c593b 1px solid; width: 5px; height: 5px; right:-6px ; bottom:-4px; transform: rotate(45deg);}
.char_kind h3::before{ display: inline-block; content:"";  width: 42px; height: 42px;background: url(../images/char_icon.png) no-repeat; transform: translateY(4px);}
#char_01 h3::before{ background-position: 0 0}
#char_02 h3::before{ background-position: -42px 0}
#char_03 h3::before{ background-position: -84px 0}
#char_04 h3::before{ background-position: -126px 0}
#char_05 h3::before{ background-position: -168px 0}
.char_kind p em{ font-size: 1.3em; font-weight: bold; margin: 10px 0; display: block; font-style: normal;}
.char_kind p{ position: relative; padding-left: 70px; font-size: .85em; letter-spacing: -.05em;}
.char_pixel{ position: absolute; left: -20px; display: inline-block; width: 100px; height: 100px; background: url(../images/char_pixel.png); animation: pixel 2s infinite; transform-origin: center bottom; }
#char_01 .char_pixel{background-position: 0 0;}
#char_02 .char_pixel{background-position: -100px 0;}
#char_03 .char_pixel{background-position: -200px 0;}
#char_04 .char_pixel{background-position: -300px 0;}
#char_05 .char_pixel{background-position: -400px 0;}
.char_vod{ position: absolute; left: 470px; bottom:50px; border-radius: 10px; overflow: hidden; width: 440px; height: 242px;}
.char_vod iframe{ width: 440px; height: 242px;}
.close_btn{ position: absolute; display: inline-block; height: 50px; padding-left: 90px; top:calc(50% - 320px); left: calc(50% + 480px); font-family: 'Rakkas';
 line-height: 56px; font-size: 2em; letter-spacing: .05em; color: #ecbc15;}
.close_btn::before{ position:absolute; left: 0; display:  inline-block; content: ""; width: 84px; height: 54px; background: url(../images/features_btn.png) no-repeat;;}
@keyframes pixel{
    0%,100%{ transform: scale(1,.97);}
    50%{ transform: scale(1,1);}
}

/*story*/
.vod_story{  width: 1213px; height: 734px; background: url(../images/vod_bg.png); margin: -50px auto;}
.vod_story iframe{ width: 1050px; height: 606px; margin-top: 63px;}

/*feature*/
#touchSlider_feature{ position:relative; width: 1291px; height: 734px !important; background: url(../images/features_bg.png) no-repeat; margin: -80px auto -95px;}
#touchSlider_feature ul{position: absolute; max-width: 1052px ; height: 486px; top:118px; left: calc(50% - 524px); overflow: hidden !important; }
#touchSlider_feature ul li{  max-width: 1052px ;}
.ts-controls{ position: relative; z-index: 996;}
.ts-paging-btn{ position: relative; border: #ecbc15 1px solid; background: none; overflow:hidden; text-indent: -9999px; width: 30px; height: 30px; transform: rotate(45deg); 
    margin: 0 9px; cursor: pointer;}
.ts-paging-btn::before{content: ""; background:#ecbc15 ; display: inline-block; width: 22px; height: 22px; position: absolute; top:3px; left: 3px; transform: scale(0); transition: .3s;}
.ts-paging-btn.ts-paging-active::before{transform: scale(1);}
.ts-prev{display: inline-block; width: 88px; height: 54px; background: url(../images/features_btn.png) no-repeat; 
    border: none;overflow:hidden; text-indent: -9999px; position: absolute; z-index: 997; top:-298px; left: 57px; cursor: pointer; transition: .3s; }
.ts-prev:hover{left: 52px;}
.ts-next{display: inline-block; width: 88px; height: 54px; background: url(../images/features_btn.png) no-repeat right top; 
    border: none;overflow:hidden; text-indent: -9999px; position: absolute; z-index: 997; top:-298px; right: 57px;cursor: pointer;transition: .3s; }
.ts-next:hover{right: 52px;}

/*prereg*/
#register_area{position: fixed; z-index:1002; top:0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); backdrop-filter: blur(2px);-webkit-backdrop-filter: blur(2px); display: none; }
.register_inner{ position: absolute; top:calc(50% - 320px); left: calc(50% - 300px); width: 624px; height: 660px; background:url(../images/regist_bg.png); text-align: center; padding: 50px 70px 70px 50px;}
.register_type_select{ display: block; width: 100%;}
.register_type_select a{ display: inline-block;font-family: 'Rakkas'; font-size: 2.5em; letter-spacing: .05em; color: #362b16; padding: 0 15px; opacity: .4; width: 200px; padding-bottom: 23px;
white-space: nowrap; }
.register_type_select a.on{opacity: 1; background: url(../images/reg_type.png) no-repeat center bottom;}
#register_area legend{opacity: 0;}
.register_inner ol{margin-bottom: -30px;}
#r_phone li,#r_mail li{ display: block; padding: 20px 0 10px; min-height: 70px; margin-bottom: 10px;}
#r_phone li.google_bot,#r_mail li.google_bot{ height: 100px;}
#r_phone select{ height: 70px; width: 40%; font-size: 1.2em; letter-spacing:.05em; font-family: 'Rakkas'; background: rgba(255,255,255,.2);
    border:rgba(0,0,0,.2) 1px solid; text-align: center; float: left; border-right: none;}
#r_phone input[type='tel']{ height: 70px; width: 60%; font-size: 1.2em; letter-spacing:.05em; font-family: 'Rakkas'; background: rgba(255,255,255,.2);border:rgba(0,0,0,.2) 1px solid; text-align: center; float: left;
box-sizing: border-box; border-left: none;}
#r_mail input[type='email']{ height: 70px; width: 100%; font-size: 1.2em; letter-spacing:.05em; font-family: 'Rakkas'; background: rgba(255,255,255,.2);border:rgba(0,0,0,.2) 1px solid; text-align: center; float: left;
    box-sizing: border-box; }

button.reg_btn{ width: 480px; height: 130px;; border:none; background: url(../images/prereg_btn.png) no-repeat center bottom;font-family: 'Rakkas';  font-size: 2.3em; background-size: contain;
 cursor:pointer; margin-bottom: 50px; }
.register_inner input[type='checkbox']{ width: 20px; height: 20px; transform: translate(-3px , -2px);}

.reg_type{display: none;}
.reg_type.on{display: block;}
.reg_close{ display: block; width: 60px; height: 60px; background: url(../images/close_btn.png) no-repeat; position: absolute; top:calc(50% - 400px); left: calc(50% + 245px);}

.reg_page_btn{ width: 120%; margin-left: -10%; white-space: nowrap; height: 70px; }
.reg_page_btn a{ margin:-20px -12px ; transform: scale(.9); }

footer{position: fixed; z-index: 900; display: block;  width:100%; left:  0; bottom:0; text-align: center; color:#b7a793; font-style: normal; font-size: .9em;}
footer a{color:#b7a793; padding: 15px;}
footer address{font-style: normal; padding: 15px;}


/*mobile*/
@media (max-width:750px){ 
    .resize{ transform: none !important;}
.panel{overflow-x: hidden;}
.sub_inner{width: 100%; height:97%; top:3%; left: 0; }
    
/*네비게이션*/ 
html,body{font-size: 1em; }
button.nav_toggle{ position: fixed; top:20px; left: 20px; width: 100px; height: 70px; background:url(../images/toggle_btn.png) no-repeat 0 0 ; z-index:1001; border:none; display: block;}
button.nav_toggle.on{ background-position: right top;}
.nav{width: 100%; background: url(../images/nav_bg.jpg) no-repeat; background-size: cover;  z-index:1000; left:-200%; transition: .5s; overflow: hidden;white-space: nowrap;
    -webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-o-user-select: none;user-select: none;}
.nav.on{ left: 0;}
.nav h1{ top:calc(50% - 500px) ; left: calc(50% - 90px);transform: scale(1.5);}
.nav .pagination{ top:calc(50% - 10px); transform: translateY(-50%); width:100%; font-size: 1.7em;}
.nav .pagination li{ width: 100%; height: 90px;}
.nav .pagination li a{   height: 90px; color:#b7a793; text-indent: 150px; opacity: 1; line-height: 90px; font-size: 1.9em;}
.nav .pagination li a::before{ left: -100px; transform: scale(1.3); }
.nav .pagination li a.active::before{left: 55px;}
.sns_btn{ text-align:center; top:calc(50% + 350px); left:0px; width: 100%; }
.sns_btn a{ transform: scale(1.5); margin: 0 30px;}

#Featuredvideo{ background: #000;}
.vod_area video {width: 200%;height: 120%;}

.home{ position: relative; background: url(../images/main_m.jpg) no-repeat center top; background-size: 100% auto;}

/*gift*/
.gift{height: 1700px !important;}
.gift h3{font-size: 1.5em; line-height: 25px;  height: 80px; transform: translateY(-12px);}
.achieve_list{display:block;text-align: center; margin: -30px 0 50px; white-space:unset;}
.achieve_list li{ margin: 0 -24px -40px;}
.achieve_list li figcaption{ font-size:.9em;}
.gift_sub{ display:block; width: 100%; text-align: center; }
.gift_sub > div{ display:inline-block; width: 360px; height: 360px; margin: 0 -20px; vertical-align: top;}
.gift_sub > div figure{margin-top: 20px;}
.gift_sub > div  figcaption{font-size: 1.1em; margin-top: -5px;}

/*character*/
.character{height: 1400px !important;}
.character_list{width:750px; display: flex; flex-direction: column;  left:0; }

.character_list li{ width: 750px; height: 200px; background: url(../images/character_m.png) no-repeat; filter: none;-webkit-filter: none; opacity: 1; left: -750px; transition:none}
.character_list li:hover{filter: grayscale(0);-webkit-filter: grayscale(0); opacity: 1; transform:none; }
.character_list li a{ display: inline-block; width: 100%; height: 100%;}
.character_list li a em{ display: inline-block; width: 100%; margin-top: 70px; font-size: 3em; text-align: left; text-indent: 200px; }
.character_list li.char_01{ background-position: 0 0 ;}
.character_list li.char_02{ background-position: 0 -200px ;}
.character_list li.char_03{ background-position: 0 -400px ;}
.character_list li.char_04{ background-position: 0 -600px ;}
.character_list li.char_05{ background-position: 0 -800px ;}


.char_info_inner{ position:absolute; background:url(../images/char_bg.png); width: 1060px; height: 580px; top:calc(50% - 50px) ; left: -320px; }

.char_kind{ position: relative;width:100%; height: 100%; padding: 50px 60px 80px 370px; color: #362b16; line-height: 1.3em; font-size: 1.2em; display: none;}
.char_kind::after{position: absolute; top:-600px; left: 300px; content: ""; display: inline-block; width: 840px; height: 1000px; z-index: -1;}


.char_vod{ position: absolute; left: 430px; bottom:40px; border-radius: 10px; overflow: hidden; width: 528px; height: 298px;}
.char_vod iframe{ width: 264px; height: 149px; transform: scale(2); transform-origin: left top;}
.close_btn{ top:50px; left: 530px; }

button, select, input::placeholder{ color: #362b16; border-radius: none;}
#register_area{transform: scale(1.2); font-size: 1.1em; }


/*story*/
.story .sub_inner{ height: 70%; top:15%}
.vod_story{  transform: scale(.618); transform-origin: left center;}
.vod_story iframe{ width: 525px; height: 303px; transform: scale(2); transform-origin: center top; ;}


/*feature*/
.features .sub_inner{ height: 70%; top:15%}
#touchSlider_feature{ transform: scale(.65) translateX(-418px);}

.ts-controls{ transform: translateY(-50px);}
.ts-prev{top:-12px; left: 57px;}
.ts-next{top:-12px; right: 57px; }

footer{ font-size: 1.1em;}

.register_inner label{ font-size: 1.2em;}
.register_inner input[type='checkbox']{ width: 30px; height: 30px; transform: translate(-3px , -2px);}

.langs{ transform: scale(2); transform-origin: left top; left: 190px; bottom:120px}
}