/* ===================================
   Top page typography
   base.css の --type-* / --font-weight-* に準拠
   400 / 500 を基本に、ヒーローのメインコピーのみ 600
   =================================== */

.page-home strong,
.page-home b {
  font-weight: 500;
}

.page-home :is(
  .header__contact-label,
  .header__menu-contact-label,
  .hero__service-title,
  .hero__headline .hero__headline-line--strong,
  .hero__service-keyword,
  .hero-tabs__label,
  .hero__button--primary,
  .hero__button--secondary,
  .hero__cta-main,
  .hero__cta-secondary,
  .home-cta__support-heading,
  .home-cta__phone,
  .home-cta__phone-number,
  .home-cta__phone-heading,
  .home-cta__primary,
  .home-urgent-result__label,
  .home-urgent-result__copy,
  .home-urgent-result__phone,
  .home-urgent-call-dialog__title,
  .home-urgent-call-dialog__start,
  .home-urgent-call-dialog__call-now,
  .home-urgent-call-dialog__call-primary,
  .plan-guide-quiz__step,
  .home-urgent-quiz__step,
  .plan-guide-option__label,
  .plan-guide-quiz__next-btn,
  .plan-guide-entry__start-btn,
  .plans__banner-highlight,
  .cta__title,
  .cta__button,
  .cta__actions .hero__button--primary,
  .cta__actions .hero__button--secondary
) {
  font-weight: 500;
}

.page-home .hero__headline .hero__headline-line--strong {
  font-weight: 600;
}

.page-home .home-plan-guide :is(
  .plan-guide-entry-card__title,
  .plan-guide-urgent__label,
  .plan-guide-urgent__phone,
  .plan-guide-quiz__title,
  .plan-guide-result-card__badge,
  .plan-guide-result-card__name,
  .plan-guide-result-card__price-number,
  .plan-guide-result-card__price-unit,
  .plan-guide-result-card__cta,
  .plan-guide-result__format-name
) {
  font-weight: 500;
}

/* ===================================
   Top page section backgrounds
   白 ↔ サンドの交互リズム（ボーダーなし）
   =================================== */

.page-home .faq {
  background-color: var(--color-white);
}

/* モバイルの主要セクション見出しを同じ視覚階層に揃える */
@media (max-width: 767px) {
  .page-home .section-title,
  .page-home .home-about__title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.55;
    letter-spacing: 0.025em;
  }
}

/* ===================================
   Hero overlay – warm sand wash, ink only for text legibility
   =================================== */

.page-home .hero {
  min-height: 480px;
  --hero-scrim-rgb: 52, 46, 44;
  --hero-overlay-focus-wash: linear-gradient(
    90deg,
    rgba(var(--hero-scrim-rgb), 0.58) 0%,
    rgba(var(--hero-scrim-rgb), 0.4) 32%,
    rgba(var(--hero-scrim-rgb), 0.16) 54%,
    rgba(var(--hero-scrim-rgb), 0.06) 72%,
    transparent 100%
  );
  --hero-overlay-secondary-local: radial-gradient(
    ellipse 58% 48% at 72% 26%,
    rgba(var(--hero-scrim-rgb), 0.06) 0%,
    rgba(var(--hero-scrim-rgb), 0.02) 52%,
    transparent 100%
  );
  --hero-overlay-linear-local: linear-gradient(
    180deg,
    rgba(var(--hero-scrim-rgb), 0.04) 0%,
    rgba(var(--hero-scrim-rgb), 0.02) 42%,
    rgba(var(--hero-scrim-rgb), 0.28) 100%
  );
  --hero-overlay-depth-local: rgba(var(--hero-scrim-rgb), 0.24);
  --hero-overlay-depth-opacity: 0.6;
  --hero-image-filter: saturate(0.94) brightness(0.97);
}

.page-home .hero.hero--with-tabs > .container.container--wide {
  justify-content: flex-start;
}

.page-home .hero-tabs__guide {
  margin-top: clamp(0.75rem, 1.5vw, 1rem);
}

/*
  PC: ヘッダー〜状況ガイド間を2等分
  上半分 = コピー（下寄せ） / 下半分 = 3つの丸（下寄せ＝ガイド直前）
*/
@media (min-width: 768px) {
  .page-home .hero.hero--with-tabs .hero__content {
    flex: 1 1 auto;
    display: grid;
    grid-template-rows: 1fr 1fr;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    margin-bottom: 0;
  }

  .page-home .hero.hero--with-tabs .hero__main {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 0;
  }

  .page-home .hero.hero--with-tabs .hero__headline-group {
    margin-bottom: 0;
  }

  .page-home .hero.hero--with-tabs .hero__proof-wrap {
    align-self: end;
    justify-self: center;
    width: 100%;
    margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  }

  .page-home .hero.hero--with-tabs .hero__decision-area {
    flex: 0 0 auto;
    margin-top: 0;
  }
}

#home-about-heading,
#plans-heading {
  scroll-margin-top: 100px;
}

@media (max-width: 959px) {
  #home-about-heading,
  #plans-heading {
    scroll-margin-top: 94px;
  }
}

@media (min-width: 768px) {
  .page-home .hero {
    min-height: 620px;
  }
}

@media (min-width: 1024px) {
  .page-home .hero {
    min-height: 740px;
    --hero-overlay-focus-wash: linear-gradient(
      90deg,
      rgba(var(--hero-scrim-rgb), 0.54) 0%,
      rgba(var(--hero-scrim-rgb), 0.36) 32%,
      rgba(var(--hero-scrim-rgb), 0.14) 54%,
      rgba(var(--hero-scrim-rgb), 0.05) 70%,
      transparent 100%
    );
    --hero-overlay-secondary-local: radial-gradient(
      ellipse 52% 42% at 72% 24%,
      rgba(var(--hero-scrim-rgb), 0.05) 0%,
      rgba(var(--hero-scrim-rgb), 0.02) 52%,
      transparent 100%
    );
    --hero-overlay-linear-local: linear-gradient(
      180deg,
      rgba(var(--hero-scrim-rgb), 0.03) 0%,
      rgba(var(--hero-scrim-rgb), 0.01) 42%,
      rgba(var(--hero-scrim-rgb), 0.26) 100%
    );
    --hero-overlay-depth-opacity: 0.53;
  }
}
