/* header */
#hd {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.2s ease;
}

#hd a { transition: all 0.2s ease; }
#hd a:hover { opacity: 0.7; }

.hd-scroll,
#hd:hover {
    background-color: #fff;
}

.hd-content-box {
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.hd_logo {
    width: 65px;
    aspect-ratio: 1 / 1;
}

.hd-content {
    display: flex;
    gap: 4rem;
}

.hd-content a {
    color: #FFF;
    font-weight: 600;
    display: block;
    padding: 0.5rem 0.625rem;
    transition: all 0.2s ease;
}

.hd-scroll .hd-content a,
#hd:hover .hd-content a {
    color: #333;
}

.gnb-pc {
    background-color: #fff;
    width: 100%;
    max-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 6.0625rem;
    left: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out, opacity 0.2s ease-in-out;
	box-sizing: border-box;
	padding: 0 2.25rem;
}

#hd:hover .gnb-pc {
    max-height: 320px;
    opacity: 1;
}

.gnb-pc img {
    position: absolute;
    bottom: 1.875rem;
    right: 2.25rem;
    z-index: 1;
}

.gnb-pc-box {
    padding-top: 2.625rem;
    padding-bottom: 4.375rem;
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
    gap: 6.25rem;
    position: relative;
    z-index: 10;
}

.gnb-pc-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 3.5rem 1fr;
}

.gnb-pc-1depth {
    color: var(--color-secondary);
    text-align: center;
    font-size: 1.75rem;
    font-weight: 600;
    display: block;
}

.gnb-pc-list ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gnb-pc-list li a {
    color: #666;
    text-align: center;
    font-weight: 500;
    padding: 0.25rem 0;
    display: block;
}

.gnb-pc-list .line {
    background-color: #D9D9D9;
}

/* 햄버거 메뉴 스타일 */
.hamburger-menu {
    background: transparent;
    width: 30px;
    height: 30px;
    padding: 8px 0;
    border: none;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
    cursor: pointer;
}

.hamburger-line {
    width: 19px;
    height: 2px;
    background-color: #222222;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

.hamburger-menu.active .hamburger-line {
    width: 20px;
}
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4.2px, 4.2px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(4.2px, -4.2px);
}

.gnb-mobile {
    background-color: #fff;
    width: 100%;
    height: 100%;
    max-height: 0;
    padding-top: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding-top 0.2s ease;
    overflow: hidden;
}

.gnb-mobile.active {
    max-height: 100%;
    padding-top: 106px;
    opacity: 1;
}

.gnb-mobile-box {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 2.25rem;
}

.gnb-mobile-depth1 {
    width: 25%;
    max-width: 9.375rem;
}

.gnb-mobile-depth2 {
    background-color: #F5F5F5;
    width: 52%;
    max-width: 21.875rem;
    padding: 1.375rem 2.125rem;
    border-radius: 1rem;
}

.gnb-mobile-depth1-item {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1.25rem 0;
    transition: all 0.2s ease;
}

.gnb-mobile-depth1-item > a {
    color: #959595;
}

.gnb-mobile-depth1-item > a.active {
    color: var(--color-secondary);
}

.gnb-mobile-depth2-item {
    color: #777;
    text-align: center;
    font-weight: 500;
    padding: 0.75rem 0;
    display: flex;
    justify-content: center;
}

.mobile-depth2-box.active {
	display:block;
}

.mobile-depth2-box {
	display:none;
}

.gnb-mobile-info-box {
    width: 100%;
    max-width: 33.5rem;
    padding-left: 1.75rem;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.gnb-mobile-info-box > div {
    color: #333;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.gnb-mobile-info-box img {
    width: 166px;
    position: absolute;
    bottom: 0.4rem;
    right: 1.5rem;
}

/* /header */

/* footer */
#ft {
    background-color: #000000;
    padding: 40px 0 80px 0;
}

.ft-card-box {
    width: 100%;
    margin-bottom: 4.0rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.625rem;
}

.ft-card {
    background-color: #ffffff;
    padding: 1.5rem 2.25rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;

    * {
        transition: all 0.2s ease;
    }

    h5 {
        text-align: start;
        color: #000;
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
    }

    p {
        color: #666;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5;
    }

    .ft-card-icon-box {
        width: 4.5rem;
        height: 4.5rem;
        position: relative;

        img {
            width: 100%;
            height: 100%;
        }
    }

    .ft-card-icon,
    .ft-card-icon-hover {
        position: absolute;
        transition: opacity .25s ease;
    }

    .ft-card-icon        { opacity: 1; }
    .ft-card-icon-hover  { opacity: 0; }

    &:hover, &:focus  {
        background-color: var(--color-primary);

        * {
            color: #FFF;
        }

        .ft-card-icon { opacity: 0; }
        .ft-card-icon-hover { opacity: 1; }
    }
}

.ft-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    * {
        color: #FFF;
        font-weight: 400;
        line-height: 1.5;
        margin-bottom: 0.25rem;
    }

    img { margin-bottom: 1.875rem; }
    label { 
        color: rgba(255, 255, 255, 0.70); 
        a { color: rgba(255, 255, 255, 0.70); }
    }
}

.ft-content .tel-box {
    display: flex;
    gap: 1rem;

    * { margin-bottom: 0; }
}

.ft-content .tel-box .line { color: rgba(255, 255, 255, 0.70); }

.ft-content .session {
    display: flex;
    gap: 1rem;

    * { margin-bottom: 0; }
}

.ft-content .session .line { color: rgba(255, 255, 255, 0.70); }

.top-btn {
    background-color: #000000;
    width: 3.625rem;
    height: 3.625rem;
    padding: 0;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    transition: all 0.2s ease;
}

.top-btn:hover {
    background-color: var(--color-primary);
}

/* 페이지 상단 */
.page-hero {
    height: 417px;
    position: relative;
}

.page-hero h2 {
    color: #FFF;
    text-align: center;
    font-size: 3.25rem;
    font-weight: 600;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.page-hero-remote {
    background-color: rgba(0, 0, 0, 0.50);
    padding: 0.75rem 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    z-index: 100;
    transform: translateX(-50%);
}

.page-hero-remote-home {
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gnb-pc-box-line {
    background-color: rgba(255, 255, 255, 0.60);
    width: 1px;
    height: 12px;
}

.page-hero-remote .page-hero-remote-event>a {
	color: rgba(255, 255, 255, 0.8);
	background-color: rgba(255, 255, 255, 0.0);
	font-weight: 400;
    text-align: center;
    max-width: max-content;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
	svg {
        transition: all 0.2s ease;
    }
}

[class^="page-hero-remote-depth"] {
    color: rgba(255, 255, 255, 0.80);
    font-size: 1.05rem;
    font-weight: 400;
    text-align: center;
    max-width: max-content;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
    cursor: pointer;

    svg {
        transition: all 0.2s ease;
    }
}

.page-hero-remote-depth2-box>a>span {
    color: #fff;
    font-weight: 600;
}

.page-hero-depth-list {
    width: 100%;
    max-height: 0;
    background-color: rgba(0, 0, 0, 0.70);
    border-radius: 8px;
    position: absolute;
    bottom: -1.25rem;
    left: 0;
    z-index: 10;
    transform: translateY(100%);
    overflow-y: hidden;
	visibility: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, visibility 0.3s ease;
}

[class^="page-hero-remote-depth"].active .page-hero-depth-list {
    max-height: 400px;
    padding: 0.5rem 1rem;
	visibility: visible;
}

.page-hero-depth-list-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;

    &:hover {
        color: #fff;
    }
}

/* 페이지 LNB */

.lnb-box {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.lnb-item {
    color: #999;
    font-size: 1.125rem;
    font-weight: 500;
    display: block;
    padding: 10px 12px;
}

.lnb-item:hover {
    color: var(--color-secondary);
    opacity: 0.8;
}

.lnb-item.active {
    color: var(--color-secondary);
    font-weight: 700;
    cursor: default;
}

.lnb-item.active:hover {
    opacity: 1;
}

@media screen and (max-width: 1200px) {
    .gnb-pc-box {
        gap: 4.5rem;
    }

    /* footer */
    .ft-card-box {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .ft-card {
        width: 100%;
        max-width: 33.875rem;
    }
    /* /footer */

    .page-hero-remote {
        width: max-content;
        bottom: 3.25rem;
    }
}

@media screen and (max-width: 1024px) {
    /* header */
    #hd:hover {
        background-color: transparent;
    }

    .hd-scroll {
        background-color: #ffffff !important;
    }

    .hd-content-box {
        padding: 16px 20px;
    }

    .hd-content-box img {
        height: 33px;
    }

    .hd-content, 
    .gnb-pc {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    /* /header */

    /* 페이지 상단 */
    .page-hero {
        height: 370px;
    }

    
}

@media screen and (max-width: 768px) {
    .ft-content {
        * {
            font-size: 0.875rem;
        }

        img {
            height: 30px;
        }
    }

    .top-btn {
        width: 2.625rem;
        height: 2.625rem;

        svg {
            width: 15px;
            height: 18px;
        }
    }

    /* 페이지 상단 */
    .page-hero {
        height: 300px;
    }

    .page-hero h2 {
        font-size: 2.5rem;
    }

    .page-hero-remote {
        display: none;
    }

    .lnb-box {
        height: 48px;
    }

    .lnb-item {
        font-size: 1rem;
    }

    .page-block {
        padding: 3.75rem 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    /* header */
    .hd-content-box {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    /* footer */
    .ft-card-box {
        gap: 0.75rem;
    }

    .ft-card {
        padding: 1.5rem 1.25rem;

        h5 {
            font-size: 1.125rem;
        }

        p {
            font-size: 0.875rem;
        }

        .ft-card-icon-box {
            width: 2.875rem;
            height: 2.875rem;
        }
    }

    .ft-content {
        * {
            letter-spacing: -0.5px;
        }

        label {
            text-align: center;
        }
    }

    /* 페이지 상단 */
    .page-hero {
        height: 220px;

        h2 {
            font-size: 2rem;
        }
    }

    #bo_w .bo_w_flie .frm_file {
        width: 100%;
    }
}