




@layer site-base, site-adjustments, site-shared, site-overrides, site-typography;
@layer site-typography {
  :root {
    --text-body: 17px;
    --text-table: 17px;
    --text-compact: 15px;
    --text-section: 32px;
    --text-section-en: 64px;
    --text-subsection: 24px;
    --text-section-label: 20px;
    --leading-body: 1.9;
    --leading-heading: 1.5;
  }
  @media (min-width: 769px) and (max-width: 1024px) {
    :root {
      --text-body: 16px;
      --text-table: 15px;
      --text-compact: 14px;
      --text-section: 28px;
      --text-section-en: 48px;
      --text-subsection: 21px;
      --text-section-label: 17px;
    }
  }
  @media (max-width: 768px) {
    :root {
      --text-body: 15px;
      --text-table: 14px;
      --text-compact: 13px;
      --text-section: 24px;
      --text-section-en: 36px;
      --text-subsection: 18px;
      --text-section-label: 15px;
    }
  }
  main .site-text,
  main .legal-content :is(p, li),
  main .cp-history li > span {
    font-size: var(--text-body);
    line-height: var(--leading-body);
  }
  main .type-section {
    font-size: var(--text-section);
    line-height: var(--leading-heading);
  }
  main .type-section-en {
    font-size: var(--text-section-en);
    line-height: 1.15;
  }
  main .type-section-en > small {
    font-size: var(--text-section-label);
    line-height: 1.5;
  }
  main .type-subsection {
    font-size: var(--text-subsection);
    line-height: var(--leading-heading);
  }
  main table :is(th, td),
  main .rc-dorm__amenities {
    font-size: var(--text-table);
    line-height: 1.8;
  }
  main .rc-jobtable__list {
    font-size: inherit;
    line-height: inherit;
  }
   
  main :is(.rc-data__card, .rc-paper) .site-text,
  main .sf-crosstalk__lead {
    font-size: var(--text-compact);
    line-height: 1.8;
  }
  main .rc-data__card h3 {
    font-size: var(--text-compact);
  }
  @media (max-width: 1024px) {
    main .rc-jumpnav__grid h3 {
      font-size: 16px;
    }
    main .bd-vehicles table :is(th, td) {
      font-size: 13px;
    }
    main .bd-vehicles table th {
      font-size: 12px;
    }
    main .rc-migration-top .type-subsection {
      font-size: 13px;
    }
  }
   
  main :is(.flow-bubble, .fact-cloud) {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
  }
}
