@charset "utf-8";
/* CSS Document */
nav {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  margin-top: 40px;
}
nav ul {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}
nav ul li {
  width: 25%;
  height: auto;
  float: left;
  display: block;
  padding: 0px 20px;
  position: relative;
}
nav ul li a {
  width: 100%;
  height: auto;
  display: block;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  overflow: hidden;
  z-index: 1;
  color: #fff;
  font-size: 0.99em;
}
@media only screen and (min-width: 881px) {
  nav ul li a {
    background-color: rgba(167, 1, 49, 1);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  }
}
nav ul li a span {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  position: relative;
  padding: 5px 0px;
  line-height: 1;
  z-index: 2;
}
@media only screen and (min-width: 881px) {
  nav ul li a span {
    background-color: rgba(167, 1, 49, 1);
  }
}
nav ul li ul {
  display: none;
}
nav ul li .flyout {
  width: 100%;
  float: left;
  padding: 0 20px;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 0px;
  padding-bottom: 5px;
}
@media only screen and (min-width: 881px) {
  nav ul li .flyout::after {
    content: url("../img/small1.png");
    width: 100%;
    float: left;
    display: block;
    height: 215px;
    margin-top: 20px;
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
  }
}
nav ul li .flyout ul {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  overflow: hidden;
  padding-bottom: 20px;
}
@media only screen and (min-width: 881px) {
  nav ul li .flyout ul {
    background-color: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding-top: 40px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding-bottom: 20px;
  }
  nav ul li.active .flyout ul {
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  }
}
nav ul li ul li {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  position: relative;
}
nav ul li ul li a {
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  -moz-box-shadow: 0 0 0px rgba(0, 0, 0, 0);
  -webkit-box-shadow: 0 0 0px rgba(0, 0, 0, 0);
  box-shadow: 0 0 0px rgba(0, 0, 0, 0);
  background: none;
  float: left;
  color: #222;
  text-align: left;
  font-size: 0.95em;
  font-weight: 400;
  padding: 5px 10px;
  line-height: 1.4;
}
nav ul li ul li a:hover {
  color: rgba(167, 1, 49, 1);
}
.navi-toggle {
  display: none;
  width: 36px;
  height: auto;
  float: right;
  position: relative;
}
.navi-toggle .mbtn {}
.navi-toggle span {
  display: block;
  width: 100%;
  border-radius: 3px;
  height: 3px;
  background: #A70131;
  transition: all .3s;
  position: relative;
}
.navi-toggle span + span {
  margin-top: 8px;
}
.navi-toggle .active span:nth-child(1) {
  animation: ease .7s top forwards;
}
.navi-toggle .not-active span:nth-child(1) {
  animation: ease .7s top-2 forwards;
}
.navi-toggle .active span:nth-child(2) {
  animation: ease .7s scaled forwards;
}
.navi-toggle .not-active span:nth-child(2) {
  animation: ease .7s scaled-2 forwards;
}
.navi-toggle .active span:nth-child(3) {
  animation: ease .7s bottom forwards;
}
.navi-toggle .not-active span:nth-child(3) {
  animation: ease .7s bottom-2 forwards;
}
@keyframes top {
  0% {
    top: 0;
    transform: rotate(0);
  }
  50% {
    top: 22px;
    transform: rotate(0);
  }
  100% {
    top: 22px;
    transform: rotate(45deg);
  }
}
@keyframes top-2 {
  0% {
    top: 22px;
    transform: rotate(45deg);
  }
  50% {
    top: 22px;
    transform: rotate(0deg);
  }
  100% {
    top: 0;
    transform: rotate(0deg);
  }
}
@keyframes bottom {
  0% {
    bottom: 0;
    transform: rotate(0);
  }
  50% {
    bottom: 22px;
    transform: rotate(0);
  }
  100% {
    bottom: 0px;
    transform: rotate(135deg);
  }
}
@keyframes bottom-2 {
  0% {
    bottom: 22px;
    transform: rotate(135deg);
  }
  50% {
    bottom: 22px;
    transform: rotate(0);
  }
  100% {
    bottom: 0;
    transform: rotate(0);
  }
}
@keyframes scaled {
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes scaled-2 {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@media only screen and (max-width: 880px) {
  .logo {
    z-index: 3;
    position: relative;
  }
  .navi-toggle {
    display: block;
    z-index: 3;
  }
  .top-inner-layer {
    width: 100%;
    height: 100%;
    float: left;
    display: block;
    position: absolute;
    background-color: #fff;
    left: 0px;
    top: 0px;
    z-index: 2;
  }
  nav {
    position: fixed;
    top: 0px;
    left: -100%;
    height: 100%;
    width: 100%;
    z-index: 1;
    display: block;
    background-color: rgba(167, 1, 49, 0.90);
    margin: 0;
    padding: 0;
    padding: 60px 30px;
  }
  nav.active {
    left: 0px;
    overflow-y: scroll;
    padding-bottom: 40px;
  }
  nav ul {
    width: 100%;
    height: auto;
    float: left;
    padding: 0;
    margin: 0;
  }
  nav ul li {
    padding: 0;
    width: 100%;
    height: auto;
    float: left;
    background-color: none;
    text-align: left;
    padding-bottom: 12px;
    padding-top: 12px;
  }
  nav ul li a {
    width: 100%;
    height: auto;
    float: left;
    display: block;
    text-align: left;
    font-size: 1.5em;
  }
  nav ul li a span {
    width: 100%;
    height: auto;
    float: left;
    display: block;
  }
  nav ul li .flyout {
    width: 100%;
    height: auto;
    float: left;
    display: block;
    position: static;
    top: inherit;
    left: inherit;
    right: inherit;
    bottom: inherit;
    margin: 0;
    padding: 0;
  }
  nav ul li .flyout ul {
    width: 100%;
    height: auto;
    float: left;
    display: block;
    padding: 0;
    margin: 0;
    padding-bottom: 20px;
  }
  nav ul li .flyout ul li {
    width: 100%;
    height: auto;
    float: left;
    display: block;
    padding: 5px 0px 5px 10px;
  }
  nav ul li .flyout ul li a {
    width: 100%;
    height: auto;
    float: left;
    margin: 0;
    padding: 5px 0px;
    font-size: 1em;
    color: #fff;
    font-weight: 600;
  }
}