.box:not(:last-child) {
  padding-bottom: 100px;
}
@media screen and (max-width: 1000px) {
  .box:not(:last-child) {
    padding-bottom: 60px;
  }
}

.button {
  width: 31.8%;
  height: 80px;
  border-radius: 40px;
}
@media screen and (max-width: 1000px) {
  .button {
    width: 100%;
    max-width: 350px;
    height: 70px;
  }
}
.button a {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 0;
  transition: 0.3s ease-in-out;
  overflow-x: hidden;
}
@media screen and (max-width: 1150px) {
  .button a {
    font-size: 18px;
  }
}
.button a:before {
  content: "";
  display: block;
  background: linear-gradient(90deg, #86d8ea, #d0d7c1, #86d8ea);
  width: 200%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  transition: 0.3s ease-in-out;
  animation: button-out 0.3s ease-in-out forwards;
}
@media screen and (min-width: 1001px) {
  .button a:hover:before {
    transform: translateX(50%);
    animation: button-hov 0.3s ease-in-out forwards;
  }
}
.button a:after {
  content: "";
  display: block;
  background: url(../../image/shinryou/arrow.svg) no-repeat center/contain;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  transition: 0.3s ease-in-out;
}
@media screen and (max-width: 1150px) {
  .button a:after {
    right: 15px;
  }
}
@media screen and (min-width: 1001px) {
  .button a:hover:after {
    transform: translate(5px, -50%);
  }
}
.button_wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px 0;
  margin-top: 70px;
}
@media screen and (max-width: 1000px) {
  .button_wrap {
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
  }
}
.button_wrap:before {
  content: "";
  display: block;
  width: 31.8%;
  order: 1;
}
@media screen and (max-width: 1000px) {
  .button_wrap:before {
    width: 350px;
  }
}
.button_wrap:after {
  content: "";
  display: block;
  width: 31.8%;
}
@media screen and (max-width: 1000px) {
  .button_wrap:after {
    width: 350px;
  }
}

@keyframes button-hov {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}
@keyframes button-out {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}