@charset "UTF-8";

.header {
  display: flex;
  width: 80%;
  height: 73px;
  margin: 0 auto;
  justify-content: space-between;
}

.contact-header {
  width: 100%;
  height: 60px;
  margin: 0;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1024px) {
  .contact-header {
    height: 70px;
  }
}

@media screen and (max-width: 639px) {
  .contact-header {
    width: 100%;
    margin: 13px auto 0;
  }
}

@media screen and (max-width: 1350px) {
  .header {
    width: 90%;
  }
}

@media screen and (max-width: 1080px) and (min-width: 890px) {
  .header {
    width: 95%;
  }
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  margin: 0;
  padding: 0;
}

nav > ul {
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
}

nav > ul > li {
  position: relative;
  width: auto;
}

nav > ul > li a {
  display: block;
  padding: 0 20px;
  line-height: 80px;
  transition: 0.4s;
}

#NavMenu ul li {
  display: inline-block;
  margin: 0 8px;
  font-size: 14px;
  font-weight: bold;
}

#NavMenu {
  z-index: 2;
  top: 0;
  text-align: center;
}

@media screen and (max-width: 890px) {
  #NavMenu.active {
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
    transition: all 0.6s;
  }
}

#button {
  display: flex;
  justify-content: center;
  align-items: center;
}

#button a {
  display: block;
  position: relative;
  top: -3px;
  width: 11rem;
  margin: 0 0.5rem;
  padding: 0.3rem 0.5rem 0.4rem;
  font-size: 1.2rem;
  font-weight: bolder;
  line-height: 1.3rem;
  text-align: center;
  color: #fff;
  background: -moz-linear-gradient(top, #ffaa00, #ff7f00);
  background: -webkit-linear-gradient(top, #ffaa00, #ff7f00);
  background: linear-gradient(to bottom, #ffaa00, #ff7f00);
  border-radius: 2vw;
  box-shadow: 0 4px 0 #cc3300;
  transition: 0.2s;
}

#button a:nth-child(2) {
  width: 13rem;

  background: -moz-linear-gradient(top, #9e9e9e, #6e6e6e);
  background: -webkit-linear-gradient(top, #9e9e9e, #6e6e6e);
  background: linear-gradient(to bottom, #9e9e9e, #6e6e6e);
  box-shadow: 0 4px 0 #3b3b3b;
}

#button a:hover {
  transform: translate3d(0, 4px, 0);
  box-shadow: none;
}

#button a img {
  display: inline-block;
  position: relative;
  top: 5px;
  width: auto;
  height: 25px;
  margin-right: 10px;
}

@media screen and (max-width: 1200px) {
  #button a {
    width: 12rem;
    font-size: 1rem;
    line-height: 1rem;
    margin: 0 8px;
    padding: 5px 0 8px;
  }

  #button a:nth-child(2) {
    width: 10rem;
  }

  #button a img {
    top: 5px;
    height: 20px;
    margin-right: 10px;
  }
}

@media screen and (max-width: 1080px) {
  #button a {
    width: 10rem;
    font-size: 14px;
    line-height: 14px;
    padding: 0 2px 6px;
  }

  #button a:nth-child(2) {
    width: 8.5rem;
  }
}

@media screen and (max-width: 980px) {
  #NavMenu ul li {
    margin: 0 4px;
  }

  #button a {
    width: 7.5rem;
    font-size: 14px;
    line-height: 12px;
    padding: 3px 0 8px;
  }

  #button a:nth-child(2) {
    width: 9rem;
  }

  #button a img {
    top: 4px;
    height: 16px;
    margin-right: 4px;
  }
}

@media screen and (min-width: 896px) {
  #mobile-button {
    display: none;
  }
}

@media screen and (max-width: 895px) {
  #button {
    display: none;
  }

  #NavMenu {
    margin-left: 0;
    position: fixed;
    left: 0;
    text-align: center;
    width: 100%;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  #NavMenu ul {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    margin-top: 72px;
    padding: 0;
  }

  #NavMenu ul li {
    font-size: 1.1em;
    font-weight: bold;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid #dcdcdc;
  }

  #NavMenu ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  #NavMenu ul li a {
    display: block;
    color: #dcdcdc;
    padding: 1em 0;
  }

  #mobile-button {
    display: flex;
    position: fixed;
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    bottom: 0;
    z-index: 999;
    justify-content: center;
  }

  #mobile-button a {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    width: 50%;
    text-align: center;
  }

  #mobile-button a:nth-of-type(1),
  #mobile-button a:nth-of-type(2) {
    border: 1px solid #77756c;
  }

  #mobile-button a {
    background-color: #fff;
  }

  #mobile-button a:last-child {
    color: #fff;
    background: -moz-linear-gradient(top, #ffaa00, #ff7f00);
    background: -webkit-linear-gradient(top, #ffaa00, #ff7f00);
    background: linear-gradient(to bottom, #ffaa00, #ff7f00);
  }

  #mobile-button img {
    display: inline-block;
    position: relative;
    width: 1.2rem;
    height: 1.2rem;
    top: 4px;
    width: auto;
    margin-right: 0.3rem;
  }
}

#Toggle {
  display: none;
  position: fixed;
  top: 13px;
  right: 13px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  background-color: #fff;
  z-index: 3;
}

@media (max-width: 450px) {
  #mobile-button a {
    font-size: 14px;
  }
}

@media (max-width: 895px) {
  #Toggle {
    display: block;
  }

  #Toggle span {
    display: block;
    position: absolute;
    width: 30px;
    border-bottom: 3px solid #464646;
    border-radius: 3px;
    -webkit-transition: 0.35s ease-in-out;
    -moz-transition: 0.35s ease-in-out;
    transition: 0.35s ease-in-out;
    left: 6px;
  }

  #Toggle span:nth-child(1) {
    top: 9px;
  }

  #Toggle span:nth-child(2) {
    top: 18px;
  }

  #Toggle span:nth-child(3) {
    top: 27px;
  }

  #Toggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  #Toggle.active span:nth-child(2),
  #Toggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
}
