@charset "UTF-8";

/*------------------------------------------------------------
 * Fixed CTA Banner Styles
------------------------------------------------------------*/

@keyframes shine {
  80% {
    transform: translateX(-100%);
    opacity: 0;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Container Styles */

.u-fixedCtaBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  padding: 0.5rem 0 1.25rem;
  background: #fff;
  box-shadow: 0 -0.625rem 0.9375rem rgba(48, 50, 53, 0.1);
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 1;
  transform: translateY(0);
  z-index: 1000;
}

.u-fixedCtaBanner.is-show {
  opacity: 0;
  transform: translateY(100%);
}

.u-fixedCtaBanner__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.9375rem;
  width: 80rem;
  margin: 2.5rem auto 0;
  overflow: initial;
  padding: 0;
}

@media screen and (max-width: 768px) {
  .u-fixedCtaBanner {
    padding: 0 0 5.13vw;
  }

  .u-fixedCtaBanner__inner {
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    width: calc(100% - 8.21vw);
  }
}

/* Content Styles */

.u-fixedCtaBanner__content {
  width: 34%;
  position: relative;
  padding-top: 1rem;
}

.u-fixedCtaBanner__content-caption {
  font-size: 0.75rem;
  line-height: 1.3;
  text-align: left;
  color: #6d7785;
  margin-top: 0.75rem;
  letter-spacing: -0.0004rem;
}

.u-fixedCtaBanner__content-due-date {
  position: absolute;
  top: -2.625rem;
  left: 0;
  z-index: 1;
  width: 100%;
}

.u-fixedCtaBanner__content-due-date::before {
  content: "";
  position: absolute;
  bottom: -0.625rem;
  background: #169edd;
  height: 0.9742785793rem;
  width: 1.25rem;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  left: 50%;
  transform: translateX(-50%);
}

.u-fixedCtaBanner__content-due-date-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 100%;
  background: #169edd;
  height: 2.8rem;
  border-radius: 1.4rem;
  font-size: 1.28rem;
}

.u-fixedCtaBanner__content-due-date-txt {
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: 0.02rem;
}

.u-fixedCtaBanner__content-due-date-by {
  font-size: 1.25rem;
  margin-left: 0.2rem;
  margin-bottom: -0.2rem;
}

@media screen and (max-width: 768px) {
  .u-fixedCtaBanner__content {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.05vw;
    padding-top: 2.56vw;
  }

  .u-fixedCtaBanner__content-img {
    width: auto;
  }

  .u-fixedCtaBanner__content-caption {
    width: 100vw;
    margin-top: 0;
  }

  .u-fixedCtaBanner__content-caption-item {
    font-size: 2.05vw;
    line-height: 1.5;
    display: block;
  }

  .u-fixedCtaBanner__content-due-date {
    top: -7.69vw;
    left: -4.105vw;
    width: calc(100% + 8.21vw);
  }

  .u-fixedCtaBanner__content-due-date::before {
    display: none;
  }

  .u-fixedCtaBanner__content-due-date-inner {
    border-radius: 0;
    height: 7.69vw;
  }

  .u-fixedCtaBanner__content-due-date-txt {
    font-size: 4.61vw;
  }

  .u-fixedCtaBanner__content-due-date-by {
    font-size: 3.59vw;
    margin-left: 0.51vw;
    margin-bottom: -0.51vw;
  }
}

@media screen and (min-width: 1280px) {
  .u-fixedCtaBanner__content-caption {
    font-size: 0.8rem;
  }

  .u-fixedCtaBanner__content-due-date-inner {
    font-size: 1rem;
  }

  .u-fixedCtaBanner__content-due-date-txt {
    font-size: 1.65rem;
    letter-spacing: 0.02rem;
  }

  .u-fixedCtaBanner__content-due-date-by {
    font-size: 1.25rem;
    margin-left: 0.2rem;
    margin-bottom: -0.2rem;
  }
}

/* Button Styles */

.u-fixedCtaBanner__btn-wrapper {
  width: 66%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.9375rem;
}

.u-fixedCtaBanner__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 6.25rem;
  font-size: 1.75rem;
  font-weight: 700;
  padding: 0.9375rem;
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s;
  line-height: 1.3;
  text-align: center;
  height: 70px;
  width: 50%;
}

.u-fixedCtaBanner__btn.is-primary {
  background: #f04e79;
  border: 1px solid #fff;
  color: #fff;
}

.u-fixedCtaBanner__btn.is-secondary {
  background: #fff;
  border: 1px solid #f04e79;
  color: #f04e79;
}

.u-fixedCtaBanner__btn-caption {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.u-fixedCtaBanner__btn *:hover {
  opacity: 0.8;
}

.u-fixedCtaBanner__btn *:before,
.u-fixedCtaBanner__btn *:after {
  pointer-events: none;
}

.u-fixedCtaBanner__btn *:before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0)
  );
  animation: shine 5s ease-in-out infinite;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .u-fixedCtaBanner__btn-wrapper {
    width: 100%;
    gap: 2.05vw;
    margin-top: 2.05vw;
  }

  .u-fixedCtaBanner__btn {
    height: 11.28vw;
    font-size: 3.59vw;
    padding: 0;
  }

  .u-fixedCtaBanner__btn-caption {
    font-size: 2.56vw;
  }
}
