#spheader {
  display: none;
}

#spmenu {
  display: none;
}

#pcheader {
  position: fixed;

  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: #ffffd6;
}

#pcheader > .left {
  display: flex;
  align-items: center;
}

#pcheader > .left > .logo {
  height: 40px;
  width: 160px;
  background-image: url("../img/title.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 10px;
}

#pcheader > .left > .logo > h1 {
  display: none;
}

#pcheader > .left > .pagenav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 10px;
}

#pcheader > .left > .pagenav > a {
  text-decoration: none;
  color: black;
  margin: 0 10px;
}

#pcheader > .right {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

#pcheader > .right > .contact {
  background-color: #ff4040;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  text-decoration: none;
}

#pcheader > .right > .contact:hover {
  background-color: #ff6666;
}

/* TAB・SP */
@media screen and (max-width: 860px) {
  #pcheader{
    display: none;
  }

  #spheader {
    position: fixed;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffd6;
  }

  #spheader > .logo {
    height: 40px;
    width: 160px;
    background-image: url("../img/title.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 10px;
  }

  #spheader > .logo > h1 {
    display: none;
  }

  #spheader > #hamburger {
    margin-top: 5px;
    margin-right: 25px;
  }

  #spheader > #hamburger > .btn {
    display: none;
  }

  #spheader > #hamburger > .menu-icon {
    display: block;
    font-size: 2em;
  }

  #spmenu.active {
    position: fixed;
    top: 70px;
    height: calc(100vh - 70px);
    width: 100vw;
    background-color: #ffffd6;

    padding: 50px 0;

    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  #spmenu.active > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-size: 1.5em;
    color: black;
    text-decoration: none;

    padding: 10px 0;
  }
}