/**
 * File Name: service-contact-hero.css
 * 2026-07-03 | Final Check
 */

/* ==============================================================================
 * SERVICE CONTACT HERO (お問い合わせページ：案内導入HEROブロック)
 * ============================================================================== */
.p-service-contact-hero {
  width: 100%;
  background-color: var(--lower-color-3, #f1f5f9);
  padding: 50px 20px;
  box-sizing: border-box;
}

.p-service-contact-hero *,
.p-service-contact-hero *::before,
.p-service-contact-hero *::after {
  box-sizing: border-box;
}

.p-service-contact-hero__inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-service-contact-hero__text-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-service-contact-hero__title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--upper-color-1, #1d3d5e);
  margin: 0 0 16px 0;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.p-service-contact-hero__lead {
  font-size: 0.95rem;
  color: #334155;
  margin: 0;
  line-height: 1.75;
}

.p-service-contact-hero__image-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p-service-contact-hero__img {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(29, 61, 94, 0.08);
}

.u-pc-only {
  display: none;
}

/* ==============================================================================
 * MEDIA QUERIES
 * ============================================================================== */

/* スマホ横向き（低画面高） */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .p-service-contact-hero {
    padding: 30px 20px;
  }
  .p-service-contact-hero__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }
  .p-service-contact-hero__text-block {
    width: 55%;
    flex: 0 0 55%;
  }
  .p-service-contact-hero__title {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  .p-service-contact-hero__lead {
    font-size: 0.9rem;
  }
  .p-service-contact-hero__image-block {
    width: 40%;
    flex: 0 0 40%;
  }
}

/* タブレット・標準PCサイズ */
@media screen and (min-width: 768px) and (min-height: 501px) {
  .p-service-contact-hero {
    padding: 90px 40px;
  }
  .p-service-contact-hero__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
  }
  .p-service-contact-hero__text-block {
    width: 52%;
    flex: 0 0 52%;
  }
  .p-service-contact-hero__title {
    font-size: 2.4rem;
    margin-bottom: 24px;
  }
  .p-service-contact-hero__lead {
    font-size: 1.05rem;
  }
  .p-service-contact-hero__image-block {
    width: 44%;
    flex: 0 0 44%;
  }
  .u-pc-only {
    display: inline;
  }
}

/* 大型デスクトップサイズ */
@media screen and (min-width: 1024px) and (min-height: 501px) {
  .p-service-contact-hero {
    padding: 110px 40px;
  }
}
