@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

:root {
  --font-inter: "Inter", sans-serif;
  --font-zen-kaku: "Zen Kaku Gothic New", sans-serif;
  --gnav-width: 6.0625rem;
}

body {
  color: #000;
}

.header-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1000;
}

.gnav {
  --gnav-text: #000;
  --gnav-line: #000;
  --gnav-bg: #fff;
  --gnav-icon: 1.75rem;

  width: var(--gnav-width);
  min-height: 100vh;
  margin: 0;
  background: var(--gnav-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 0 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.gnav > [class*="col-"] {
  width: 100%;
  max-width: none;
  flex: 0 0 auto;
  padding: 0;
}

.gnav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.gnav-copy {
  margin: 0;
  color: var(--gnav-text);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.gnav-logo {
  display: block;
  width: 3rem;
  height: auto;
}

.gnav-menu {
  margin: auto 0;
  display: flex;
  justify-content: center;
}

.gnav-menu-button {
  text-align: center;
}

.gnav-menu-toggle {
  width: 100%;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
}

.gnav-menu-label {
  margin: 0 0 1rem;
  color: var(--gnav-text);
  font-family: var(--font-inter);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.gnav-menu-icon {
  position: relative;
  width: 3.1875rem;
  height: 2rem;
}

.gnav-menu-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gnav-line);
  transition:
    transform 320ms ease-out,
    opacity 320ms ease-out,
    top 320ms ease-out;
}

.gnav-menu-line:nth-child(1) {
  top: 0;
}

.gnav-menu-line:nth-child(2) {
  top: 0.875rem;
}

.gnav-menu-line:nth-child(3) {
  top: 1.75rem;
}

.gnav-links {
  display: flex;
  justify-content: center;
}

.gnav-sns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.gnav-sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--gnav-icon);
  height: var(--gnav-icon);
}

.gnav-sns-icon {
  display: block;
  width: 100%;
  height: auto;
}

.header-nav-menu {
  font-family: var(--font-zen-kaku);
  width: 44rem;
  max-width: calc(100vw - var(--gnav-width));
  min-width: 42rem;
  min-height: 100vh;
  background: #fff;
  position: fixed;
  z-index: 100;
  top: 0;
  left: var(--gnav-width);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 700ms ease-out,
    visibility 700ms ease-out;
  pointer-events: none;
}

.header-nav-menu-inner {
  min-height: 100vh;
  padding: 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.header-nav-links {
  width: 100%;
  max-width: 33rem;
}

.header-nav-links-row {
  margin-bottom: 0.75rem;
}

.header-nav-links-row:last-child {
  margin-bottom: 0;
}

.header-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  min-height: 3.25rem;
  white-space: nowrap;
  color: #000;
  transition: .3s;
}

.header-nav-link::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1px;
  background: #777;
  flex: 0 0 auto;
}

.header-nav-link:hover {
  text-decoration: none;
  color: #c9a063;
}

.header-nav-link p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.header-nav-actions {
  width: 100%;
  max-width: 22rem;
}

.header-nav-actions-row {
  margin: 0 auto;
}

.header-nav-action {
  width: 10rem;
  min-height: 7.5rem;
  padding: 1rem;
  border: 1px solid #c9a063;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.header-nav-action-icon {
  width: 1.5rem;
  height: auto;
}

.header-nav-action-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

.header-nav-access {
  width: 100%;
  max-width: 24rem;
  text-align: center;
}

.header-nav-access-icon-wrap {
  width: 0.875rem;
  margin: 0 auto 1rem;
}

.header-nav-access-icon {
  width: 100%;
  height: auto;
}

.header-nav-address,
.header-nav-station {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.header-nav-address {
  margin-bottom: 0.5rem;
}

.header-nav.is-open + .header-nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.layout-fixed .header-nav + .header-nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-nav.is-open .gnav-menu-line:nth-child(1) {
  top: 0.875rem;
  transform: rotate(45deg);
}

.header-nav.is-open .gnav-menu-line:nth-child(2) {
  opacity: 0;
}

.header-nav.is-open .gnav-menu-line:nth-child(3) {
  top: 0.875rem;
  transform: rotate(-45deg);
}

body.layout-fixed .header-nav .gnav-menu-line:nth-child(1) {
  top: 0.875rem;
  transform: rotate(45deg);
}

body.layout-fixed .header-nav .gnav-menu-line:nth-child(2) {
  opacity: 0;
}

body.layout-fixed .header-nav .gnav-menu-line:nth-child(3) {
  top: 0.875rem;
  transform: rotate(-45deg);
}
