:root {
  --minato-bg: #f9f8f6;
  --minato-paper: #fff;
  --minato-ink: #333;
  --minato-muted: #6b7280;
  --minato-line: rgba(74, 108, 111, .16);
  --minato-brand: #4a6c6f;
  --minato-brand-soft: #e8eeee;
}

minato-site-header,
minato-site-footer {
  display: block;
}

minato-site-header {
  height: 64px;
  margin-bottom: 36px;
  will-change: auto !important;
}

.minato-shell-nav {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(249, 248, 246, .5);
  border: 0;
  border-radius: 46px;
  box-shadow: inset 0 0 0 1px rgba(74, 108, 111, .12);
  display: flex;
  height: 64px;
  justify-content: space-between;
  left: 50%;
  margin: 0;
  padding: 8px 8px 8px 32px;
  position: fixed;
  top: 24px;
  transform: translateX(-50%);
  width: min(1100px, calc(100vw - 80px));
  z-index: 20;
}

.minato-shell-brand {
  align-items: center;
  color: var(--minato-brand);
  display: inline-flex;
  font-family: "Google Sans Flex Variable", "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: "GRAD" 0, "ROND" 100, "opsz" 6, "slnt" 0, "wdth" 100, "wght" 300;
  letter-spacing: .9px;
  line-height: 28px;
  min-height: 28px;
  text-decoration: none;
}

.minato-shell-links {
  align-items: center;
  display: flex;
  gap: 0;
}

.minato-shell-links a {
  align-items: center;
  border-radius: 999px;
  color: var(--minato-brand);
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  min-height: 46px;
  padding: 16px;
  text-decoration: none;
}

.minato-shell-links a:hover {
  background: var(--minato-brand-soft);
}

.minato-shell-links a[data-mobile-primary="true"] {
  background: var(--minato-brand);
  color: #fff;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  justify-content: center;
  line-height: 24px;
  min-height: 48px;
  min-width: 160px;
  margin-left: 10px;
  padding: 12px 24px 12px 20px;
}

.minato-shell-links a[data-mobile-primary="true"] img {
  filter: brightness(0) invert(1);
  height: 18px;
  width: 18px;
}

.minato-shell-links a[data-mobile-primary="true"]:hover {
  background: #3f5f62;
}

.minato-shell-links a[aria-current="page"] {
  background: var(--minato-brand);
  color: #fff;
  font-weight: 700;
}

.minato-shell-links a[data-mobile-primary="true"][aria-current="page"] {
  font-weight: 500;
}

.minato-shell-footer {
  background: rgba(74, 108, 111, .9);
  border-radius: 48px;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  line-height: normal;
  left: 50%;
  margin: 0;
  overflow: hidden;
  padding: 65px 24px 33px;
  position: relative;
  transform: translateX(-50%);
  width: min(1232px, calc(100vw - 48px));
}

.minato-shell-watermark {
  bottom: 0;
  color: #fff;
  font-family: "Google Sans Flex Variable", sans-serif;
  font-size: 159.19px;
  font-weight: 300;
  font-variation-settings: "GRAD" 0, "ROND" 100, "opsz" 6, "slnt" 0, "wdth" 100, "wght" 300;
  height: 170px;
  left: 50%;
  letter-spacing: .9px;
  line-height: 159.19px;
  opacity: .025;
  pointer-events: none;
  position: absolute;
  transform: none;
  width: 1232px;
  white-space: nowrap;
}

.minato-shell-footer-main {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 274px minmax(260px, 1fr) 280px;
  min-height: 138px;
  position: relative;
  z-index: 1;
}

.minato-shell-footer-brand strong {
  color: #fff;
  display: block;
  font-family: "Google Sans Flex Variable", "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: "GRAD" 0, "ROND" 100, "opsz" 6, "slnt" 0, "wdth" 100, "wght" 300;
  letter-spacing: .9px;
  line-height: 28px;
  margin-bottom: 24px;
}

.minato-shell-footer-brand p {
  line-height: 160%;
  margin: 0;
}

.minato-shell-footer-menu {
  display: grid;
  gap: 8px;
}

.minato-shell-footer-menu span {
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  margin: 0;
}

.minato-shell-footer-menu ul {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.minato-shell-footer-menu li::marker {
  content: none;
}

.minato-shell-footer-menu li {
  position: relative;
}

.minato-shell-footer-menu li::before {
  background: rgba(255, 255, 255, .3);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 15px;
  width: 6px;
}

.minato-shell-footer-menu li a {
  font-size: 14px;
  line-height: 20px;
  min-height: 36px;
  padding: 8px 0 8px 12px;
}

.minato-shell-footer-cta {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 500;
  gap: 8px;
  justify-content: center;
  font-size: 16px;
  line-height: 24px;
  min-height: 56px;
  padding: 16px 32px;
  text-decoration: none;
}

.minato-shell-footer-cta img {
  display: none;
}

.minato-shell-footer .minato-shell-footer-cta {
  height: 56px;
  min-height: 56px;
  padding-bottom: 0;
  padding-top: 0;
}

.minato-shell-footer-cta:hover {
  background: rgba(255, 255, 255, .1);
}

.minato-shell-footer-bottom {
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 119px 20px;
  height: 52px;
  margin-top: 48px;
  padding-top: 32px;
  position: relative;
  z-index: 1;
}

.minato-shell-footer nav,
.minato-shell-social {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.minato-shell-footer .minato-shell-footer-menu {
  display: grid;
  gap: 8px;
}

.minato-shell-footer a {
  align-items: center;
  color: inherit;
  display: inline-flex;
  min-height: 44px;
  text-decoration: none;
}

.minato-shell-footer-bottom nav a {
  height: 26px;
  min-height: 26px;
  padding: 5px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.minato-shell-footer-bottom > span {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 17px;
  margin-top: 0;
}

.minato-shell-footer-bottom nav {
  align-items: center;
  flex-wrap: nowrap;
  height: 20px;
  transform: translateY(-1px);
}

.minato-shell-footer a[aria-current="page"] {
  color: #fff;
  font-weight: 700;
}

.minato-shell-footer .minato-shell-footer-cta[aria-current="page"] {
  font-weight: 500;
}

.minato-shell-social {
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: center;
  transform: translateY(-1px);
  width: 20px;
}

.minato-shell-social span {
  align-items: center;
  border: 0;
  display: inline-flex;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.minato-shell-social img {
  filter: invert(1);
  height: 20px;
  opacity: .7;
  width: 20px;
}

@media (max-width: 820px) {
  minato-site-header {
    height: 64px;
    margin-bottom: 30px;
  }

  .minato-shell-nav {
    gap: 10px;
    padding: 8px 8px 8px 20px;
    top: 24px;
    width: calc(100vw - 32px);
  }

  .minato-shell-brand {
    font-size: 20px;
    letter-spacing: .9px;
  }

  .minato-shell-links {
    margin-left: auto;
  }

  .minato-shell-links a {
    font-size: 13px;
    padding: 10px 14px;
    white-space: nowrap;
  }

  .minato-shell-links a:not([data-mobile-primary="true"]) {
    display: none;
  }

  .minato-shell-links a[data-mobile-primary="true"] {
    font-size: 0;
    gap: 0;
    min-width: 48px;
    padding: 0;
    width: 48px;
  }

  .minato-shell-footer {
    border-radius: 48px;
    left: 50%;
    margin: 0;
    padding: 65px 24px 33px;
    width: calc(100vw - 48px);
  }

  .minato-shell-footer-main {
    gap: 24px;
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }

  .minato-shell-footer-cta {
    margin-top: 16px;
    min-height: 56px;
    width: 100%;
  }

  .minato-shell-footer-bottom {
    display: block;
    height: 133px;
    margin-top: 48px;
    padding-top: 0;
    position: relative;
    text-align: center;
  }

  .minato-shell-footer-bottom nav,
  .minato-shell-social {
    justify-content: center;
  }

  .minato-shell-footer-bottom nav {
    left: 0;
    order: 1;
    position: absolute;
    top: 31px;
    transform: none;
    width: 100%;
  }

  .minato-shell-social {
    left: 50%;
    order: 2;
    position: absolute;
    top: 71px;
    transform: translateX(-50%);
  }

  .minato-shell-footer-bottom > span {
    left: 0;
    margin-top: 0;
    order: 3;
    position: absolute;
    top: 115px;
    width: 100%;
  }

  .minato-shell-watermark {
    display: none;
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .minato-shell-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .minato-shell-footer-cta {
    grid-column: 1 / -1;
    max-width: 420px;
  }
}
