/* ====== 背景 ====== */
.gg-footer {
  background: #e9efee;
  padding: 80px 60px 40px;
}

/* ====== Contactカード ====== */
.gg-footer-cta {
  max-width: 700px;
  margin: 0 auto 80px;
}

.gg-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 38px 48px;
  text-align: center;
  text-decoration: none;
  color: #111;
  display: block;
}

/* タイトル・サブ */
.gg-card__title {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* ====== フッター本体 ====== */
.gg-footer-main {
  max-width: 1100px;
  margin: 0 auto;
}

/* 上段 */
.gg-footer-top {
  margin-bottom: 28px;
}

.gg-brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.gg-brand span {
  font-weight: 900;
}

/* ロゴ画像 */
.gg-brand img {
  display: block;
  height: 32px; /* ロゴの高さ */
  width: auto;
}

/* ナビ */
.gg-nav {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.gg-nav a {
  font-size: 14px;
  letter-spacing: 0.12em;
}

/* 横線 */
.gg-footer-sep {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  margin: 24px 0;
}

/* 下段 */
.gg-footer-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
}

.gg-footer-bottom-left {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.gg-footer-bottom-right {
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 2;
}

.gg-note {
  margin: 0 0 6px;
  opacity: 0.9;
}

.gg-copy {
  margin: 0;
  opacity: 0.9;
}

/* ====== Contactカード：デフォは赤（ここが本体） ====== */
.gg-footer-cta .gg-card {
  position: relative;
  overflow: hidden;

  background: #c30000;
  border: 1px solid #c30000;
  color: #fff;

  /* 色の切り替えは少しゆっくりに */
  transition: color 0.4s ease;
}

/* 白背景を「中心から広げる」レイヤー（遅くする） */
.gg-footer-cta .gg-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;

  /* 最初は中心の小さな円（見えない） */
  clip-path: circle(0% at 50% 50%);

  /* ★ここを遅く：0.55s → 1.05s（好みで 0.9〜1.2s） */
  transition: clip-path 1.05s cubic-bezier(0.16, 1, 0.3, 1);

  z-index: 0;
}

/* 中身（文字）を前面に */
.gg-footer-cta .gg-card > * {
  position: relative;
  z-index: 1;
}

/* ====== hover ====== */
@media (hover: hover) {
  /* ふわっと浮く（前の指定を維持） */
  .gg-card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
  }

  /* Contactカード hover：白が中心から広がる + 文字赤 */
  .gg-footer-cta .gg-card:hover {
    color: #c30000;
  }

  .gg-footer-cta .gg-card:hover::after {
    clip-path: circle(150% at 50% 50%);
  }
}

/* ====== レスポンシブ ====== */
@media (max-width: 900px) {
  .gg-footer {
    padding: 50px 20px 30px;
  }

  .gg-footer-cta {
    margin-bottom: 50px;
  }

  .gg-card__title {
    font-size: 34px;
  }

  .gg-footer-bottom {
    grid-template-columns: 1fr;
  }

  .gg-footer-bottom-right {
    text-align: left;
  }

  .gg-brand img {
    height: 26px;
  }
}

@media (max-width: 480px) {
  .gg-nav {
    gap: 30px;
  }
}
