/* Brand values from the product landing page, shared by Japanese pages. */
:root {
  --site-font: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  --site-heading: #1d1d1f;
  --site-body: #4b5563;
  --site-muted: #6e6e73;
  --site-blue: #0071e3;
  --site-surface: #f5f5f7;
  --site-border: rgba(29, 29, 31, 0.1);
}
html[lang="ja"] body { font-family: var(--site-font); }
:is(.hero__header, .guide-site-header, .plans-site-header) .site-wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin: 0;
  padding: 0;
  font-family: var(--site-font);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  color: #071d45;
  text-decoration: none;
  white-space: nowrap;
}
:is(.hero__header, .guide-site-header, .plans-site-header) .site-wordmark strong {
  font-weight: 900;
  color: #2d9aff;
}
.plans-site-header + main {
  --sc-navy: var(--site-heading);
  --sc-text: var(--site-heading);
  --sc-muted: var(--site-body);
  --sc-primary: var(--site-blue);
}
.plans-site-header + main :is(h1, h2, h3) { font-weight: 800; letter-spacing: 0; }
@media (max-width: 680px) {
  :is(.hero__header, .guide-site-header, .plans-site-header) .site-wordmark { font-size: 28px; }
}
@media (max-width: 350px) {
  :is(.hero__header, .guide-site-header, .plans-site-header) .site-wordmark { font-size: 26px; }
}

/* Shared Japanese navigation: keep destinations in the same order on every page. */
.site-primary-nav {
  display: flex;
  align-items: stretch;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
  flex-shrink: 0;
  font-family: var(--site-font);
}
.site-primary-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 2px 0 0;
  border-bottom: 2px solid transparent;
  color: #42506c;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-primary-nav a[aria-current] { color: var(--site-blue); border-bottom-color: var(--site-blue); }
.site-primary-nav a:hover { color: var(--site-blue); }
.site-primary-nav a:focus-visible { outline: 2px solid var(--site-blue); outline-offset: 4px; }
html[lang="ja"].landing-refresh { --header-height: 60px; }
html[lang="ja"] .hero__header { min-height: 60px; }
html[lang="ja"] .hero__tagline { display: none; }
.plans-site-header > div { min-height: 60px; }
.plans-site-header .plans-top-return-link { display: none; }
.plans-site-header + main { padding-top: 60px; }
.site-page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  padding: 32px 24px;
  border-top: 1px solid #e2e5ea;
  color: #42506c;
  font-size: 14px;
}
.site-page-links a { color: inherit; text-decoration: none; }
.site-page-links a:hover { color: var(--site-blue); text-decoration: underline; }
@media (max-width: 899px) {
  html[lang="ja"].landing-refresh { --header-height: 104px; scroll-padding-top: 116px; }
  html[lang="ja"] .hero__header,
  .plans-site-header > div,
  .guide-site-header .header-inner {
    display: flex;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 0;
    min-height: 104px;
    padding-top: 6px;
    padding-bottom: 0;
  }
  .site-primary-nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: center;
    gap: 0;
    margin: 0;
    border-top: 1px solid #e8ebef;
  }
  .site-primary-nav a { justify-content: center; flex: 1; min-height: 44px; font-size: 13px; }
  .plans-site-header + main { padding-top: 104px; }
  .plans-site-header > div { padding-inline: 20px; }
}
