.global-site-header {
  display: flex;
  width: 100%;
  padding: 2.25rem 3rem 1.75rem;
  align-items: center;
  justify-content: space-between;
}

.global-site-logo {
  display: block;
  width: min(260px, 34vw);
  flex: 0 0 auto;
}

.global-site-logo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.global-site-nav {
  margin-left: 2.5rem;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.global-menu-toggle {
  display: none;
}

.global-site-nav ul {
  display: flex;
  gap: 0.35rem 1.8rem;
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  list-style: none;
  align-items: center;
}

.global-site-nav li {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  float: none;
}

.global-site-nav a,
.global-site-nav a:visited {
  position: relative;
  top: auto;
  left: auto;
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0.45rem 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #8f8c86;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(242, 238, 230, 0.16);
  text-transform: none;
  white-space: nowrap;
}

.global-site-nav a:hover,
.global-site-nav a:focus-visible,
.global-site-nav a[aria-current="page"] {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #f2eee6;
  text-shadow: 0 0 12px rgba(242, 238, 230, 0.36);
}

.global-site-nav a[aria-current="page"]::before {
  position: absolute;
  top: 50%;
  left: -0.8rem;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #f2eee6;
  content: "";
  transform: translateY(-50%);
}

@media (max-width: 800px) {
  .global-site-header {
    padding: 1.6rem 2rem 1.25rem;
  }

  .global-site-logo {
    width: min(250px, 68vw);
  }

}

@media (max-width: 700px) {
  .global-site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1.3rem 1.1rem 1rem;
    align-items: center;
  }

  .global-site-logo {
    width: min(230px, 68vw);
  }

  .global-menu-toggle {
    position: relative;
    display: grid;
    grid-template-columns: 18px auto;
    grid-template-rows: repeat(3, 5px);
    min-width: 72px;
    height: 44px;
    margin: 0;
    padding: 0 0.8rem;
    border: 1px solid rgba(242, 238, 230, 0.22);
    border-radius: 999px;
    outline: 0;
    background: rgba(17, 19, 23, 0.72);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    column-gap: 9px;
  }

  .global-menu-toggle::after {
    color: #f2eee6;
    content: "MENU";
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    grid-column: 2;
    grid-row: 1 / 4;
  }

  .global-menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: #d7d3cc;
    box-shadow: 0 0 8px rgba(242, 238, 230, 0.24);
    transition: transform 180ms ease, opacity 180ms ease;
    grid-column: 1;
  }

  .global-menu-toggle span:nth-child(1) {
    grid-row: 1;
  }

  .global-menu-toggle span:nth-child(2) {
    grid-row: 2;
  }

  .global-menu-toggle span:nth-child(3) {
    grid-row: 3;
  }

  .global-site-header.menu-open .global-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .global-site-header.menu-open .global-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .global-site-header.menu-open .global-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .global-site-nav {
    display: none;
    grid-column: 1 / -1;
    margin: 1rem 0 0;
  }

  .global-site-header.menu-open .global-site-nav {
    display: block;
  }

  .global-site-nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .global-site-nav a {
    min-height: 48px;
    padding: 0.7rem 0;
    font-size: 0.95rem;
    align-content: center;
  }

  .global-site-nav a[aria-current="page"]::before {
    left: -0.7rem;
  }
}
