/**
 * Typography Styles
 * SOKUDAN Top Theme
 *
 * Note: Adobe Fonts (DIN 2014) is loaded via wp_enqueue_style in functions.php
 */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

h1 {
  font-size: 2.5rem;
}

/*
 * .heading-lv2 は見出しレベルと見た目を切り離すためのクラス。
 * ページの主見出しなので h1 にしたいが、見た目は h2 のままにしたい箇所で使う。
 * Bootstrap の .h2 とは別名にしている（.h2 だと Bootstrap 側の font-family/font-weight が勝つため）。
 */
h2,
.heading-lv2 {
  font-size: 2rem;
  display: table;
  margin: 0 auto 40px auto;
  padding: 0 0.25em 3px;
  width: auto;
  text-align: center;
  line-height: 1.4;
  font-weight: 700;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
}

strong, b {
  font-weight: var(--font-weight-bold);
}

small {
  font-size: 0.875rem;
}

