.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url("../images/header-contact.png") center/cover no-repeat;

  z-index: -1;

  /* ここだけ動かす */
  animation: heroMove 20s ease-in-out infinite alternate;

  transform: scale(1.1); /* 端の余白防止 */
}

/* =========================
   サブヒーロー補足
========================= */
.sub-hero__lead {
  margin-top: 10px;
  font-size: 14px;
  color: #ddd;
}

/* =========================
   リード
========================= */
.contact-lead {
  text-align: center;
  margin: 60px 0 30px;
  font-size: 18px;
}

/* =========================
   ポイント
========================= */
.contact-intro {
  text-align: center;
  margin-bottom: 40px;
}

.contact-points {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 0;
}

.contact-points li {
  font-size: 14px;
  position: relative;
  padding-left: 20px;
}

.contact-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #d4af37;
}

/* =========================
   フォーム
========================= */
.contact-box {
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

/* CF7調整 */
.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  border-radius: 6px;
}

/* ボタン */
.contact-box input[type="submit"] {
  background: linear-gradient(135deg, #0f2745, #1a3b66);
  color: #fff;
  border: none;
  padding: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-box input[type="submit"]:hover {
  opacity: 0.85;
}

/* =========================
   フロー（service風）
========================= */
.contact-flow {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin: 80px 0;
}

/* カード化 */
.flow-card {
  flex: 1;
  max-width: 260px;

  padding: 30px;
  border-radius: 16px;
  background: #fff;

  border: 1px solid rgba(15,39,69,0.08);

  position: relative;
  overflow: hidden;

  transition: 0.3s;
}

/* 左ライン */
.flow-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 3px;
  height: 40px;

  background: linear-gradient(#d4af37, #f5e6b3);
}

/* 光エフェクト */
.flow-card::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(212,175,55,0.15),
    transparent
  );

  opacity: 0;
  transition: 0.4s;
}

/* ホバー */
.flow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: rgba(212,175,55,0.4);
}

.flow-card:hover::after {
  opacity: 1;
}

/* ラベル */
.flow-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #d4af37;
  margin-bottom: 10px;
}

/* 見出し */
.flow-card h3 {
  font-size: 18px;
  color: #0f2745;
  margin-bottom: 10px;
}

/* テキスト */
.flow-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 768px) {

  .contact-flow {
    flex-direction: column;
    align-items: center;
  }

}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 768px) {

  .contact-points {
    flex-direction: column;
    gap: 10px;
  }

  .contact-flow {
    flex-direction: column;
    align-items: center;
  }

}
