/* TOP section headings: Japanese first, English beneath, one shared size. */
.reference-treatment {
  --section-title-size: 28px;
  --section-title-english-size: 14px;
  --section-title-gap: 12px;
}
#medical-intro .card-heading > .section-title,
.reference-treatment > .reference-wrapper > .section-title {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: var(--section-title-gap);
  width: 100%;
  font-size: var(--section-title-size);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.6px;
  text-align: center;
}
#medical-intro .card-heading > .section-title { margin: 0; }
.reference-treatment .section-title > .jp {
  display: block;
  margin: 0;
  font: inherit;
  text-align: center;
}
#medical-intro .section-title > .en,
.reference-treatment > .reference-wrapper > .section-title > .en {
  display: block;
  margin: 0;
  font-size: var(--section-title-english-size);
  font-weight: 400;
  line-height: 1.5;
  color: #4c776a;
  text-align: center;
}
/* Retained source text formatting, moved out of the HTML style attributes. */
.reference-main .legacy-text-large { font-size: large; }
.reference-main .legacy-text-x-small { font-size: x-small; }
@media (max-width: 640px) {
  .reference-treatment {
    --section-title-size: 20px;
    --section-title-english-size: 12px;
    --section-title-gap: 9px;
  }
}
