@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --nav-height: 75px;
  --nav-item-height: 75px;
  --nav-logo-height: 74px;
  --nav-background: rbga(45,45,45,.8);
  --nav-item-background: rbga(45,45,45,.8);
}

nav {
  display: flex;
  padding: 0;
  align-items: center;
  width: 100%;
  height: var(--nav-height);
  background: var(--nav-background);
  border-bottom: 1px solid black;
}

nav img {
  display: inline-block;
  height: var(--nav-logo-height);
}

.header_navi ul {
  list-style-type: none;
  padding-left: 0;
}

.header_navi li {
  display: inline-block;
}

.logo {
}

.logo h1 {
  font-size: 26px;
  font-weight: 600;
  font-family: 'M PLUS 1p', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.logo h1 a {
  text-decoration: none;
  color: black;
  position: relative;
  display: flex;
  -weblit-align-items: center;
  align-items: center;
}

/* nav-links */

.nav-links {
  display: flex;
  height: var(--nav-height);
  align-items: center;
  margin-left: auto;
  font-size: 12px;
}

.nav-links li {
  list-style: none;
  margin: 0 15px;
  height: var(--nav-height);
  line-height: var(--nav-height);
  text-align: center;
}

.nav-links li a {
  text-decoration: none;
  color: rgb(99, 99, 99);
  position: relative;
}

/* items */

.items {
  position: fixed:
  cursor: pointer;
  background: var(--nav-item-background);
  border: none;
  outline: none;
  display: none;
}
.items {
  position: fixed;
  right: 10px;
  top: 10px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: rgba(170, 170, 170, 0.9);
  border-color: rgba(170, 170, 170, 0.9);
  z-index: 999;
}
.items .bar {
  width: 20px;
  height: 2px;
  background: #000;
  border-radius: 5px;
  opacity: 1;
  visibility: visible;
  transition: 0.5s ease;
  transform-origin: left;
}

.items .bar1 {
  margin-bottom: 5px;
}

.items .bar3 {
  margin-top: 5px;
}

.items.toggle .bar1 {
  transform-origin: left;
  transform: rotate(45deg);
}

.items.toggle .bar2 {
  opacity: 0;
  visibility: hidden;
}

.items.toggle .bar3 {
  transform-origin: left;
  transform: rotate(-45deg);
}

/*----------------------------------ここからタブレットの記述-----------*/
@media (min-width: 751px) and (max-width: 1024px) {
}

/*----------------------------------ここからスマホの記述-----------*/
@media (max-width: 750px) {

:root {
  --nav-item-height: 60px;
  --nav-item-background: rgba(170, 170, 170, 0.9);

}

.logo h1 {
  font-size: 20px;
}
.nav-links {
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 100%;
  width: 200px;
  height: 100%;
  background: var(--nav-background);
  margin-top: var(--nav-height);
  transition: 0.5s ease-out;
}

.nav-links li {
  height: var(--nav-item-height);
  line-height: var(--nav-item-height);
  text-align: center;
  width: 100%;
  display: block;
  background: var(--nav-item-background);
}

.items {
  display: block;
  margin-left: auto;
}

.items.toggle + .nav-links {
  transform: translateX(-100%);
}

}
