/********* header CSS *********/

header{
    width:100%;
    position:fixed;
    top:0;
    left:0;
    transition: all 0.2s;
    z-index: 99;
}


/* 스크롤 다운>헤더 없어짐 / 스크롤 업>헤더 나타남 */
header.up {
    transform: translateY(-100%);
}
header.down {
    transform: translateY(0);
    background: #fff;
    border-bottom: 1px solid var(--border);
}


.hd-wrap{
    height:10rem;
    padding-inline:5%;
    align-items: center;
}

.hd-wrap,
.pc-menu,
.pc-nav,
.hd-btn__wrap {
    display:flex;
    flex-flow:row wrap;
}

.hd-wrap{
    justify-content: space-between;
}

.logo {
    width:min(285px,15%);
    height:5rem;
    display: flex;
}
.logo img {
    width: 100%;
    object-fit: contain;
}

.pc-nav {
    width: 75%;
    justify-content: center;
    position: relative;
}

.pc-nav > li{
    font-size: 2rem;
    padding-inline: 3.2rem;
    position: relative;
}
.pc-nav > li > a {
    color: #fff;
    transition: all 0.2s;
}
.pc-nav > li > a:hover {
    font-weight: 600;
}

.btn-menu {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: flex-end;
    margin-top: 1rem;
    cursor: pointer;
}
.btn-menu img {
    width: 25px;
}
.btn-menu span {
    display: inline-block;
    padding-top: .5rem;
    font-size: min(14px,1.8rem);
    color: #fff;
    font-weight: 300;
    transition: all 0.2s;
}
.btn-menu:hover span {
    font-weight: 600;
}

/* 헤더 스크롤 다운 스타일 모음 */
header.on .pc-nav > li > a{
    color: #111;
}
header.on .btn-menu img {
    filter: brightness(0) ;
}
header.on .btn-menu span {
    color: #111;
}


/* 모바일메뉴 */
.m-menu {
    position: fixed;
    top:0; 
    right:0;
    width: min(585px,90%);
    height: 100vh;
    background: #fff;
    z-index: 999;
    padding: 3% 5%;
    transform: translateX(100%);
    transition: all 0.3s;
}
.m-menu .close-btn {
    width: 24px;
    height: 24px;
    margin: 0 0 0 auto;
    cursor: pointer;
}
.m-menu .txt {
    padding-block: 8rem;
}
.m-menu .txt h2 {
    font-size: 3rem;
}
.m-menu .txt h4 {
    font-size: 2rem;
    font-weight: 300;
    color: #989898;
}
.m-menu .m-nav a {
    font-size: 2.4rem;
    display: inline-block;
    padding-block: .25em;
    margin-block: .75em;
    transition: all 0.2s;
}
.m-menu-bg {
    position: fixed;
    top:0; 
    right:0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}
.m-menu .m-nav a:hover {
    font-weight: 600;
}

/* 모바일메뉴 오픈 */
.menu-open .m-menu {
    transform: translateX(0);
}
.menu-open .m-menu-bg {
    visibility: visible;
    opacity: 1;
}

/* 푸터 */
footer {
    padding-block: 15rem;
    background: url(../img/common/footer_bg.png) no-repeat center center / cover;
}
footer .inner {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    color: #fff;
}
footer .admin-btn {
    position: absolute;
    bottom: 0;
    left: 4%;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}
footer .ft-logo img {
    filter: grayscale(1) brightness(10);
    width: 34rem;
    margin-top: 3rem;
}
footer .ft-info {
    width: calc(100% - 39rem);
    text-align: right;
}
footer .ft-info h2 {
    font-size: 4.2rem;
    font-weight: 200;
}
footer .ft-info h3 {
    font-size: 3rem;
    font-weight: 100;
    padding-bottom: 0.1em;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}
footer .ft-info p {
    font-size: 2rem;
    font-weight: 100;
    margin-top: 1em;
}


/* 퀵메뉴 */
.quick-wrap {
    position: fixed;
    bottom:10%;
    right: 2%;
    z-index: 99;
}
/* .quick-office {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    background: #042f40;
    padding: 2rem 1rem;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 0 10px 2px rgba(0,0,0,0.08);
}
.quick-office img {
    width: 4rem;
}
.quick-office p {
    font-size: max(13px,1.5rem);
    color: #fff;
    font-weight: 300;
    margin-top: 1rem;
}
.quick-menu {
    display: flex;
    flex-flow: column wrap;
    border: 1px solid #042f40;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 10px 2px rgba(0,0,0,0.08);
} */
/* .quick-menu .box {
    padding: max(13px,1.5rem) max(8px,1rem);
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    font-size: max(13px,1.5rem);
    background: #fff;
    text-align: center;
    transition: background 0.2s;
}
.quick-menu .box b {
    font-weight: 500;
    color: #042f40;
}
.quick-menu .box p {
    font-weight: 300;
}

.quick-menu .box1 {
    position: relative;
    background: #042f40;
    padding-top: 3rem;
    color: #fff;
}
.quick-menu .box1 span {
    position: absolute;
    top:max(13px,1.5rem);
    right:max(13px,1.5rem);
    width: 13px;
    cursor: pointer;
}
.quick-menu .box1 span img {
    filter: invert(96%) sepia(100%) saturate(14%) hue-rotate(273deg) brightness(105%) contrast(103%);;
}
.quick-menu .box1 .img {
    width: 4rem;
    margin-bottom: 1rem;
}
.quick-menu .box2 {
    border-bottom: 1px solid #042f40;
}
.quick-menu a.box:hover {
    background: #efefef;
    
} */

/* .quick-menu {
    display: flex;
    flex-flow: column wrap;
    background: #142537;
    padding: 6px;
    border-radius: 8rem;
    align-items: center;
}
.quick-menu .img {
    width: 8rem;
    height: 8rem;
    background: #1d9ed6;
    border-radius: 50%;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
}
.quick-menu .img img {
    width: 3rem;
}
.quick-menu p {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    margin-block: .5rem 1.7rem;
    text-align: center;
}
.quick-wrap.on .quick-menu {
    display: none;
} */

.quick-menu a {
    display: flex;
    flex-flow: column wrap;
    background: linear-gradient(-45deg,rgba(75, 164, 205, 1) 0%, rgba(95, 182, 54, 1) 100%);
    padding: 20px 10px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}
.quick-menu img {
    width: 31px;
}
.quick-menu p {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-top: 8px;
    letter-spacing: -0.09em;
}
.quick-wrap.on .quick-menu {
    display: none;
}

.top-btn {
    margin: 3rem auto 0;
    width: 8rem;
    height: 8rem;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(0,0,0,0.08);
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.top-btn img {
    /* transform: rotate(-90deg); */
    width: 4rem;
}

/* 1400 = inner size */
@media screen and (max-width:1530px){

}

@media screen and (max-width:1280px){
    .pc-nav {
        display: none;
    }
    .logo {
        width: min(250px,50%);
    }
}

@media screen and (max-width:992px){
    .quick-wrap {
        display: none;
    }
    footer .ft-logo img  {
        margin-top: 0;
    }
    footer .ft-info {
        width: 100%;
        text-align: left;
        margin-top: 3rem;
    }
    footer .admin-btn {
        display: none;
    }
}

@media screen and (max-width:768px){

}