@charset "UTF-8";

/* =========================
/* =========================
   団体ページ：お問い合わせCTAボタン
   ========================= */

.hg-contact-cta{
  margin: 28px auto 40px;
  max-width: 720px;
}

.hg-contact-cta__btn{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 56px 18px 22px;
  border-radius: 14px;
  text-decoration: none;
  line-height: 1.25;
  background: linear-gradient(135deg, #111 0%, #2b2b2b 55%, #111 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.hg-contact-cta__label{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
}

.hg-contact-cta__sub{
  font-size: 13px;
  opacity: .88;
  letter-spacing: .02em;
}

.hg-contact-cta__arrow{
  position: absolute;
  right: 18px;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}

.hg-contact-cta__arrow::before{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,.9);
  border-bottom: 2px solid rgba(255,255,255,.9);
  transform: rotate(-45deg);
}

/* hover / focus */
.hg-contact-cta__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
  filter: brightness(1.03);
}

.hg-contact-cta__btn:active{
  transform: translateY(0px);
}

.hg-contact-cta__btn:focus-visible{
  outline: 3px solid rgba(122, 0, 223, .45); /* WPのアクセントに寄せた視認性 */
  outline-offset: 3px;
}

/* SP調整 */
@media (max-width: 600px){
  .hg-contact-cta{
    margin: 22px 0 32px;
  }
  .hg-contact-cta__btn{
    padding: 16px 52px 16px 18px;
    border-radius: 12px;
  }
  .hg-contact-cta__label{
    font-size: 16px;
  }
  .hg-contact-cta__sub{
    font-size: 12px;
  }
}

/* 文字が黒く上書きされる対策（最下部に追記） */
.p-single-main .hg-contact-cta__btn,
.p-single-main .hg-contact-cta__btn:link,
.p-single-main .hg-contact-cta__btn:visited,
.p-single-main .hg-contact-cta__btn:hover,
.p-single-main .hg-contact-cta__btn:active{
  color: #fff !important;
  text-decoration: none !important;
}

.p-single-main .hg-contact-cta__btn .hg-contact-cta__label,
.p-single-main .hg-contact-cta__btn .hg-contact-cta__sub{
  color: #fff !important;
}

/* 黒文字に見えやすい場合の視認性底上げ（任意） */
.p-single-main .hg-contact-cta__btn{
  text-shadow: 0 1px 1px rgba(0,0,0,.35);
}


