/* PC 端「联系我们」页面专属样式，只被 contact.html 引用 */

.contact-hero {
  color: #fff;
  text-align: center;
  background-color: #4a7fe0;
  background-position: top;
  background-size: cover;
  height: 44.4375rem;
  padding-top: 10.8125rem;
  background-image: url("../image/contact-hero-bg.png");
}

.contact-hero__eyebrow {
  color: #ffffffd9;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.contact-hero__title {
  margin-top: .3125rem;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 3.625rem;
}

.contact-hero__info {
  grid-template-columns: 28.3125rem 21.875rem 24.8125rem;
  margin: 9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.contact-info {
  flex-direction: column;
  align-items: center;
  display: flex;
  position: relative;
}

.contact-info img {
  width: 2.375rem;
  height: 2.375rem;
}

.contact-info+.contact-info:before {
  content: "";
  background-color: #ffffff4d;
  width: 1px;
  height: 5.0625rem;
  position: absolute;
  top: 1rem;
  left: 0;
}

.contact-info__text {
  max-width: 16.25rem;
  margin-top: 1.1875rem;
  font-size: 1rem;
  line-height: 1.375rem;
}

.contact-info:last-child .contact-info__text {
  max-width: 9.375rem;
}

.contact-info__label {
  color: #ffffffbf;
  margin-top: .1875rem;
  font-size: .75rem;
  line-height: 1.125rem;
}

.contact-body {
  background-position: top;
  background-size: cover;
  height: 37.5rem;
}

.contact-card {
  background-color: #fff;
  border-radius: 1.5rem;
  width: 65.625rem;
  height: 32.125rem;
  margin: 0 auto;
  display: flex;
  position: relative;
  top: -2.125rem;
  box-shadow: 0 10px 40px #1e3c7814;
}

.contact-card__panel {
  color: #fff;
  background: linear-gradient(#3882ff 0%,#005cf9 100%);
  border-radius: 1.5rem;
  flex-shrink: 0;
  width: 20.625rem;
  padding: 3.75rem 0 0 3.875rem;
  position: relative;
}

.contact-card__title {
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 2.25rem;
}

.contact-card__phone {
  position: absolute;
  top: 20.25rem;
  left: 3.875rem;
}

.contact-card__phone-number {
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-size: 1.125rem;
  line-height: 1.5rem;
  display: block;
}

@media (hover:hover) {
  .contact-card__phone-number:hover {
    text-underline-offset: .25rem;
    text-decoration: underline;
  }
}

.contact-card__phone-tip {
  color: #ffffffb3;
  margin-top: 2px;
  font-size: .75rem;
  line-height: .9375rem;
}

.contact-form {
  width: 34rem;
  margin-left: 5.5rem;
  padding-top: 3.8125rem;
}

.fill-field {
  background-color: var(--site-fill);
  transition: background-color var(--site-duration-fast) ease;
  border-radius: .5rem;
  margin-bottom: 1.4375rem;
}

@media (hover:hover) {
  .fill-field:hover {
    background-color: #f4f6f9;
  }
}

.fill-field:focus-within {
  background-color: #eef4ff;
}

.fill-field--phone {
  margin-bottom: 1.5rem;
}

.fill-field .form-item__label {
  height: 2.9375rem;
  color: var(--site-text-regular);
  padding: 0 0 0 1.875rem;
  font-size: .875rem;
  line-height: 2.9375rem;
}

.fill-field--phone .form-item__label {
  height: 2.875rem;
  line-height: 2.875rem;
}

.fill-field--textarea .form-item__label {
  line-height: 2.5rem;
}

.fill-field .input__wrapper {
  background: 0 0;
  height: 2.9375rem;
  padding: 0 1.875rem 0 0;
}

.fill-field--phone .input__wrapper {
  height: 2.875rem;
}

.fill-field .input__inner {
  color: var(--site-text-primary);
  font-size: .875rem;
}

.fill-field .textarea__inner {
  height: 10.625rem;
  color: var(--site-text-primary);
  background: 0 0;
  padding: .625rem 1.875rem .625rem 0;
  font-size: .875rem;
  line-height: 1.25rem;
}

.fill-field .form-item__error {
  padding-top: .1875rem;
}

.contact-form__actions {
  justify-content: flex-end;
  margin-top: 2rem;
  display: flex;
}

.contact-form__submit {
  width: 10rem;
  height: 3.0625rem;
}

.form-item__label {
  width: 6.75rem;
}

.textarea__inner {
  resize: none;
  min-height: 40px;
}
