@charset "UTF-8";

@import url('./reset.css');
@import url('./variables.css');
@import url('./font.css');
@import url('./swiper-bundle.min.css');
@import url('./animations.css');
@import url('./animations-ie-fix.css');

html {
    font-size: 16px;
}

body {
    width: 100%;
    font-family: var(--font-family), -apple-system, "Malgun Gothic", "맑은 고딕", helvetica, "Apple SD Gothic Neo", sans-serif;
    font-weight: var(--font-w-regular);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--primary);
    overflow: hidden;
}

.pc { display: block;}
.mo { display: none;}

/* ============== grid ==============  */

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
    margin-left: -20px;
}

[class*="col"] {
    flex-basis: 0;
    padding-right: 20px;
    padding-left: 20px;
}

.col-3 {
    flex-basis: 33.3333%;
    width: 33.3333%;
}

/* ============== button ==============  */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 50px;
    background-color: var(--white);
    border: 1px solid var(--primary);
    border-radius: 6px;
    font-size: var(--font-size-16);
    letter-spacing: -0.01em;
    color: var(--primary);
    transition: all 0.2s;
}

.btn:hover,
.btn:focus,
.btn:active {
    background-color: var(--primary);
    color: var(--white);
}

/* ============== header ==============  */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    z-index: 1000;
}

#header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: calc(var(--container) + (var(--main-p) * 2));
    width: 100%;
    height: 70px;
    margin: 0 auto;
    padding: 0 var(--main-p);
}

#header .header-inner h1 .logo {
    display: block;
    width: 248px;
    height: 43px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url('../images/img-logo.png');
}

#header .header-inner .pc {
    display: flex;
    align-items: center;
    font-size: var(--font-size-16);
    line-height: 1;
}

#header .header-inner .pc ul {
    display: flex;
    align-items: center;
}

#header .header-inner .pc .nav li + li {
    margin-left: 60px;
}

#header .header-inner .pc .nav-link {
    margin-left: 66px;
    color: var(--text-100);
}

#header .header-inner .pc .nav-link li + li {
    position: relative;
    padding-left: 32px;
}

#header .header-inner .pc .nav-link li + li::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(50% - 7px);
    left: 15px;
    width: 1px;
    height: 14px;
    background-color: var(--text-100);
    opacity: 0.3;
}

#header .header-btn {
    position: relative;
    width: 3.125rem;
    height: 2.5rem;
}

#header .header-btn i {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 0.25rem;
    border-radius: 0.25rem;
    background-color: var(--text-600);
    transition: all 0.8s cubic-bezier(0.86, 0, 0.07, 1) 0s;
}

#header .header-btn i:nth-child(1) {
    top: 0px;
}

#header .header-btn i:nth-child(2) {
    top: 1.125rem;
}

#header .header-btn i:nth-child(3) {
    bottom: 0;
}

#header .header-menu {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: rgb(255, 255, 255);
    padding: 0 var(--sub-p);
    font-size: var(--font-size-36);
    line-height: 1;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1) 0s;
    overflow: hidden;
    z-index: 1;
}

#header .header-menu .nav {
    margin-top: 10.625rem;
    font-weight: var(--font-w-medium);
    line-height: 1;
}

#header .header-menu .nav li {
    padding-bottom: 1.563rem;
    font-weight: var(--font-w-bold);
    border-bottom: 1px solid var(--border-50);
    margin-bottom: 1.5rem;
}

#header .header-menu .nav-link {
    margin-top: 2.188rem;
    display: flex;
    color: var(--text-100);
}

#header .header-menu .nav-link li + li {
    position: relative;
    padding-left: 2rem;
}

#header .header-menu .nav-link li + li::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(50% - 0.438rem);
    left: 0.938rem;
    width: 1px;
    height: 0.875rem;
    background-color: var(--text-100);
    opacity: 0.3;
}

#header.active h1,
#header .header-btn {
    z-index: 2;
}

#header.active .header-btn i:nth-of-type(1) {
    -webkit-transform: translateY (1.125rem) rotate (-45deg);
    transform: translateY(1.125rem) rotate(-45deg);
}

#header.active .header-btn i:nth-of-type(2) {
opacity: 0;
}

#header.active .header-btn i:nth-of-type(3) {
    -webkit-transform: translateY(-1.125rem) rotate(45deg);
    transform: translateY(-1.125rem) rotate(45deg);
}

#header.active .header-menu {
    transform: translateX(0%);
}

/* ============== footer ==============  */
#footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px var(--main-p);
    background-color: var(--bg-100);
    line-height: 1;
    text-align: center;
}

#footer .footer-logo a {
    display: block;
    width: 17.563rem;
    height: 3.063rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url('../images/img-logo.png');
}

#footer ul {
    display: flex;
}

#footer .footer-nav li {
    position: relative;
    padding: 0 27px;
    font-weight: var(--font-w-bold);
}

#footer .footer-nav li::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(50% - 6px);
    left: 0;
    width: 1px;
    height: 12px;
    background-color: var(--blue);
    opacity: 0.2;
}

#footer .footer-nav li:first-child::before {
    display: none;
}

#footer .footer-address {
    margin: 28px 0 8px;
    font-size: var(--font-size-14);
}

#footer  .copy {
    font-size: var(--font-size-14);
}

/* ==============  animation ==============  */

.animated {
    opacity: 0;
}

.animated.go {
    opacity: 1;
}