@charset "utf-8";

/******************************************
    오시는길
******************************************/
.contact_map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px;
  padding: 80px 60px;
  background: #f7f5f1 url('/resources/img/sub/contact_bg_img.jpg') no-repeat center / cover;
}

.contact_map__image,
.contact_map__image img {
  display: block;
  width: 100%;
}

.contact_map__image {
  border:1px solid var(--line-neutral);
  background:var(--white);
}

.contact_map__locations {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
  padding: 0 40px;
}

.contact_location {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.contact_location__content {
  min-width: 0;
  letter-spacing: -0.02em;
}

.contact_location h3 {
  font-size: 22px;
  font-weight: 800;
}

.contact_location address {
  margin-top: 8px;
  font-size: 18px;
  font-style: normal;
}

.contact_location__links {
  display: flex;
  flex: none;
  gap: 12px;
}

.contact_location__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fill-primary);
  transition: var(--deafult-transition);
}

.page_content .contact_location__links img {
  width: auto;
  max-width: 21px;
  max-height: 24px;
}

@media (hover: hover) and (min-width: 1025px) {
  .contact_location__links a:hover {
    transform: translateY(-2px);
    background: var(--fill-primary-hover);
  }
}

@media screen and (max-width: 1024px) {
  .contact_map {
    grid-template-columns: 1fr;
    gap: calc(40 / 375 * 100vw);
    padding: 24px 18px 36px;
  }

  .contact_map__locations {
    gap: calc(20 / 375 * 100vw);
    padding: 0;
    margin-top: calc(26 / 375 * 100vw);
  }

  .contact_location {
    gap: calc(14 / 375 * 100vw);
    flex-wrap: wrap;
  }

  .contact_location h3 {
    margin-bottom: calc(8 / 375 * 100vw);;
    font-size: calc(16 / 375 * 100vw);;
  }

  .contact_location address {
    font-size: calc(14 / 375 * 100vw);;
  }

  .contact_location__links {
    gap: calc(8 / 375 * 100vw);;
  }

  .contact_location__links a {
    width: calc(30 / 375 * 100vw);;
    height: calc(30 / 375 * 100vw);;
  }

  .page_content .contact_location__links img {
    max-width: calc(12 / 375 * 100vw);;
    max-height: calc(15 / 375 * 100vw);;
  }
}

@media screen and (min-width: 1025px) {
  .contact_map {
    grid-template-columns: minmax(0, calc((100% - 45px) / 2));
    justify-content: center;
  }
}
