.header {
    position: fixed;
    display: -ms-flexbox;
    display: flex;
    z-index: 100;
    min-width: 100%;
    width: 100%;
    height: 71px;
    top: 0;
    left: 0;
    background: transparent;
    transition: background 0.1s ease-in;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin : 0 auto;
}

.header::after {
    content: "";
    position: absolute;
    background: transparent;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: background-color 0.2s;
}

.header.pages {
    position: fixed;
}

.header.pages::after {
    background: #fff;
    border-bottom: 1px solid #dddddd;
}

.header.pages .header__logo {
    pointer-events: auto;
    opacity: 1;
}

.header.fix {
    position: fixed;
    min-width: 100%;
}

.header.fix::after {
    background: #fff;
    border-bottom: 1px solid #dddddd;
}

.header.fix .header__logo {
    animation: headerLogo 0.1s forwards;
    pointer-events: auto;
}

.header__logo {
    opacity: 0;
    width: 119px;
    height: 49px;
    margin: 11px 0 0 40px;
    pointer-events: none;
}

@keyframes headerLogo {
    100% {
        opacity: 1;
    }
}   

.header nav {
    right: 0;
    height: 100%;
    /* width: 858px; */
    /* width: 883px; */
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.header nav .border {
    position: absolute;
    display: block;
    background: #19c698;
    width: 36px;
    height: 6px;
    bottom: 0;
    opacity: 0;
    transition: width 0.2s ease-out, left 0.2s ease-out, opacity 0.3s ease-out;
}

.header__navInner {
    position: relative;
    width: 883px;
    height: 70px;
    right: 0;
}

.header__navInner ul {
    background: #fff;
    position: absolute;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    padding: 7px 20px;
    right: 0;
}

.header__navInner ul li {
    font-size: 1.2rem;
    font-weight: 700;
    transition: color 0.2s ease-out;
    display: -ms-flexbox;
    display: flex;
    letter-spacing: 0.05em;
}

.header__navInner ul li:hover {
    color: #19c698;
}

.header__navInner ul li+li::before {
    content: "";
    width: 1px;
    height: 35px;
    display: block;
    transform: translateY(13px);
    background: #19c698;
}

.header__navInner ul li:nth-of-type(1) a {
    width: 76px;
}

.header__navInner ul li:nth-of-type(2) a {
    width: 112px;
}

.header__navInner ul li:nth-of-type(3) a {
    width: 128px;
}

.header__navInner ul li:nth-of-type(4) a {
    width: 99px;
}

.header__navInner ul li:nth-of-type(5) a {
    width: 104px;
}

.header__navInner ul li:nth-of-type(6) a {
    width: 100px;
}

.header__navInner ul li:nth-of-type(7) a {
    width: 115px;
}

.header__navInner ul li:nth-of-type(8) a {
    width: 115px;
}

.header__navInner ul li:nth-of-type(9) a {
    width: 115px;
}

.header__navInner ul li a {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    height: 60px;
    white-space: nowrap;
}

@media only screen and (max-width: 1039px) {
    .header {
        position: fixed;
        display: -ms-flexbox;
        display: flex;
        z-index: 100;
        min-width: 100%;
        width: 100%;
        height: 61px;
        top: 0;
        left: 0;
        background: transparent;
        transition: background 0.1s ease-in;
        -ms-flex-pack: justify;
        justify-content: space-between;
        background: none;
    }

    .header::after {
        transition: background-color 0.2s, border-color 0.2s;
        border-bottom: 1px solid transparent;
    }

    .header.open::after {
        background-color: #fff;
    }

    .header.open nav {
        transform: translateY(0);
    }

    .header.open .header__logo {
        animation: headerLogo 0.1s forwards;
    }

    .header.open .header__menuBtn span {
        background: transparent;
    }

    .header.open .header__menuBtn span::before {
        top: 0px;
        transform: rotate(45deg);
    }

    .header.open .header__menuBtn span::after {
        top: 0px;
        transform: rotate(-45deg);
    }

    .header__logo {
        opacity: 0;
        width: 98px;
        height: 40px;
        margin: 10px 0 0 20px;
        z-index: 1;
    }

    .header nav {
        position: absolute;
        width: 100%;
        height: auto;
        transform: translateY(-100%);
        transition: transform 0.3s cubic-bezier(0.09, 0.2, 0.21, 0.87);
        padding-top: 60px;
        top: 0;
        z-index: -1;
    }

    .header nav .border {
        display: none;
    }

    .header__navInner {
        width: 100%;
        height: auto;
    }

    .header__navInner ul {
        position: relative;
        display: block;
        padding: 0;
        height: auto;
        border: 4px solid #dddddd;
    }

    .header__navInner ul li {
        font-size: 1.4rem;
        font-weight: 700;
        transition: color 0.2s ease-out;
        display: -ms-flexbox;
        display: flex;
        letter-spacing: 0.05em;
        -ms-flex-align: center;
        align-items: center;
        height: 50px;
        border-bottom: 1px solid #dddddd;
    }

    .header__navInner ul li:hover {
        color: #19c698;
    }

    .header__navInner ul li+li::before {
        content: none;
    }

    .header__navInner ul li:nth-of-type(1) a,
    .header__navInner ul li:nth-of-type(2) a,
    .header__navInner ul li:nth-of-type(3) a,
    .header__navInner ul li:nth-of-type(4) a,
    .header__navInner ul li:nth-of-type(5) a,
    .header__navInner ul li:nth-of-type(6) a,
    .header__navInner ul li:nth-of-type(7) a,
    .header__navInner ul li:nth-of-type(8) a,
    .header__navInner ul li:nth-of-type(9) a {
        width: 100%;
    }

    .header__navInner ul li a {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-align: center;
        align-items: center;
        height: 60px;
        white-space: nowrap;
    }

    .header__menuBtn {
        position: absolute;
        top: 0;
        right: 0;
        background: #fff;
        width: 60px;
        height: 60px;
        z-index: 1;
    }

    .header__menuBtn span {
        position: absolute;
        display: block;
        background: #19c698;
        height: 2px;
        width: 25px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .header__menuBtn span::before,
    .header__menuBtn span::after {
        content: "";
        position: absolute;
        display: block;
        background: #19c698;
        height: 2px;
        width: 25px;
        transition: transform 0.3s ease-in-out;
    }

    .header__menuBtn span::before {
        top: -8px;
    }

    .header__menuBtn span::after {
        top: 8px;
    }
}