/* Readable Japanese text at native scale; decorative heading faces stay intact. */
:root {
  --font: "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --section-subtitle-size: clamp(16px, 1.5vw, 18px);
  --section-subheading-size: clamp(18px, 1.8vw, 24px);
  --section-label-size: 12px;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--font); font-weight: 500; }
body #main :is(p, li, dt, dd, label, input, select, textarea, td, th, summary),
body :is(.ft2, .drawer, .hd-btn, .az-toast, .az-busy) { font-family: var(--font); }
/* Use actual font weights rather than outlining thin lettering. */
body #main :is(h1, h2, h3, h4, p, li, a, span, strong, b, small, label, button, input, select, textarea, td, th, dt, dd, summary) { text-shadow: none; -webkit-text-stroke: 0; }
body #main .hero-copy-title, body #main .hero-copy-tagline { font-family: var(--banner-font, var(--font-head)); }
body .hero-copy-title, body .adm-title, body .hd-menu { filter: none; }
/* Solid ink keeps headings legible across the pastel artwork. */
body #main .mk-head :is(h1, h2), body .hero .hero-body.mk-cta h2 { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; color: #54247c; }
body #main :is(.reference-lead, .mk-lead, .big-p) { color: #503562; font-weight: 500; }
body #safety .sf-card p { font-size: 16px; font-weight: 500; color: #35204f; }
body #flow .st-card p { font-size: 16px; font-weight: 500; color: #40324e; }
body #news .reference-card-head p { color: #75518f; }
body #news .reference-news-meta, body #news .reference-news-detail { color: #654b79; }
body :is(.reference-eyebrow, .overview-intro-label) { color: #75518f; }
body .ft2-brand p { color: #6e527f; }
body #main :is(.help, .note) { font-size: 14px; color: #65516e; }
/* Form controls use the same sharp reading face and accessible native sizing. */
body #main :is(input, select, textarea) { font-size: 16px; font-weight: 500; }
body #main input::placeholder, body #main textarea::placeholder { color: #786580; opacity: 1; }
@media (max-width: 600px) {
  body #flow .st-card p, body #safety .sf-card p { font-size: 15px; line-height: 1.85; }
}
/* Shared section titles override module-specific fonts and mobile sizes. */
body.page-home #main :is(.reference-section-head h2, .gal-head h2, .fl-head h2) {
  font-family: var(--section-title-font) !important;
  font-size: var(--section-title-size) !important;
}
/* Card subheadings share one face and scale across all homepage sections. */
body.page-home #main :is(.reference-card-head h3, .st-card h3, .duration-comparison-head h3, .sf-card h3) {
  font-family: var(--font) !important;
  font-size: var(--section-subheading-size) !important;
  font-weight: 700 !important;
}
/* Shared subtitle roles override page-specific typography at every breakpoint. */
body #main :is(.reference-lead, .mk-lead, .page-head .lead, .booking-heading .lead) {
  font-family: var(--font) !important;
  font-size: var(--section-subtitle-size) !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;
  letter-spacing: .03em !important;
}
body #main :is(.reference-eyebrow, .mk-eyebrow, .booking-eyebrow, .page-head .eyebrow, .adm-eyebrow, .reference-card-head p) {
  font-family: var(--font) !important;
  font-size: var(--section-label-size) !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  letter-spacing: .16em !important;
}

/* One heading style for every home section (トーク会のご案内 / ギャラリー / ご参加までの流れ / 通話時間のルール / 安心して…):
   a single face (Noto Sans JP), one weight, one colour, larger size; subtitles and eyebrows share one style too. */
body.page-home #main :is(#news .reference-title, #gallery .gal-head h2, #flow .fl-head h2, #rules .h-left, #safety .reference-title) {
  font-family: var(--font) !important; font-weight: 800 !important; font-size: clamp(30px, 4.4vw, 68px) !important;
  line-height: 1.3 !important; letter-spacing: .04em !important; color: #4d2380 !important;
}
body.page-home #main :is(#news .reference-lead, #gallery .gal-head .mk-lead, #rules .reference-lead, #safety .reference-lead) {
  font-family: var(--font) !important; font-weight: 500 !important; font-size: clamp(16px, 1.7vw, 22px) !important; line-height: 1.85 !important; color: #503562 !important;
}
body.page-home #main :is(#news .reference-eyebrow, #gallery .mk-eyebrow, #rules .reference-eyebrow, #safety .reference-eyebrow) {
  font-family: var(--font) !important; font-weight: 700 !important; font-size: 14px !important; letter-spacing: .18em !important;
}
