:root {
    --gold1: #d9b24b;
    --gold2: #b7831a;
    --ink1: #3a2c23;
    --ink2: #221915;
    --cta-h: 270px;
    --cta-gap: 14px;
    --cta-offset: calc((var(--cta-h) + var(--cta-gap)) / 2);
  }

  .cta-wrap {
    z-index: 9999;
  }

  .cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    border-radius: 999px;
    font-weight: 800;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 10px 22px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
  }
  .cta-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.45);
    outline-offset: 3px;
  }

  .cta-btn--gold {
    background: linear-gradient(180deg, var(--gold1), var(--gold2));
  }
  .cta-btn--brown {
    background: linear-gradient(180deg, var(--ink1), var(--ink2));
  }

  .cta-phone-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: block;
  }

  /* ===== PC: right fixed panels ===== */
  .cta-pc-panel {
    position: fixed;
    right: 0px;
    z-index: 9999;
    padding: 14px 10px;
    border-radius: 18px 0 0 18px;
    background: rgba(32, 24, 18, 0.92);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.55);
    border-right: 3px solid rgba(230, 196, 120, 0.9);
    backdrop-filter: blur(6px);
  }

  .cta-pc-web {
    top: calc(47% - var(--cta-offset));
    transform: translateY(-50%);
  }

  .cta-pc-fit {
    top: calc(50% + var(--cta-offset));
    transform: translateY(-50%);
  }

  .cta-pc-panel .cta-btn {
    min-width: 40px;
    height: var(--cta-h);
    border-radius: 44px;
    position: relative;
    overflow: hidden;
    padding: 14px 0;
  }

  .cta-pc-panel .cta-vtext {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 16px;
    letter-spacing: 0.01em;
    white-space: normal;
    text-align: center;
  }
  .cta-pc-panel .cta-vtext.cta-vtext--small {
    font-size: 12px;
  }

  .cta-pc-panel .has-icon {
    display: flex;
    flex-direction: column;
  }

  /* ===== SP: bottom bar ===== */
  .cta-sp {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(64, 49, 39, 0.94), rgba(30, 22, 16, 0.94));
    box-shadow: 0 -18px 30px rgba(0, 0, 0, 0.55);
    border-top: 3px solid rgba(230, 196, 120, 0.9);
    display: none;
    border-radius: 0 0 14px 14px;
  }

  .cta-sp .cta-row {
    display: flex;
    gap: 12px;
    max-width: 980px;
    margin: 0 auto;
    align-items: stretch;
  }

  .cta-sp .cta-btn {
    flex: 1 1 0;
    font-size: 14px;
    justify-content: center;
    letter-spacing: 0.02em;
    padding: 6px 8px;
  }

  .cta-sp .cta-btn.cta-btn--brown {
    font-size: 10px;
  }

  @media (max-width: 767px) {
    .cta-pc-panel {
      display: none;
    }
    .cta-sp {
      display: block;
    }
  }
  
  @media screen and (max-width: 719px) {
      .l-footer {
        padding-bottom: 90px;
      }
  }
  