* {
  box-sizing: border-box;
}

:root {
  --nav-height: 6vh;
/*  --nav-background: #ccc;*/
  --nav-background: #00B0F0;
}

nav {
  display: flex;
  margin-top: 2%;
  padding: 0;
  width: 100%;
  align-items: center;
}

/* nav-links */

.nav-links {
  display: flex;
  height: var(--nav-height);
  align-items: center;
  justify-content: space-around;
  flex: 0 1 100%;
  margin: 0 auto;
  padding: 0;
}

.nav-links li {
  list-style: none;
  width: 100%;
  margin: 0;
  height: var(--nav-height);
  line-height: var(--nav-height);
  text-align: center;
}

.nav-links li a {
  display: block;
  width: 100%;
  text-decoration: none;
  color: rgb(99, 99, 99);
  position: relative;
  border-top: 5px solid #ccc;
  background-color: #fff;
}

.current {
  border-top: 5px solid var(--nav-background)!important;
}

.nav-links li a.hover {
  color: #0089BB;
  background: #FBFBDD;
  border-top: 5px solid #F8E750;
  transition: 0.1s linear;
}

/* menu */

.menu {
  position: fixed;
  top: 5%;
  left: 92%;

  cursor: pointer;
/*  background: var(--nav-background);*/
  border: none;
  outline: none;
  display: none;
}

.fixed {
  position: fixed;
  top: 5%;
  left: 92%;
}

.menu .bar {
  width: 20px;
  height: 2px;
  background: #000;
  border-radius: 5px;
  opacity: 1;
  visibility: visible;
  transition: 0.5s ease;
  transform-origin: left;
}

.menu .bar1 {
  margin-bottom: 5px;
}

.menu .bar3 {
  margin-top: 5px;
}

.menu.toggle .bar1 {
  transform-origin: left;
  transform: rotate(45deg);
}

.menu.toggle .bar2 {
  opacity: 0;
  visibility: hidden;
}

.menu.toggle .bar3 {
  transform-origin: left;
  transform: rotate(-45deg);
}

/* responsive */

@media screen and (max-width: 900px) {

  .kikantop {
    font-size:1em;
  }

  .nav-links {
    flex-direction: column;
    justify-content: start;
    position: fixed;
    top: 0;
    left: 100%;
    width: 50%;
    height: 100%;
    background: #eee;
    margin-top: calc(var(--nav-height) * 1.5);
    transition: 0.5s ease-out;
    z-index: 2;
  }

  .nav-links li {
    height: var(--nav-height);
    line-height: var(--nav-height);
    text-align: center;
    width: 100%;
    min-height: 10%;
    display: block;
  }

  .nav-links li a {
    height: 100%;
  }

  .menu {
    display: block;
    margin-left: auto;
    margin-right: 4%;
  }

  .menu.toggle + .nav-links {
    transform: translateX(-100%);
  }

  @media screen and (orientation: landscape) {
    .nav-links {
      margin-top: 10%;
    }
  }

}

/*パンくず*/
.breadcrumb {
  width: 100%;
  margin-top: 0;
  padding-left: 5%;
  background: transparent;
  font-size: 0.9em;
}

.breadcrumb li+li::before {
  content: ">";
  margin-left: 0.7em;
  margin-right: 0.7em;
}


