/* ============================================================
   Contact セクション
   Figma 基準: PC 1280px（幅 1280×474px）
   ============================================================ */

.contact {
  position: relative;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(480px, 50vw, 640px);
  padding-block: clamp(80px, 14vh, 160px);
}

/* ============================================================
   テクスチャ（左右）
   ============================================================ */
.contact__texture {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* bgtexture-a: 左端、上端揃え */
.contact__texture--a {
  left: 0;
  top: 0;
  width: clamp(160px, 24.7vw, 316px);
  height: auto;
}

/* bgtexture-b: 右下に固定 */
.contact__texture--b {
  right: 0;
  bottom: 0;
  width: clamp(160px, 24.7vw, 316px);
  height: auto;
}

/* ============================================================
   中央コンテンツ
   ============================================================ */
.contact__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 2.66vw, 34px);
  text-align: center;
  width: clamp(280px, 28.9vw, 370px);
}

/* CONTACT SVG */
.contact__title-img {
  display: block;
  height: clamp(40px, 5.38vw, 69px);
  width: auto;
}

/* サブタイトル */
.contact__subtitle {
  margin: 0;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.48vw, 19px);
  color: #3d405b;
  letter-spacing: 0.32em;
  line-height: 2.04;
}

/* CTA ボタン（FV と同スタイル） */
.contact__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(220px, 22.3vw, 286px);
  height: clamp(52px, 5.23vw, 67px);
  background: #e07a5f;
  border-radius: 80px;
  color: #fff;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.41vw, 18px);
  letter-spacing: 0.17em;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.contact__cta:hover,
.contact__cta:focus-visible {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ============================================================
   レスポンシブ: SP（〜 767px）
   ============================================================ */
@media (max-width: 767px) {

  /* 高さを確保し、padding-block をなくしてフレックス中央揃えに任せる */
  .contact {
    min-height: 640px;
    padding-block: 0;
  }

  /* bgtexture-a: 左上に小さく */
  .contact__texture--a {
    width: 28vw;
    max-width: 110px;
  }

  /* bgtexture-b: 右下に小さく */
  .contact__texture--b {
    width: 28vw;
    max-width: 110px;
  }

  .contact__content {
    width: clamp(260px, 80vw, 340px);
    gap: 20px;
  }

  .contact__title-img {
    height: 52px;
  }

  .contact__subtitle {
    font-size: 14px;
    letter-spacing: 0.2em;
  }

  .contact__cta {
    width: 220px;
    height: 52px;
    font-size: 15px;
  }
}
