@charset "utf-8";
/* 
------------------------------------------------------------
MGAME Web Design Team
first written : Yang Young bok 250624
updated : Shin 260209
------------------------------------------------------------
*/
/* reset */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&family=Russo+One&display=swap');
.russo-one-regular {
    font-family: "Russo One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

html{-webkit-text-size-adjust:none;-ms-text-size-adjust:none;-moz-text-size-adjust:none;font-size:62.5%}
body,h1,h2,h3,h4,h5,h6,ul,ol,dl,dt,dd,p,th,td,caption,fieldset,legend,input,button,textarea{margin:0;padding:0}
body,input,button,select,textarea{font-family:'Pretendard Variable',Pretendard,arial;font-weight:500;font-size:1.4rem;color:#2f2f2f;}
img,button,fieldset{border:0}
img{vertical-align:middle}
ul,ol,li{list-style:none}
a{color:#323232;text-decoration:none}
button{cursor:pointer}
table{border-collapse:collapse;width:100%}

/* Mobile */
.wrap{margin:0 auto;min-width:320px;max-width:2560px;overflow-x:hidden}
.wrap.fixed{position:fixed;width:100%;overflow:hidden}
.header{position:fixed;top:0;width:100%;max-width:2560px;height:50px;background:#fff;z-index:200;}
.header h1{display:flex;align-items:center;margin:0 auto; width:79px;height:100%}
.header h1 img{width:100%}
.footer{padding:30px;background:#000;font-size:1.5rem;color:#666;text-align:center}
.footer div, .footer div a {color:#9a9a9a;text-align:center; font-size: 1.3rem; margin-bottom: .3rem;}
address{font-style:normal}

/* gnb */
.gnb{width:0;max-height:100vh;overflow-y:auto}
.gnb .buttonMenu{position:absolute;top:12px;right:8px;padding:5px;display:none}
.gnb .buttonMenu span{width:23px;height:1px;border:none;background:#2f2f2f;transform:rotate(-45deg)}
.gnb .buttonMenu:before{top:13.5px;width:23px;height:1px;border:none;background:#2f2f2f;transform:rotate(45deg)}
.gnb .buttonMenu:after{display:none}
.gnb>div{position:relative;left:-100%;box-sizing:border-box;padding:60px 0 0 0;width:0;min-height:100%;background:#fff;transition:left .3s ease}
.gnb.open{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75)}
.gnb.open>div{left:0;width:100%;min-width:280px}
.gnb.open .buttonMenu{display:block}
.buttonMenu{position:absolute;top:11px;left:15px;padding:6px 5px 4px 5px;width:30px;height:28px;background:none}
.buttonMenu span{display:block;width:20px;height:2px;border-top:2px solid #2f2f2f;font:0/0 arial;text-indent:-9999px}
.buttonMenu:before,.buttonMenu:after{content:'';position:absolute;left:5px;width:20px;height:2px;border-top:2px solid #2f2f2f;overflow:hidden}
.buttonMenu:before{top:7px}
.buttonMenu:after{bottom:5px}
.menu>li{font-weight:900;font-size:2.4rem;line-height:4rem}
.menu>li>a,.menu>li>strong{display:block;padding:10px 30px}
.menu>li:not(.info)>a:hover,.menu>li.on>a{font-size:3rem;color:#ff3600}
.menu>li>ul{max-height:0;margin:0 30px;overflow:hidden;transition:all .4s}
.menu>li.on>ul{margin-bottom:10px;max-height:200px}
.menu>li li{margin:5px 0}
.menu>li li a{display:block;padding:0 25px;font-size:2rem}
.menu>li li a:hover{color:#ff3600}
.menu>li.info>a:after{display:inline-block;content:'';float:right;margin-top:5px;width:30px;height:30px;background:url(https://netgameimage.gscdn.com/games/socialdice/common/bu_gnb.png) no-repeat;background-size:cover;vertical-align:middle}
.menu>li.on>a:after{background-position:0 -30px}
.sns{display:flex;gap:20px;margin:45px 0 0 30px;padding:0 0 30px 0;align-items: center;}
.sns li{width:41px;height:41px;overflow:hidden}
.sns img{width:100%}
.sns a:hover img{margin-top:-41px}
.sns li:last-child {display: none;}
.play_top{transition: .3s; overflow: hidden; display: inline-flex; position: absolute;top: 0px; right: 5px; height: 100%; align-items: center;}
.play_top a {height: 29px; display: inline-block; overflow: hidden;}
.play_top img{width: 80px;}
/*.play_top:hover img{margin-top: -29px;}*/

/* content */
.top{position:fixed;bottom:10px;right:3px;width:81px;z-index:100;display:none;max-width: 1024px;}
.top:hover{filter:brightness(120%);}
.top img{width:100%}

/* Mobile - Landscape */
@media all and (min-width:576px) {
    .gnb.open>div{width:100%}
}

/* Desktop */
@media all and (min-width:1024px) {
    .buttonMenu{display:none}
    .header{display:flex;justify-content:space-between;align-items:center;gap:30px;height:90px;background:rgba(0,0,0,.75)}
    .header{display:flex;justify-content:space-between;align-items:center;gap:30px;height:90px;background:rgba(0,0,0,.75)}
    .header h1{margin:0 0 0 23px;width:196px}
    .footer{padding:60px;font-size:1.8rem}
    .gnb{flex-grow:1;overflow:inherit}
    .gnb>div{display:flex;justify-content:space-between;align-items:center;gap:30px;left:0;padding:0;width:100%;background:none}
    .gnb.open{position:relative;top:inherit;left:inherit;width:0;background:none}
    .gnb.open>div{left:inherit;width:100%}
    .menu{display:flex;justify-content:space-between;flex-grow:1;gap:10px;margin:0 auto;max-width:500px;white-space:nowrap}
    .menu>li{position:relative;font-weight:500}
    .menu>li>a{padding-left:0;padding-right:0;font-size:2rem;color:#fff;transition:all .3s}
    .menu>li>a:hover,.menu>li.info:hover>a{font-size:2rem !important;color:#ff0404}
    .menu>li>a:hover:before{opacity:1}
    .menu>li.info>a:after{float:none;margin:0 0 0 5px;width:27px;height:27px;background:url(https://netgameimage.gscdn.com/games/socialdice/common/bu_gnb_pc.png) no-repeat;vertical-align:middle;transition:all .3s}
    .menu>li.info>a:before{display:none}
    .menu>li.info:hover>a:after{background-image:url(https://netgameimage.gscdn.com/games/socialdice/common/bu_gnb_pc_on.png);background-position:0}
    .menu>li>ul{position:absolute;right:-32px;border-radius:30px 0 30px 20px;border:2px solid rgba(0,0,0,0);background:#000;text-align:center}
    .menu>li:hover>ul{padding:12px 0;max-height:200px; border-color:#323232}
    .menu>li>ul li{margin:4px 0}
    .menu>li li a{color:#fff}
    .sns{gap:5px;margin:0 32px 0 0;padding:0}
    .sns li{width:34px;height:34px}
    .sns a:hover img{margin-top:-34px}
    .top{bottom:40px;right:40px;width:146px}
    .sns li:not(:last-child) {display: none;}
    .sns li:nth-child(1) {display: block;}
    .sns li:last-child {width: 200px; height: 58px; display: block;}
    .sns li:last-child a {height: 58px;}
    .sns li:last-child img{width: 200px;}
    .sns li:last-child:hover img{margin-top: -58px;}
    .play_top {display: none;}
}

/* Desktop - wide */
@media all and (min-width:1260px) {
.sns{gap:15px}
}