html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-wrap: break-word;
}

.brand-name { white-space: nowrap; }
.skip-link:focus { background: white; color: var(--ink); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 104px;
  background: var(--asphalt);
  border-color: var(--border-color);
}
.site-nav .nav-inner {
  width: min(100% - 80px, 1360px);
  min-height: 104px;
  margin: auto;
  padding: 0;
}
.site-nav .nav-logo {
  width: 136px;
  height: auto;
  padding: 4px 0;
}
.site-nav .nav-logo img {
  display: block;
  width: 136px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  transform: none;
  filter: none;
}
.site-nav .nav-links { gap: 28px; }
.site-nav .nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
}
.site-nav .nav-links a:hover,
.site-nav .nav-links a.active { color: var(--text-primary); }
.site-nav .nav-links .lang {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  gap: 10px;
}
.site-nav .nav-cta {
  min-height: 38px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: var(--red);
  color: var(--text-primary) !important;
  box-shadow: none;
  font-weight: 600 !important;
}

.page-container {
  width: min(100% - 80px, 1360px);
  margin: auto;
  padding: 76px 0 96px;
}
.page-container::before {
  content: "HELP & SUPPORT";
  display: block;
  padding-bottom: 18px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--rule);
  color: var(--accent-text);
  font: 500 12px var(--font-kicker);
  letter-spacing: .12em;
}
html[lang="ja"] .page-container::before { content: "ヘルプ・サポート"; }
.page-title {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.page-subtitle {
  max-width: 680px;
  margin: 0 0 64px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
  text-wrap: pretty;
}
.help-grid {
  counter-reset: help-topic;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  border-bottom: 1px solid var(--rule);
}
.help-card {
  display: block;
  counter-increment: help-topic;
  position: relative;
  min-height: 190px;
  padding: 30px 64px 34px 58px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .15s ease;
}
.help-card:nth-child(odd) { border-right: 1px solid var(--rule); }
.help-card::before {
  content: counter(help-topic, decimal-leading-zero);
  position: absolute;
  top: 34px;
  left: 0;
  color: var(--accent-text);
  font: 500 12px var(--font-kicker);
}
a.help-card::after {
  content: "→";
  position: absolute;
  right: 24px;
  top: 31px;
  color: var(--red);
  font-size: 25px;
}
.help-card:hover {
  background: var(--surface-2);
  border-color: var(--rule);
  transform: none;
}
.help-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}
.help-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.help-card p {
  max-width: 500px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
  text-wrap: pretty;
}
.help-card-contact {
  background: var(--paper-muted);
  border-color: var(--rule);
}
.help-card-contact .mail {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent-text);
  font-weight: 600;
  text-underline-offset: 4px;
}

.footer-cta {
  padding: 72px 24px;
  background: var(--asphalt);
  border-color: var(--border-color);
}
.footer-cta::before { display: none; }
.footer-cta-sub {
  margin-bottom: 26px;
  color: var(--text-secondary);
  font-size: 17px;
}
.footer-cta-lockup { margin-bottom: 30px; }
.footer-cta-lockup img {
  display: block;
  width: 180px;
  height: auto;
  margin: auto;
  transform: none;
  filter: none;
}
.btn { border-radius: var(--radius-sm); box-shadow: none; }
.btn-red { background: var(--red); }
.btn-ghost { border-color: var(--text-tertiary); color: var(--text-primary); }
.btn-ghost:hover { background: var(--bg-secondary); color: var(--text-primary); }
footer { background: var(--asphalt); }
footer .footer-copy { color: var(--text-secondary); }
footer .footer-copy span { color: var(--text-primary); }
footer a { color: var(--text-secondary); }
footer a:hover { color: var(--accent-text); }

html[lang="ja"] body {
  font-family: var(--font-sans);
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
}
html[lang="ja"] .page-title {
  font-family: inherit;
  font-size: clamp(40px, 5.2vw, 70px);
  line-height: 1.35;
  letter-spacing: -.03em;
}
html[lang="ja"] :is(.page-subtitle, .help-card p) { line-height: 1.9; }
@supports (word-break: auto-phrase) {
  html[lang="ja"] body { word-break: auto-phrase; }
}

@media (max-width: 760px) {
  .site-nav { min-height: 84px; }
  .site-nav .nav-inner { width: min(100% - 40px, 1360px); min-height: 84px; }
  .site-nav .nav-logo,
  .site-nav .nav-logo img { width: 104px; }
  .site-nav .nav-links { gap: 0; }
  .page-container { width: min(100% - 48px, 1360px); padding: 54px 0 68px; }
  .page-container::before { margin-bottom: 30px; }
  .page-title { font-size: clamp(42px, 13vw, 60px); }
  html[lang="ja"] .page-title { font-size: clamp(34px, 10vw, 48px); }
  .page-subtitle { margin-bottom: 46px; font-size: 17px; }
  .help-grid { grid-template-columns: 1fr; }
  .help-card { min-height: 0; padding: 26px 48px 30px 44px; }
  .help-card:nth-child(odd) { border-right: 0; }
  .help-card::before { top: 30px; }
  a.help-card::after { right: 12px; top: 25px; }
  .help-card p { font-size: 15px; }
  .footer-cta { padding: 58px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
