.contact_main {
  padding: 12rem 0px;
}
.contact_main .content {
  align-items: flex-start;
  gap: 8rem;
}
.contact_main .info {
  flex: 1;
  padding-top: 2rem;
}
.contact_main .tcon h2 + p {
  margin-top: 2rem;
}
.contact_main .offices {
  margin-top: 4.4rem;
}
.contact_main .offices li {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 3rem 0px;
  border-top: 1px solid var(--line);
}
.contact_main .offices li:last-child {
  border-bottom: 1px solid var(--line);
}
.contact_main .offices i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 5.6rem;
  height: 5.6rem;
  margin-top: 0.2rem;
  border-radius: 1rem;
  color: var(--primary);
  background-color: #fbe9eb;
}
.contact_main .offices svg {
  width: 2.4rem;
  height: 2.4rem;
}
.contact_main .offices span {
  display: block;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact_main .offices h3 {
  margin-top: 0.6rem;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 3rem;
}
.contact_main .offices p {
  color: var(--text);
  font-size: 1.5rem;
  line-height: 2.4rem;
}
.contact_main .offices .sub {
  margin-top: 0.2rem;
  font-size: 1.4rem;
}
.contact_main .offices .addr {
  margin-top: 1.2rem;
  color: var(--title);
  font-weight: 500;
}
.contact_main .offices .lines {
  margin-top: 0.6rem;
  line-height: 2.8rem;
}
.contact_main .offices .lines b {
  color: var(--title);
  font-weight: 600;
  white-space: nowrap;
}
.contact_main .offices .lines a {
  margin-right: 2.2rem;
  color: var(--title);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.3s;
}
.contact_main .offices .lines a:hover {
  color: var(--primary);
}
.contact_main .offices .desc {
  margin-top: 1.2rem;
  color: var(--gray);
  font-size: 1.4rem;
  line-height: 2.2rem;
}
.contact_main .cards {
  margin-top: 4.4rem;
}
.contact_main .cards li {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.6rem 0px;
  border-top: 1px solid var(--line);
}
.contact_main .cards li:last-child {
  border-bottom: 1px solid var(--line);
}
.contact_main .cards i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 1rem;
  color: var(--primary);
  background-color: #fbe9eb;
}
.contact_main .cards svg {
  width: 2.4rem;
  height: 2.4rem;
}
.contact_main .cards span {
  display: block;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 2rem;
}
.contact_main .cards a,
.contact_main .cards strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--title);
  font-family: var(--font_title);
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.8rem;
  transition: color 0.3s;
}
.contact_main .cards a:hover {
  color: var(--primary);
}
.contact_main .form {
  flex-shrink: 0;
  width: 76rem;
  padding: 5.4rem 5.6rem 5rem;
  border-radius: 4.17rem;
  background-color: #fff;
  box-shadow: 0px 2.4rem 6rem rgba(20, 22, 26, 0.1);
  border: 1px solid #eef0f2;
}
.contact_main .form h3 {
  margin-bottom: 3.4rem;
  font-weight: 800;
  font-size: 3rem;
  line-height: 3.8rem;
}
.contact_main .fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 2.8rem 2rem;
}
.contact_main .field.full {
  grid-column: 1 / -1;
}
.contact_main .field span {
  display: block;
  color: var(--text);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.7rem;
  text-transform: uppercase;
}
.contact_main .field span i {
  margin-left: 0.22rem;
  color: var(--primary);
  font-weight: 600;
}
.contact_main .field input,
.contact_main .field select,
.contact_main .field textarea {
  display: block;
  width: 100%;
  height: 5rem;
  margin-top: 1.16rem;
  padding: 0px 1.7rem;
  color: var(--title);
  font-weight: 500;
  font-size: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background-color: #fff;
  transition: border-color 0.3s;
}
.contact_main .field input:focus,
.contact_main .field select:focus,
.contact_main .field textarea:focus {
  border-color: var(--primary);
}
.contact_main .field input::placeholder,
.contact_main .field textarea::placeholder {
  color: var(--gray);
  font-weight: 400;
}
.contact_main .field select {
  cursor: pointer;
  padding-right: 4rem;
  -webkit-appearance: none;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1598.7 9676.4 11.3 6.4'%3E%3Cpolyline points='1609.3 9677.1 1604.3 9682.1 1599.4 9677.1' fill='none' stroke='%23c82034' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 1.72rem center / 1.13rem 0.64rem;
}
.contact_main .field select:invalid {
  color: var(--gray);
  font-weight: 400;
}
.contact_main .field textarea {
  height: 13rem;
  padding-top: 1.6rem;
  resize: none;
  line-height: 2rem;
}
.contact_main .agree {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  margin-top: 2.4rem;
  cursor: pointer;
}
.contact_main .agree input {
  flex-shrink: 0;
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0.3rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 0.44rem;
}
.contact_main .agree input:checked {
  border-color: var(--primary);
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4.2 3.8 7 9 1'/%3E%3C/svg%3E") no-repeat center / 1rem;
}
.contact_main .agree span {
  color: var(--text);
  font-size: 1.5rem;
  line-height: 2.4rem;
}
.contact_main .agree a {
  color: var(--primary);
  text-decoration: underline;
}
.contact_main .form .btn {
  display: flex;
  width: 100%;
  height: 5.8rem;
  margin-top: 2.6rem;
  border-radius: 2.9rem;
  font-variation-settings: 'opsz' 18;
}
.contact_main .sent_msg {
  display: none;
  margin-top: 1.6rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
}
.contact_main .form.sent .sent_msg {
  display: block;
}

@media screen and (max-width: 1200px) {
  .contact_main .content {
    flex-direction: column;
    align-items: stretch;
  }
  .contact_main .form {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .contact_main {
    padding: 50px 0px;
  }
  .contact_main .content {
    gap: 30px;
  }
  .contact_main .cards,
  .contact_main .offices {
    margin-top: 24px;
  }
  .contact_main .offices li {
    gap: 14px;
    padding: 20px 0px;
  }
  .contact_main .offices i {
    width: 44px;
    height: 44px;
  }
  .contact_main .offices h3 {
    font-size: 17px;
    line-height: 1.4;
  }
  .contact_main .offices p {
    font-size: 13px;
    line-height: 1.6;
  }
  .contact_main .offices .lines a {
    margin-right: 14px;
  }
  .contact_main .cards li {
    gap: 14px;
    padding: 16px 0px;
  }
  .contact_main .cards i {
    width: 44px;
    height: 44px;
  }
  .contact_main .cards a,
  .contact_main .cards strong {
    font-size: 16px;
    line-height: 1.4;
  }
  .contact_main .form {
    padding: 26px 18px;
    border-radius: 18px;
  }
  .contact_main .form h3 {
    margin-bottom: 20px;
    font-size: 22px;
  }
  .contact_main .fields {
    grid-template-columns: minmax(0px, 1fr);
    gap: 16px;
  }
  .contact_main .field span {
    font-size: 12px;
  }
  .contact_main .field input,
  .contact_main .field select,
  .contact_main .field textarea {
    height: 46px;
    margin-top: 8px;
    font-size: 14px;
  }
  .contact_main .field textarea {
    height: 110px;
  }
  .contact_main .agree span {
    font-size: 13px;
    line-height: 1.6;
  }
  .contact_main .form .btn {
    height: 50px;
  }
}

