@charset "utf-8";
/* =============
common
============== */
:root {
    --primary-black: #282828;
    --primary-grayblack: #5C5B5B;
    --primary-darkgray: #414141;
    --primary-linkBlack: #4B4B4B;
    --primary-white: #FFFFFF;
    --primary-background: #FDFDFD;
    --primary-gray: #B6B6B6;
    --primary-backGray: #F4F4F4;
    --primary-btnGray: #E9E9E9;
    --primary-linkGray: #AFAFAF;
    --content-padding: 5.3%
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-background);
    font-family: "Zen Kaku Gothic New", "Inter";
    font-style: normal;
    line-height: 2;
    color: var(--primary-black);
}

img {
    max-width: 100%;
}

/* =============
header
============== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5.3%;
}

.header__logo {
    display: block;
    width: 80px;
}

.header__logo .wh{
    display: none;
}

.header__logo.active .wh{
    display: block;
    width: 80px;
}

.header__logo.active .bk{
    display: none;
}

/* btn */
.open__btn {
    position: relative;
    z-index: 1000;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.open__btn.color span {
    background-color: var(--primary-white);
}

.open__btn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 13px;
    height: 1px;
    background-color: var(--primary-black);
}

.open__btn.active span {
    background-color: var(--primary-white);
}

.open__btn span:nth-of-type(1) {
	top:20px;	
  	width: 50%;
}

.open__btn span:nth-of-type(2) {
	top:27px;
  	width:50%;
}

.open__btn span:nth-of-type(3) {
    top: 34px;
    width: 30%;
}

.open__btn.active span:nth-of-type(1) {
    top: 18px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 35%;
}

.open__btn.active span:nth-of-type(2) {
    opacity: 0;
}

.open__btn.active span:nth-of-type(3) {
    top: 30px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 35%;
}

.nav {
    position: fixed;
    top: 0;
    right: -120%;
    z-index: 999;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-black);
    transition: all 0.6s;
}

.nav.panelactive {
    right: 0;
}

.nav__list {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 999;
    text-align: center;
}

.nav__item {
    position: relative;
    color: var(--primary-white);
    font-size: 2.4rem;
    font-family: Inter;
    margin-top: 16px;
    opacity: 0;
}

.nav__item.active {
    animation: fadeup 1.4s ease 0.4s forwards;
}

@keyframes fadeup {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
  
    100% {
      opacity: 1;
      transform: translateY(0);
    }
}

.nav__item.nav__itemscroll {
    color: var(--primary-white);
    transition: color 0.4s ease-out;
}

.nav__item::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-black);
    transition: .3s;
}

.nav__item.nav__itemscroll::after {
    background-color: var(--primary-white);
}

.nav__item:hover::after {
    width: 100%;
}

.nav__item:first-of-type {
    margin-top: 0;
}

/* header pc */
@media screen and (min-width: 1024px) {
    .header {
        padding: 30px 5.5%;
    }

    .open__btn {
        display: none;
    }

    .nav {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
    }

    .nav__list {
        position: static;
        transform: none;
        display: flex;
        text-align: center;
        gap: 60px;
    }

    .nav__item {
        color: var(--primary-black);
        font-size: 1.6rem;
        margin-top: 0;
        opacity: 1;
    }

}

/* =============
footer
============== */
.footer {
    background-color: var(--primary-black);
    padding: 30px var(--content-padding) 26px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--primary-white);
}


.breadcrumb {
    display: flex;
    list-style: none;
    overflow-x: scroll;
    white-space: nowrap;
    -ms-overflow-style: none;
}

.breadcrumb::-webkit-scrollbar {
    display: none;
}

.breadcrumb li {
    color: var(--primary-white);
    font-size: 1.2rem;
    font-family: Inter;
    font-weight: 500;
    line-height: normal;
    flex-shrink: 0;
}

.breadcrumb li:not(:last-of-type)::after {
  content: "›";
  margin: 0 12px;
  color: var(--primary-white);
}

.footer__btn {
    flex-shrink: 0;
    padding-left: 20px;
    border-left: 1px solid var(--primary-white);
}

.footer__link {
    display: flex;
    align-items: center;
    margin-top: 0;
}

.footer__btnTxt {
    color: var(--primary-white);
    font-size: 1.2rem;
    font-family: Inter;
    font-weight: 500;
    line-height: normal;
}

.footer__icon {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-white);
    border-radius: 50px;
    margin-left: 14px;
}

.footer__icon::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    border-radius: 50px;
    background-color: var(--primary-white);
}

.footer__icon::after {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0,0);
    background-image: url(../img/arrow__backTop.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
    opacity: 0;
    transition: 0.4s;
}

.footer__btn:hover .footer__btnTxt {
    transition: 0.4s;
    opacity: 0.9;
}

.footer__btn:hover .footer__icon::after {
    opacity: 1;
    transform: translate(-50%,-50%) scale(1,1);
    transition: 0.4s;
}

.footer__logo {
    margin-top: 40px;
}

.footer__name {
    display: block;
    color: var(--primary-white);
    font-size: 2.6rem;
    font-family: Inter;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.78px;
}

.footer__name span {
    display: block;
    margin-top: 5px;
}

.footer__contact {
    display: none;
}

.footer__list {
    margin-top: 28px;
}

.footer__item {
    position: relative;
    color: var(--primary-white);
    font-size: 1.4rem;
    font-family: Inter;
    margin-top: 18px;
}

.footer__item::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-white);
    transition: .3s;
}

.footer__item:hover::after {
    width: 100%;
}

.footer__item:first-of-type {
    margin-top: 0;
}

.copy__txt {
    color: var(--primary-white);
    font-size: 1rem;
    font-family: Inter;
    font-weight: 500;
    line-height: 1;
    margin-top: 80px;
}

/* footer pc */
@media screen and (min-width: 768px) {
    .footer {
        padding: 52px 5.5% 26px;
    }

    .footer__top {
        padding-bottom: 20px;
    }

    .breadcrumb li {
        font-size: 1.4rem;
    }

    .footer__btn {
        padding-left: 40px;
    }

    .footer__btnTxt {
        font-size: 1.4rem;
    }

    .footer__icon {
        width: 45px;
        height: 45px;
        margin-left: 20px;
    }

    .footer__icon::before {
        width: 6px;
        height: 6px;
    }

    .footer__icon::after {
        width: 45px;
        height: 45px;
    }

    .footer__logo {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-top: 70px;
    }

    .footer__name {
        font-size: 4rem;
        letter-spacing: 1.2px;
    }

    .footer__contact {
        display: block;
        font-size: 1.6rem;
        font-family: Inter;
        font-weight: 500;
        line-height: normal;
        background-color: var(--primary-white);
        padding: 12px 48px;
        border: 1px solid var(--primary-black);
        transition: 0.2s;
    }

    .footer__contact:hover {
        color: var(--primary-white);
        background-color: transparent;
        border: 1px solid var(--primary-white);
    }

    .footer__list {
        display: flex;
        align-items: center;
        gap: 40px;
        margin-top: 52px;
    }

    .footer__item {
        font-size: 1.6rem;
        margin-top: 0;
    }

    .copy__txt {
        font-size: 1.2rem;
        margin-top: 138px;
    }
}