@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;
}

.sp-only {
  display: block !important;
}

.pc-only {
  display: none !important;
}

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

  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1000;
}

@media (max-width: 768px) {
  .header-nav {
    position: absolute;
    inset: auto;
  }
}

.header-nav-panel {
  position: relative;
}

.header-nav-spbar {
  position: relative;
  z-index: 1001;
  display: flex !important;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}

.header-nav-spbar-brand,
.header-nav-spbar-menu {
  pointer-events: auto;
}

.header-nav-spbar-menu .gnav-menu {
  margin: 0;
}

.header-nav-spbar-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1002;
}

.header-nav-spbar-brand {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  gap: 1rem;
}

.header-nav-spbar-logo {
  display: block;
  width: 3rem;
}

.header-nav-spbar-brand .gnav-copy {
  font-size: 0.75rem;
}

.header-nav-spbar-brand .gnav-logo {
  display: block;
  width: 100%;
  height: auto;
}

.header-nav-spbar-menu .gnav-menu {
  margin: 0;
}

.header-nav-spbar-menu .gnav-menu-toggle {
  width: auto;
  padding: 0.5rem 0.6rem;
  background: #fff;
}

.header-nav-spbar-menu .gnav-menu-toggle,
.header-nav-menu-close .gnav-menu-toggle {
  gap: 0.8rem;
}

.header-nav-spbar-menu .gnav-menu-label,
.header-nav-menu-close .gnav-menu-label {
  margin: 0 0 0.8rem;
  font-size: 0.7rem;
}

.header-nav-spbar-menu .gnav-menu-icon,
.header-nav-menu-close .gnav-menu-icon {
  width: 2.55rem;
  height: 1.6rem;
}

.header-nav-spbar-menu .gnav-menu-line:nth-child(2),
.header-nav-menu-close .gnav-menu-line:nth-child(2) {
  top: 0.7rem;
}

.header-nav-spbar-menu .gnav-menu-line:nth-child(3),
.header-nav-menu-close .gnav-menu-line:nth-child(3) {
  top: 1.4rem;
}

.gnav {
  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: 1rem;
}

.gnav-copy-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.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;
  display: inline-block;
  max-height: 100%;
  flex: 0 0 auto;
}

.gnav-logo {
  display: block;
  width: 3.5rem;
  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: 100%;
  min-width: 0;
  height: 100vh;
  background: #fff;
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 700ms ease-out,
    visibility 700ms ease-out;
  pointer-events: none;
}

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

.header-nav-menu-close {
  --gnav-text: #000;
  --gnav-line: #000;
  --gnav-bg: #fff;
  --gnav-icon: 1.75rem;

  position: fixed;
  top: 0;
  right: 0;
  z-index: 1200;
}

.header-nav-menu-close .gnav-menu {
  margin: 0;
}

.header-nav-menu-close .gnav-menu-toggle {
  width: auto;
  padding: 0.5rem 0.6rem;
  background: #fff;
}

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

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

.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: 0.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;
  color: #000;
  transition: 0.3s;
}

.header-nav-action:hover .header-nav-action-text {
  color: #c9a063;
}
.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);
}

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

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

.header-nav-menu.is-open .header-nav-menu-close .gnav-menu-line:nth-child(3) {
  top: 0.7rem;
  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);
}

.header-nav-sp-brand {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
}

.header-nav-sp-brand .gnav-copy {
  margin: 0 auto 1rem;
  font-size: 0.875rem;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-align: left;
}

.header-nav-sp-brand .gnav-logo {
  width: 3.75rem;
  margin: 0 auto;
}

.header-nav-sp-sns {
  width: fit-content;
  margin: 0 auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
}

.header-nav-sp-sns .gnav-sns-link {
  width: 1.875rem;
  height: 1.875rem;
}

@media (min-width: 769px) {
  body {
    padding-left: var(--gnav-width);
  }

  .sp-only {
    display: none !important;
  }

  .pc-only {
    display: block !important;
  }

  .header-nav-spbar {
    display: none !important;
  }

  .header-nav-menu {
    max-width: calc(100vw - var(--gnav-width));
    min-width: 42rem;
    left: var(--gnav-width);
  }

  .header-nav-menu-close {
    display: none !important;
  }

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

  .header-nav-sp-brand {
    margin: 0;
  }

  .header-nav-sp-sns {
    margin: 0;
    display: none !important;
  }
}
