.contactMain {
  background: #fff;
}

.contactPage .nav>a[href="/index.html#contact"] {
  color: var(--blue);
  font-weight: 700;
}

.contactPage .nav>a[href="/index.html#contact"]::after {
  width: 100%;
}

.contactInfoSection {
  position: relative;
  overflow: hidden;
  padding-top: 1.01rem;
}

.contactInfoSection .main {
  max-width: 14.45rem;
  position: relative;
  z-index: 1;
}

.contactMapLineDecoration {
  width: 5.88rem;
  height: 3.07rem;
  position: absolute;
  z-index: 0;
  top: 2.93rem;
  left: 0;
  opacity: .1;
  pointer-events: none;
}

.contactInfoGrid {
  min-height: 2.35rem;
  display: grid;
  grid-template-columns: 7.43rem 1fr;
}

.contactAddress h2 {
  color: #111;
  font-size: clamp(30px, .4rem, 40px);
  line-height: 1.4;
  font-weight: 700;
}

.contactAddress p {
  width: 3.8rem;
  margin-top: .03rem;
  color: #111;
  font-size: clamp(18px, .24rem, 24px);
  line-height: 1.55;
  font-weight: 500;
}

.contactAddressIcon {
  width: .38rem;
  height: .38rem;
  margin-top: .37rem;
  display: block;
  object-fit: contain;
}

.contactMethods {
  position: relative;
  color: #7b7b7b;
}

.methodLabel {
  display: block;
  color: #7b7b7b;
  font-size: clamp(15px, .18rem, 18px);
  line-height: .34rem;
  font-weight: 500;
}

.hotlineValue {
  margin-top: -.04rem;
  display: flex;
  align-items: center;
  gap: .13rem;
}

.hotlineValue img {
  width: .34rem;
  height: .34rem;
  object-fit: contain;
}

.hotlineValue strong {
  color: #111;
  font-family: Arial, sans-serif;
  font-size: clamp(30px, .4rem, 40px);
  line-height: .56rem;
  font-weight: 400;
}

.methodDivider {
  height: .01rem;
  margin: .27rem .05rem 0 -.07rem;
  /* background: #c9c9c9; */
  border-bottom: .01rem dashed #c9c9c9;
}

.methodGrid {
  margin-top: .44rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .38rem;
}

.methodItem p {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: .1rem;
  color: #111;
  font-family: Arial, sans-serif;
  font-size: clamp(16px, .2rem, 20px);
  line-height: .34rem;
}

.methodItem p img {
  width: .34rem;
  height: .34rem;
  object-fit: contain;
}

.contactMap {
  height: 5.42rem;
  margin-top: 1.42rem;
  overflow: hidden;
  border-radius: .3rem;
  background: #eef1f2;
}

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

.contactMessage {
  height: 4.61rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  background: url('../images/contact-background.png') center / cover no-repeat;
}

.contactMessageShade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #FFF 10.1%, rgba(255, 255, 255, 0.61) 52.4%, rgba(255, 255, 255, 0.00) 76.92%);
}

.contactMessageMain {
  max-width: 14.45rem;
  position: relative;
  z-index: 1;
  padding-top: .78rem;
  text-align: center;
}

.contactMessage p:first-child {
  color: #828282;
  font-size: clamp(28px, .4rem, 40px);
  line-height: 1.5;
  font-weight: 500;
}

.contactMessage p {
  color: 000;
  font-size: clamp(28px, .4rem, 40px);
  line-height: 1.5;
  font-weight: 500;
}

.contactAction {
  width: fit-content;
  min-width: 2.37rem;
  height: .6rem;
  padding: 0 .28rem;
  margin: .22rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .06rem;
  background: var(--blue);
  color: #fff;
  font-size: clamp(16px, .2rem, 20px);
  font-weight: 500;
  transition: background .25s ease, transform .25s ease;
}

.contactAction:hover {
  background: #0e4bad;
  transform: translateY(-.03rem);
}

.modalOpen {
  overflow: hidden;
}

.messageModal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 3%;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease, visibility .25s ease;
}

.messageModal.show {
  visibility: visible;
  opacity: 1;
}

.messageModalMask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

.messageDialog {
  width: min(14.45rem, 100%);
  max-height: calc(100vh - 1rem);
  position: relative;
  z-index: 1;
  overflow-y: auto;
  border-radius: .1rem;
  background: #f1f5f8;
  padding: .68rem .72rem .52rem;
  box-shadow: 0 .1rem .35rem rgba(0, 0, 0, .16);
  transform: translateY(.16rem);
  transition: transform .25s ease;
}

.messageModal.show .messageDialog {
  transform: translateY(0);
}

.messageDialog h2 {
  color: #111725;
  font-size: clamp(28px, .38rem, 38px);
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

.messageClose {
  position: absolute;
  top: .16rem;
  right: .2rem;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  color: #7b7b7b;
  font-family: Arial, sans-serif;
  font-size: clamp(25px, .3rem, 30px);
  line-height: .36rem;
  transition: background .2s ease, color .2s ease;
}

.messageClose:hover {
  background: rgba(0, 54, 153, .08);
  color: var(--blue);
}

.messageForm {
  margin-top: .47rem;
}

.messageFields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: .38rem;
  row-gap: .28rem;
}

.formItem label {
  display: block;
  color: #111;
  font-size: clamp(14px, .18rem, 18px);
  line-height: .3rem;
  font-weight: 500;
}

.formItem.required label::before {
  content: '*';
  margin-right: .06rem;
  color: #f00;
}

.formItem input,
.formItem textarea {
  width: 100%;
  display: block;
  border: .01rem solid #d7dee8;
  border-radius: .03rem;
  background: #fff;
  color: #111;
  font-size: clamp(14px, .18rem, 18px);
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.formItem input {
  height: .5rem;
  padding: 0 .12rem;
}

.formItem textarea {
  height: 1.6rem;
  padding: .1rem .12rem;
}

.formItem input:focus,
.formItem textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .03rem rgba(0, 54, 153, .12);
}

.formMessage {
  margin-top: .28rem;
}

.formNotice {
  min-height: .25rem;
  margin-top: .12rem;
  color: #d4380d;
  font-size: clamp(12px, .14rem, 14px);
  line-height: .25rem;
  text-align: center;
}

.messageSubmit {
  min-width: 2.37rem;
  height: .6rem;
  padding: 0 .28rem;
  margin: .04rem auto 0;
  display: block;
  border-radius: .06rem;
  background: var(--blue);
  color: #fff;
  font-size: clamp(16px, .2rem, 20px);
  font-weight: 500;
  transition: background .25s ease, transform .25s ease;
}

.messageSubmit:hover {
  background: #0e4bad;
  transform: translateY(-.02rem);
}

@media (max-width: 768px) {
  .contactInfoSection { padding-top: .55rem; }
  .contactInfoGrid { min-height: 0; grid-template-columns: 1fr; gap: .35rem; }
  .contactAddress h2 { font-size: clamp(24px, .32rem, 32px); }
  .contactAddress p { width: auto; font-size: clamp(16px, .21rem, 21px); }
  .contactAddressIcon { margin-top: .16rem; }
  .methodGrid { margin-top: .22rem; gap: .18rem; }
  .methodDivider { margin-top: .2rem; }
  .contactMap { height: 3rem; margin-top: .55rem; border-radius: .12rem; }
  .contactMessage { height: auto; min-height: 3rem; }
  .contactMessageMain { padding: .5rem 0; }
  .contactMessage p, .contactMessage p:first-child { font-size: clamp(20px, .27rem, 27px); line-height: 1.55; }
  .contactAction { min-width: 1.7rem; }
  .messageModal { padding: .25rem 4%; }
  .messageDialog { max-height: calc(100vh - .5rem); padding: .42rem .24rem .3rem; }
  .messageForm { margin-top: .25rem; }
  .messageFields { grid-template-columns: 1fr; gap: .16rem; }
  .formItem textarea { height: 1.3rem; }
}
