/* ========================================
 * header
 * ======================================== */
 .wrapper {
    position: relative;
}
.header {
    position: fixed;
    top: 0;
    z-index: 99;
    transition: .4s;
}

/* background */
.header {
    background: rgba( 255, 255, 255, 1.0 );
}

.home .headerColor-default {
    background: rgba( 255, 255, 255, 1.0 );
    transition: .4s;
}

.home .headerColor-none {
    background: none;
    transition: .4s;
}

.header-container {
    /* width: 1920px; */
    margin: 0 auto;
}
.header-container {
    display: flex;
    justify-content: space-between;
}

/* box */
.header-logo,
.header .nav {
    display: block;
}

/* logo */
.header-logo {
    transition: .4s;
    width: 160px;
    margin: 0;
    padding: 0;
}
.header-logo:hover {
    background:rgba(0, 0, 0, .5);
    color: #fff;
}
.header-logo a {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 24px 20px 12px 20px;
    overflow: hidden;
}
.header-logo-img {
    width: 100%;
    height: auto;
}

/* nav */
.header .nav {
    /* width: calc( 100% - 160px); */
    margin: 0 20px 0 0;
}

/* menu */
.header-nav.menu {
    display: flex;
    justify-content: space-around;
    flex-basis: auto;
    /* width: 95%; */
    height: 100%;
    margin: 0;
}

.header-nav .menu-item {
    position: relative;
    transition: .4s;
    /* width: 100%; */
    /* height: 100%; */
}

.header-nav .menu-item:last-child {
    margin-right: 0;
}

.header-nav.menu .menu-item:hover {
    /* background:rgba(0, 0, 0, .5); */
}

.header-nav.menu .menu-item > a {
    display: block;
    margin: 0;
    /* padding: 35px 0 30px; */
    /* height: 100%; */
    font-size: 1rem;
    line-height: 1;
    text-align: center;
    letter-spacing: 0px;
    font-weight: 200;
    word-break: keep-all;
}
.header-nav.menu .menu-item > a > span {
    display: block;
    transition: .4s;
    margin: 7px 0 0;
    font-size: 0.75rem;
    line-height: 1;
    letter-spacing: 0.46px;
    color: #000;
}
.header-nav.menu .menu-item > a:hover {
    /* color: #fff; */
}
.header-nav.menu .menu-item > a:hover > span {
    color: #fff;
}

/* sub menu */
.header-nav .sub-menu {
    position: absolute;
    left: 0;
    z-index: 1;
    transition: .6s;
    overflow: hidden;
    width: 100%;
    max-height: 0px;
    margin: 0;
    padding: 0;
    background-color: rgba(255, 255, 255, .65);
    text-align: center;
}
.header-nav .sub-menu-item a {
    display: block;
    width: 100%;
    padding: 35px 0 30px;
}
.header-nav .sub-menu-item a > span {
    display: block;
    font-size: 0.75rem;
}

.header-nav .sub-menu-item a:hover {
    background:rgba(0, 0, 0, .5);
    color: #fff;
}
.header-nav .menu-item:focus .sub-menu,
.header-nav .menu-item:focus-within .sub-menu,
.header-nav .menu-item:hover .sub-menu {
    z-index: 100;
    max-height: 500px;
}

@media screen and ( max-width: 1920px ) {
    .header-container {
        width: 100vw;
    }
    .header .nav {
        /* width: 100%; */
    }
    .header-nav.menu {
        /* width: 98%; */
    }
}
@media screen and ( max-width: 1269px ) {
    .header-nav.menu .menu-item > a,
    .sub-menu-item a {
        font-size: 1.35vw;
    }
    .header-nav.menu .menu-item > a > span,
    .header-nav.menu .sub-menu-item a > span {
        font-size: 0.75vw;
    }
}

a.no-link {
    cursor: default;
}

@media screen and ( max-width: 959px ) {
    .header {
        /* background: none; */
    }
    .home .headerColor-default {
        background: none;
    }
    .header-container {
        height: 50px;
    }
    .nav.header-nav-container {
        display: none;
    }
    .header-logo {
        display: none;
    }
}

/*
 * modal
 * ------------------------------ */
/* hamburger */
.modal-navbar-header {
    text-align: center;
}
.modal-hamburger {
    position: fixed;
    z-index: 4;
    top: 0;
    display: block;
    box-sizing: content-box;
    width: 3rem;
    padding: 30px 18px;
    -webkit-transition: all .6s cubic-bezier(.19,1,.22,1);
    transition: all .6s cubic-bezier(.19,1,.22,1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    border: 0;
    outline: 0;
    background-color: transparent;
}
.modal-hamburger,
.modal-open .modal-hamburger {
    right: 0;
}
.modal-open .opener {
    display: none;
}
.sr-only {
    position: absolute;
    overflow: hidden;
    clip: rect(0,0,0,0);
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}
.modal-hamburger-icon {
    position: relative;
    display: block;
    margin-top: 6px;
}
.modal-hamburger-icon,
.modal-hamburger-icon::after,
.modal-hamburger-icon::before {
    width: 100%;
    height: 1px;
    -webkit-transition: all .6s cubic-bezier(.19,1,.22,1);
    transition: all .6s cubic-bezier(.19,1,.22,1);
    background-color: #000000;
}
.modal-hamburger-icon::after,
.modal-hamburger-icon::before {
    position: absolute;
    top: -0.75em;
    left: 0;
    content: ' ';
}
.modal-hamburger-icon::after {
    top: 0.75em;
}
.modal-open .modal-hamburger-icon {
    background-color: transparent;
}
.modal-open .modal-hamburger-icon::before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.modal-open .modal-hamburger-icon::after,
.modal-open .modal-hamburger-icon::before {
    top: 0;
}
.modal-open .modal-hamburger-icon::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
@media screen and ( min-width: 960px ) {
    .modal-navbar .modal-hamburger {
        display: none;
    }
    .modal-navbar .modal-brand {
        display: none;
    }
}

/* modal menu */
.modal-container {
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 100%;
    padding: 120px 50px 100px;
}

.modal-container {
    position: fixed;
    z-index: 2;
    top: 0;
    overflow: hidden;
    width: 100vw;
    height: 100%;
    color: #222;
    background-color: #fff;
}
.modal-open .modal-container {
    display: block;
}

/* modal overwrite */
.modal-hamburger {
    position: absolute;
}

body.modal-open {
    height: 100vh;
    overflow-y: hidden;
}

/* fade in, fade out */
.modal-open .modal-container {
    animation: fadeIn .4s ease 0s 1 normal;
    -webkit-animation: fadeIn .4s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% { opacity: 0 }
    100% { opacity: 1 }
}

@-webkit-keyframes fadeIn {
    0% { opacity: 0 }
    100% { opacity: 1 }
}


/* modal menu */
#modal .header-nav.menu {
    display: block;
}
#modal .header-nav.menu .menu-item > a {
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: 3.12px;
    font-weight: 200;
    text-decoration: none;
}
#modal .header-nav.menu .menu-item > a > span {
    margin: 7px 0 0;
    font-size: 0.875rem;
    line-height: 1.42;
    letter-spacing: 0px;
}
#modal .menu > .menu-item {
    height: 100%;
    padding: 0;
}
#modal .menu > .menu-item:last-child {
    border: none;
}
#modal .header-nav.menu .menu-item > a {
    padding: 25px 0;
}
#modal .header-nav.menu {
    width: 100%;
}
.modal-container {
    overflow: scroll;
}

/**
 * modal sub-menu
 * ---------------------------- */
#modal .sub-menu {
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 1;
    transition: .6s;
    overflow: hidden;
    width: 100%;
    max-height: 0px;
    margin: 0;
    padding: 0;
    background-color: rgba(255, 255, 255, .65);
    text-align: center;
}
#modal .sub-menu-item a {
    display: block;
    width: 100%;
    padding: 15px 0 17.25px;
}
#modal .sub-menu-item a > span {
    display: block;
}
#modal .menu-item.sub-menu-open .sub-menu {
    z-index: 100;
    max-height: 500px;
}


#modal .menu-item {
    position: relative;
}
#modal .sub-menu-item > a {
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: 3.12px;
    font-weight: 200;
}
#modal .sub-menu-item > a > span {
    margin: 7px 0 0;
    font-size: 0.875rem;
    line-height: 1.42;
    letter-spacing: 0px;
}
#modal .sub-menu {
    position: relative;
    top: 0;
}
#modal a:hover,
#modal a:hover > span,
#modal .header-nav.menu .menu-item:hover,
#modal .header-nav.menu .menu-item a:hover,
#modal .sub-menu-item a:hover
#modal .sub-menu-item a:focus,
#modal .sub-menu-item a:focus-within,
#modal .sub-menu-item a:hover {
    /* background: #fff; */
    opacity: .7;
    /* color: #000; */
}
.modal-nav .menu-item.has-sub-menu::before {
    position: absolute;
    top: 14px;
    left: 21px;
    content: "";
    width: 10px;
    height: 10px;
    border: 1px solid var(--black);
    border-color: transparent transparent var(--black) var(--black);
    transform: rotate(-45deg);
}

.modal-nav .sub-menu {
    position: relative;
    top: auto;
    left: auto;
}

.modal-nav .sub-menu-item a {
    padding: 12px 20px 12px 0;
    font-size: 1.8rem;
}

/* close buttom */
.closer {
    display: none;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    z-index: 999;
    width: 4em;
    height: 4em;
}
.closer::after,
.closer::before {
    width: 100%;
    height: 2px;
    -webkit-transition: all .6s cubic-bezier(.19,1,.22,1);
    transition: all .6s cubic-bezier(.19,1,.22,1);
    background-color: #000000;
}
.closer::before {
    transform: rotate(45deg);
}
.closer .modal-hamburger-icon,
.closer .modal-hamburger-icon::after,
.closer .modal-hamburger-icon::before {
    /* width: 1.5em; */
}
.modal-open .closer {
    display: block;
}

/* sub-menu toggle */
#modal .has-sub-menu {
    position: relative;
}
#modal .has-sub-menu::after,
#modal .has-sub-menu::before {
    position: absolute;
    top: 0;
    right: 0;
    content: "";
    z-index: 9;
    width: 16px;
    height: 16px;
}
#modal .has-sub-menu::after,
#modal .has-sub-menu::before {
    width: 16px;
    height: 16px;
    border-top: 2px solid #000;
}
#modal .has-sub-menu::after {
    top: 37px;
}
#modal .has-sub-menu::before {
    top: 30px;
    right: 7px;
    transform: rotate(90deg);
}
#modal .menu-item.has-sub-menu.sub-menu-open::before {
    transition: .4s;
    transform: rotate(180deg);
    top: 23px;
    right: 0;
}