/* 作成者名　繁田 */

@charset "utf-8";

.contact_thanks_wrapper {
  max-width: 100%;
  margin: 0 12.5rem;
  padding: 12.095rem 0 2.3rem 0;
}

.contact_message_flex {
  width: 51.7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.contact_message_font {
  font-family: 'Noto Sans CJK JP', sans-serif;
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1.538em;
  text-align: left;
  color: #000000;
}

.top_link_flex {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12.7rem 0 0 0;
}

.link_btn_flex {
  width: 26.5rem;
  display: flex;
  align-items: center;
  font-family: 'Noto Sans CJK JP', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.24rem;
  text-align: left;
  color: #122242;
  border: 0.1rem solid #122444;
  border-radius: 3rem;
  padding: 1.3rem 3.5rem 1.2rem 3.5rem;
  overflow: hidden;
  position: relative;
  transition-duration: .4s;
  z-index: 2;
  transition: 1s;
}

.link_btn_flex::after {
  background: #122444;
  border-radius: 50%;
  content: "";
  display: block;
  margin: auto;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  padding-top: 100%;
  height: 0;
  z-index: -1;
  transform: translateY(-50%) scale(0.1);
  transition: opacity .5s, transform 0s;
  transition-delay: 0s, .4s;
  transition: 1s;
}

.link_btn_flex:hover {
  color: #FFFFFF;
  transition: 1s;
}

.link_btn_flex:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  transition-delay: 1s;
  transition: opacity .8s,
    transform .6s ease-in-out;
  transition: 1s;
}

.arrow_img_wrapper {
  position: relative;
  margin: 0 0 0 8.1rem;
}

.link_arrow_img {
  display: block;
  width: 3.4rem;
  height: 1.8rem;
  object-fit: cover;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.arrow_navy_img {
  opacity: 1;
}

.link_btn_flex:hover .arrow_navy_img {
  opacity: 0;
}

.arrow_white_img {
  opacity: 0;
}

.link_btn_flex:hover .arrow_white_img {
  opacity: 1;
}

.swing_img_flex {
  display: flex;
  justify-content: right;
  margin: 0 auto;
  padding: 2.4rem 0 0 0;
}

.ring_img_wrapper {
  animation: swing_move_img 3s ease-in-out infinite alternate;
  background: url(../img/ring.png) no-repeat center center / 15rem 15.536rem;
  display: inline-block;
  transition: 1.5s ease-in-out;
  width: 15rem;
  height: 15.536rem;
}

@keyframes swing_move_img {
  0% {
    transform: translate(0, 0) rotate(-7deg);
  }

  50% {
    transform: translate(0, -0.7rem) rotate(0deg);
  }

  100% {
    transform: translate(0, 0) rotate(7deg);
  }
}

/* SP版 */

@media screen and (max-width: 699.98px) {

  .contact_thanks_wrapper {
    margin: 0 1.5rem;
    padding: 5.027rem 0 0 0;
  }

  .contact_message_flex {
    width: 100%;
  }

  .contact_message_font {
    font-size: 1.8rem;
    line-height: 2.222em;
  }

  .top_link_flex {
    display: flex;
    padding: 11rem 0 0 0;
  }

  .link_btn_flex {
    width: 25rem;
    font-size: 1.6rem;
    letter-spacing: 0.16rem;
    padding: 1.7rem 2.4rem 1.9rem 2.4rem;
  }

  .arrow_img_wrapper {
    margin: 0 0 0 11.5rem;
  }

  .swing_img_flex {
    padding: 3.857rem 0 0 0;
  }

  .ring_img_wrapper {
    background: url(../img/ring.png) no-repeat center center / 4rem auto;
    width: 4rem;
    height: 4.143rem;
  }

}