/* サービス概要: 背景付きセクション */
.front-service-overview {
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

/* サービス概要: 背景の装飾パターン */
.front-service-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./background-pattern-sp.svg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
  pointer-events: none;
}

/* サービス概要: 背景装飾の上に重ねるラッパー */
.front-service-overview .service-overview-inner {
  position: relative;
  z-index: 1;
}

/* サービス概要: タイトルと本文の1列 */
.front-service-overview .service-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

/* サービス概要: セクションタイトル */
.front-service-overview .service-overview-title {
  font-family: var(--font-title);
  font-weight: var(--weight-mincho-regular);
  font-size: 30px;
  font-style: var(--font-style-mincho-italic);
  text-align: center;
  letter-spacing: 0.1em;
  margin: 0;
  line-height: 1.5;
}

/* サービス概要: 説明文 */
.front-service-overview .service-overview-text {
  font-size: 16px;
  font-weight: var(--weight-gothic-regular);
  color: var(--color-muted);
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

/* サービス概要: 説明文の末尾余白 */
.front-service-overview .service-overview-text p:first-child {
  margin-top: 0;
}

.front-service-overview .service-overview-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .front-service-overview {
    padding-top: 92px;
    padding-bottom: 69px;
  }
}

@media (min-width: 768px) {
  .front-service-overview {
    padding-top: 120px;
    padding-bottom: 140px;
  }

  .front-service-overview::before {
    background-image: url("./background-pattern-pc.svg");
    background-size: auto 100%;
    background-position: left top;
  }

  .front-service-overview .service-overview-title {
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.45;
    white-space: nowrap;
  }

  .front-service-overview .service-overview-title-break {
    display: none;
  }

  .front-service-overview .service-overview-grid {
    gap: 48px;
  }
}
