:root {
  --astra-frame-blue: #00bfff;
  --astra-frame-blue-hover: #00a6d6;
  --astra-frame-blue-text: #007faa;
  --astra-frame-on-blue: #071020;
  --astra-frame-ink: #0d1b2e;
  --astra-frame-footer: #071020;
  --astra-frame-font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --astra-frame-font-en: "Space Grotesk", sans-serif;
}

#pbar {
  display: none !important;
}

#astra-common-header,
#astra-common-header *,
#astra-common-footer,
#astra-common-footer * {
  box-sizing: border-box;
}

#astra-common-header {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10000 !important;
  width: 100%;
  height: 78px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(13, 27, 46, .10) !important;
  background: rgba(255, 255, 255, .88) !important;
  color: var(--astra-frame-ink);
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-family: var(--astra-frame-font);
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

#astra-common-header.is-scrolled {
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 8px 24px rgba(13, 27, 46, .08) !important;
}

.admin-bar #astra-common-header {
  top: 32px;
}

.astra-frame-header__inner {
  position: relative;
  width: 100%;
  height: 77px;
  margin: 0;
  padding: 0 clamp(20px, 5vw, 44px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.astra-frame-brand {
  min-width: 0;
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 10px;
  color: var(--astra-frame-ink) !important;
  text-decoration: none !important;
}

.astra-frame-brand__logo {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px;
  display: block;
  border: 0 !important;
  border-radius: 6px;
  object-fit: contain;
}

.astra-frame-brand__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.astra-frame-brand__name {
  overflow: hidden;
  color: var(--astra-frame-ink);
  font-family: var(--astra-frame-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.astra-frame-brand__sub {
  overflow: hidden;
  color: rgba(13, 27, 46, .45);
  font-family: var(--astra-frame-font-en);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .2em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.astra-frame-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
}

.astra-frame-nav__link {
  position: relative;
  min-height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  color: rgba(13, 27, 46, .72) !important;
  font-family: var(--astra-frame-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none !important;
  transition: color 180ms ease;
}

.astra-frame-nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--astra-frame-blue);
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.astra-frame-nav__link:hover,
.astra-frame-nav__link.is-current,
.astra-frame-nav__link[aria-current="page"] {
  color: var(--astra-frame-blue-text) !important;
}

.astra-frame-nav__link:hover::after,
.astra-frame-nav__link.is-current::after,
.astra-frame-nav__link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.astra-frame-cta {
  width: 132px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 8px;
  background: var(--astra-frame-blue) !important;
  color: var(--astra-frame-on-blue) !important;
  box-shadow: none !important;
  font-family: var(--astra-frame-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 180ms ease, transform 180ms ease;
}

.astra-frame-cta:hover {
  background: var(--astra-frame-blue-hover) !important;
  color: var(--astra-frame-on-blue) !important;
  transform: translateY(-1px);
}

.astra-frame-mobile-actions {
  display: none;
}

.astra-frame-toggle {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  display: none;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 0 !important;
  border-radius: 8px;
  background: transparent !important;
  color: var(--astra-frame-ink);
  box-shadow: none !important;
  cursor: pointer;
}

.astra-frame-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

#astra-common-header.is-menu-open .astra-frame-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#astra-common-header.is-menu-open .astra-frame-toggle span:nth-child(2) {
  opacity: 0;
}

#astra-common-header.is-menu-open .astra-frame-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

#astra-common-header :where(a, button):focus-visible,
#astra-common-footer a:focus-visible {
  outline: 2px solid var(--astra-frame-blue) !important;
  outline-offset: 3px;
}

.astra-frame-header-spacer {
  width: 100%;
  height: 78px;
}

#astra-common-footer {
  width: 100%;
  margin: 72px 0 0 !important;
  padding: 64px 0 40px !important;
  border: 0 !important;
  background: var(--astra-frame-footer) !important;
  color: rgba(230, 240, 252, .50) !important;
  box-shadow: none !important;
  font-family: var(--astra-frame-font);
  font-size: 13px !important;
  line-height: 1.9;
}

#astra-common-footer.is-front {
  margin-top: 0 !important;
}

.astra-frame-footer__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 44px);
}

.astra-frame-footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(130px, 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.astra-frame-footer__brand {
  min-width: 0;
}

#astra-common-footer .astra-frame-footer__brand,
#astra-common-footer .astra-frame-footer__column {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.astra-frame-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #eef4fc !important;
  text-decoration: none !important;
}

.astra-frame-footer__logo-shell {
  width: 30px;
  height: 30px;
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.astra-frame-footer__logo-shell img {
  width: 24px !important;
  height: 24px !important;
  display: block;
  object-fit: contain;
}

.astra-frame-footer__brand-name {
  color: #eef4fc;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}

.astra-frame-footer__tagline {
  margin: 8px 0 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  color: rgba(230, 240, 252, .40) !important;
  font-family: var(--astra-frame-font-en);
  font-size: 10px !important;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .18em;
}

.astra-frame-footer__address {
  margin: 16px 0 0 !important;
  color: rgba(230, 240, 252, .50) !important;
  font-size: 11.5px !important;
  line-height: 1.9;
}

.astra-frame-footer__column {
  min-width: 0;
}

.astra-frame-footer__heading {
  margin: 0 0 14px !important;
  color: rgba(238, 244, 252, .92) !important;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}

.astra-frame-footer__links {
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 3px;
  list-style: none !important;
}

.astra-frame-footer__links li {
  margin: 0 !important;
  padding: 0 !important;
}

#astra-common-footer .astra-frame-footer__link {
  padding: 3px 0;
  display: inline-flex;
  color: rgba(230, 240, 252, .60) !important;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 1.9;
  text-decoration: none !important;
  transition: color 180ms ease;
}

#astra-common-footer .astra-frame-footer__link:hover,
#astra-common-footer .astra-frame-footer__link.is-current,
#astra-common-footer .astra-frame-footer__link[aria-current="page"] {
  color: #fff !important;
}

.astra-frame-footer__bottom {
  margin-top: 36px;
  padding-top: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(230, 240, 252, .10);
}

.astra-frame-footer__notice,
.astra-frame-footer__copyright {
  margin: 0 !important;
  color: rgba(230, 240, 252, .42) !important;
  font-size: 11px !important;
  line-height: 1.9;
}

.astra-frame-footer__notice {
  max-width: 720px;
}

.astra-frame-footer__copyright {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 1100px) and (min-width: 961px) {
  .astra-frame-header__inner {
    gap: 18px;
  }

  .astra-frame-nav {
    gap: 18px;
  }

  .astra-frame-brand__name {
    font-size: 14px;
  }
}

@media (max-width: 960px) {
  #astra-common-header {
    height: 56px !important;
  }

  .admin-bar #astra-common-header {
    top: 32px;
  }

  .astra-frame-header__inner {
    height: 55px;
    padding: 0 20px;
    gap: 12px;
  }

  .astra-frame-brand {
    gap: 8px;
  }

  .astra-frame-brand__logo {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
  }

  .astra-frame-brand__name {
    max-width: 180px;
    font-size: 15px;
  }

  .astra-frame-brand__sub {
    display: none;
  }

  .astra-frame-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    z-index: 2;
    margin: 0;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(13, 27, 46, .10);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(18, 32, 50, .14);
    white-space: normal;
  }

  #astra-common-header.is-menu-open .astra-frame-nav {
    display: flex;
  }

  .astra-frame-nav__link {
    min-height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(13, 27, 46, .08);
    font-size: 13px;
  }

  .astra-frame-nav__link:last-child {
    border-bottom: 0;
  }

  .astra-frame-nav__link::after {
    right: 12px;
    bottom: 5px;
    left: 12px;
  }

  .astra-frame-cta--desktop {
    display: none;
  }

  .astra-frame-mobile-actions {
    margin-left: auto;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
  }

  .astra-frame-cta--mobile {
    width: 88px;
    height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .astra-frame-toggle {
    display: flex;
  }

  .astra-frame-header-spacer {
    height: 56px;
  }

  #astra-common-footer {
    margin-top: 48px !important;
  }

  #astra-common-footer.is-front {
    margin-top: 0 !important;
  }

  .astra-frame-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .astra-frame-footer__bottom {
    flex-direction: column;
    gap: 12px;
  }

  .astra-frame-footer__copyright {
    white-space: normal;
  }
}

@media (max-width: 782px) {
  .admin-bar #astra-common-header {
    top: 46px;
  }
}

@media (max-width: 410px) {
  .astra-frame-brand__name {
    max-width: 155px;
    font-size: 13.5px;
  }

  .astra-frame-mobile-actions {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #astra-common-header,
  #astra-common-header *,
  #astra-common-footer * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
