/* Section typography and spacing, scoped to avoid card titles and body copy. */
:root { --mrg-section-kicker-size: 15px; --mrg-section-title-size: 28px; --mrg-section-kicker-gap: 12px; --mrg-section-body-gap: 20px; }
/* English section labels */
.md-about-card > .md-label, .md-theme > .md-label,
.md-feature > .md-label, .md-how > .md-label,
.prize-section .kicker, .guidelines-section .kicker,
.faq-section .kicker, .entry-section .kicker {
  font-family: "a-otf-gothic-mb101-pr6n", "A-OTF Gothic MB101 Pr6N", sans-serif !important;
  font-size: var(--mrg-section-kicker-size) !important;
  line-height: 1.35 !important;
  letter-spacing: .12em !important;
  margin-top: 0 !important;
  margin-bottom: var(--mrg-section-kicker-gap) !important;
}
/* Japanese section headings */
.md-about-card > h2:not(.md-brush), .md-theme > h2,
.md-feature > h2, .md-how > h2, .md-gallery > h2,
.guidelines-section .section-title, .faq-section .section-title,
.entry-section .entry-inner h2 {
  font-family: "heisei-kaku-gothic-std", "平成角ゴシック Std", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif !important;
  font-size: var(--mrg-section-title-size) !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: .015em !important;
  margin-top: 0 !important;
  margin-bottom: var(--mrg-section-body-gap) !important;
}
/* First paragraph / content immediately after headings */
.md-about-card > h2 + .md-about-lead,
.md-theme > h2 + .md-theme-copy,
.md-how > h2 + .md-intro,
.md-gallery > h2 + p,
.entry-section .entry-inner h2 + p { margin-top: 0 !important; }
.md-feature > h2 + .md-grid, .md-how > h2 + .md-steps,
.guidelines-section .section-title + .guidelines,
.faq-section .section-title + .faq-list { margin-top: 0 !important; }
/* PRIZE uses a large amount in its heading: preserve its display styling. */
.prize-section .prize-total { margin-top: 0 !important; }
/* Gallery has no English label; use same title-to-copy rhythm. */
@media (max-width: 380px) {
 :root { --mrg-section-title-size: 25px; }
}
