@charset "utf-8";
.cta {
      background-color: #9F2018;
    padding: clamp(1.25rem, 0.417rem + 1.74vw, 2.5rem) 0;
}
.cta__inner {
  padding: 0 20px;
}
.cta__container {
      display: flex;
    flex-direction: column;
    align-items: center;
}
.cta__sub {
      font-size: clamp(0.75rem, 0.5rem + 0.52vw, 1.125rem);
    font-weight: 400;
    color: #fff;
}
.cta__bottom {
      display: flex;
    align-items: center;
    column-gap: clamp(0.625rem, -2.292rem + 6.08vw, 5rem);
    margin-top: 10px;
}
.cta__main {
      font-size: clamp(1.5rem, -0.167rem + 3.47vw, 4rem);
    font-weight: 500;
    color: #fff;
    font-family: "IBM Plex Sans JP", sans-serif;
}
.cta__arrow {
  display: flex;
  align-items: center;
  gap: 2px;
}
.cta-arrow__icon {
  width: clamp(0.438rem, -0.354rem + 1.65vw, 1.625rem);
  height: auto;
  object-fit: contain;
  /* 初期状態は停止 */
  animation: arrowWave2 1.2s linear infinite;
  animation-play-state: paused;
}
.cta-arrow__icon:nth-child(1) {
  animation-delay: 0s;
}
.cta-arrow__icon:nth-child(2) {
  animation-delay: .15s;
}
.cta-arrow__icon:nth-child(3) {
  animation-delay: .3s;
}
/* ボタンホバー中だけ動く */
.cta:hover .cta-arrow__icon {
  animation-play-state: running;
}
@keyframes arrowWave2 {
  0% {
    opacity: 0;
    transform: translateX(-8px);
  }
  25% {
    opacity: 1;
    transform: translateX(0);
  }
  75% {
    opacity: 1;
    transform: translateX(4px);
  }
  100% {
    opacity: 0;
    transform: translateX(10px);
  }
}

.footer {
      padding-top: clamp(2rem, 1rem + 2.08vw, 3.5rem);
    padding-bottom: clamp(1.875rem, 1.458rem + 0.87vw, 2.5rem);
}
.footer__inner {
  padding: 0 clamp(1.25rem, -1.917rem + 6.6vw, 6rem);
  position: relative;
}
.footer__container {
      display: flex;
    column-gap: 20px;
    justify-content: space-between;
}
.footer__logo {
      width: 290px;
    height: auto;
    object-fit: contain;
}
.footer__access {
      margin-top: clamp(0.625rem, 0.375rem + 0.52vw, 1rem);
    font-weight: 400;
}
.footer__phone {
  margin-top: clamp(0.875rem, 0.625rem + 0.52vw, 1.25rem);
}
.footer-phone__text {
      font-size: 12px;
    font-weight: 400;
    color: #9F2018;
}
.footer-phone__number {
      font-size: 20px;
    font-weight: 500;
    margin-top: 6px;
    font-family: "IBM Plex Sans JP", sans-serif;
    line-height: 1;
}
.footer-phone__time {
      font-size: 10px;
    font-weight: 500;
    margin-top: 6px;
    font-family: "IBM Plex Sans JP", sans-serif;
}
.footer__items {
      display: flex;
    flex-direction: column;
    row-gap: clamp(1rem, 0.833rem + 0.35vw, 1.25rem);
}
.footer__item {
      font-weight: 400;
    transition: all 0.5s;
}
.footer__item:hover {
  color: #9F2018;
}
.footer__item--entry {
      font-size: 16px;
    background-color: #9F2018;
    color: #Fff;
    font-weight: 500;
    font-family: "IBM Plex Sans JP", sans-serif;
    padding: 15px 32px;
  transition: all 0.5s;
}
.footer__item--entry:hover {
  background-color: #000;
  color: #Fff;
}
.top-back {
      position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.top-back__text {
      font-size: clamp(0.75rem, 0.583rem + 0.35vw, 1rem);
    font-weight: 400;
    color: #9F2018;
}
.top-back__circle {
      margin-top: 23px;
    height: clamp(0.75rem, 0.583rem + 0.35vw, 1rem);
    width: clamp(0.75rem, 0.583rem + 0.35vw, 1rem);
    border-radius: 50%;
    background-color: #9F2018;
  animation: softBounce 1.5s ease-in-out infinite;
}
@keyframes softBounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}
.footer__copyright {
      font-size: 10px;
    font-weight: 500;
    font-family: "IBM Plex Sans JP", sans-serif;
}

@media (max-width: 767px) {
  .cta-arrow__icon {
    animation-play-state: running;
  }
  .footer__inner {
    padding-top: 116px;
  }
  .top-back {
    top: 3%;
  }
  .footer__container {
        flex-direction: column;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    row-gap: 37px;
  }
  .footer__items {
    row-gap: 20px;
  }
  .footer__item--entry {
        width: 207px;
    text-align: center;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer__copyright {
        margin-top: 46px;
    text-align: center;
  }
}