


.cta:not(.is-fixed) {
  padding: 100px 24px 160px;
  padding: clamp(4rem, 1.296rem + 5.5vw, 6.25rem) 24px
    clamp(4rem, -3.211rem + 14.68vw, 10rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.cta--img:not(.is-fixed)::after {
  content: "";
  background: url(../img/cta_bg.webp) no-repeat;
  background-size: 100% 100%;
  background-position: bottom;
  height: clamp(6.25rem, -7.271rem + 27.52vw, 17.5rem);
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  z-index: -1;
}
.cta__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 32px;
  /* 24 < 32 */
  font-size: clamp(1.5rem, 0.899rem + 1.22vw, 2rem);
  line-height: 1;
}
.cta__link {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
/* 
.cta__link:hover {
  transform: scale(1.1);
}  */

.cta--img:not(.is-fixed) .cta__link::after {
  content: "";
  background: var(--theme-black-dark);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
  transform: skewY(-20deg) scale(1, 0);
  height: 240px;
}
.cta__link:hover {
  color: #fff;
}
.cta__link:hover::after {
  transform: skewY(-10deg) scale(1, 1);
}

.cta__link--contact {
  max-width: 700px;
  background: var(--thema-red);
}
.cta__link--buy {
  max-width: 550px;
  background: var(--thema-yellow);
  color: var(--svg--black-dark);
  min-height: 125px;
  /* 80 < 125 */
  min-height: clamp(5rem, 1.62rem + 6.88vw, 7.813rem);
  margin-top: 24px;
}
.cta__link--buy .cta__jp {
  font-weight: bold;
}
.cta__en {
  font-family: var(--font_style--montserrat);
  font-weight: bold;
}
.cta__link .cta__jp {
  font-size: 18px;
}
.cta--buy p {
  font-size: 24px;
  /* 18 < 24 */
  font-size: clamp(1.125rem, 0.674rem + 0.92vw, 1.5rem);
}
p.cta__title {
  text-align: center;
  font-size: 40px;
  /* 32 < 40 */
  font-size: clamp(2rem, 1.399rem + 1.22vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
  .cta {
    padding-top: 120px;
  }
  .cta__link {
    padding: 16px;
    gap: 8px;
  }
  .cta__link .cta__jp {
    font-size: 14px;
  }
  
  .cta-placeholder{
    height: 100%;
  }
  .cta.is-fixed{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 16px;
    /* background: var(--thema-beige); */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
  }
  .cta.is-fixed .cta__link{
    padding: 8px;
    font-size: 14px;
  }
  .cta.is-fixed .cta__jp{
    font-size: 12px;
  }

}
