@charset "UTF-8";

/* CSS Document */
nav {
  width: 100%;
  position: fixed;
  z-index: 98;
  padding-top: 10px;
}

nav .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 1em 1em;
}

nav .sp_toggle {
  z-index: 99;
  cursor: pointer;
}

nav .sp_toggle span {
  position: relative;
  display: block;
  height: 2px;
  width: 24px;
  background: rgba(1, 1, 1, 0.6);
  -webkit-transition: ease 0.3s;
  transition: ease 0.3s;
}

nav .sp_toggle:hover span {
  background: #1134af;
}

.sp_toggle span:nth-child(1) {
  top: 0;
}

.sp_toggle span:nth-child(2) {
  margin: 7px 0;
}

.sp_toggle span:nth-child(3) {
  top: 0;
}

.sp_toggle.open span:nth-child(1) {
  top: 9px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.sp_toggle.open span:nth-child(2) {
  -webkit-transform: translateX(20%);
  transform: translateX(20%);
  opacity: 0;
}

.sp_toggle.open span:nth-child(3) {
  top: -9px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

nav .menu ul li {
  padding: 1em 1.2em;
  border-bottom: 1px solid #ccc;
}

nav .menu ul li:first-child {
  border-top: 1px solid #ccc;
}

nav .menu ul li a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #111;
  font-size: 15px;
  line-height: 20px;
}

.pagetop {
  position: fixed;
  bottom: 0;
  right: 0;
  font-size: 0.9em;
}

.pagetop a {
  background: rgba(107, 107, 121, 0.5);
  text-decoration: none;
  color: #fff;
  padding: 0.6em 1.5em;
  text-align: center;
  display: block;
  transition: 0.2s;
}

.pagetop a:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  color: #666;
  opacity: 0.6;
  transition: 0.2s;
}

@media screen and (min-width: 736.1px) {
  nav {
    display: flex;
    position: fixed;
  }

  nav .show {
    background-color: #666;
  }

  nav .logo {
    margin-right: auto;
  }

  nav .logo h1 {
    max-width: 250px;
    margin: -4px 10px 0;
  }

  nav .sp_toggle {
    display: none;
  }

  nav .menu {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    margin-right: 1em;
    display: block;
  }

  nav .menu ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }

  nav .menu ul li {
    padding: 0 0 0 min(1.5vw, 30px);
    border-bottom: none;
    background-color: inherit;
  }

  nav .menu ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column-reverse nowrap;
    transition: 0.3s;
    color: #111;
    opacity: 0.9;
  }

  nav .menu ul li a:hover {
    color: #3f2dab;
    transition: 0.3s;
    -webkit-filter: drop-shadow(0 0 4px #adffff);
    filter: drop-shadow(0 0 4px #adffff);
  }

  nav .menu ul li:first-child {
    border: none;
  }

  nav .menu ul li a img {
    height: 32px;
    width: auto;
    margin: 0;
    transition: 0.3s;
    filter: opacity(70%);
  }

  nav .menu ul li.header_jd a img {
    height: 22px;
    width: auto;
    transition: 0.3s;
    filter: opacity(100%);
    margin: 5px 0;
  }

  nav .menu ul li a:hover img {
    filter: grayscale(0);
    transform: scale(1.1);
    transition: 0.3s;
  }

  footer {
    background: #f4f4f4;
    font-size: 90%;
  }

  footer .footer_inner {
    margin: 0 auto;
    padding: 50px 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1120px;
    text-align: left;
  }

  .footer_inner div:nth-child(1) {
    width: 45%;
    margin-right: 5%;
    text-align: center;
    font-size: 1.1em;
  }

  .footer_inner div:nth-child(2) {
    width: 50%;
  }

  .footer_inner div:nth-child(1) img {
    max-width: 360px;
  }

  .footer_inner div:nth-child(2) p:nth-child(1) {
    margin: 0 0 12px 0;
    font-size: 120%;
  }

  .footer_inner div:nth-child(2) p:nth-child(4) {
    margin: 14px 0 0 0;
    font-size: 0.9em;
  }
}

@media screen and (max-width: 736px) {
  nav .logo h1 {
    max-width: 35%;
    min-width: 210px;
    z-index: 11;
  }

  nav .menu.open {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    transition: ease 0.3s;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    height: 110vh;
    position: relative;
    top: -10vh;
  }

  nav .menu ul {
    position: relative;
    top: 10vh;
  }

  nav .menu {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: ease 0.3s;
    transition: ease 0.3s;
    display: none;
    z-index: 1;
  }

  nav .menu ul li a img {
    width: 8vw;
    height: auto;
    margin: 0 1em;
    filter: opacity(80%);
  }

  nav .menu ul li.header_jd a img {
    width: 20vw;
    height: auto;
    margin: 0.8em 1em;
    filter: opacity(90%);
  }

  footer {
    background: #f4f4f4;
    font-size: 90%;
  }

  footer .footer_inner {
    margin: 0 auto;
    padding: 30px 12px 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
  }

  .footer_inner div:nth-child(1) {
    width: 100%;
    text-align: center;
    margin-bottom: 18px;
  }

  .footer_inner div:nth-child(2) {
    width: 100%;
    text-align: center;
  }

  .footer_inner div:nth-child(1) img {
    max-width: 210px;
  }

  .footer_inner div:nth-child(2) p:nth-child(1) {
    margin: 0 0 6px 0;
    font-size: 116%;
  }

  .footer_inner div:nth-child(2) p:nth-child(4) {
    margin: 14px 0 0 0;
    font-size: 0.8em;
  }
}
@media screen and (min-width: 736.1px) and (max-width: 920px) {
  nav .menu ul li a span {
    font-size: 1.3vw;
  }
}
