@charset "utf-8";

/*
 * File    : layout.css
 * Author  : STUDIO-JT (JSH)
 *
 * GLOBAL
 * HEADER
 * FOOTER
 * CONTAINER
 * PAGE
 * PRIVACY
 * 404
 * HOVER
 */



/* **************************************** *
 * GLOBAL
 * **************************************** */
html { font-size: 6.25%; }
html.safari.desktop {
    font-size: 1px; /* Type : px */
}

body { overflow-x: hidden; font-family: var(--font-primary); font-size: 16rem; word-break: keep-all; color: var(--color-black); background: var(--color-white); }
a { color: var(--color-primary); text-decoration: none; }

/* WRAP */
.wrap { max-width: 1478rem; margin: 0 auto; position: relative; }
.wrap-narrow { max-width: 1176rem; margin: 0 auto; position: relative; }

/* SCROLL */
html.mobile body.scroll-fixed { width: 100%; height: 100%; top: 0; left: 0; bottom: 0; right: 0; overflow: hidden; }
html.ios body.scroll-fixed { position: fixed; }

/* RECAPTCHA */
.grecaptcha-badge { opacity: 0; visibility: hidden; }

/* BR */
br.smbr { display: none !important; }
br.mdbr { display: none !important; }
br.lgbr { display: none !important; }
br.xlbr { display: none !important; }



/* **************************************** *
 * HEADER
 * **************************************** */
#header { width: 100%; height: 84rem; position: fixed; top: 0; left: 0; background: var(--color-white); border-bottom: 1px solid transparent; z-index: 500; }
.header__inner { height: 100%; margin: 0 70rem; position: relative; }

/* LOGO */
#logo { width: 90rem; position: absolute; left: 0; top: 50%; translate: 0 -50%; z-index: 2; }
#logo a { display: block; padding: 6rem 0; }
#logo a svg, #logo a img { display: block; width: 100%; height: auto; overflow: visible; }

/* MENU */
.menu-container { position: relative; font-size: 0; line-height: 1; text-align: center; z-index: 1; }
.menu-container__inner { position: relative; display: inline-block; z-index: 1; }
.menu-container__background { content: ''; position: absolute; top: 100%; left: -70rem; right: -70rem; height: 300rem; background: var(--color-white); border-top: 1px solid var(--color-gray-400); box-shadow: 0 20rem 30rem rgba(0, 0, 0, .05); opacity: 0; visibility: hidden; transition: opacity .3s cubic-bezier(.05, .9, .32, .96), visibility .3s; }

#menu { display: inline-block; vertical-align: middle; }
#menu a { display: block; transition: color .3s; }
#menu a span { position: relative; }

#menu ul.sub-menu { opacity: 0; visibility: hidden; transition: opacity .3s cubic-bezier(.05, .9, .32, .96), visibility .3s; }

.menu-container__inner.jt-hoverintent--allow:hover #menu ul.sub-menu, .menu-container__inner.jt-hoverintent--allow:has(li.focusin) #menu ul.sub-menu { opacity: 1; visibility: visible; }
.menu-container__inner.jt-hoverintent--allow:hover #menu > li > ul:before, .menu-container__inner.jt-hoverintent--allow:has(li.focusin) #menu > li > ul:before,
.menu-container__inner.jt-hoverintent--allow:hover #menu > li > ul:after, .menu-container__inner.jt-hoverintent--allow:has(li.focusin) #menu > li > ul:after { opacity: 1; }
.menu-container__inner.jt-hoverintent--allow:hover + .menu-container__background, .menu-container__inner.jt-hoverintent--allow:has(li.focusin) + .menu-container__background { opacity: 1; visibility: visible; }

/* 1DEPTH */
#menu > li { display: inline-block; vertical-align: middle; position: relative; }
#menu > li > a { padding: 27rem 30rem; position: relative; font-size: var(--font-size-ko-07); line-height: var(--font-lineheight-ko-07); font-weight: 700; letter-spacing: var(--letter-spacing-02); color: var(--color-black); white-space: nowrap;}
#menu > li.menu-item--krst > a { color: var(--color-primary); letter-spacing: 1em; }
#menu > li.menu-item--krst > a > span { margin-right: -1em; }

/* 2DEPTH */
#menu > li > ul { position: absolute; top: 100%; left: 50%; translate: -50% 0; min-width: 188rem; text-align: start; padding: 28rem 0 120rem; }
#menu > li > ul:after { content: ''; position: absolute; top: 0; right: 0; width: 1px; height: 100%; background: var(--color-gray-400); opacity: 0; transition: opacity .3s; }
#menu > li:first-child > ul:before { content: ''; position: absolute; top: 0; right: 100%; width: 1px; height: 100%; background: var(--color-gray-400); opacity: 0; transition: opacity .3s; }
#menu > li > ul > li { white-space: nowrap; margin-bottom: 12rem; }
#menu > li > ul > li:last-child { margin-bottom: 0; }
#menu > li > ul > li > a { padding: 0 24rem; font-size: var(--font-size-ko-08); line-height: var(--font-lineheight-ko-08); font-weight: 700; letter-spacing: var(--letter-spacing-02); color: var(--color-gray-800); }
#menu > li > ul > li:not(.menu-item--disable).current-menu-item > a, #menu > li > ul > li:not(.menu-item--disable).current-page-ancestor > a { color: var(--color-black); text-decoration: underline; text-decoration-thickness: 2rem; text-underline-offset: 6rem; }
#menu > li > ul > li:not(.menu-item--disable).current-menu-ancestor > a { color: var(--color-black); text-decoration: none; }
#menu > li > ul > li > a > span > em { color: var(--color-primary); }
#menu > li > ul > li > ul > li { margin-top: 4rem; }
#menu > li > ul > li > ul > li > a { padding: 0 24rem; font-size: var(--font-size-ko-09); line-height: var(--font-lineheight-ko-09); font-weight: 700; letter-spacing: var(--letter-spacing-02); color: var(--color-gray-700); }
#menu > li > ul > li > ul > li:not(.menu-item--disable).current-menu-item > a { color: var(--color-black); text-decoration: underline; text-decoration-thickness: 2rem; text-underline-offset: 4rem; }

/* UTILES */
.header__utils { position: absolute; top: 50%; right: 0; translate: 0 -50%; display: flex; align-items: center; gap: 24rem; z-index: 2; }

.header__language { position: relative; }
.header__language-btn { font-size: 0; display: block; color: var(--color-black); }
.header__language-btn span { vertical-align: middle; }
.header__language-btn .jt-icon { width: 12rem; height: 12rem; vertical-align: middle; margin-left: 8rem; transition: transform .3s; }
.header__language-list { position: absolute; top: calc(100% + 4rem); left: 50%; translate: -50% 0; background: var(--color-black); visibility: hidden; opacity: 0; transition: visibility .3s, opacity .3s; }
.header__language-list a { display: block; padding: 6rem 20rem; color: var(--color-white); transition: color .3s; white-space: nowrap; }
.header__language-list li:first-child a { padding-top: 12rem; }
.header__language-list li:last-child a { padding-bottom: 12rem; }

.header__language--open .header__language-btn .jt-icon { transform: rotateX(180deg); }
.header__language--open .header__language-list { opacity: 1; visibility: visible; }

.header__link > a { display: inline-block; position: relative; vertical-align: middle; padding: 6rem 30rem; border: 2rem solid var(--color-black); color: var(--color-black); border-radius: 30rem; cursor: pointer; transition: color .3s, background-color .3s, border-color .3s; }

/* MOBILE */
.small-menu-controller, .small-menu-container { display: none; }

/* MINIMIZE */
.minimize#header { border-bottom-color: var(--color-gray-400); }
.minimize#header .menu-container__background { border-top-color: transparent; }



/* **************************************** *
 * FOOTER
 * **************************************** */
#footer { position: relative; background: var(--color-black); padding-bottom: 80rem; }
.footer__inner { position: relative; margin: 0 70rem; }
.footer__content { display: flex; justify-content: space-between; margin-top: 20rem; gap: 40rem; }

/* BANNER */
.footer__banner { position: relative; padding: 242rem 0; border-top: 10rem solid var(--color-white); }
.footer__banner-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: no-repeat center center / cover; }
.footer__banner-bg--mobile { display: none; }
.footer__banner-content { display: grid; align-items: center; align-content: center; gap: 40rem; text-align: center; }
.footer__banner-title { color: var(--color-white); }
.footer__banner-title > span { display: block; margin-bottom: 8rem; }
.footer__banner-link > a { display: inline-block; position: relative; vertical-align: middle; padding: 10rem 46rem; border: 2rem solid var(--color-white); color: var(--color-white); border-radius: 30rem; cursor: pointer; transition: color .3s, background-color .3s, border-color .3s; }

/* CONTACT */
.footer__contact { position: relative; padding: 120rem 0; }
.footer__contact-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: no-repeat center center / cover; }
.footer__contact-bg--mobile { display: none; }
.footer__contact h2 { color: var(--color-white); }
.footer__contact-list { margin-top: 20rem; }
.footer__contact-list > li { color: var(--color-white); font-size: 0; }
.footer__contact-list > li + li { margin-top: 8rem; }
.footer__contact-list > li > b { opacity: .7; margin-right: 12rem; }
.footer__contact-list > li > a { color: inherit; }
.footer__contact-link { margin-top: 40rem; }
.footer__contact-link > a { display: inline-block; position: relative; color: var(--color-white); padding: 10rem 38rem; border: 2rem solid var(--color-white); border-radius: 30rem; transition: .3s; }

/* LOGO */
.footer__logo { padding-top: 40rem; border-top: 1px solid rgba(255, 255, 255, .3); }
.footer__logo svg { width: 77rem; height: auto; vertical-align: top; }
.footer__logo svg path { fill: var(--color-white); }

/* INFO */
.footer__info { display: flex; gap: 12rem; }
.footer__info-btn { font-size: 0; display: inline-block; }
.footer__info-btn > span { vertical-align: middle; }
.footer__info-btn .jt-icon { display: none; position: relative; width: 16rem; height: 16rem; vertical-align: middle; margin-left: 4rem; top: -1rem; transition: transform .3s }
.footer__info-btn .jt-icon svg path { fill: var(--color-white); }
.footer__info--open .jt-icon { transform: rotateX(180deg); }
.footer__info-list { display: flex; gap: 12rem; }
.footer__info-btn, .footer__info-list > li { color: var(--color-white); opacity: .8; }
.footer__info-list > li > a { color: inherit; }

/* MENU */
#footer-menu { display: flex; gap: 16rem; }
#footer-menu > li > a { display: block; color: var(--color-white); font-size: var(--font-size-ko-09); line-height: var(--font-lineheight-ko-09); letter-spacing: var(--letter-spacing-02); font-weight: 400; border-bottom: 1px solid transparent; transition: border-color .3s; }
#footer-menu > li.menu-item-privacy-policy > a { font-weight: 700; }

/* COPYRIGHT */
.footer__copyright { color: var(--color-white); opacity: .8; margin-top: 4rem; }



/* **************************************** *
 * CONTAINER
 * **************************************** */
.main-container { padding-top: 84rem; padding-bottom: 240rem; }



/* **************************************** *
 * PAGE
 * **************************************** */
/* PAGE VISUAL */
.article__visual { position: relative; min-height: 480rem; text-align: center; display: flex; align-items: center; overflow: hidden; }
.article__visual-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: no-repeat center center / cover; }
.article__visual-content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 40rem 0; background: rgba(0, 0, 0, .5); display: grid; align-content: center; text-align: center; color: var(--color-white); }
.article__visual-content > p + p { margin-top: 30rem; }
.article__visual-link { margin-top: 48rem; }
.article__visual-title { color: var(--color-white); }
.article__visual-desc { color: var(--color-white); margin-top: 20rem; }

/* STICKY */
.article__visual-sticky { position: sticky; top: 84rem; min-height: 640rem; clip-path: inset(0 0 2rem); }
.article__visual-sticky + .article__body { background: var(--color-white); clip-path: inset(0 round 30rem 30rem 0 0); margin-top: -40rem; }
.article__visual-sticky .article__visual-content { background: rgba(0, 0, 0, .3); padding: 0 0 40rem 0; }
.article__visual-sticky .article__visual-desc { margin-top: 12rem; }

/* SCROLL */
.article__visual-scroll { position: relative; height: 100vh; clip-path: inset(0 70rem round 30rem); }
html.kakao .article__visual-scroll { height: var(--full-height); }
.article__visual-section { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.article__visual-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.article__visual-section + .article__visual-section { opacity: 0; visibility: hidden; }
.article__visual-section .article__visual-content { padding: 40rem; }

/* PAGE HEADER */
.article__header { text-align: center; padding-top: 160rem; }
.article__header-sticky { padding-bottom: 160rem; }
.article__header-sticky--active { position: sticky; top: 84rem; }
.article__desc { color: var(--color-gray-800); margin-top: 20rem; }

/* PAGE BODY */
.article__body { position: relative; min-height: 360rem; padding-top: 160rem; }
.article__section { position: relative; padding-bottom: 200rem; overflow: hidden; }
.article__section:last-child { padding-bottom: 0; }
.article__section-head { margin-bottom: 120rem; }
.article__section-head--center { text-align: center; }
.article__section-head:has(.article__section-desc) { margin-bottom: 60rem; }
.article__section-head--narrow, .article__section-head--narrow:has(.article__section-desc) { margin-bottom: 80rem; }
.article__section-head .article__section-desc { color: var(--color-gray-900); margin-top: 30rem; }
.article__section-head .article__section-title + .jt-category, .article__section-head .article__section-title + .jt-tabs__head { margin-top: 28rem; }
.article__section-head--center .jt-category__list, .article__section-head--center .jt-tabs__menu { justify-content: center; }
.article__section-subtitle { margin-bottom: 60rem; }

.article__header:not(.article__header-sticky) + .article__body { padding-top: 80rem; }



/* **************************************** *
 * PRIVACY
 * **************************************** */
.privacy__revision { max-width: var(--wp--style--global--content-size); margin: 0 auto 60rem; }
.privacy__revision-choice { display: inline-block; vertical-align: top; }

/* Email gathering popup */
.jt-popup__container:has(.jt-email-popup__content) { max-width: 560rem; }
.jt-email-popup__content h2 { margin-bottom: 40rem; }
.jt-email-popup__content p { color: var(--color-gray-900); }
.jt-email-popup__content p + p { margin-top: 20rem; }



/* **************************************** *
 * 404
 * **************************************** */
body.error404 .main-container { padding-top: 0; padding-bottom: 0; }

.error-404 { display: flex; align-items: center; justify-content: center; height: 100vh; }
html.kakao .error-404 { height: var(--fit-height); }
.error-404__inner { padding-top: 84rem; text-align: center; }
.error-404__inner p { margin-top: 20rem; color: var(--color-gray-900); }
.error-404__controller { margin-top: 50rem; }

/* IOS 100vh helper */
html.ios .error-404 { min-height: 100svh; max-height: -webkit-fill-available; }



/* **************************************** *
 * HOVER
 * **************************************** */
@media (hover: hover) and (pointer: fine) {

    /* HEADER */
    #menu > li > ul > li > a:hover { color: var(--color-black); }
    #menu > li > ul > li > ul > li > a:hover { color: var(--color-black); }
    
    .header__language-list a:hover { color: var(--color-gray-500); }

    .header__link > a:hover { color: var(--color-white); background: var(--color-primary); border-color: var(--color-primary); }

    /* FOOTER */
    .footer__banner-link > a:hover { color: var(--color-black); background: var(--color-white); }
    .footer__contact-link > a:hover { background: var(--color-white); color: var(--color-black); border-color: var(--color-white); }
    #footer-menu > li > a:hover { border-color: currentColor; }
    
}