:root {
  --site-shell-navy: #1e3a5f;
  --site-shell-gold: #c08010;
  --site-shell-cream: #faf8f3;
  --site-shell-cream-strong: #f0e8d8;
  --site-shell-text: #334155;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

.site-header,
.site-header *,
.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--site-shell-cream-strong);
  background: var(--site-shell-cream);
  color: var(--site-shell-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: normal;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 10px 44px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  color: var(--site-shell-navy);
  text-decoration: none;
}

.site-brand img {
  width: auto;
  height: 37px;
  flex: 0 0 auto;
  margin: 0;
}

.site-brand-name {
  color: var(--site-shell-navy);
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  white-space: nowrap;
}

.site-desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.site-nav-link,
.site-nav-toggle,
.site-nav-cta {
  border: 0;
  color: var(--site-shell-text);
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav-link,
.site-nav-toggle {
  background: transparent;
  padding: 4px 0;
}

.site-nav-toggle {
  cursor: pointer;
}

.site-nav-toggle span {
  display: inline-block;
  font-size: .65em;
  transition: transform .15s ease;
}

.site-nav-toggle[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.site-nav-cta {
  border-radius: 9999px;
  background: var(--site-shell-navy);
  color: #fff;
  font-weight: 700;
  padding: 11px 24px;
}

.site-nav-link:hover,
.site-nav-link:focus-visible,
.site-nav-toggle:hover,
.site-nav-toggle:focus-visible {
  color: var(--site-shell-gold);
}

.site-nav-cta:hover,
.site-nav-cta:focus-visible {
  background: #173251;
  color: #fff;
}

.site-nav-link[aria-current="page"],
.site-nav-toggle[aria-current="page"],
.site-nav-dropdown[aria-current="page"] > .site-nav-toggle {
  border-radius: 9999px;
  background: rgba(192, 128, 16, .1);
  box-shadow: 0 0 0 5px rgba(192, 128, 16, .1);
  color: var(--site-shell-navy);
}

.site-nav-cta[aria-current="page"] {
  box-shadow: 0 0 0 3px rgba(192, 128, 16, .45);
}

.site-nav-dropdown {
  position: relative;
}

.site-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  display: none;
  min-width: 170px;
  overflow: hidden;
  border: 1px solid var(--site-shell-cream-strong);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(30, 58, 95, .12);
  padding: 7px 0;
}

.site-nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--site-shell-text);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav-dropdown-menu a:hover,
.site-nav-dropdown-menu a:focus-visible {
  background: var(--site-shell-cream);
  color: var(--site-shell-gold);
}

.site-nav-dropdown:hover .site-nav-dropdown-menu,
.site-nav-dropdown:focus-within .site-nav-dropdown-menu,
.site-nav-dropdown-menu.is-open {
  display: block;
}

.site-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--site-shell-navy);
  cursor: pointer;
  padding: 10px;
}

.site-menu-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.site-mobile-menu {
  display: none;
}

.site-brand:focus-visible,
.site-nav-link:focus-visible,
.site-nav-toggle:focus-visible,
.site-nav-cta:focus-visible,
.site-menu-button:focus-visible,
.site-mobile-link:focus-visible,
.site-mobile-summary:focus-visible,
.site-mobile-cta:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(192, 128, 16, .55);
  outline-offset: 3px;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--site-shell-cream-strong);
  background: #f5eedf;
  color: #64748b;
  font-family: "Noto Sans JP", sans-serif;
  padding: 14px 44px;
  gap: 12px 24px;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer-brand img {
  width: auto;
  height: 30px;
}

.site-footer-brand span {
  color: var(--site-shell-navy);
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.site-footer-links a {
  color: var(--site-shell-navy);
  font-size: 11px;
  text-decoration: underline;
}

.site-footer-copyright {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .site-header-inner {
    padding-inline: 28px;
  }

  .site-desktop-nav {
    gap: 16px;
  }

  .site-nav-link,
  .site-nav-toggle,
  .site-nav-cta {
    font-size: 12px;
  }

  .site-nav-cta {
    padding-inline: 16px;
  }
}

@media (min-width: 981px) {
  .site-header-inner {
    height: 45px;
    min-height: 45px;
    padding: 6px 44px;
  }

  .site-brand {
    gap: 5px;
  }

  .site-brand img {
    height: 29px;
  }

  .site-brand-name {
    font-size: 12px;
  }

  .site-desktop-nav {
    gap: 21px;
  }

  .site-nav-link,
  .site-nav-toggle,
  .site-nav-cta,
  .site-nav-dropdown-menu a {
    font-size: 10.4px;
  }

  .site-nav-cta {
    padding: 9px 19px;
  }
}

@media (max-width: 980px) {
  .site-desktop-nav {
    display: none;
  }

  .site-header-inner {
    min-height: 64px;
    padding: 10px 20px;
  }

  .site-header.site-shell-ready .site-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-mobile-menu {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    border-top: 1px solid var(--site-shell-cream-strong);
    background: var(--site-shell-cream);
    padding: 12px 20px 20px;
  }

  .site-header.site-shell-ready .site-mobile-menu:not(.is-open) {
    display: none;
  }

  .site-mobile-link,
  .site-mobile-summary,
  .site-mobile-cta {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--site-shell-text);
    font-size: 14px;
    line-height: 1.5;
    padding: 10px 4px;
    text-decoration: none;
  }

  .site-mobile-group {
    border-top: 1px solid var(--site-shell-cream-strong);
  }

  .site-mobile-summary {
    cursor: pointer;
    list-style: none;
  }

  .site-mobile-summary::-webkit-details-marker {
    display: none;
  }

  .site-mobile-summary::after {
    float: right;
    color: #94a3b8;
    content: "＋";
  }

  .site-mobile-group[open] > .site-mobile-summary::after {
    content: "−";
  }

  .site-mobile-submenu {
    display: flex;
    flex-direction: column;
    padding: 0 0 7px 16px;
  }

  .site-mobile-submenu .site-mobile-link {
    color: #64748b;
    font-size: 13px;
    padding-block: 7px;
  }

  .site-mobile-cta {
    border-radius: 9999px;
    background: var(--site-shell-navy);
    color: #fff;
    font-weight: 700;
    margin: 8px 0;
    padding: 12px 18px;
    text-align: center;
  }

  .site-mobile-link[aria-current="page"],
  .site-mobile-group[aria-current="page"] > .site-mobile-summary {
    border-radius: 8px;
    background: rgba(192, 128, 16, .1);
    color: var(--site-shell-navy);
  }

  .site-mobile-cta[aria-current="page"] {
    box-shadow: 0 0 0 3px rgba(192, 128, 16, .45);
  }

  .site-mobile-contact {
    text-align: center;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }
}

@media (max-width: 400px) {
  .site-header-inner {
    padding-inline: 16px;
  }

  .site-brand {
    gap: 6px;
  }

  .site-brand img {
    height: 34px;
  }

  .site-brand-name {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .site-footer * {
    transition-duration: .01ms !important;
  }
}
