@charset "UTF-8";

/********************************************************
■ Quick Menu : 퀵메뉴 부분
********************************************************/
/* 상단/하단 이동버튼 & 클릭시 퀵메뉴 */
.at-go { position: fixed; right:80px; bottom:0px; z-index:999; --btn-size:80px; --btn-color:#ddd; --btn-radius:99px; --btn-margin:10px; transition-duration:700ms; }
.scrolled .at-go { bottom:50px; }
.at-go .go-top { position:relative; border-radius:var(--btn-radius); width:var(--btn-size); height:var(--btn-size); cursor:pointer; transition-duration:500ms; transform:translateY(150px); transition-duration:600ms; transition-delay:400ms; border:1px solid var(--btn-color);  }
.scrolled .at-go .go-top { transform:translateY(0); transition-delay:0ms; }
.at-go .go-top { position:relative; display:flex; justify-content:center; align-items:center; border:1px solid var(--btn-color); overflow:hidden; z-index:2; }
.at-go .go-top:before { content:""; position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); border-radius:var(--btn-radius); width:0; height:0; background:var(--main-color3); transition-duration:600ms; z-index:-1; }

.at-go .go-top span { position:absolute; left:calc(50% - 1px); top:calc(40% - var(--arrow-height)/2); width:2px; height:var(--arrow-height); background:var(--btn-color); --arrow-height:10px; }
.scrolled .at-go .go-top { transform:translateY(0); transition-delay:0ms; }

.at-go .go-top b { margin-top:10px; margin-bottom:-10px; font-size:.825rem; color:var(--btn-color); }
.at-go .go-top span:before,
.at-go .go-top span:after { content:""; position:absolute; width:2px; height:8px; border-radius:2px; background:var(--btn-color); }

.at-go .go-top span:before { right:100%; top:-3px; transform:rotate(45deg); }
.at-go .go-top span:after { left:100%; top:-3px; transform:rotate(-45deg); }


.at-go .go-top:hover:before { width:120%; height:120%; }
.at-go .go-top:hover b { color:#fff; }
.at-go .go-top:hover span,
.at-go .go-top:hover span:before,
.at-go .go-top:hover span:after { background:#fff; }



.m-link { position:fixed; left:0; bottom:0; right:0; background:#fff; border-top:1px solid #eee; display:flex; justify-content: space-around; transition-duration: 700ms; z-index:50; }
body.scroll-ing .m-link { bottom:-70px; }
.m-link a { padding:5px; text-align:center; font-size:.625rem; font-weight:400; border-radius:99px; width:55px; height:55px; margin:5px; white-space: nowrap; }
.m-link a:nth-child(3) { background:var(--main-color1); color:#fff; }
.m-link a:nth-child(3) span { background-image:url('../img/m-btm-quick-icon3.png'); filter: invert(1) brightness(100); }

.m-link a span { display:block; width:25px; height:25px; margin:0 auto; background:none no-repeat center/21px; }
.m-link a.counsel span { background-image:url('../img/m-btm-quick-icon1.png'); }
.m-link a.kakao span { background-image:url('../img/sns_icon_kakao.png'); }
.m-link a.blog span { background-image:url('../img/sns_icon_naver.png'); }
.m-link a.youtube span { background-image:url('../img/sns_icon_youtube.png'); }


@media (max-width: 1200px) {
    .at-go { right:40px; bottom:30px; }
}


@media (max-width: 768px) {
    .at-go { right:15px; --btn-size:50px; --btn-margin:5px; }
    .scrolled .at-go { bottom:80px; }
	.scroll-ing .at-go { bottom:20px; }

    .at-go .go-top span { top:calc(35% - var(--arrow-height)/2); }
    .at-go .go-top span:before { left:-3px; top:-1px; }
    .at-go .go-top span:after { right:-3px; top:-1px; }

    .at-go .go-top b { margin-top:5px; font-size:.625rem; }
}

