/* ========================================
   トップページ固有スタイル
   ※ 共通コンポーネント（hero / problem-grid / final-cta）は
     components/_shared-sections.css に移動済み
   ======================================== */

/* --- ヒーロー背景（トップページ固有グラデーション） --- */
.section-hero__bg {
  background: linear-gradient(
    135deg,
    var(--color-main-light) 0%,
    var(--color-cream) 50%,
    var(--color-pink) 100%
  );
}

.section-hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(254, 252, 249, 0.6) 70%,
    rgba(254, 252, 249, 0.95) 100%
  );
}

/* --- サービス説明 --- */
.service-points {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .service-points {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-point {
  text-align: center;
  padding: var(--space-md);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base);
}

.service-point:hover {
  transform: translateY(-4px);
}

.service-point__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: var(--color-main-light);
  border-radius: var(--radius-circle);
  margin: 0 auto var(--space-sm);
}

.service-point__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.service-point__text {
  font-size: var(--fs-body);
  color: var(--color-text-sub);
  line-height: var(--lh-body);
}

/* --- 特徴リスト --- */
.features-list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 96px);
}

/* --- お悩みClosing（複数段落版） --- */
.problem-closing__lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.problem-closing__body {
  font-size: var(--fs-body);
  color: var(--color-text-sub);
  line-height: 2;
}

/* --- 比較テーブル --- */
.compare-table-wrap {
  max-width: 720px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table__head-empty {
  background-color: var(--color-white);
}

.compare-table__head--coemii {
  background-color: var(--color-main);
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--fs-body);
  text-align: center;
  padding: var(--space-sm) var(--space-md);
}

.compare-table__head--other {
  background-color: #f0f0f0;
  color: var(--color-text-sub);
  font-weight: 700;
  font-size: var(--fs-body);
  text-align: center;
  padding: var(--space-sm) var(--space-md);
}

.compare-table__label {
  font-weight: 700;
  font-size: var(--fs-body);
  color: var(--color-text);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  white-space: nowrap;
  background-color: #fafafa;
}

.compare-table__cell--coemii,
.compare-table__cell--other {
  font-size: var(--fs-body);
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.compare-table__cell--coemii {
  background-color: var(--color-main-light);
  color: var(--color-main-dark);
  font-weight: 700;
}

.compare-table__cell--other {
  color: var(--color-text-sub);
}

.compare-table tr:last-child .compare-table__label,
.compare-table tr:last-child .compare-table__cell--coemii,
.compare-table tr:last-child .compare-table__cell--other {
  border-bottom: none;
}

.compare-table__highlight {
  display: inline-block;
  color: var(--color-main-dark);
  font-weight: 700;
}

/* --- レスポンシブ：比較テーブル --- */
@media (max-width: 575px) {
  .compare-table__head-empty,
  .compare-table__head--coemii,
  .compare-table__head--other {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--fs-small);
  }

  .compare-table__label,
  .compare-table__cell--coemii,
  .compare-table__cell--other {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--fs-small);
  }
}

/* --- セクションタイトル補足テキスト --- */
.c-section-title__sub {
  font-size: var(--fs-body);
  color: var(--color-text-sub);
  text-align: center;
  margin-top: var(--space-xs);
}

/* --- 中間CTA --- */
.mid-cta__text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.mid-cta__btn {
  display: flex;
  justify-content: center;
}

/* --- 最終CTA --- */
.final-cta__phone {
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: inline-block;
}

.final-cta__phone-label {
  font-size: var(--fs-small);
  color: var(--color-text-sub);
  margin-bottom: var(--space-xs);
}

.final-cta__phone-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-main-dark);
  transition: color var(--transition-base);
}

.final-cta__phone-number:hover {
  color: var(--color-main);
  opacity: 1;
}
