@charset "UTF-8";
/*-------------------------------------------------
title       :레이아웃
Create date :2025-04-04
-------------------------------------------------*/

#wrap {
    position: relative;
}
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    z-index: 100;
}
#header .header_wrap {
    width: calc(100% - 32px);
    margin: 0 auto;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    padding: 9px 0px;
}
#header #logo {
    flex: 0 0 auto;
}
#header #logo a {
    display: block;
    background: url('/main/img/header/logo-white.svg') center center / cover no-repeat;
    width: 99px;
    height: 26px;
}
#header .app-down {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 16px;
    color: #fff;
    font-size: 15px;
}
#header .app-down span {
    display: block;
    position: relative;
    width: 14px;
    height: 16px;
    flex: 0 0 auto;
    background: url('/main/img/header/download-white.svg') center center / cover no-repeat;
}
#header.change {
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(217, 217, 217);
}
#header.change #logo a {
    background: url('/main/img/header/logo-changed.svg') center center / cover no-repeat;
}
#header.change .app-down {
    color: rgb(0, 0, 0);
}
#header.change .app-down span {
    background: url('/main/img/header/download-black.svg') center center / cover no-repeat;
}
@media screen and (min-width: 768px) {
    #header .header_wrap {
        width: calc(100% - 64px);
    }
}

@media screen and (min-width: 1280px) {
    #header .header_wrap {
        width: calc(100% - 168px);
        padding: 25px 0;
    }
    #header #logo a {
        width: 129px;
        height: 34px;
    }
}

#main {
    position: relative;
    color: #251327;
}

#footer {
    background-color: rgb(54, 54, 54);
    font-size: 15px;
    color: rgb(255, 255, 255);
}
#footer .footer_wrap {
    display: flex;
    flex-direction: column;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 56px 0px;
    width: calc(100% - 32px);
    max-width: 1224px;
    margin: 0 auto;
}
#footer .footer-txt-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px 0px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgb(255, 255, 255);
    margin-bottom: 40px;
}
#footer .footer-txt-inner > p {
    margin-bottom: 8px;
}
#footer .footer-txt-inner > p:first-child {
    font-weight: 500;
    margin-bottom: 20px;
}
#footer .footer-txt-inner > p:last-child {
    margin-bottom: 0px;
}
#footer .footer-txt-inner > p > a {
    color: rgb(255, 255, 255);
}
#footer .mail-line {
    position: relative;
}
#footer .mail-line::before {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 0px;
    height: 1px;
    background-color: rgb(255, 255, 255);
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
#footer .footer-sns-wrap > ul {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    gap: 0px 50px;
}
#footer .footer-sns-wrap > ul > li > a {
    display: block;
    position: relative;
}
#footer .footer-sns-wrap > ul > li > a > img {
    width: 40px;
    display: block;
}
#footer .sns-txt {
    opacity: 0;
    visibility: hidden;
    display: block;
    position: absolute;
    left: 50%;
    bottom: 100%;
    padding: 0px 5px;
    margin-bottom: 0px;
    min-width: 48px;
    background-color: rgb(112, 112, 112);
    font-size: 11px;
    color: rgb(248, 248, 248);
    border-radius: 3px;
    line-height: 22px;
    text-align: center;
    transform: translateX(-50%);
    transition: 0.3s;
    white-space: nowrap;
}
#footer .sns-txt::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    border-width: 6px 5px 5px;
    border-style: solid;
    border-color: rgb(112, 112, 112) transparent transparent;
    border-image: initial;
    transform: translateX(-50%);
}
#footer .footer-sns-wrap > :nth-child(n + 2) {
    margin-top: 20px;
}
@media screen and (min-width: 768px) {
    #footer .footer_wrap {
        padding: 80px 0px;
    }
    #footer .footer-txt-wrap {
        flex-direction: row;
        gap: 0px 140px;
    }
}
@media screen and (min-width: 1280px) {
    #footer .footer_wrap {
        flex-direction: row;
        padding: 120px 0px;
    }
    #footer .footer-txt-wrap {
        flex-direction: row;
        padding: 0px;
        border: none;
        margin: 0px;
        gap: 0px 160px;
    }
}

.f-btn {
    display: block;
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 1000;
    opacity: 0;
}
.f-btn.show {
    opacity: 1;
    transition: all 1s;
}
.f-btn a {
    display: block;
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 2px;
    background-color: rgb(112, 112, 112);
    border: 1px solid rgb(112, 112, 112);
}
.f-btn a::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -7px;
    margin-top: -4px;
    width: 14px;
    height: 8px;
    background: url('/main/img/go-top.svg') center center no-repeat;
}
@media screen and (max-width: 768px) {
    .f-btn {
        right: 15px;
        bottom: 20px;
    }
}
