﻿


/*#region 플로팅 메뉴*/
.floating {
    position: fixed;
    bottom: 50px;
    right: 30px;
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    z-index: 999;
    gap: 0.5rem;
}

.floating div,
.floating img{
    width: 60px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.floating img:hover,
.float3:hover{
    transform:scale(1.1);
}

.float1 img,
.float2 img{
    box-shadow: 0 3px 10px 0 rgba(93,163,234,0.25);
}

.float3{
    height: 60px;
    background: #000;
}

.float3 p{
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    font-size: 0.87rem;
    line-height: 110%;
    cursor: pointer;
}

.float3 span{
    color: #8ED9FF;
}

/*탑버튼*/
.topbtn{
    border-radius: 15px;
    margin: 10px auto 0;
    width: 60px;
    height: 60px;
    text-align: center;
}

.topbtn img{
    width: 58px;
    height: 58px;
}

.topbtn:hover{
    transform: translateY(-8px) scale(0.9);
}

@media (max-width:984px) {

    .floating div,
    .floating img{
        width: 50px;
    }

    .topbtn{
    width: 50px;
    height: 50px;
}

.topbtn img{
    width: 48px;
    height: 48px;
}

    .float3,
    .float3 p{
        height: 50px;
        font-size: 0.75rem;
    }

}

/*#endregion*/



/* reset */
html {
    font-size: 16px;
}

body {
    margin: 0;
    -webkit-text-size-adjust: 100%;
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, p, table {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: inherit;
}

    a img {
        border: none;
    }

img {
    vertical-align: middle;
    max-width: 100%;
}

li {
    list-style: none;
}

span { /*cursor:none;*/
}

a, button:hover {
    cursor: pointer;
}

#buttonline {
    display: none;
}

.ball_box {
    display: none;
}

@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Edensor';
    src: url('/common/css/font/Edensor.otf') format('opentype');
}
@font-face {
    font-family: 'recipeKorea';
    src: url('/common/css/font/Recipekorea 레코체 FONT.otf') format('opentype');
}





/* 헤더 */
header {
    width: 100%;
    height: 76px;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(3px);
    z-index: 99;
}
.header_wrap{
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    height: 76px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #4f4f4f;
}
@media (max-width:580px) {

    .header_wrap {
        margin: 0;
        width: auto;
        padding: 0 20px;
    }

}

.logo{
    width: 70px;
    height: auto;
    cursor: pointer;
}
/* ver2메뉴 */
.menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 3rem;
    text-align: center;
    height:76px;
    line-height: 76px;
    font-weight: bold;
}

.menu>li {
    font-weight: 800;
    cursor: pointer;
}

.menu>li {
    position: relative;
}
.menu>li:last-child{
    color: var(--main-color);
}

.m_tit img {
    margin-left: 7px;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}
.menu .m_tit:hover img {
    transform: rotate(180deg);
}

.menu>li:hover span:not(.tooltip):before {
    width: 100%;
}

 .menu>li:not(.tooltip_wrap):hover span{
    color: var(--main-color);
}


/*2depth*/
.mini {
    padding: 10px;
    display: none;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
    text-align: center;
    width: 9rem;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    box-shadow: 0px 4px 4px 0px rgba(116,116,116,0.25);
}
.menu > li:hover > .mini {
    display: block;
}

.mini>li {
    font-weight: 500;
    height: auto;
    line-height: 50px;
}
.mini>li:hover,
.mini>li span:hover   {
    color: var(--main-color);
    background: var(--light-color);
    border-radius: 6px;
}

.mini li:hover .mini_m{
    background: none;
}

.homepage>li{
    position: relative;
}

.homepage > li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 50px;                 /* 2depth 한 줄 높이 */
    background: var(--light-color);
    border-radius: 6px;

    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1;
}

.homepage > li:hover::before {
    opacity: 1;
}

.homepage > li:hover {
    color: var(--main-color);
}

.homepage>li>span{
    font-weight: 500;
}

.nav.mo{
    display:none;
}

/*제작문의 말풍선*/
.tooltip_wrap{
  position: relative !important;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

header .tooltip_wrap:hover .tooltip{
    /*transform: translateX(-50%) translateY(-5px);*/
  box-shadow: 0 5px 5px rgba(0,0,0,0.15);
}

.tooltip{
    position: absolute;
    top: 77%;
    left: 50%;
    transform: translate(-50%);
    background: var(--main-color);
    color: #fff;
    width: 110px;
    height: 30px;
    border-radius: 50px ;
    line-height: 31px;
    font-weight: 400 !important;
    font-size: 0.94rem;
    transition: all 0.3s ease-in-out;
}

.tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50% !important;
  transform: translateX(-50%);
  border-width: 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent var(--main-color);
}

/*애니메이션 효과*/
header .tooltip{
    animation: tooltipFloat 1.8s ease-in-out infinite;
}

@keyframes tooltipFloat {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}


/*#region 모바일 메뉴*/
.mo_nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 600px;
    height: 100vh;
    background: #0D162A;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
}

body.active .mo_nav {
    transform: translateX(0);
}

/* 스크롤 막기 */
body.active {
    overflow: hidden;
}

.bgtxt {
    position: absolute;
    right: -1rem;
    bottom: -5rem;
    z-index: 2;
    letter-spacing:-10px;
    font-family: Pretendard;
    font-weight: 700;
    font-size: 230px;
    color: rgba(255,255,255,0.1);
}

@media (max-width:580px){

    .bgtxt {
        font-size: 200px;
        bottom: -4.3rem;
    }

}

@media (max-width:480px){

    .bgtxt {
        font-size: 180px;
        transform: rotate(-90deg);
        right: -140px;
        bottom: 50px;
    }

}

.mo_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease-out;
    padding: 5rem 2rem 2rem;
    box-sizing: border-box;
}

/*#region 상단 버튼*/
.mo_btn{
    border-bottom: 1px solid #999;
    padding-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.mb_wrap{
    display: flex;
    gap: 0.5rem;
}

.mb1,
.mb2,
.mb3{
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    background: #253040;
    cursor: pointer;
    transition: background 0.3s ease-in-out; 
}

.mb1:hover,
.mb2:hover,
.mb3:hover{
    background: #394B65;
}

.mb1{
    display: flex;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
    box-sizing: border-box;
}

.mb1 p{
    cursor: pointer;
}

.mb2,
.mb3{
    display: flex;
    align-items: center;
    justify-content: center;
}

.mb2 img,
.mb3 img {
    display: block;
    margin: 0 auto;
}

.mo_btn div img{
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: block;
}

@media (max-width:580px){

    .mo_btn{
        flex-direction: column;
    }

    .mb2,
    .mb3{
        width: 100%;
    }

    .mb_wrap{
        justify-content: space-between;
    }

}

/*#endregion*/


/*#region 메뉴 버튼*/
.mo_content>ul {
    margin-top: 1.5rem;
}

/*1depth*/
.mo_content>ul>li>span{
    font-size: 1.5rem;
    font-weight: 700;
}

.mo_content>ul>li:nth-child(3),
.mo_content>ul>li:nth-child(4){
    margin-bottom: 2rem;
}

.mo_content>ul>li span{
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.mo_content>ul>li span:hover{
    color: var(--main-color);
}

.mo_content>ul>li span img{
    width: 15px;

}

.mo_content>ul>li span:hover img{
    content: url(/common/img/masterpage/minus.svg);
    transform: rotate(0deg);
}

/*2depth*/
.mo_menu{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    margin: 1rem 0;
}

.openmenu{
    transition: all 0.5s ease;
}

.openmenu.active + .mo_menu{
    max-height: 500px;
}

.plus {
    transition: transform 0.4s ease;
}

.openmenu .plus {
    transform: rotate(90deg);
    content:url('/common/img/masterpage/plus.svg');
}

.openmenu.active .plus {
    transform: rotate(0deg);
    content:url('/common/img/masterpage/minus.svg');
}

.openmenu.active {
    color: var(--main-color);
}

.mo_menu li {
    width: 340px;
}

.mo_menu span{
    font-size: 1.25rem;
    font-weight: 300;
}

.mo_menu li:not(:last-child){
    margin-bottom: 1rem;
}

.mo_menu li:last-child{
    margin-bottom: 1.5rem;
}

@media (max-width:580px) {

  .mo_content>ul>li>span{
      font-size: 1.38rem;
  }

  .mo_menu span{
      font-size: 1.06rem;
  }

  .mo_menu li:last-child{
      margin-bottom: 1.2rem;
  }

}
/*#endregion*/


/*#region 햄버거버튼*/
.menu_btn{
    cursor:pointer;
    position:fixed;
    top:25px;
    right:36px;
    width:30px;
    height:25px;
    z-index:9999;

    display: none;
}

.menu-trigger span{
    position:absolute;
    left:0;
    width:100%;
    height:3px;
    background:var(--main-color);
    border-radius:3px;

    transition:transform .35s ease, opacity .25s ease;
}

/* 햄버거 기본 위치 */
.menu-trigger span:nth-child(1){
    top:0;
}

.menu-trigger span:nth-child(2){
    top:50%;
    transform:translateY(-50%);
}

.menu-trigger span:nth-child(3){
    bottom:0;
}

/* X 변환 */
.menu-trigger.active span:nth-child(1){
    transform:translateY(11px) rotate(45deg);
    background:#fff;
}

.menu-trigger.active span:nth-child(2){
    opacity:0;
}

.menu-trigger.active span:nth-child(3){
    transform:translateY(-11px) rotate(-45deg);
    background:#fff;
}
/*#endregion*/



@media (max-width:984px) {

    .menu{
        display: none;
    }

    .menu_btn{
        display: flex;
    }

}


/*#region 푸터*/

footer{
    height: 300px;
    background: #111827;
    color: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

footer>div{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer_logo{
    text-align: center;
}

.footer_logo img{
    width: 100px;
    margin-top: -5px;
    margin-bottom: 1rem;
}

.footer_nav{
    display: flex;
    column-gap: 5rem;
    text-align: center;
}

.footer_nav ul{
    line-height: 220%;
}

.footer_nav li{
    font-weight: 200;
    cursor: default;
}

.footer_nav li:first-child{
    font-weight: 600;
}

.footer_nav li:not(:first-child){
    cursor: pointer;
}

@media (max-width:1280px) {

    footer{
        padding: 0 1.5rem;
    }

}

@media (max-width:984px) {

    .footer_logo p,
    .footer_nav{
        font-size: 0.94rem;
        column-gap: 4rem;
    }

}

@media (max-width:768px) {

    footer{
    height: 350px;
}

    footer>div{
        flex-direction: column;
    }

    .footer_logo{
        display: flex;
        align-items: center;
        column-gap: 1rem;
        text-align:left;
        margin-bottom: 1rem;
    }

    .footer_logo img{
        width: 90px;
        margin-top: unset;
    }

    .footer_nav{
        column-gap: unset;
        justify-content: space-between;
    }

}

@media (max-width:580px) {

    .footer_logo p,
    .footer_nav{
        font-size: 0.87rem;
    }

}

@media (max-width:480px) {

    .footer_logo img{
        width: 80px;
    }

    .footer_logo p,
    .footer_nav{
        font-size: 0.75rem;
    }

}


/*#endregion*/














.block {
    display: block;
}

.none {
    display: none;
}


/* 컨택트버튼 */

#buttonline {
    border: 1px solid white;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    position: fixed;
    bottom: 7.9%;
    right: 9%;
    z-index: 10;
    transition: all 0.4s ease-out;
}


#contbtn {
    width: 174px;
    height: 174px;
    border: none;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-transform: uppercase;
    z-index: 2;
    transition: all 0.4s ease-out;
    margin: 25px auto;
    position: relative;
    color: white;
    font-size: 25px;
    font-family: "Edensor";
}

    #contbtn p {
        -webkit-transform: scale(1.2,1); /* Safari and Chrome */
        -moz-transform: scale(1.2,1); /* Firefox */
        -ms-transform: scale(1.2,1); /* IE 9 */
        -o-transform: scale(1.2,1); /* Opera */
        transform: scale(1.2,1); /* W3C */
        /*-webkit-text-stroke: .5px black;*/
        font-family: "Edensor";
    }



    #contbtn:hover {
        background-color: #fff;
        mix-blendmode: different;
        color: #f63943;
        font-size: 30px;
        transition: all 0.2s ease-out;
        /*cursor:none;*/
    }

#tinycircle1 {
    width: 25px;
    height: 25px;
    background: white;
    border-radius: 50%;
    animation: planet-rotate-1 infinite 6s linear;
    position: absolute;
    top: 44%;
    left: 44%;
    transition: all 0.2s linear;
    opacity: 0;
}

#tinycircle2 {
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid white;
    border-radius: 50%;
    animation: planet-rotate-2 infinite 4s linear reverse;
    position: absolute;
    top: 46%;
    left: 46%;
    transition: all 0.2s linear;
    opacity: 0;
}

#buttonline:hover #tinycircle1 {
    opacity: 1;
    z-index: 2;
}

#buttonline:hover #tinycircle2 {
    opacity: 1;
    z-index: 2;
}

@keyframes planet-rotate-1 {
    from {
        -webkit-transform: rotate(0) translateX(110px) rotate(0);
        -moz-transform: rotate(0) translateX(110px) rotate(0);
        -ms-transform: rotate(0) translateX(110px) rotate(0);
        -o-transform: rotate(0) translateX(110px) rotate(0);
        transform: rotate(0) translateX(110px) rotate(0);
    }

    to {
        -webkit-transform: rotate(360deg) translateX(110px) rotate(-360deg);
        -moz-transform: rotate(360deg) translateX(110px) rotate(-360deg);
        -ms-transform: rotate(360deg) translateX(110px) rotate(-360deg);
        -o-transform: rotate(360deg) translateX(110px) rotate(-360deg);
        transform: rotate(360deg) translateX(110px) rotate(-360deg);
    }
}

@keyframes planet-rotate-2 {
    from {
        -webkit-transform: rotate(0) translateX(110px) rotate(0);
        -moz-transform: rotate(0) translateX(110px) rotate(0);
        -ms-transform: rotate(0) translateX(110px) rotate(0);
        -o-transform: rotate(0) translateX(110px) rotate(0);
        transform: rotate(0) translateX(110px) rotate(0);
    }

    to {
        -webkit-transform: rotate(360deg) translateX(110px) rotate(-360deg);
        -moz-transform: rotate(360deg) translateX(110px) rotate(-360deg);
        -ms-transform: rotate(360deg) translateX(110px) rotate(-360deg);
        -o-transform: rotate(360deg) translateX(110px) rotate(-360deg);
        transform: rotate(360deg) translateX(110px) rotate(-360deg);
    }
}



/********1200버전*******/
@media (max-width: 1201px) {
    #buttonline {
        transform: scale(0.8);
    }

}

/********767버전*******/
@media (max-width: 768px) {

    .cursor2 {
        display: none !important;
    }


    /*사이드메뉴 텍스트*/
    .nav__link {
        font-size: 2rem;
        margin: 2.3rem 0;
    }

    .nav-but-wrap {
        right: 15px;
    }

    /* 컨택트버튼 */
    #buttonline {
        border: 1px solid white;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        position: fixed;
        bottom: 7%;
        right: 1%;
        z-index: 10;
        transition: all 0.4s ease-out;
        transform: scale(0.75);
    }

    #contbtn {
        width: 174px;
        height: 174px;
        border: none;
        background: black;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        text-transform: uppercase;
        z-index: 2;
        transition: all 0.4s ease-out;
        margin: 25px auto;
        position: relative;
        color: white;
        font-size: 25px;
        font-family: "Edensor";
    }

        #contbtn p {
            -webkit-transform: scale(1.2,1); /* Safari and Chrome */
            -moz-transform: scale(1.2,1); /* Firefox */
            -ms-transform: scale(1.2,1); /* IE 9 */
            -o-transform: scale(1.2,1); /* Opera */
            transform: scale(1.2,1); /* W3C */
            /*-webkit-text-stroke: .5px black;*/
        }

        #contbtn:hover {
            background-color: #fff;
            mix-blendmode: different;
            color: #f63943;
            font-size: 30px;
            transition: all 0.2s ease-out;
            /*cursor:none;*/
        }

    #tinycircle1 {
        width: 25px;
        height: 25px;
        background: white;
        border-radius: 50%;
        animation: planet-rotate-1 infinite 6s linear;
        position: absolute;
        top: 44%;
        left: 44%;
        transition: all 0.2s linear;
        opacity: 0;
    }

    #tinycircle2 {
        width: 15px;
        height: 15px;
        background: transparent;
        border: 1px solid white;
        border-radius: 50%;
        animation: planet-rotate-2 infinite 4s linear reverse;
        position: absolute;
        top: 46%;
        left: 46%;
        transition: all 0.2s linear;
        opacity: 0;
    }

    #buttonline:hover #tinycircle1 {
        opacity: 1;
        z-index: 2;
    }

    #buttonline:hover #tinycircle2 {
        opacity: 1;
        z-index: 2;
    }

    @keyframes planet-rotate-1 {
        from {
            -webkit-transform: rotate(0) translateX(110px) rotate(0);
            -moz-transform: rotate(0) translateX(110px) rotate(0);
            -ms-transform: rotate(0) translateX(110px) rotate(0);
            -o-transform: rotate(0) translateX(110px) rotate(0);
            transform: rotate(0) translateX(110px) rotate(0);
        }

        to {
            -webkit-transform: rotate(360deg) translateX(110px) rotate(-360deg);
            -moz-transform: rotate(360deg) translateX(110px) rotate(-360deg);
            -ms-transform: rotate(360deg) translateX(110px) rotate(-360deg);
            -o-transform: rotate(360deg) translateX(110px) rotate(-360deg);
            transform: rotate(360deg) translateX(110px) rotate(-360deg);
        }
    }

    @keyframes planet-rotate-2 {
        from {
            -webkit-transform: rotate(0) translateX(110px) rotate(0);
            -moz-transform: rotate(0) translateX(110px) rotate(0);
            -ms-transform: rotate(0) translateX(110px) rotate(0);
            -o-transform: rotate(0) translateX(110px) rotate(0);
            transform: rotate(0) translateX(110px) rotate(0);
        }

        to {
            -webkit-transform: rotate(360deg) translateX(110px) rotate(-360deg);
            -moz-transform: rotate(360deg) translateX(110px) rotate(-360deg);
            -ms-transform: rotate(360deg) translateX(110px) rotate(-360deg);
            -o-transform: rotate(360deg) translateX(110px) rotate(-360deg);
            transform: rotate(360deg) translateX(110px) rotate(-360deg);
        }
    }
}

/********480버전*******/
@media (max-width: 481px) {

    .nav__link {
        font-size: 1.8rem;
    }

    #buttonline {
        border: 1px solid white;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        position: fixed;
        bottom: 4%;
        right: -10%;
        z-index: 10;
        transition: all 0.4s ease-out;
        transform: scale(0.5);
    }

    #contbtn p {
        -webkit-transform: scale(1.2,1); /* Safari and Chrome */
        -moz-transform: scale(1.2,1); /* Firefox */
        -ms-transform: scale(1.2,1); /* IE 9 */
        -o-transform: scale(1.2,1); /* Opera */
        transform: scale(1.2,1); /* W3C */
        -webkit-text-stroke: .2px white;
    }
}

/*갤럭시 폴드*/
@media (max-width: 280px) {

    .nav__link {
        font-size: 2rem;
    }

    #buttonline {
        border: 1px solid white;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        position: fixed;
        bottom: 1%;
        right: -19%;
        z-index: 10;
        transition: all 0.4s ease-out;
        transform: scale(0.45);
    }

    #contbtn p {
        -webkit-transform: scale(1.2,1); /* Safari and Chrome */
        -moz-transform: scale(1.2,1); /* Firefox */
        -ms-transform: scale(1.2,1); /* IE 9 */
        -o-transform: scale(1.2,1); /* Opera */
        transform: scale(1.2,1); /* W3C */
        -webkit-text-stroke: .2px white;
    }
}
