/* Shared header identity; page content and navigation keep their own styles. */
.site-header .brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  min-width: 0;
  color: #111318;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", sans-serif;
  text-decoration: none;
}

.site-header .brand-character {
  width: 78px;
  height: auto;
  aspect-ratio: 84 / 80;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-header .brand-copy,
.site-header .brand-name,
.site-header .brand-line {
  display: block;
  white-space: nowrap;
}

.site-header .brand-line {
  margin: 0;
  color: #111318;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.site-header .brand-name {
  color: #ff5a1f;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

/* Keep the guide header below its existing section-anchor clearance. */
@media (max-width: 1120px) {
  .guide-page .header-inner { gap: 12px; }
  .guide-page .site-header .brand-character { width: 54px; }
  .guide-page .site-header .brand-line { font-size: 12px; }
  .guide-page .site-header .brand-name { font-size: 29px; }
}

@media (max-width: 820px) {
  .site-header .brand-character { width: 54px; }
  .site-header .brand-line { font-size: 12px; }
  .site-header .brand-name { font-size: 29px; }
}
