/* =========================================================
 * spcv.css : SP 固定下部CTA（無料相談）
 * ========================================================= */

.spcv {
  display: none;
}

@media (max-width: 1024px) {
  .spcv {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-fixed-cta);
    width: 100%;
    height: 77px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  /* 上下端は塗られないので、要素全面ではなく疑似要素で帯だけ描く。 */
  .spcv::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    height: 66px;
    background: var(--color-bg-blue-gray);
  }

  .spcv__btn {
    position: relative;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* 内側テキスト2行の間隔 */
    gap: 1px;
    width: 300px;
    height: 55px;
    padding: 5px 59px;
    background: var(--color-bg-deep-beige);
    color: var(--color-bg-white);
    border-radius: 12px;
    font-family: var(--font-jp);
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    transition: opacity var(--transition-base), transform var(--transition-base);
  }

  .spcv__btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
  }

  .spcv__pre {
    font-size: 12px;
    line-height: 22px;
    letter-spacing: normal;
  }

  .spcv__main {
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0.05em;
  }

  /* ページ末尾のフッターが固定CTAに隠れないよう、CTAの高さ分の余白を確保する */
  body {
    padding-bottom: 77px;
  }
}
