/* Unified section heads + CTAs (baseline: ご支援実績 / lp-value-btn) */
.lp-page {
  --ra-cta: #f97316;
  --ra-cta-hover: #ea580c;
  --ra-heading: #0f172a;
  --ra-body: #64748b;
  --ra-text: #334155;
}

/* Force custom section titles onto cases baseline */
.ra-about .lp-section-head,
.ra-recommend .lp-section-head,
.ra-features .lp-section-head,
.ra-func .lp-section-head,
.ra-flow .lp-section-head,
.download .lp-section-head {
  text-align: center;
  margin: 0 auto 48px;
}

.ra-about .lp-section-heading,
.ra-recommend .lp-section-heading,
.ra-features .lp-section-heading,
.ra-func .lp-section-heading,
.ra-flow .lp-section-heading,
.download .lp-section-heading,
.ra-recommend__heading,
.ra-features__heading,
.ra-func__heading,
.ra-flow h2,
.ra-about__heading {
  letter-spacing: -0.02em;
  color: var(--ra-heading);
  margin: 0 0 14px;
  font-size: clamp(31px, 3.5vw, 48px) !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  font-family: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif !important;
  background: none !important;
  text-align: center;
}

.ra-about .lp-section-sub,
.ra-recommend .lp-section-sub,
.ra-features .lp-section-sub,
.ra-func .lp-section-sub,
.ra-flow .lp-section-sub,
.download .lp-section-sub,
.ra-recommend__sub,
.ra-func__caption,
.ra-about__body,
.ra-about__lead,
.ra-features__text,
.ra-func__desc,
.ra-recommend__solution,
.lp-bridge .lazy-form__lead,
.lp-bridge .form-note,
.p-download .copy,
.download .lead {
  color: var(--ra-body);
  font-size: clamp(16px, 1.5vw, 18px) !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
}

/* keep problem cards readable on colored backgrounds */
.ra-recommend__problem {
  font-size: clamp(16px, 1.5vw, 18px) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.ra-about__lead {
  color: var(--ra-heading) !important;
  font-size: clamp(20px, 2.2vw, 28px) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  margin: 0 0 20px;
}
.ra-about__lead .ra-about__em {
  color: var(--ra-cta);
}

.ra-func__en {
  display: none !important;
}
.ra-func__heading .marker,
.ra-func__heading span {
  background: none !important;
  display: inline !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

/* Accent bar already from lp.css; ensure orange-friendly optional */
.lp-section-accent {
  background: linear-gradient(90deg, #f97316 0%, #fb923c 100%) !important;
  box-shadow: 0 2px 12px rgba(249, 115, 22, 0.35) !important;
}

/* Body text in feature/func/recommend cards */
.ra-features__title {
  font-size: clamp(22px, 2.2vw, 28px) !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}
.ra-func__title {
  font-size: clamp(22px, 2.2vw, 28px) !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}
.ra-recommend__solution {
  color: var(--ra-heading) !important;
  font-size: clamp(18px, 1.8vw, 22px) !important;
  font-weight: 800 !important;
}

/* ===== CTA unify to lp-value-btn ===== */
.lp-value-btn,
.lp-form-btn,
.lp-floating-cta,
.lp-header-cta,
.ra-about__cta,
.ra-recommend__cta-btn,
.ra-features__btn,
.ra-features__cta,
.lp-bridge .-btn,
.lp-bridge .lazy-form .submit-btn,
.lp-value-btn--block {
  color: #fff !important;
  background: #f97316 !important;
  border: 0 !important;
  border-radius: 9999px !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 18px 40px !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2) !important;
  transition: background 0.15s, box-shadow 0.15s !important;
  box-sizing: border-box;
  max-width: none;
  width: auto;
  height: auto;
  min-height: 0;
  position: relative;
  overflow: visible;
}
.lp-value-btn:hover,
.lp-form-btn:hover,
.lp-floating-cta:hover,
.lp-header-cta:hover,
.ra-about__cta:hover,
.ra-features__cta:hover,
.lp-bridge .-btn:hover,
.lp-bridge .lazy-form .submit-btn:hover,
.lp-value-btn--block:hover {
  background: #ea580c !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25) !important;
  transform: none !important;
  filter: none !important;
}

/* kill decorative CTA arrows / ::before overlays from TP / LazyBz */
.ra-features__btn::before,
.ra-features__btn::after,
.ra-features__cta::before,
.ra-features__cta::after,
.lp-bridge .-btn::before,
.lp-bridge .-btn::after,
.lp-bridge .-btn .arw,
.lp-bridge .-btn .arw::before,
.lp-bridge .-btn .arw::after {
  display: none !important;
  content: none !important;
}

.lp-header-cta {
  padding: 12px 22px !important;
  font-size: 15px !important;
}
.lp-floating-cta {
  width: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  min-width: min(420px, calc(100% - 24px));
  padding: 16px 28px !important;
  font-size: 17px !important;
}
.lp-floating-cta:hover {
  transform: translateX(-50%) !important;
}
.lp-form-btn,
.lp-value-btn--block,
.lp-bridge .lazy-form .submit-btn {
  width: 100% !important;
}
.lp-bridge .-btn .label {
  color: #fff !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

/* neutralize recommend.css global CTA overrides that fight unify */
.lp-page .lp-header-cta,
.lp-page .lp-value-btn,
.lp-page .lp-floating-cta,
.lp-page .lp-form-btn {
  background-image: none !important;
}
.ra-features .lp-section-head {
  margin-bottom: 40px;
}
.ra-about .lp-section-head {
  max-width: 1180px;
  width: 94%;
}
.ra-flow .lp-section-head {
  margin-bottom: 56px;
}
.ra-flow h2.lp-section-heading {
  margin-bottom: 14px;
}

/* neutralize old heading margins that fight unify */
.ra-recommend__heading,
.ra-features__heading,
.ra-func__heading {
  margin: 0 !important;
}

/* ===== Hero FV background: TalentPalette geometry × Roasync cool tone ===== */
.lp-hero {
  position: relative;
  isolation: isolate;
  background-color: #1e3a5f !important;
  background-image:
    linear-gradient(
      105deg,
      rgba(248, 250, 252, 0.92) 0%,
      rgba(241, 245, 249, 0.78) 34%,
      rgba(226, 232, 240, 0.28) 58%,
      rgba(30, 58, 95, 0.18) 100%
    ),
    url("../bg_fv.png") !important;
  background-position: center center, center center !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat !important;
  border-bottom: none !important;
}
.lp-hero::before {
  content: none;
}
.lp-hero > * {
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .lp-hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(248, 250, 252, 0.94) 0%,
        rgba(241, 245, 249, 0.82) 42%,
        rgba(226, 232, 240, 0.45) 100%
      ),
      url("../bg_fv_sp.png") !important;
    background-position: center center, center top !important;
  }
}

/* Keep key compounds from mid-word wrapping */
.u-nowrap {
  white-space: nowrap;
}

/* SP: break lines at phrase boundaries (manual .br-sp / .br-pc) */
.br-sp {
  display: none;
}
.br-pc {
  display: inline;
}
@media (max-width: 768px) {
  .br-sp {
    display: inline;
  }
  .br-pc {
    display: none;
  }

  /* Prefer natural Japanese wrapping over forced mid-phrase breaks */
  .lp-page {
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .lp-section-heading,
  .ra-about__lead,
  .ra-features__title,
  .ra-func__title,
  .ra-recommend__problem,
  .ra-recommend__solution,
  .lp-value-heading,
  .lp-case-heading,
  .ra_map_step_text,
  .ra-about__body,
  .ra-features__text,
  .ra-func__desc,
  .lp-value-sub,
  .lp-case-body-text,
  .lazy-form__lead {
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .ra-recommend__box {
    margin-bottom: 56px;
  }
  .ra-recommend__solution {
    margin-top: 8px;
  }
}
