/* ============================================================
   FREX ONE — Editorial emphasis
   Load after style.css and home-hero.css.
   Preserve the existing layout, body typography and main visual.
   ============================================================ */

/* Keep the contact number readable on the matte-paper header. */
.header-tel { color: var(--ink); }

/* Section labels: readable burnt orange on paper, with a quiet rule.
   The contextual selectors also override sub-page paragraph styles. */
.section-label,
.service-overview-intro__grid .section-label,
.restoration-intro__grid .section-label,
.facility-core__grid .section-label {
  --section-label-color: #a74413;
  color: var(--section-label-color);
  font-size: clamp(0.75rem, 0.95vw, 0.8125rem);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.16em;
  gap: 12px;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.section-label::before {
  width: 32px;
  height: 2px;
  background: currentColor;
  flex: 0 0 32px;
}

/* Warm, high-contrast labels on navy surfaces. */
.section-label--light,
.section--ink .section-label,
.content-section--ink .section-label,
.facility-core .section-label,
.cta-band .section-label,
.works-empty .section-label {
  --section-label-color: #ffb17b;
  color: var(--section-label-color);
}

/* Page heads use paper, even though their markup has --light. */
.page-head .section-label {
  --section-label-color: #a74413;
  color: var(--section-label-color);
}

/* The loaded Mincho 700 weight gives primary headings a clear anchor.
   No broad h1/h2/body rule: only known content headings are affected. */
.section-head__title,
.stance__title,
.page-head__title,
.cta-band__title {
  font-weight: 700;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.strength__title,
.service-list__name,
.repair__name,
.flow-step__title,
.feature-list__title,
.info-card__title,
.service-detail__title,
.work-card__title {
  font-weight: 700;
  line-height: 1.65;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.strength__title {
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  letter-spacing: 0.035em;
}

/* Supporting messages retain a softer weight than primary headings. */
.works-preview__title,
.works-empty h2,
.service-overview-intro__grid h2,
.restoration-intro__grid h2,
.facility-core__grid h2,
.service-detail-intro h2,
.service-overview-item h2,
.service-area-note h2 {
  font-weight: 600;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.company-scope__items h3,
.service-scope-grid h3,
.estimate-points h3 {
  font-weight: 700;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

/* The approach statement reads as a quotation, without a box,
   added punctuation or a change to the existing words. */
.stance__lead {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.025em;
  border-inline-start: 2px solid rgba(167, 68, 19, 0.5);
  padding-inline-start: clamp(16px, 1.8vw, 24px);
  padding-block: 0.15em;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

/* Optional inline emphasis: wrap only the meaningful short phrase.
   Underlines follow each line naturally; no nowrap or inline-block.
   Example: <span class="message-emphasis">必要な工事範囲</span> */
.message-emphasis {
  color: var(--ink);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: rgba(167, 68, 19, 0.3);
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.13em;
  text-decoration-skip-ink: auto;
}

.section--ink .message-emphasis,
.content-section--ink .message-emphasis,
.facility-core .message-emphasis,
.cta-band .message-emphasis,
.works-empty .message-emphasis {
  color: var(--on-dark);
  text-decoration-color: rgba(255, 177, 123, 0.5);
}

@media (max-width: 680px) {
  .section-label,
  .service-overview-intro__grid .section-label,
  .restoration-intro__grid .section-label,
  .facility-core__grid .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    line-height: 1.7;
    gap: 10px;
  }

  .section-label::before {
    width: 24px;
    flex-basis: 24px;
  }

  .section-head__title {
    font-size: clamp(1.55rem, 6.4vw, 1.9rem);
    line-height: 1.6;
  }

  .stance__title {
    font-size: clamp(1.65rem, 7.4vw, 1.9rem);
    line-height: 1.6;
  }

  .stance__lead {
    margin-top: 12px;
    font-size: clamp(1.125rem, 4.5vw, 1.25rem);
    line-height: 1.9;
    padding-inline-start: 16px;
  }

  .service-list__name {
    font-size: 1.0625rem;
    letter-spacing: 0.025em;
    line-height: 1.7;
  }

  .cta-band__title {
    font-size: clamp(1.6rem, 6.6vw, 1.9rem);
    line-height: 1.65;
  }
}
