@charset "utf-8";

/**하단**/
.footer_ft {
    width: 100%;
    background-color: #fff;
    position: relative;
}

.ft_inner {
    width: var(--width-size);
    margin: 0 auto;
    /* padding: var(--sub_pd_half) 30px; */
    padding: 0 30px;
}



.footer_ft ul li,
.footer_ft ul li a {
    color: #ffffff;
    font-size: 17px;
    /* font-weight: 300; */
}

.copy_hi {
    margin-top: 7%;
}

.copy_hi p {
    opacity: 0.5;
}

.footer_ft .ft_top {
    border-bottom: 1px solid rgb(255 255 255 / 20%);
    padding: 1rem 0;
    background-color: var(--color-main);
}

.ft_top .top_left {
    display: flex;
    align-items: center;
    gap: 1rem 4rem;
}

.footer_ft .ft_top .ft_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ft_top ul {
    display: flex;
    justify-content: flex-start;
    gap: 4rem
}

.ft_top ul li {
    position: relative;
}

.ft_top ul li:first-child a {}

.ft_top ul li i {
    font-size: 1.4rem;
    opacity: .7;
    display: inline-block;
}

.ft_top ul.sns {
    gap: 1rem;
}

.ft_top ul.sns li {
    background-color: rgb(0 0 0 / 20%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.ft_top ul.sns li:first-child a {
    color: #fff
}

.ft_top .top_left ul li {
    margin-right: 1rem;
    position: relative;
}

.ft_top .top_left ul li:after {
    content: "";
    position: absolute;
    background-color: #c4c4c4;
    width: 1px;
    height: 53%;
    border-radius: 50%;
    top: 50%;
    right: -2px;
    transform: translateY(-50%);
}

.ft_top .top_left ul li:last-child::after {
    display: none;
}

.ft_box {
    background-color: #fff;
    border-radius: 3rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 0;
}

.ft_box ul {
    display: flex;
    padding: 0 1rem;
    gap: 4rem;
    align-items: center;
}

.ft_box>ul li {
    position: relative;
}

.ft_box>ul li:first-child::after {
    content: "";
    width: 1px;
    height: 50%;
    position: absolute;
    right: 0;
    background-color: #a6a6a6;
    margin-right: -2rem;
    top: 53%;
    transform: translateY(-50%)
}

.ft_box strong {
    padding-left: 1rem;
    font-size: 22px;
    font-weight: 800
}

.bottom_sns ul {
    gap: 1.5rem
}

.bottom_sns li {
    border: 1px solid #ccc;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.bottom_sns li a {
    line-height: 1;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: .5;
    transition: .4s;
}

.bottom_sns li a:hover {
    opacity: 1
}

.footer_ft .ft_copy {
    display: flex;
    padding: 3rem 0;
    align-items: center;
    gap: 4rem;
}

.footer_ft .ft_copy ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem 2rem;
}

.footer_ft .ft_copy ul li {
    color: #222;
}

.footer_ft .ft_copy ul li:last-child {
    width: 100%;
}

.footer_ft .ft_copy ul li p {
    opacity: .7;
    /* color: #fff; */
    text-align: left;
}

.footer_ft .ft_copy ul li span {
    margin-right: .5em;
}

.footer_ft .ft_copy ul li span a {
    font-weight: 200;
    transition: all .3s;
    color: #666;
}

.footer_ft .ft_copy ul li span a:hover {
    color: #ffbe00;
    opacity: 1
}

.footer_ft .ft_copy .terms {
    display: flex;
    width: 40%;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: flex-end;
}

.footer_ft .ft_copy .terms a {
    padding-left: .3rem;
    color: #ffffff;
    margin-left: 1rem;
    font-size: 16px;
}

.footer_ft .ft_copy i {
    color: #fff;
    font-size: 1.45em;
}


/* PC */
@media only screen and (min-width:1024px) and (max-width: 1500px) {}

/* 테블릿 가로, 테블릿 세로 (해상도 768px ~ 1023px)*/
@media all and (max-width:1023px) {
    .ft_inner {
        /* padding:4rem 3%; */
    }

    .footer_ft .ft_copy {
        display: flex;
        /* flex-wrap: wrap; */
        /* text-align: center; */
        align-items: flex-start;
        gap: 2rem;
    }

    .footer_ft .ft_top img {}

    .ft_top .top_left {
        flex-wrap: wrap
    }

    .ft_top ul {
        gap: 2rem
    }

    .ft_box {
        flex-wrap: wrap;
        border-radius: 1rem;
    }

    .ft_box ul {
        flex-wrap: wrap;
        gap: 1rem 2rem;
        padding: 0;
    }

    .ft_box>ul li:first-child::after {
        margin-right: -1rem;
    }

    .bottom_sns {
        margin-top: 1rem;
    }

    .bottom_sns ul {
        gap: 1rem
    }

    .footer_ft .ft_copy ul {}

    .footer_ft .ft_copy .terms {
        width: 100%;
        justify-content: flex-start;
        margin-top: 1rem
    }

    .footer_ft .ft_copy .terms a {
        margin-left: 0;
        margin-right: 1rem;
        padding: 0;
    }

    .footer_ft .ft_copy .terms p {
        width: 100%
    }
}

/* 모바일 가로, 모바일 세로 (해상도 480px ~ 767px)*/
@media all and (max-width:767px) {
    .footer_ft .ft_top .ft_inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 0 5%;
    }

    .ft_top ul {
        flex-wrap: wrap;
        gap: .5rem 2rem;
        display: flex;
        justify-content: center;
    }

    .footer_ft .ft_copy {
        flex-wrap: wrap;
        gap: 2rem;
        display: flex;
        justify-content: center;
    }

    .footer_ft ul li,
    .footer_ft ul li a {
        font-size: 15px
    }

    .footer_ft .ft_copy ul {
        display: flex;
        justify-content: center;
    }

    .footer_ft .ft_copy ul li p {
        text-align: center
    }
}



#back-top {
    position: fixed;
    bottom: 12px;
    right: 9px;
    z-index: 10;
    display: none;
}

#back-top a {
    width: 70px;
    height: 70px;
    display: inline-flex;
    text-align: center;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
    margin-right: 3rem;
    margin-bottom: 3rem;
    background-color: var(--color-main);
    border-radius: 50%;
    color: #fff;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 16px;
}

#back-top a i {
    font-size: 24px
}

#back-top a p {
    font-size: 14px;
    color: #fff
}

#back-top .top {
    background-color: #fff;
    width: 60px;
    height: 60px;
    bottom: 30%;
    right: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 1.5em;
    display: inline-flex;
    border-radius: 50%;
    letter-spacing: 1px;
    text-align: center;
    padding: .5em 0;
    box-shadow: 0 3px 10px rgb(158 116 41 / 40%);
    transition: all 0.5s linear;
    font-size: 28px;
    align-items: center;
    justify-content: center;
    font-weight: 200;
    background-color: var(--color-main);
}

#back-top .top:hover {
    background-color: var(--color-main2);
    color: #fff;
    transition: all 0.5s linear;
    box-shadow: 0 3px 10px rgb(41 158 130 / 40%);
}

#back-top .top i {
    font-size: 1.5em;
    line-height: 1.6em;
}

#back-top a:hover {
    /* color: #000; */
}

.goto {
    position: fixed;
    right: 35px;
    top: 65%;
    transform: translateY(-50%);
    z-index: 25;
}

.goto h3 {
    /* visibility:hidden; */
    height: 0;
    text-indent: -9999px;
}

.goto ul {
    margin-bottom: 1rem;
}

.goto ul li {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    position: relative;
    box-shadow: 2px 2px 5px 0 rgb(0 0 0 / 20%);
    background-color: var(--color-main)
}

.goto ul li+li {
    margin-top: 1rem
}

.goto ul li a {
    display: block;
    height: 100%;
}

.goto ul li a span {}

.goto ul li a p {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    width: 0;
    height: 52px;
    position: absolute;
    z-index: -1;
    border-radius: 26px;
    right: 0;
    top: 0;
    padding-left: 20px;
    opacity: 0;
    background-color: var(--color-main);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.goto ul li:nth-of-type(1) {
    background-image: url(/img/main/goto1.png);
    background-color: var(--color-main);
}

.goto ul li:nth-of-type(2) {
    background-image: url(/img/main/goto2.png);
    background-color: #70B567;
}

.goto ul li:nth-of-type(3) {
    background-image: url(/img/main/goto3.png);
    background-color: #43A066;
}

.goto ul li:nth-of-type(4) {
    background-image: url(/img/main/goto4.png);
    background-color: #269266;
}

.goto ul li:nth-of-type(5) {
    background-image: url(/img/main/goto5.png);
    background-color: #ff981f;
}

.goto ul li:nth-of-type(2) p {
    background-color: var(--color-main);
}

.goto ul li:nth-of-type(3) p {
    background-color: #43A066
}

.goto ul li:nth-of-type(4) p {
    background-color: #269266;
}

.goto ul li:nth-of-type(5) p {
    background-color: #70B567;
}

.goto .back_top {
    text-align: center;
    width: 52px;
    height: 52px;
    background-color: #fff;
    border: 2px solid #269266;
    border-radius: 50%;
    background-image: url(/img/main/top.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 2px 2px 5px 0 rgb(0 0 0 / 20%);
}

.goto .back_top a {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.goto ul li:hover p {
    right: 0;
    transition: all 0.3s;
    opacity: 1;
    width: 120px
}

.goto ul li:nth-of-type(1):hover p,
.goto ul li:nth-of-type(4):hover p {
    width: 160px
}

.goto ul li:hover {
    background-color: #fff;
}

.goto ul li:nth-of-type(1):hover {
    background-image: url(/img/main/goto1_ov.png);
}

.goto ul li:nth-of-type(2):hover {
    background-image: url(/img/main/goto2_ov.png);
}

.goto ul li:nth-of-type(3):hover {
    background-image: url(/img/main/goto3_ov.png);
}

.goto ul li:nth-of-type(4):hover {
    background-image: url(/img/main/goto4_ov.png);
}

@media screen and (max-width: 1000px) {
    #back-top {
        display: none !important;
    }
}

/* 모바일 가로, 모바일 세로 (해상도 480px ~ 767px)*/
@media all and (max-width:767px) {
    .goto {
        display: none !important;
    }
}