@charset "utf-8";

*,
::before,
::after {
  font-size: 18px;
}

@media (max-width: 1040px) {

  *,
  ::before,
  ::after {
    font-size: 14px;
  }
}

header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  position: absolute;
  top: 0;
  position: absolute;
  left: 0;
  width: 100%;
  position: fixed;
  background-color: #9DAF88;
  box-shadow: 1px 1px 3px rgba(51, 51, 51, 0.3);
  z-index: 10;
}

@media (max-width: 1040px) {
  header {
    top: 0;
  }
}

@media (max-width: 1040px) {
  header {
    left: 0;
  }
}

@media (max-width: 1040px) {
  header {
    width: 100%;
  }
}

/** header.on {
  background-color: #9DAF88;
  box-shadow: 1px 1px 3px rgba(51, 51, 51, 0.3);
} **/

header>a {
  width: 152px;
  margin-top: 8px;
  margin-bottom: 8px;
  margin-left: 40px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1040px) {
  header>a {
    width: 88px;
  }
}

@media (max-width: 1040px) {
  header>a {
    margin-top: 4px;
  }
}

@media (max-width: 1040px) {
  header>a {
    margin-bottom: 4px;
  }
}

@media (max-width: 1040px) {
  header>a {
    margin-left: 16px;
  }
}

header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 24px;
}

header nav img {
  width: 50px;
  height: 50px;
}

@media (max-width: 1040px) {
  header nav {
    gap: 24px 24px;
  }
}

@media (max-width: 1400px) {
  header nav {
    display: none !important;
  }
}

header nav a {
  text-shadow: 1px 1px 4px #333;
}

header nav a:last-of-type {
  padding-right: 24px;
  padding-left: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #9DAF88;
}

@media (max-width: 1040px) {
  header nav a:last-of-type {
    padding-right: 0;
  }
}

@media (max-width: 1040px) {
  header nav a:last-of-type {
    padding-left: 0;
  }
}

@media (max-width: 1040px) {
  header nav a:last-of-type {
    padding-top: 0;
  }
}

@media (max-width: 1040px) {
  header nav a:last-of-type {
    padding-bottom: 0;
  }
}

header article {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 1401px) {
  header article {
    display: none !important;
  }
}

header article>a {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  line-height: 2;
  width: 112px;
  position: relative;
  background-color: #113306;
}

header article>a.line {
  /**display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  line-height: 2;
  width: 112px;
  position: relative;**/
  background-color: initial;
}

@media (max-width: 1040px) {
  header article>a {
    line-height: 2;
  }
}

@media (max-width: 1040px) {
  header article>a {
    width: 96px;
  }
}

@media (max-width: 1040px) {
  header article>a.line img {
    width: auto;
    height: 80%;
  }
}

header article>a:before {
  position: absolute;
  top: 50%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 2px;
  content: '';
  background-color: #FFF;
}

header article>a.line:before {
  /**position: absolute;
  top: 50%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 2px;**/
  content: '';
  background-color: initial;
}

@media (max-width: 1040px) {
  header article>a:before {
    top: 50%;
  }
}

@media (max-width: 1040px) {
  header article>a:before {
    left: 50%;
  }
}

@media (max-width: 1040px) {
  header article>a:before {
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 1040px) {
  header article>a:before {
    width: 56px;
  }
}

@media (max-width: 1040px) {
  header article>a:before {
    height: 1px;
  }
}

header article button {
  width: 88px;
  height: 88px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1040px) {
  header article button {
    width: 72px;
  }
}

@media (max-width: 1040px) {
  header article button {
    height: 72px;
  }
}

header article button span {
  width: 56px;
  height: 2px;
  transform-origin: left;
  background-color: #FFF;
}

@media (max-width: 1040px) {
  header article button span {
    width: 32px;
  }
}

@media (max-width: 1040px) {
  header article button span {
    height: 1px;
  }
}

header article button span:first-of-type {
  position: absolute;
  top: 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1040px) {
  header article button span:first-of-type {
    top: 24px;
  }
}

@media (max-width: 1040px) {
  header article button span:first-of-type {
    left: 50%;
  }
}

@media (max-width: 1040px) {
  header article button span:first-of-type {
    transform: translateX(-50%);
  }
}

header article button span:nth-of-type(2) {
  position: absolute;
  top: 50%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 1040px) {
  header article button span:nth-of-type(2) {
    top: 50%;
  }
}

@media (max-width: 1040px) {
  header article button span:nth-of-type(2) {
    left: 50%;
  }
}

@media (max-width: 1040px) {
  header article button span:nth-of-type(2) {
    transform: translate(-50%, -50%);
  }
}

header article button span:last-of-type {
  position: absolute;
  bottom: 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1040px) {
  header article button span:last-of-type {
    bottom: 24px;
  }
}

@media (max-width: 1040px) {
  header article button span:last-of-type {
    left: 50%;
  }
}

@media (max-width: 1040px) {
  header article button span:last-of-type {
    transform: translateX(-50%);
  }
}

header article button span.on {
  position: absolute;
  top: 50%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 1040px) {
  header article button span.on {
    top: 50%;
  }
}

@media (max-width: 1040px) {
  header article button span.on {
    left: 50%;
  }
}

@media (max-width: 1040px) {
  header article button span.on {
    transform: translate(-50%, -50%);
  }
}

header article button span.on:first-of-type {
  transform: rotate(45deg) translateX(-50%) !important;
}

header article button span.on:nth-of-type(2) {
  opacity: 0;
}

header article button span.on:last-of-type {
  transform: rotate(-45deg) translateX(-50%) !important;
}

header article div {
  position: absolute;
  top: 0;
  position: absolute;
  right: -100%;
  width: 100vw;
  height: 100vh;
  padding-right: 40px;
  padding-left: 40px;
  padding-top: 160px;
  padding-bottom: 48px;
  position: fixed !important;
  background-color: #113306;
  overflow-y: scroll;
  transition-duration: .3s;
}

@media (max-width: 1040px) {
  header article div {
    top: 0;
  }
}

@media (max-width: 1040px) {
  header article div {
    right: -100%;
  }
}

@media (max-width: 1040px) {
  header article div {
    width: 100vw;
  }
}

@media (max-width: 1040px) {
  header article div {
    height: 100vh;
  }
}

@media (max-width: 1040px) {
  header article div {
    padding-right: 16px;
  }
}

@media (max-width: 1040px) {
  header article div {
    padding-left: 16px;
  }
}

@media (max-width: 1040px) {
  header article div {
    padding-top: 120px;
  }
}

@media (max-width: 1040px) {
  header article div {
    padding-bottom: 24px;
  }
}

header article div.on {
  position: absolute;
  right: 0;
}

@media (max-width: 1040px) {
  header article div.on {
    right: 0;
  }
}

header article div a {
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 24px;
  display: block;
  border-bottom: #FFF solid 1px;
}

@media (max-width: 1040px) {
  header article div a {
    padding-top: 16px;
  }
}

@media (max-width: 1040px) {
  header article div a {
    padding-bottom: 16px;
  }
}

@media (max-width: 1040px) {
  header article div a {
    padding-left: 16px;
  }
}
