/*------------------------------*/
/* font                         */
/*------------------------------*/

/*  Montserrat & Poppins */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*  Pretendard */
@font-face {
	font-family: 'Pretendard';
	font-weight: 900;
	font-display: swap;
	src: local('Pretendard Black'), url(../fonts/Pretendard-Black.woff2) format('woff2'), url(../fonts/Pretendard-Black.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 800;
	font-display: swap;
	src: local('Pretendard ExtraBold'), url(../fonts/Pretendard-ExtraBold.woff2) format('woff2'), url(../fonts/Pretendard-ExtraBold.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 700;
	font-display: swap;
	src: local('Pretendard Bold'), url(../fonts/Pretendard-Bold.woff2) format('woff2'), url(../fonts/Pretendard-Bold.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 600;
	font-display: swap;
	src: local('Pretendard SemiBold'), url(../fonts/Pretendard-SemiBold.woff2) format('woff2'), url(../fonts/Pretendard-SemiBold.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 500;
	font-display: swap;
	src: local('Pretendard Medium'), url(../fonts/Pretendard-Medium.woff2) format('woff2'), url(../fonts/Pretendard-Medium.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 400;
	font-display: swap;
	src: local('Pretendard Regular'), url(../fonts/Pretendard-Regular.woff2) format('woff2'), url(../fonts/Pretendard-Regular.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 300;
	font-display: swap;
	src: local('Pretendard Light'), url(../fonts/Pretendard-Light.woff2) format('woff2'), url(../fonts/Pretendard-Light.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 200;
	font-display: swap;
	src: local('Pretendard ExtraLight'), url(../fonts/Pretendard-ExtraLight.woff2) format('woff2'), url(../fonts/Pretendard-ExtraLight.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 100;
	font-display: swap;
	src: local('Pretendard Thin'), url(../fonts/Pretendard-Thin.woff2) format('woff2'), url(../fonts/Pretendard-Thin.woff) format('woff');
}

/* CreatoDisplay */
@font-face {
    font-family: 'Creato Display';
    src: url('../fonts/CreatoDisplay-Regular.woff2') format('woff2'), url('../fonts/CreatoDisplay-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Creato Display';
    src: url('../fonts/CreatoDisplay-Medium.woff2') format('woff2'), url('../fonts/CreatoDisplay-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Creato Display';
    src: url('../fonts/CreatoDisplay-Bold.woff2') format('woff2'), url('../fonts/CreatoDisplay-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/*------------------------------*/
/* variables                    */
/*------------------------------*/
:root {

    --ab-color-red: #ff343b;
    --ab-color-green: #36c081;

    --ab-natural-0: #ffffff;
    --ab-natural-100: #fafafa;
    --ab-natural-200: #f5f5f5;
    --ab-natural-210: #f8f8f8;
    --ab-natural-220: #f6f6f6;
    --ab-natural-230: #afafaf;
    --ab-natural-240: #efefef;
    --ab-natural-250: #ededed;
    --ab-natural-260: #d6d6d6;
    --ab-natural-270: #e5e5e5;
    --ab-natural-280: #dadada;
    --ab-natural-290: #bbbbbb;

    --ab-natural-300: #cccccc;
    --ab-natural-310: #999999;
    --ab-natural-320: #7d7d7d;
    --ab-natural-330: #666666;
    --ab-natural-340: #444444;
    --ab-natural-350: #a5a5a5;
    --ab-natural-360: #b7b7b7;
    --ab-natural-370: #d2d2d2;
    --ab-natural-380: #ebebeb;
    --ab-natural-390: #484848;
    --ab-natural-400: #383838;
    --ab-natural-410: #a5a5a4;
        
    --ab-natural-800: #000f1b;
    --ab-natural-810: #0d0d0d;
    --ab-natural-820: #212121;
    --ab-natural-1: #000000;

    --ab-primary-700: #3173CF; /* This Site Brand Color */
    --ab-primary-500: #4f8ce2; /* This Site Brand Color */

    --bs-nav-link-font-size: 1rem;

    /* 추가 부분 */
    --ab-max-width: 1920px;
    --ab-header-height: 90px;
    --ab-header-height-expand: 330px;

    --ab-header-bgcolor: rgba(255, 255, 255, 0.8);
    --ab-menu-bgcolor: #ffffff;
    --ab-header-color-divider: #eeeeee;
    --ab-header-color-default: #888888;
    --ab-header-color-active: #000000;
    --ab-header-color-hover: #000000;
    --ab-header-color-trans: #eeeeee;
    --ab-header-color-trans-active: #ffffff;

}
@media (max-width: 767px) {
    :root {
        --ab-header-height: 50px;
    }
}



/*------------------------------*/
/* bootstrap override           */
/*------------------------------*/
.container {
    max-width: var(--ab-max-width);
    padding: 0 64px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .container {
        max-width: var(--ab-max-width) !important;
        padding: 0 32px !important;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: var(--ab-max-width) !important;
        padding: 0 16px !important;
    }
}

/*------------------------------*/
/* layout css                   */
/*------------------------------*/

.ab-gap-25 { gap: 1.5625rem; }
.ab-gap-32 { gap: 32px; }
.ab-gap-40 { gap: 2.5rem; }
.ab-gap-45 { gap: 2.8125rem; }
.ab-gap-65 { gap: 4.0625rem; }
.ab-gap-100 { gap: 100px; }

.ab-row-gap-70 { row-gap: 4.375rem; }
.ab-row-gab-14{ row-gap: 0.875rem; }
.ab-me-256 { margin-right: 190px; }
.ab-pe-60 { padding-right: 3.75rem; }

/* 1024px ~ 1199px */
@media (min-width: 768px) and (max-width: 1199px) {
    .ab-gap-25 { gap: 16px; }
    .ab-gap-32 { gap: 1.5rem; }
    .ab-gap-40 { gap: 1.5rem; }
    .ab-gap-45 { gap: 1.75rem; }
    .ab-gap-65 { gap: 3rem; }
    .ab-row-gap-70 { row-gap: 2.5rem; }
    .ab-row-gab-14 { row-gap: 0.5rem; }
    .ab-me-256 { margin-right: 190px; }
    .ab-pe-60 { padding-right: 32px; }

    .ab-gap-100 { gap: 50px; }
}

@media (max-width: 767px) {
  .ab-gap-25 { gap: 0.5rem; }
  .ab-gap-32 { gap: 1rem; }
  .ab-gap-40 { gap: 1rem; }
  .ab-gap-45 { gap: 1rem; }
  .ab-gap-65 { gap: 2.25rem; }
  .ab-row-gap-70 { row-gap: 1.5rem; }
  .ab-row-gab-14 { row-gap: 0.25rem; }
  .ab-me-256 { margin-right: 4rem;}
  .ab-pe-60 { padding-right: 1rem; }
}

html * {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 전체 공통 */
body, header, footer {
    width: 100%;
    background: #ffffff;
    color: #000000;
}

body {
    height: calc(var(--vh, 1vh) * 100);
    font-family: 'Pretendard', Arial, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -.01em;
    overflow-x: hidden;
}

a {
  color:inherit;
  text-decoration: none;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  outline: none;
  padding:0;
  margin:0;
}
a:hover, a:focus {
  color: inherit;
  text-decoration: none;
  outline: none;
}


/*------------------------------*/
/* headroom                     */
/*------------------------------*/

.ab-headroom {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--ab-header-height);

    color: var(--ab-header-color-default);
    background-color: var(--ab-header-bgcolor);
    backdrop-filter: blur(10px);
    transition: all .5s ease-in-out;
    transition: transform .5s ease-in-out, height .5s ease-in-out;
    will-change: transform;

    display:flex;
    flex-direction: column;
    gap: 32px;
    padding: 33px 32px;
    overflow: hidden;
}

.ab-headroom .ab-headroom-top {
    width: 100%;
    display:flex;
    justify-content: space-between;
    align-items: start;
    gap: 32px;
}

.ab-headroom .ab-headroom-bottom {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: start;
    gap: 32px;
}

.ab-headroom .ab-headroom-bottom .ab-header-brand-image {
    height: 26px;
}

.ab-headroom .ab-headroom-bottom .ab-header-brand-link {
    width: 14px;
}

@media (max-width: 1023px) {
    .ab-headroom {
        display: none;
    }
}

.ab-headroom:hover {
    height: var(--ab-header-height-expand);
}

.ab-headroom.ab-headroom-transparent {
    color: var(--ab-header-color-trans);
    background-color: transparent;
    backdrop-filter: none;
    transition: transform .5s ease-in-out, height .5s ease-in-out;
}

.ab-headroom.ab-headroom-transparent:hover {
    color: var(--ab-header-color-default);
    background-color: var(--ab-header-bgcolor);
    backdrop-filter: blur(10px);
}

.ab-headroom--pinned {
    transform: translateY(0)
}

.ab-headroom--unpinned {
    transform: translateY(-100%)
}

.ab-headroom a {
  color:inherit;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  outline: none;
  padding:0;
  margin:0;
}

.ab-headroom a:hover,
.ab-headroom a:focus {
  color: inherit;
  text-decoration: none;
  outline: none;
}

.ab-headroom .ab-header-logo {
    display: flex;
    justify-content: start;
}

.ab-headroom .ab-header-logo img{
    width: 240px;
}

.ab-headroom .ab-header-logo img:nth-child(1),
.ab-headroom.ab-headroom-transparent:hover .ab-header-logo img:nth-child(1) {
    display: inline;
}

.ab-headroom .ab-header-logo img:nth-child(2),
.ab-headroom.ab-headroom.ab-headroom-transparent:hover .ab-header-logo img:nth-child(2) {
    display: none;
}

.ab-headroom.ab-headroom.ab-headroom-transparent .ab-header-logo img:nth-child(1) {
    display: none;
}
.ab-headroom.ab-headroom.ab-headroom-transparent .ab-header-logo img:nth-child(2) {
    display: inline;
}

.ab-headroom .ab-header-menu {
    flex-grow: 1;
    display: flex;
    justify-content: end;
    align-items: start;
    gap: 48px;
    transition: gap .5s ease-in-out, padding .5s ease-in-out;
}

.ab-headroom:hover .ab-header-menu {
    gap: 84px;
    padding-right: 84px;
}

@media (max-width: 1024px) {
    header .ab-header-menu {
        gap: 24px;
    }
    .ab-headroom:hover .ab-header-menu {
        gap: 24px;
        padding-right: 0px;
    }
}

.ab-headroom .ab-header-menu .ab-menu-item {
    display: flex;
    flex-flow: column;
    gap: 48px;
}

.ab-headroom .ab-header-menu .ab-menu-item > div:first-child {
    font-size: 18px;
    font-weight: 400;
    transition: color .2s ease-in-out;
    cursor: default;
}

.ab-headroom .ab-header-menu .ab-menu-item:hover > div:first-child {
    color: var(--ab-header-color-hover);
    transition: color 0.2s ease-in-out;
}

.ab-headroom .ab-header-menu .ab-menu-item:has(> div > .active) > div:first-child {
    color: var(--ab-header-color-trans-active);
}

.ab-headroom:not(.ab-headroom-transparent) .ab-header-menu .ab-menu-item:has(> div > .active) > div:first-child {
    color: var(--ab-header-color-active);
}

.ab-headroom:hover .ab-header-menu .ab-menu-item:has(> div > .active) > div:first-child {
    color: var(--ab-header-color-active);
}

.ab-headroom .ab-header-menu .ab-menu-item > div:first-child:hover {
    color: var(--ab-header-color-hover);
}

.ab-headroom .ab-header-menu .ab-menu-item > div:last-child {
    display: flex;
    flex-flow: column;
    gap: 16px;
    opacity: 0;
    transition: opacity .2s ease-in-out;
}

.ab-headroom .ab-header-menu .ab-menu-item > div:last-child > div.active {
    color: var(--ab-header-color-active);
}

.ab-headroom:hover .ab-header-menu .ab-menu-item div:last-child {
    opacity: 1;
}

.ab-headroom:hover .ab-header-menu .ab-menu-item div:last-child > div > a {
    position: relative;
    transition: color 0.2s ease-in-out;
}

.ab-headroom .ab-header-menu .ab-menu-item div:last-child > div > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0px;
    height: 1px;
    transition: all 0.3s ease-in-out;
    opacity: 1;
    background-color: var(--ab-header-color-hover);
}

.ab-headroom .ab-header-menu .ab-menu-item div:last-child > div > a:hover {
    color: var(--ab-header-color-hover);
}

.ab-headroom .ab-header-menu .ab-menu-item div:last-child > div > a:hover::after {
    width: 100%;
    opacity: 1;
}

.ab-headroom .ab-header-lang {
    display: flex;
    justify-content: end;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: color .2s ease-in-out;
}

.ab-headroom:not(.ab-headroom-transparent) .ab-header-lang > a.active {
    color: var(--ab-header-color-active);
}

.ab-headroom.ab-headroom-transparent .ab-header-lang > a.active {
    color: var(--ab-header-color-trans-active);
}

.ab-headroom:hover .ab-header-lang > a.active {
    color: var(--ab-header-color-active);
}
.ab-headroom .ab-header-lang > a:hover {
    color: var(--ab-header-color-hover);
}


/*------------------------------*/
/* headmobile                   */
/*------------------------------*/

.ab-headmobile {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: var(--ab-header-height);

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    gap: 8px;
    overflow: visible;
}

.ab-headmobile a {
  color:inherit;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  outline: none;
  padding:0;
  margin:0;
}

.ab-headmobile .ab-header-logo {
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: center
}

.ab-headmobile .ab-header-logo img{
    width: 180px;
}

.ab-headmobile .ab-header-hamburg {
    font-size: 24px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.ab-headmobile .ab-header-window {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    z-index: 50;
    background-color: var(--ab-menu-bgcolor);
    transition: transform 0.3s ease-in-out;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ab-headmobile .ab-header-window.open {
    transform: translateX(-100%);
}

body:has(.ab-header-window.open) .slide-btn {
    visibility: hidden;
}

body:has(.ab-header-window.open) .ab-floating-member {
    visibility: hidden;
}

body:has(.ab-header-window.open) {
    overflow-y: hidden;
}


@media (min-width: 1024px) {
    .ab-headmobile {
        display: none;
    }
}

.ab-headmobile .ab-header-window .ab-header-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    flex-grow: 1;
    overflow-y: auto;
}

.ab-headmobile .ab-header-window .ab-header-title {
    width: 100%;
    height: var(--ab-header-height);

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    gap: 8px;
}

.ab-headmobile .ab-header-close {
    font-size: 24px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.ab-headmobile .ab-header-window .ab-header-lang {
    width: 100%;
    display: flex;
    padding: 8px 0px;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ab-header-color-default);
}

.ab-headmobile .ab-header-window .ab-header-lang .active {
    color: var(--ab-header-color-active);
}

.ab-headmobile .ab-header-window .ab-header-divider {
    position: relative;
    width: 100%;
    height: 1px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0px;
}

.ab-headmobile .ab-header-window .ab-header-divider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: calc(100% - 8px);
    background-color: var(--ab-header-color-divider);
}

.ab-headmobile .ab-header-window .ab-header-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 8px 18px;
    gap: 24px;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100px;
}

.ab-headmobile .ab-header-window .ab-header-menu .ab-menu-item {
    font-size: 1.25rem;
    font-weight: 500;
}

.ab-headmobile .ab-header-window .ab-header-menu .ab-menu-item.open > div.active {
    font-weight: 600;
}


.ab-headmobile .ab-header-window .ab-header-menu .ab-menu-item > div:last-child {
    display: flex;
    flex-direction: column;
    /* padding: 16px 0px 16px 16px; */
    gap: 20px;
    font-size: 1rem;
    font-weight: 400;

    height: 0px;
    overflow: hidden;
}

.ab-headmobile .ab-header-window .ab-header-menu .ab-menu-item > div:last-child > div.active {
    font-weight: 600;
}

.ab-headmobile .ab-header-window .ab-header-menu .ab-menu-item.open > div:last-child {
    padding: 24px 0px 16px 16px;
    height: fit-content;
}

.ab-headmobile .ab-header-window .ab-header-brand {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px 18px 16px 0;
    gap: 8px;
}

.ab-headmobile .ab-header-window .ab-header-brand a {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ab-headmobile .ab-header-window .ab-header-brand .ab-header-brand-image {
    height: 26px;
}

.ab-headmobile .ab-header-window .ab-header-brand .ab-header-brand-link {
    width: 14px;
}


/*****************************/
/* FOOTER                    */
/*****************************/

footer {
    background: var(--ab-natural-1);
    color: var(--ab-natural-300);
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    color: var(--ab-natural-300);
    line-height: 1.8;
    display: flex;
    justify-content: center;
}

footer > div{
    position: relative;
    width: 100%;
    padding: 0 32px;
}

footer a {
    color:inherit;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    outline: none;
    padding:0;
    margin:0;
}

footer a:hover,
footer a:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
}


footer .footer-body {
    text-align: center;
    padding: 150px 0 105px 0;
    align-items: center;
}

@media (max-width: 1199px) and (min-width: 768px) {
    footer .footer-body {
        padding: 6rem 0 4rem 0;
        font-size: 0.875rem;
        letter-spacing: -.01em;
    }
}

@media (max-width: 767px) {
    footer .footer-body {
        padding: 5rem 0 32px 0;
        font-size: 0.8125rem;
        letter-spacing: -.01em;
        align-items: start;
        text-align: left;
    }
}

footer .footer-body .footer-logo{
    padding-bottom: 2.125rem;
}

footer .footer-body .footer-logo img{
    max-width: 512px !important;
    width: 60% !important;
}

@media (max-width: 1199px) and (min-width: 768px) {
    footer .footer-body .footer-logo{
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 767px) {
    footer .footer-body .footer-logo{
        padding-bottom: 1.5rem;
    }
}

footer .footer-bottom {
    font-family: 'Montserrat', sans-serif !important;
    font-style: normal;
    padding: 32px 0px 16px 0px;
    border-top: 2px solid var(--ab-natural-340);
    text-align: center;
    font-weight: 400;
    font-size: 0.6875rem;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

footer .footer-bottom .copy {
    display: flex;
    justify-content: center;
    align-items: center;
    /* font-size: 0.625rem !important; */
    color: var(--ab-natural-320) !important;
    line-height: 1;
    /* font-stretch: 200% !important; */
}

@media (max-width: 1199px) and (min-width: 768px) {
    footer .footer-bottom {
        padding-top: 20px;
        font-size: 0.7vw;
    }
}

@media (max-width: 767px) {
    footer .footer-bottom {
        flex-direction: column;
        padding-top: 32px;
        font-size: 2.5vw;
        border-top: 0px;
    }

    footer .footer-bottom .footer-policy {
        border-bottom: 1px solid var(--ab-natural-340);
        padding-bottom: 12px;
        margin-bottom: 12px;
        gap: 15px;
        width: 100%;
        order: 2;
    }

    footer .footer-bottom .copy {
        order: 1; /* 항상 맨 아래 */
        padding-top: 0rem;
        width: 100%;
        order: 3;
        justify-content: start;
        /* font-size: 0.5rem; */
    }
}

.footer-bottom .footer-policy {
    display: flex;
    justify-content: start;
    gap: 25px;
}

.footer-bottom .footer-policy a {
    position: relative;
    color: var(--ab-natural-300);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

/* underline 효과를 위한 ::after */
.footer-bottom .footer-policy a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* 글자 아래 약간 위치 */
    width: 0;
    height: 1px;
    background-color: var(--ab-natural-300);
    transition: width 0.3s ease;
}

@media (max-width: 1199px) and (min-width: 768px) {
    .footer-bottom .footer-policy a::after {
        height: 0px;
    }
}

@media (max-width: 767px) {
    .footer-bottom .footer-policy a::after {
        height: 0px;
    }
}


/* hover 시 왼쪽 → 오른쪽으로 언더라인 확장 */
.footer-bottom .footer-policy a:hover::after {
    width: 100%;
}

footer .footer-bottom .footer-out-link {
    display: flex;
    justify-content: end;
    gap: 25px;
}

footer .footer-bottom .footer-out-link i.bi {
    font-size: 0.625rem;
    vertical-align: top;
    margin-left: 7px;
    display: inline-block;
    transform: scaleX(1) scaleY(0.8);
}


@media (max-width: 767px) {
    footer .footer-bottom .footer-out-link {
        justify-content: start;
        gap: 12px;
        order: 1;
        padding-bottom: 12px;
    }

    footer .footer-bottom .footer-out-link i.bi {
        font-size: 7px;
        margin-left: 4px;
        vertical-align: middle;
    }
}

/* footer drowdown menu */
.footer-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
}

.footer-dropdown .footer-dropdown-wrapper {
    max-width: 7.8125rem;
    position: absolute;
    bottom: 100%;
    z-index: 1000;
    right: 0;           /* 미리 오른쪽 기준으로 배치 */
    left: auto;          /* 왼쪽 제거 */

    /* 초기 상태 (숨김 + 아래로 이동) */
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;

    /* 부드러운 전환 */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-dropdown .footer-dropdown-wrapper .footer-dropdown-menu {
    background-color: var(--ab-natural-1);
    border: 1px solid var(--ab-natural-340);
    border-radius: 0.6875rem;
    margin-bottom: 1.375rem;
    padding: 32px 1.375rem;
    color: var(--ab-natural-0);
}

.footer-dropdown-menu a {
    display: block;
    padding: 0.25rem 0;
    color: var(--ab-natural-0);
    text-decoration: none;
}

/* hover 시 표시 */
.footer-dropdown:hover .footer-dropdown-wrapper {
    opacity: 1;
    transform: translateY(0); /* 원래 자리 */
    pointer-events: auto;

    right: 0; 
    left: auto;
}

@media (max-width: 767px) {
    .footer-dropdown {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer-dropdown .footer-dropdown-wrapper {
        right: auto !important;
        transform: translateX(0);
        bottom: 100%; /* 클릭한 메뉴 바로 위 */
        width: 70px;
    }

    .footer-dropdown:first-child .footer-dropdown-wrapper {
        left: 10px !important;
    }

    .footer-dropdown .footer-dropdown-wrapper .footer-dropdown-menu {
        margin-bottom: 10px;
        padding: 20px 14px;
    }

    .footer-dropdown .footer-dropdown-wrapper .footer-dropdown-menu img{
        /* max-width: 100vw; */
        width: 100%;
    }
}

/* Top Button in Footer */
.top-btn {
    font-family: 'Montserrat', sans-serif, sans-serif;
    position: absolute;
    right: 65px;
    top: 54px;
    color: var(--ab-natural-0);
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: -.01em;
}

@media (max-width: 767px) {
    .top-btn {
        right: 10px;
        top: 30px;
        font-size: 0.75rem;
    }
}


/*****************************/
/* FLOATING                  */
/*****************************/

.ab-floating-member {
    position: fixed;
    right: 122px;
    bottom: 122px;
    z-index: 10;
}

.ab-floating-member.ab-floating-bottom {
    position: absolute;
}

.ab-floating-member.ab-floating-hidden {
    visibility: hidden;
}

.ab-floating-member img {
    position: absolute;
    top: 0;
    left: 0;
    width: 82px;
}

@media (max-width: 767px) {
    .ab-floating-member {
        right: 70px;
        bottom: 70px;
        /* display: none; */
    }
    .ab-floating-member img {
        width: 60px;
    }
}

/*------------------------------*/
/* main                         */
/*------------------------------*/

main {
    position: relative;
    padding-bottom: 128px;
}

@media (max-width: 767px) {
    main {
        padding-top: var(--ab-header-height);
        padding-bottom: 32px;
        z-index: 0;
    }
}