@charset "utf-8";

:root {
    --main-color :#C8A445;
}

.wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 361px;
}

.wrapper.bottom0{
    padding-bottom: 0;
}
/* header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 100;
    transition: all .1s ease-in-out;
}

/* header - active */
.header.active, .header.open {
    background: #fff;
}

.header.active .header-top, .header.open .header-top {
	color: #454545;
}

.header.active .header-top .logo a, .header.open .header-top .logo a {
    background: url('/images/header_logo_active.svg')no-repeat center center;
    background-size: 100%;
}

.header.active .header-top .menu-icon.black {
    background: url('/images/icon_menu_black.svg')no-repeat left center;
}

.header.open .header-top .menu-icon, .header.active.open .header-top .menu-icon {
    background: url('/images/icon_menu_close.svg')no-repeat left 10px center;
}

.header.active .header-top .menu-icon.black b, .header.open .header-top .menu-icon b, .header.active.open .header-top .menu-icon.black b {
    color: #212429;
}

.header.active .header-top .util::after, .header.open .header-top .util::after {
    background: url('/images/icon_login_bk.svg')no-repeat;
}

.header.active .header-top a.btn-hp, .header.open .header-top a.btn-hp {
    border: 1px solid #CCCCCC;
    color: #212429;
}

/* header - active end */


/* header - sub */
.header.sub {
    background: #fff;
}

.header.sub .header-top {
	color: #454545;
}

.header.sub.subActive .header-top {
    border-bottom: 1px solid #E5E1D7;
}

.header.sub .header-top .menu-icon b {
    color: #212429;
}

.header.sub .header-top .logo a {
    background: url('/images/header_logo_active.svg')no-repeat center center;
    background-size: 100%;
}

.header.sub .header-top .util::after {
    background: url('/images/icon_login_bk.svg')no-repeat;
}

.header.sub .header-top .menu-icon {
    background: url('/images/icon_menu_black.svg')no-repeat left center;
}

.header.sub.open .header-top .menu-icon {
    background: url('/images/icon_menu_close.svg')no-repeat left 5px center;
}

.header.sub .header-top a.btn-hp {
    border: 1px solid #CCCCCC;
    color: #212429;
}

/* header - sub end */


.header .header-top {
    height: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
}

.header .header-top .menu-icon {
    height: 56px;
    cursor: pointer;
    background: url('/images/icon_menu.svg')no-repeat left center;
    display: flex;
    align-items: center;
}

.header .header-top .menu-icon.black {
    background: url('/images/icon_menu_black.svg')no-repeat center center;
}

.header .header-top .menu-icon b {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-left: 35px;
}

.header .header-top .logo {
    width: 208px;
    height: 100%;
}

.header .header-top .logo a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 0;
    background: url('/images/header_logo.svg')no-repeat center center;
    background-size: 100%;
}

.header .header-top .util {
    display: block;
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

.header .header-top .util::after {
    content: "";
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    background: url('/images/icon_login.svg')no-repeat;
    width: 24px;
    height: 24px;
}

.header .header-top a.btn-hp {
    border: 1px solid #fff;
    border-radius: 60px;
    width: 129px;
    padding: 6px 0;
    color: #fff;
    position: absolute;
    right: 200px;
    text-align: center;
}

/* menu */
.menu-wrap {
    background: #fff;
    width: 100%;
    position: absolute;
    top: 90px;
    left: 0;
    border-top: 1px solid #E5E1D7;
    visibility: hidden;
    opacity: 0;
    transition: all .2s ease-in-out;
}

.menu-wrap.open {
    visibility: visible;
    opacity: 1;
    box-shadow: 2px 5px 16px 0px rgba(0, 0, 0, 0.08);
}

.menu-wrap .menu {
    display: flex;
    justify-content: center;
    gap: 0 80px;
    padding: 40px 0;
}

.menu-wrap .menu ul {
    display: flex;
    flex-direction: column;
    gap: 24px 0;
}

.menu-wrap .menu ul li.title {
    text-transform: uppercase;
    color: var(--main-color);
    font-size: 18px;
    font-weight: 700;
}

.menu-wrap .menu ul li {
    font-size: 16px;
    text-align: center;
}

.menu-wrap .menu ul li:not(.title):hover {
    font-weight: 700;
    transition: all .05s ease-in-out;
}

.menu-wrap .menu ul li a {
    display: block;
}

/* quick-menu */
.quick-menu {
    position: fixed;
    right: 80px;
    top: 435px;
    z-index: 200;
}

.quick-menu ul {
    display: flex;
    flex-direction: column;
    gap: 12px 0;
    width: 64px;
}

.quick-menu ul li {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50px;
    background: #444A5C;
    transition: width 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.quick-menu ul li:not(.up):hover {
    width: 128px;
    transform: translateX(-56px);
    background: var(--main-color);
}

.quick-menu ul li a {
    display: block;
    height: 100%;
    width: 100%;
}

.quick-menu ul li img {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.quick-menu ul li:not(.up):hover img {
    transform: translate(95%, -50%);
    transition: all 0.3s;
}

.quick-menu ul li span {
    opacity: 0;
    width: 0;
    transition: 0.01s all;
    position: absolute;
    top: 50%;
    left: 35%;
}

.quick-menu ul li:not(.up):hover span {
    opacity: 1;
    width: 128px;
    transition: 0.3s all;
    color: #fff;
    font-size: 16px;
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 35%;
    font-weight: 500;
}

.quick-menu ul li.up {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
}

.quick-menu ul li.up.show {
    visibility: visible;
    opacity: 1;
}

/* subTtile */
.subTitle-wrap {
    width: 100%;
    padding: 0 0 56px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px 0;
    margin-top: 64px;
}

.subTitle-wrap h2 {
    font-size: 48px;
    font-weight: 300;
    color: #212429;
}

.subTitle-wrap ul {
    display: flex;
    align-items: center;
    gap: 0 20px;
}

.subTitle-wrap ul li {
    font-size: 16px;
    font-weight: 500;
    color: #999;
    position: relative;
    text-transform: uppercase;
}

.subTitle-wrap ul li.on {
    color: #212429;
}

.subTitle-wrap ul li:not(:last-child)::after {
    content: ">";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    font-weight: 500;
}

  /* 로그인 로그아웃 버튼 */
  .logout-btn{opacity: 1;}
  .logout-btn img{vertical-align:middle; margin-right:5px;}
  #header:hover .logout-btn{opacity: 1; }
  #header:hover.active .logout-btn{display: block;}

  .login-btn{color: #fff; font-size: 14px; font-weight: 400;}
  .login-btn img{vertical-align: middle; margin-right: 4px;}
  #header:hover .login-btn{color:#444a5c; transition:all 0.3s;}
  #header:hover.active .login-btn{color:#444a5c;}
  #header:hover .login-img{display: none;}
  #header:hover.active .login-img{display: none;}
  .login-img-b{display: none;}
  #header:hover .login-img-b{display: inline-block;}
  #header:hover.active .login-img-b{display: inline-block;}

  /* 드래그 색상 */
*::selection {
    background: #c8a445;
    color: #fff;
  }
  *::-moz-selection {
    background: #c8a445;
    color: #fff;
  }
  
  /* 스크롤바 커스텀 */
  ::-webkit-scrollbar {
      width: 8px;  /* 스크롤바의 너비 */
  }
  
  ::-webkit-scrollbar-thumb {
      background: #c8a445; /* 스크롤바의 색상 */
  }
  
  ::-webkit-scrollbar-track {
      background: #ddd;  /*스크롤바 뒷 배경 색상*/
  }
  

  /* main-popup */
.main-popup-wrap {
    position: fixed;
    left: 0;
    z-index: 200;
    width: 100%;
    height: 100%;
    animation: pop 1.2s 1.5s both;
}

.main-popup-overlay {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 201;
    -moz-opacity: 0.7;
    opacity: .70;
    top: 0;
}

.main-popup-wrap .main-popup {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 205;
}

.main-popup-wrap .main-popup ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-top: 150px;
    width: 97%;
    margin: 0 auto;
}

.main-popup-wrap .main-popup ul li {
    width: 200px;
    height: 200px;
    overflow: hidden;
}

.main-popup-wrap .main-popup ul li a {
    display: block;
    width: 100%;
    height: 100%;
}

.main-popup-wrap .main-popup ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-popup-wrap .main-popup .btn-close {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 100px;
    transform: translateX(-50%);
    text-align: center;
}

.main-popup-wrap .main-popup .btn-close span {
    color: #fff;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.main-popup-wrap .main-popup .btn-reser {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
}

.main-popup-wrap .main-popup .btn-reser a {
    width: 270px;
    background: var(--main-color);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 25px 0;
    display: block;
    text-indent: 46px;
    position: relative;
}

.main-popup-wrap .main-popup .btn-reser a::after {
    content: ">";
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    position: absolute;
    right: 46px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes pop {
    0% {
        top: -100%;
    }

    100% {
        top: 0;
    }
}


/* main-popup(임시) */
.main-popup-tm {
    position: absolute;
    left: 160px;
    top: 240px;
    width: 320px;
    height: 460px;
    background: #fff;
    z-index: 5;
}

.main-popup-close {
    text-align: center;
    background: #444A5C;
    padding: 4px 0;
}

.main-popup-close span {
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    display: block;
}

/* sub-menu */
.sub-tab-wrap {
    padding: 30px 0 60px 0;
}

.sub-tab-wrap ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 68px;
}

.sub-tab-wrap ul li {
    position: relative;
    font-size: 24px;
}

.sub-tab-wrap ul li.on {
    color: var(--main-color);
    font-weight: 700;
}

.sub-tab-wrap ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -35px;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #999;
    border-radius: 50%;
}

/* // sub-menu */


/* footer */
.footer {
    background: #212429;
    position: absolute;
    bottom: 0;
    height: 361px;
    width: 100%;
}

.footer ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer ul li b {
    display: inline-block;
    font-weight: 700;
    margin-right: 10px;
}

.footer-top {
    padding: 32px 0 37px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-top::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.footer-top ul {
    gap: 0 30px;
}

.footer-top ul li a {
    color: #999;
    display: block;
    font-size: 18px;
}

.footer-top ul li a.on {
    color: #C8A445;
    font-weight: 700;
}

.footer-top a.hp {
    border: 1px solid #999;
    border-radius: 4px;
    padding: 8px 24px;
    text-align: center;
    margin-left: 60px;
    color: #999;
}

.footer-mid {
    margin: 40px 0 32px 0;
}

.footer-mid ul {
    gap: 0 15px;
}

.footer-mid ul li {
    color: #999;
    font-size: 18px;
}

.footer-mid ul li:last-child {
    font-weight: 800;
    font-size: 24px;
    color: #C8A445;
}

.footer-btm ul {
    gap: 0 40px;
}

.footer-btm ul:first-child {
    margin-bottom: 20px;
}

.footer-btm ul li {
    color: #999;
    font-size: 16px;
    position: relative;
}

.footer-btm ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
    width: 1px;
    height: 10px;
    background: #999;
}

.footer-btm span {
    display: block;
    margin-top: 22px;
    font-size: 12px;
    text-align: center;
    color: #666;
}


/* footer 약관 팝업 */
.footer-popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 740px;
    /* min-height: 235px; */
    max-height: 695px;
    padding: 40px 10px;
    border-radius: 16px;
    border: 3px solid var(--main-color);
    z-index: 102;
    background: #fff;
    display: none;
}

.overlay-bg-footer {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 101;
    display: none;
}

.footer-popup .popup-header {
    padding: 0 30px;
}

.footer-popup .popup-header h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-popup .popup-header p {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

.footer-popup .popup-body {
    max-height: 450px;
    overflow: auto;
    padding: 20px 30px;
}

.footer-popup .popup-body .terms-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px 0;
}

.footer-popup .popup-body .terms-wrap h3.terms-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    margin-bottom: 15px;
}

.footer-popup .popup-body .terms-wrap p {
    font-size: 16px;
    line-height: 150%;
    white-space: pre-line;
    word-break: keep-all;
}

.footer-popup .popup-body table {
    margin-top: 30px;
}

.footer-popup .popup-footer {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 16px;
}

.footer-popup .popup-footer a {
    width: 45%;
    padding: 12px 0;
    text-align: center;
    background: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    font-size: 16px;
    border-radius: 4px;
    display: block;
}

.footer-popup .popup-footer a.on {
    background: var(--main-color);
    color: #fff; 
}

.footer-popup .popup-footer a.close {
    background: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.popup-close {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: url('/images/icon_popup_close.svg') no-repeat;
    width: 56px;
    height: 56px;
    cursor: pointer;
}

.footer-popup .terms-table {
    border-top: 2px solid var(--main-color);
    text-align: center;
}

.footer-popup .terms-table thead tr th {
    background: #F5F5F5;
    font-size: 1rem;
    font-weight: 600;
    padding: 20px 10px;
    border-bottom: 1px solid #D6D6D6;
}

.footer-popup .terms-table tbody tr td {
    background: #fff;
    font-size: 1rem;
    padding: 20px 10px;
    border-right: 1px solid #D6D6D6;
    border-bottom: 1px solid #D6D6D6;
    line-height: 130%;
}

.footer-popup .terms-table tbody tr td:last-child {
    border-right: 0;
}