/* header.css */

header {
    position: relative;
}
header h1 {
    width: 74%;
    max-width: 400px;
}
header #title {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 110px;
}
header .logo {
    position: absolute;
    top: 0;
    right: 40px;
    bottom: 0;
    width: 117px;
    height: 45px;
    margin: auto;
}

header #navigation {
    width: 100%;
    background-color: #000000;
    z-index: 1000;
    transition: all .3s ease;
}
header #navigation ul {
    display: flex;
    justify-content: space-between;
    width: 94%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
header #navigation ul li {
    position: relative;
}
header #navigation ul > li:not(:last-child) {
    margin-right: 0.25em;
}
header #navigation ul li a {
    display: inline-block;
    position: relative;
    padding-right: 1em;
    text-align: left;
    line-height: 45px;
    font-family: 'Barlow Condensed',sans-serif;
    font-size: 23px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    transition: all .3s ease;
}
header #navigation ul li a:hover {
    color: #666666;
}
header #navigation ul > li a:after {
    position: absolute;
    top: 0;
    right: 0.25em;
    bottom: 0;
    width: 11px;
    height: 10px;
    background-repeat: no-repeat;
    background-image: url("../images/arrrow_nav.png");
    background-size: contain;
    margin: auto;
    transition: all .3s ease;
    content: "";
}

header #navigation ul.child {
    display: block;
    visibility: hidden;
    width: max-content;
    height: auto;
    opacity: 0;
    position: absolute;
    top: 45px;
    left: -2em;
    background-color: #000000;
    padding: 0 3em;
    transition: all .3s ease;
}
header #navigation ul.child li {
    margin-bottom: 0.5em;
    text-align: left;
}
header #navigation ul.child li a {
    padding-left: 1em;
    padding-right: 0;
    line-height: 1.6;
    font-size: 21px;
    font-weight: 500;
}
header #navigation ul.child li a:after {
    display: none;
}
header #navigation ul.child li a:before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0.57em;
    height: 2px;
    background-color: #ffffff;
    margin: auto;
    transition: all .3s ease;
    content: "";
}
header #navigation ul.child li a:hover:before {
    background-color: #666666;
}


header #navigation ul > li.has-child:hover a:after {
    transform: scale(1,-1);
}

header #navigation ul > li.has-child:hover ul.child {
    visibility: visible;
    height: auto;
    opacity: 1;
    z-index: 1;
    padding: 0.5em 3em;
}


 /* fixed */
@keyframes nav-anime {
  0% {
    top: -100px;
  }
  100% {
    top: 0;
  }
}
header #navigation.fixed {
    position: fixed;
    top: -100px;
    left: 0;
    animation: nav-anime .8s linear .3s normal forwards;
}


/* - 1100px */
/*-----------------------------------------------------------*/
@media only screen and (max-width: 1100px) {

header #navigation ul li a {
    font-size: 2.0vw;
}
header #navigation ul.child li a {
    font-size: 1.9vw;
}



}
/* - 1100px end */



/* - 750px */
/*-----------------------------------------------------------*/
@media only screen and (max-width: 750px) {

body.fixed {
    overflow: hidden;
}

header {
    height: 14.933vw;
}
header #title {
    height: 14.933vw;
}
header h1 {
    display: none;
}
header .logo {
    right: 4.5%;
    width: 15.6vw;
    height: 6vw;
}

.menu-close {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 99;
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease;
    cursor: pointer;
    content: "";
}
.open .menu-close {
    visibility: visible;
    opacity: 1;
}

header #toggle {
    position: fixed;
    top: 2.6vw;
    left: 5.333%;
    width: 15.733vw;
    height: 10.133vw;
    background-color: #ffffff;
    padding: 3vw 2vw;
    border-radius: 1.6vw;
    transition: all .3s ease;
    cursor: pointer;
    z-index: 1001;
}
header #toggle div {
    position: absolute;
    left: 2vw;
    width: calc(100% - 4vw);
    height: 2px;
    background-color: #000000;
    margin: auto;
    transition: all .3s ease;
}
header #toggle div:nth-child(1) {top: 3vw;}
header #toggle div:nth-child(2) {top: 0;bottom: 0;}
header #toggle div:nth-child(3) {bottom: 3vw;}

/* open */
.open header #toggle {
    background-color: rgba(0,0,0,0.5);
}
.open header #toggle div {
    background-color: #ffffff;
}
.open header #toggle div:nth-of-type(1) {
    transform: translateY(1.67vw) rotate(45deg);
}
.open header #toggle div:nth-of-type(2) {
    opacity:0;
}
.open header #toggle div:nth-of-type(3) {
    transform: translateY(-1.67vw) rotate(-45deg);
}

header #navigation {
    overflow-y: auto;
    position: fixed;
    top: -14.933vw;
    left: -78%;
    width: 78%;
    height: 100vh;
    height: 100dvh;
    padding-top: 22vw;
    padding-bottom: 12vw;
    transition: all .3s ease;
}
header #navigation.fixed {
    left: -78%;
}
.open header #navigation,
.open header #navigation.fixed {
    left: 0;
}

header #navigation ul {
    flex-direction: column;
    width: 100%;
}
header #navigation ul li {
    margin-bottom: 2em;
    text-align: left;
}

header #navigation ul li a {
    padding-left: 14vw;
    line-height: 1.6;
    font-size: 4.8vw;
}
header #navigation ul li a:after {
    display: none;
}
header #navigation ul li a:hover {
    color: #ffffff;
}
header #navigation ul.child li a {
    font-size: 4.8vw;
}

header #navigation ul.child {
    top: 0;
    left: 0;
    visibility: visible;
    opacity: 1;
    position: relative;
    width: calc(100% - 13vw);
    padding: 0 0 0 13vw;
    text-align: left;
}
header #navigation ul > li.has-child:hover ul.child {
    padding: 0 0 0 13vw;
}
header #navigation ul.child li a:hover:before {
    background-color: #ffffff;
}
header #navigation ul.child li {
    padding-left: 0;
    margin-bottom: 1em;
}



}
/* - 750px end */












