.page-contact-body {
  background: #ffffff;
  @media all and (min-width: 1024px) {
    border-radius: 160px;
    padding: 65px 0 100px;
    margin-top: -125px;
  }
  @media not all and (min-width: 1024px) {
    border-radius: 40px;
    padding: 40px 0 40px;
    margin-top: -50px;
  }
}

.page-contact-body__inner {
  font-size: 16px;
  line-height: 2;
  @media all and (min-width: 1024px) {
    max-width: 1000px;
    margin: 0 auto 0;
  }
  @media not all and (min-width: 1024px) {
    margin: 0 16px 0;
  }
}

.page-contact-anchors {
  @media all and (min-width: 1024px) {
    display: flex;
    justify-content: center;
    gap: 0 80px;
    margin: 0 0 100px;
  }
  @media not all and (min-width: 1024px) {
    margin: 0 0 50px;
    a {
      width: 100%;
    }
  }
}

.page-contact-anchors__child {
  @media not all and (min-width: 1024px) {
    &:not(:last-of-type) {
      margin-bottom: 20px;
    }
  }
}

.page-contact-section {
  background: var(--tertiary-color);
  border-radius: 24px;
  @media all and (min-width: 1024px) {
    padding: 56px 140px;
    &:not(:last-of-type) {
      margin-bottom: 100px;
    }
  }
  @media not all and (min-width: 1024px) {
    padding: 32px 16px;
    &:not(:last-of-type) {
      margin-bottom: 40px;
    }
  }
}

.page-contact-section__title {
  line-height: 1.5;
  text-align: center;

  @media all and (min-width: 1024px) {
    font-size: 32px;
    margin-bottom: 56px;
  }
  @media not all and (min-width: 1024px) {
    font-size: 24px;
    margin-bottom: 30px;
  }
}

.page-contact-linkGroup {
  @media all and (min-width: 1024px) {
    &:not(:last-child) {
      padding-bottom: 56px;
      border-bottom: 2px solid var(--primary-color);
      margin-bottom: 56px;
    }
  }
  @media not all and (min-width: 1024px) {
    &:not(:last-child) {
      padding-bottom: 30px;
      border-bottom: 2px solid var(--primary-color);
      margin-bottom: 30px;
    }
  }
}

.page-contact-link {
  display: block;
  width: 100%;
  background: #ffffff;
  box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.16);
  border-radius: 24px;
  position: relative;
  @media (any-hover: hover) {
    &:hover .page-contact-link__circle {
      scale: var(--button-circle-scale);
    }
  }
  @media all and (min-width: 1024px) {
    padding: 24px 80px 24px 32px;
    &:not(:last-child) {
      margin-bottom: 30px;
    }
  }
  @media not all and (min-width: 1024px) {
    padding: 24px 50px 24px 20px;
    &:not(:last-child) {
      margin-bottom: 16px;
    }
  }
}

.page-contact-link__circle {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  transition: scale var(--button-circle-duration) linear;
  & i {
    width: 11px;
    height: 11px;
    display: block;
    background: url('../../../../images/common/right-arrow.svg') center
      no-repeat;
  }

  @media all and (min-width: 1024px) {
    right: 34px;
  }
  @media not all and (min-width: 1024px) {
    right: 16px;
  }
}
