.fixed-contact-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: none;
  justify-content: center;
  transform: translateY(155%);
  transition: all 0.2s;
  font-family: Verdana, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

.fixed-contact-container.show {
  transform: translateY(-24px);
}

.cta-overlay {
  width: 100%;
  max-width: 1000px;
}

.cta-card {
  position: relative;
  border-radius: 14px;
  padding: 18px 22px 22px;
  background: radial-gradient(120% 180% at 50% 0%, #0a2348 0%, #061a36 60%, #04122a 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 18px 40px -12px rgba(0, 0, 0, 0.45),
    0 6px 14px -6px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 35%);
  border-radius: inherit;
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.cta-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  margin: 4px 0 14px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.cta-headline>span {
  white-space: nowrap;
}

.cta-headline .sep {
  opacity: 0.55;
  font-weight: 500;
  margin: 0 4px;
}

.cta-headline .accent-orange {
  color: #ff8a1f;
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 138, 31, 0.55), 0 1px 0 rgba(0, 0, 0, 0.4);
}

.cta-headline .accent-orange .unit {
  font-size: 19px;
  font-weight: 900;
}

.cta-headline .accent-yellow {
  color: #ffe600;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(255, 230, 0, 0.45), 0 1px 0 rgba(0, 0, 0, 0.4);
}

.cta-headline .accent-free {
  color: #ffe600;
  font-weight: 900;
  font-size: 22px;
  text-shadow: 0 0 10px rgba(255, 230, 0, 0.45), 0 1px 0 rgba(0, 0, 0, 0.4);
}

.cta-buttons {
  display: grid;
  grid-template-columns: 2.4fr 1fr 0.85fr;
  gap: 12px;
}

.cta-card .btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 80ms ease, filter 120ms ease, box-shadow 120ms ease;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.cta-card .btn::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.cta-card .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -2px 0 rgba(0, 0, 0, 0.18) inset;
  pointer-events: none;
}

.cta-card .btn:hover {
  filter: brightness(1.06);
}

.cta-card .btn:active {
  transform: translateY(1px);
  filter: brightness(0.96);
}

.cta-card .btn .icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.25));
}

.cta-card .btn-tel {
  background: linear-gradient(180deg, #ffa23a 0%, #ff7a00 55%, #e85a00 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 6px 0 #b34400,
    0 10px 18px -6px rgba(255, 100, 0, 0.55),
    0 4px 10px -2px rgba(0, 0, 0, 0.35);
  gap: 18px;
  padding: 0 24px;
}

.cta-card .btn-tel:active {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 2px 0 #b34400,
    0 6px 12px -4px rgba(255, 100, 0, 0.5);
}

.cta-card .btn-tel .tel-num {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  font-feature-settings: "tnum" 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  flex: 0 1 auto;
  min-width: 0;
}

.cta-card .btn-tel .tel-label-sp {
  display: none;
}

.cta-card .btn-line .btn-label-sp {
  display: none;
}

.cta-card .btn-mail .mail-label-sp {
  display: none;
}

.cta-card .btn-tel .tel-label {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  white-space: nowrap;
  flex-shrink: 0;
}

.cta-card .btn-tel .icon {
  width: 30px;
  height: 30px;
}

.cta-card .btn-line {
  background: linear-gradient(180deg, #2fd14a 0%, #15a82a 55%, #0f8a22 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 6px 0 #0a6618,
    0 10px 18px -6px rgba(0, 170, 40, 0.55),
    0 4px 10px -2px rgba(0, 0, 0, 0.35);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.cta-card .btn-line:active {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 2px 0 #0a6618,
    0 6px 12px -4px rgba(0, 170, 40, 0.5);
}

.cta-card .btn-mail {
  background: linear-gradient(180deg, #0a2348, #061a36);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.92) inset,
    0 6px 0 #02101f,
    0 10px 18px -8px rgba(0, 0, 0, 0.6);
}

.cta-card .btn-mail .icon {
  width: 22px;
  height: 22px;
}

.cta-card .btn-mail::before {
  display: none;
}

.cta-card .btn-mail::after {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 -2px 0 rgba(0, 0, 0, 0.25) inset;
}

.cta-card .btn-mail:active {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.92) inset,
    0 2px 0 #02101f,
    0 6px 12px -6px rgba(0, 0, 0, 0.5);
}

@keyframes textShimmer {

  0%,
  88%,
  100% {
    filter: brightness(1);
  }

  93% {
    filter: brightness(1.6) drop-shadow(0 0 8px rgba(255, 230, 0, 0.7));
  }
}

.cta-headline .accent-free,
.cta-headline .accent-yellow {
  display: inline-block;
  animation: textShimmer 3.2s ease-in-out infinite;
}

.cta-headline .accent-yellow {
  animation-delay: 1.6s;
}

@keyframes textPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

.cta-headline .accent-orange {
  display: inline-block;
  transform-origin: center;
  animation: textPulse 1.8s ease-in-out infinite;
}

@keyframes btnBreathe {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.005);
  }
}

.cta-card .btn-tel,
.cta-card .btn-line {
  animation: btnBreathe 2.4s ease-in-out infinite;
}

.cta-card .btn-line {
  animation-delay: 1.2s;
}

.cta-card .btn:active {
  animation: none;
}

.cta-card .btn-tel>.shine,
.cta-card .btn-line>.shine,
.cta-card .btn-mail>.shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.cta-card .btn-tel>.shine::after,
.cta-card .btn-line>.shine::after,
.cta-card .btn-mail>.shine::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 50%;
  height: 140%;
  background: linear-gradient(100deg,
      transparent 0%,
      rgba(255, 255, 255, 0.0) 30%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0.0) 70%,
      transparent 100%);
  transform: skewX(-20deg);
  animation: shineSweep 3.6s ease-in-out infinite;
}

.cta-card .btn-line>.shine::after {
  animation-delay: 1.2s;
}

.cta-card .btn-mail>.shine::after {
  animation-delay: 2.4s;
  opacity: 0.5;
}

@keyframes shineSweep {
  0% {
    left: -60%;
  }

  35% {
    left: 130%;
  }

  100% {
    left: 130%;
  }
}

@keyframes ringing {

  0%,
  88%,
  100% {
    transform: rotate(0deg);
  }

  90% {
    transform: rotate(-12deg);
  }

  92% {
    transform: rotate(10deg);
  }

  94% {
    transform: rotate(-8deg);
  }

  96% {
    transform: rotate(6deg);
  }

  98% {
    transform: rotate(-3deg);
  }
}

.cta-card .btn-tel .icon {
  transform-origin: 50% 60%;
  animation: ringing 2.6s ease-in-out infinite;
}

.cta-card .btn-tel {
  isolation: isolate;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.pulse-ring::before,
.pulse-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255, 138, 31, 0.7);
  animation: pulseRing 2.4s ease-out infinite;
}

.pulse-ring::after {
  animation-delay: 1.2s;
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 138, 31, 0.55);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(255, 138, 31, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 138, 31, 0);
  }
}

@keyframes numFlash {

  0%,
  90%,
  100% {
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  }

  95% {
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.85), 0 1px 0 rgba(0, 0, 0, 0.25);
  }
}

.cta-card .btn-tel .tel-num {
  animation: numFlash 3.2s ease-in-out infinite;
}

.cta-card .btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.cta-card .btn-tel:hover,
.cta-card .btn-line:hover,
.cta-card .btn-mail:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {

  .cta-card .btn-tel,
  .cta-card .btn-line,
  .cta-headline .accent-orange,
  .cta-headline .accent-free,
  .cta-headline .accent-yellow,
  .cta-card .btn-tel .icon,
  .cta-card .btn-tel .tel-num,
  .pulse-ring::before,
  .pulse-ring::after,
  .cta-card .btn-tel>.shine::after,
  .cta-card .btn-line>.shine::after,
  .cta-card .btn-mail>.shine::after {
    animation: none !important;
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  .cta-buttons {
    grid-template-columns: 1.2fr 1fr 0.85fr;
    gap: 10px;
  }

  .cta-card .btn-tel {
    gap: 10px;
    padding: 0 12px;
  }

  .cta-card .btn-tel .tel-num {
    display: none;
  }

  .cta-card .btn-tel .tel-label-pc {
    display: none;
  }

  .cta-card .btn-tel .tel-label-sp {
    display: inline;
  }

  .cta-card .btn-line .btn-label-pc {
    display: none;
  }

  .cta-card .btn-line .btn-label-sp {
    display: inline;
  }

  .cta-card .btn-mail .mail-label-pc {
    display: none;
  }

  .cta-card .btn-mail .mail-label-sp {
    display: inline;
  }

  .cta-card .btn-tel .tel-label {
    font-size: 19px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .cta-card .btn-tel .icon {
    width: 24px;
    height: 24px;
  }

  .cta-card .btn-line {
    font-size: 22px;
    letter-spacing: 0.04em;
  }

  .cta-card .btn-mail {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .cta-card {
    padding: 14px 12px 14px;
    border-radius: 12px;
  }

  .cta-headline {
    font-size: 13px;
    gap: 4px 6px;
    margin-bottom: 10px;
  }

  .cta-headline .accent-orange {
    font-size: 19px;
  }

  .cta-headline .accent-orange .unit {
    font-size: 14px;
  }

  .cta-headline .accent-free {
    font-size: 16px;
  }

  .cta-buttons {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .cta-card .btn {
    height: 54px;
    font-size: 17px;
    border-radius: 8px;
    gap: 6px;
  }

  .cta-card .btn-tel {
    gap: 6px;
    padding: 0 8px;
  }

  .cta-card .btn-tel .tel-num {
    display: none;
  }

  .cta-card .btn-tel .tel-label-pc {
    display: none;
  }

  .cta-card .btn-tel .tel-label-sp {
    display: inline;
  }

  .cta-card .btn-line .btn-label-pc {
    display: none;
  }

  .cta-card .btn-line .btn-label-sp {
    display: inline;
  }

  .cta-card .btn-mail .mail-label-pc {
    display: none;
  }

  .cta-card .btn-mail .mail-label-sp {
    display: inline;
  }

  .cta-card .btn-tel .tel-label {
    font-size: 17px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .cta-card .btn-tel .icon {
    width: 20px;
    height: 20px;
  }

  .cta-card .btn-line {
    font-size: 20px;
  }

  .cta-card .btn .icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 380px) {
  .cta-headline {
    font-size: 11.5px;
  }

  .cta-headline .accent-orange {
    font-size: 17px;
  }

  .cta-headline .accent-free {
    font-size: 14px;
  }

  .cta-card .btn {
    font-size: 15px;
    height: 50px;
  }

  .cta-card .btn-tel .tel-label {
    font-size: 15px;
  }

  .cta-card .btn-line {
    font-size: 18px;
  }
}
