.consultation-reserve {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 20px;
  padding: 0 16px;
  margin-block: 30px 16px;
}

.reservation .consultation-reserve {
  margin-block: 0;
}

.consultation-reserve__text {
  font-family: "Yu Gothic", "Noto Sans JP", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #816938;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  margin-bottom: -12px;
}

.consultation-reserve__link {
  font-family: "Yu Gothic", "Noto Sans JP", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  text-decoration: none;
  color: #3f3f3f;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  padding: 16px 0;
  border: 1px solid #3f3f3f;
  border-radius: 50px;
  width: 100%;
  max-width: 326px;
  background-color: #fff;
  transition: all .6s cubic-bezier(0.55, 0.05, 0.22, 0.99);
}

.consultation-reserve__arrow {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 1px;
  left: 0;
  background-color: #000;
  transition: all .6s cubic-bezier(0.55, 0.05, 0.22, 0.99);
}

.consultation-reserve__arrow::before {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  right: 0;
  width: 6px;
  height: 1px;
  background-color: #000;
  transform: rotate(45deg);
  transform-origin: calc(100% - 2px) 50%;
  transition: all .6s cubic-bezier(0.55, 0.05, 0.22, 0.99);
}

.consultation-reserve__link:hover {
  color: #fff;
  background-color: #c99388;
  border-color: #c99388;
  opacity: 1;
}
.consultation-reserve__link:hover .consultation-reserve__arrow {
  left: 10px;
  background-color: #fff;
}
.consultation-reserve__link:hover .consultation-reserve__arrow::before {
  background-color: #fff;
}

.consultation-reserve__link__baloon, 
.button-link__baloon {
  width: fit-content;
  min-width: 160px;
  border: #C99388 1px solid;
  color: #C99388;
  text-align: center;
  background-color: #fff;
  font-size: 13px;
  font-weight: bold;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1.8;
  white-space: nowrap;
  padding-inline: 16px;
  z-index: 1;
}
.consultation-reserve__link__baloon::before,
.button-link__baloon::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 6.44px 4px 0 4px;
  border-color: #c99388 transparent transparent;
  translate: -50% 100%;
}
.consultation-reserve__link__baloon::after,
.button-link__baloon::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 4.5px 2.8px 0 2.8px;
  border-color: #ffffff transparent transparent;
  translate: -50% 100%;
}

.consultation-reserve__text + .consultation-reserve__link:has(.consultation-reserve__link__baloon){
  margin-top: 15px;
}

@media (min-width: 768px) {
  .consultation-reserve {
    margin-block: 60px;
  }

  .reservation .consultation-reserve {
    margin-block: 0px;
  }

  .consultation-reserve__link {
    max-width: 430px;
  }
}
