.contact-layout {
  background: #ffffff;
}

.contact-layout .subpage-banner-footer {
  display: none;
}

.contact-layout .subpage-banner.has-subnav .subpage-banner-content {
  padding-bottom: 42px;
}

.contact-page {
  --contact-navy: #001d3d;
  --contact-blue: #0052d9;
  --contact-blue-dark: #001d3d;
  --contact-cyan: #0052d9;
  --contact-text: #2f3744;
  --contact-muted: #596170;
  --contact-line: #e2e7ef;
  --contact-mist: #f5f7fa;
  --contact-white: #ffffff;
  overflow: visible;
  background: var(--contact-white);
  color: var(--contact-text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
  box-sizing: border-box;
}

.contact-container {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

.contact-section {
  padding: 96px 0;
}

.contact-page h2,
.contact-page h3,
.contact-page p,
.contact-page figure {
  margin-top: 0;
}

.contact-page h2,
.contact-page h3 {
  color: var(--contact-navy);
  font-weight: 700;
  letter-spacing: 0;
}

.contact-page h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.35;
}

.contact-page h3 {
  font-size: 21px;
  line-height: 1.45;
}

.contact-page p {
  color: var(--contact-muted);
}

.contact-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-summary {
  position: relative;
  z-index: 5;
  margin-top: -112px;
  padding-bottom: 84px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.contact-info-card {
  position: relative;
  min-height: 238px;
  padding: 30px 26px;
  overflow: hidden;
  border: 1px solid var(--contact-line);
  border-radius: 6px;
  background: var(--contact-white);
  box-shadow: 0 12px 30px rgba(12, 35, 64, .08);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.contact-info-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--contact-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.contact-info-card:hover {
  border-color: #e2e7ef;
  box-shadow: 0 16px 34px rgba(12, 35, 64, .11);
  transform: translateY(-4px);
}

.contact-info-card:hover::before {
  transform: scaleX(1);
}

.contact-info-card > .material-symbols-outlined {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--contact-blue);
  background: #edf3ff;
  font-size: 25px;
}

.contact-info-card h2 {
  margin: 0 0 7px;
  font-size: 20px;
}

.contact-info-card p {
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-info-card a,
.contact-info-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--contact-blue-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-info-card a:focus-visible {
  outline: 3px solid rgba(30, 90, 150, .42);
  outline-offset: 3px;
}

.contact-inquiry {
  border-top: 1px solid var(--contact-line);
  background: var(--contact-white);
  scroll-margin-top: 88px;
}

.contact-inquiry__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 48px;
  align-items: stretch;
}

.contact-form-panel {
  padding: 42px;
  border-top: 3px solid var(--contact-blue);
  border-radius: 6px;
  background: var(--contact-white);
  box-shadow: 0 12px 32px rgba(12, 35, 64, .07);
}

.contact-form-panel > header {
  margin-bottom: 32px;
}

.contact-form-panel > header p {
  margin-bottom: 0;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-field {
  margin-bottom: 18px;
}

.contact-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--contact-text);
  font-size: 14px;
  font-weight: 700;
}

.contact-field label span {
  margin-left: 7px;
  color: var(--contact-muted);
  font-size: 12px;
  font-weight: 400;
}

.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #e2e7ef;
  border-radius: 3px;
  outline: none;
  background: var(--contact-white);
  color: #2f3744;
  font: inherit;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field textarea {
  min-height: 126px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--contact-blue);
  box-shadow: 0 0 0 3px rgba(30, 90, 150, .1);
}

.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.contact-field__error {
  min-height: 18px;
  margin: 4px 0 -18px;
  color: #b42318 !important;
  font-size: 12px;
  line-height: 1.45;
}

.contact-consent-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.contact-consent-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 4px 0 0;
  accent-color: var(--contact-blue);
}

.contact-consent-field label {
  color: var(--contact-muted);
  font-size: 13px;
}

.contact-consent-field a {
  margin: 0 3px;
  color: var(--contact-blue-dark);
  text-underline-offset: 3px;
}

.contact-consent-error {
  min-height: 18px;
  margin: 3px 0 0;
}

.contact-form__actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}

.contact-submit {
  display: inline-flex;
  min-width: 158px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 22px;
  border: 1px solid var(--contact-blue);
  border-radius: 3px;
  color: var(--contact-white);
  background: var(--contact-blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  border-color: var(--contact-blue-dark);
  background: var(--contact-blue-dark);
  transform: translateY(-2px);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: .7;
}

.contact-submit .material-symbols-outlined {
  font-size: 19px;
}

.contact-form-status {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 700;
}

.contact-map-panel {
  min-height: 620px;
}

.contact-map {
  position: relative;
  height: 100%;
  min-height: 620px;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid var(--contact-line);
  border-radius: 6px;
  background: #e2e7ef;
  box-shadow: 0 12px 32px rgba(12, 35, 64, .07);
}

.contact-map img {
  filter: saturate(.82) contrast(1.02);
  transition: filter .4s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.contact-map:hover img {
  filter: saturate(1) contrast(1.03);
  transform: scale(1.025);
}

.contact-map figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 4px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px rgba(12, 35, 64, .16);
  backdrop-filter: blur(8px);
}

.contact-map figcaption > .material-symbols-outlined {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--contact-blue);
  background: #edf3ff;
}

.contact-map figcaption strong {
  display: block;
  color: var(--contact-navy);
}

.contact-map figcaption p {
  margin-bottom: 0;
  font-size: 14px;
}

.contact-offices {
  border-top: 1px solid var(--contact-line);
  background: var(--contact-mist);
  scroll-margin-top: 88px;
}

.contact-section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.contact-section-heading p {
  margin-bottom: 0;
}

.contact-office-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.contact-office {
  overflow: hidden;
  border: 1px solid var(--contact-line);
  border-radius: 6px;
  background: var(--contact-white);
  box-shadow: 0 8px 24px rgba(12, 35, 64, .055);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.contact-office:hover {
  border-color: #e2e7ef;
  box-shadow: 0 14px 32px rgba(12, 35, 64, .09);
  transform: translateY(-4px);
}

.contact-office figure {
  height: 230px;
  margin: 0;
  overflow: hidden;
  background: #e2e7ef;
}

.contact-office figure img {
  filter: brightness(1.1) contrast(1.02);
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .4s ease;
}

.contact-office:hover figure img {
  filter: brightness(1.15) contrast(1.02) saturate(1.05);
  transform: scale(1.045);
}

.contact-office > div {
  padding: 26px 26px 28px;
}

.contact-office > div > .material-symbols-outlined {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--contact-blue);
  background: #edf3ff;
  font-size: 23px;
}

.contact-office h3 {
  min-height: 60px;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--contact-line);
  font-size: 20px;
}

.contact-office > div > strong {
  display: block;
  min-height: 50px;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-office dl {
  display: grid;
  gap: 13px;
  margin: 20px 0 0;
  padding-top: 0;
  border-top: 0;
}

.contact-office dl > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
}

.contact-office dt {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  color: var(--contact-navy);
  font-size: 13px;
  font-weight: 700;
}

.contact-office dt .material-symbols-outlined {
  margin-top: 2px;
  color: var(--contact-blue);
  font-size: 16px;
}

.contact-office dd {
  margin: 0;
  color: var(--contact-muted);
  font-size: 13px;
  line-height: 1.65;
}

.contact-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.contact-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-info-card:nth-child(2),
.contact-office:nth-child(2) { transition-delay: 80ms; }
.contact-info-card:nth-child(3),
.contact-office:nth-child(3) { transition-delay: 150ms; }
.contact-info-card:nth-child(4) { transition-delay: 220ms; }

@media (max-width: 1100px) {
  .contact-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-info-card { min-height: 220px; }
  .contact-inquiry__layout { grid-template-columns: 1fr; }
  .contact-map-panel,
  .contact-map { min-height: 500px; }
  .contact-office-grid { grid-template-columns: 1fr; }
  .contact-office { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); }
  .contact-office figure { height: 100%; min-height: 320px; }
  .contact-office > div > strong { min-height: 0; }
}

@media (max-width: 760px) {
  .contact-layout .subpage-banner-footer { display: none; }
  .contact-layout .subpage-banner.has-subnav .subpage-banner-content { padding-bottom: 44px; }
  .contact-container { width: calc(100% - 40px); }
  .contact-section { padding: 64px 0; }
  .contact-page h2 { font-size: 30px; }
  .contact-summary { margin-top: 0; padding: 26px 0 64px; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-info-card { min-height: 0; padding: 26px 22px; box-shadow: 0 10px 26px rgba(12, 35, 64, .09); }
  .contact-form-panel { padding: 30px 20px; }
  .contact-form__row { grid-template-columns: 1fr; gap: 0; }
  .contact-form__actions { align-items: stretch; flex-direction: column; }
  .contact-submit { width: 100%; }
  .contact-map-panel,
  .contact-map { min-height: 420px; }
  .contact-section-heading { margin-bottom: 34px; text-align: left; }
  .contact-office { display: block; }
  .contact-office figure { height: 230px; min-height: 0; }
  .contact-office > div { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .contact-reveal {
    opacity: 1;
    transform: none;
  }
}
