*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #22304f;
  font-family: "Zen Kaku Gothic New", "Inter", sans-serif;
  line-height: 1.8;
}

img {
  max-width: 100%;
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #dbe6f5;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

nav > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 32px 4px 0;
}

nav > div:first-child > a {
  display: flex;
  align-items: center;
}

nav > div:first-child > a img {
  width: auto;
  height: 112px;
  margin-left: 24px;
}

nav .hidden {
  display: flex;
  align-items: center;
  gap: 16px;
}

nav button {
  display: none;
}

nav > div:last-child {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0a1f44, #c9a86c, #0a1f44);
}

main {
  width: min(100%, 800px);
}

main p,
main li,
main dd,
main td,
main th {
  line-height: 1.8;
}

main a {
  text-underline-offset: 0.15em;
}

footer a:hover {
  color: #fff !important;
}

@media (max-width: 767px) {
  nav > div:first-child {
    gap: 12px;
    padding-right: 12px;
  }

  nav > div:first-child > a img {
    height: 64px;
    margin-left: 12px;
  }

  nav .hidden {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 12px !important;
  }

  nav .hidden > span {
    gap: 0 !important;
  }

  nav .hidden > span > span {
    display: none !important;
  }

  nav .hidden a {
    font-size: 11px !important;
  }

  main {
    padding-top: 36px !important;
  }

  .c-nap .flex-col {
    display: block !important;
  }

  .c-nap .flex-col > div:first-child {
    border-right: 0 !important;
    border-bottom: 1px solid #dbe6f5;
  }

  footer [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}
