@font-face {
  font-family: "EV Pretendard";
  src: url("/assets/Pretendard-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "EV Pretendard";
  src: url("/assets/Pretendard-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

#greeting, #certificates, #directions {
  font-family: "EV Pretendard", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

:is(#greeting, #certificates, #directions) .wrap {
  width: calc(100% - clamp(36px, 10vw, 140px));
  max-width: 1320px;
}

#greeting .greeting-banner h1 { line-height: 1.5; }
#greeting .greeting-banner p { color: #fffb; letter-spacing: .2em; }

#greeting .company-section-links {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px clamp(12px, 3vw, 32px);
  margin: 0;
  padding: 8px 14px;
  background: #f3f6fa;
  border-bottom: 1px solid #dce4f0;
  box-shadow: none;
}

.company-section-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  color: #1c3664;
  font-weight: 700;
}

#greeting .greeting-title { padding-top: clamp(34px, 5vw, 68px); }
#greeting .greeting-intro { padding-block: clamp(34px, 5vw, 72px) clamp(48px, 7vw, 100px); }
#greeting .greeting-vision { padding-block: clamp(48px, 7vw, 90px); }

#certificates {
  border-block: 1px solid #dce4f0;
  background: #f6f8fc;
}

#directions {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(36px, 6vw, 72px) 0;
  background: #fff;
  color: #18233d;
}

#directions h2 {
  margin: 0 0 22px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.25;
}

.directions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(16px, 2.5vw, 32px);
}

.directions-address, .directions-map {
  min-width: 0;
  border: 1px solid #dce4f0;
  border-radius: 12px;
}

.directions-address { padding: clamp(16px, 2.2vw, 28px); background: #f6f8fc; }
.directions-address h3 { margin: 0 0 6px; font-size: 1.3rem; }
.directions-address address { margin: 0; font-style: normal; color: #344360; word-break: keep-all; }
.directions-address dl { margin: 22px 0 0; color: #48536b; }
.directions-address dl > div + div { margin-top: 10px; }
.directions-address dt { font-weight: 700; color: #18233d; }
.directions-address dd { margin: 0; }
.directions-map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.directions-map-links .button { min-height: 44px; padding: 8px 13px; font-size: .9rem; }

.directions-map {
  display: block;
  width: 100%;
  min-height: 360px;
  height: 100%;
  background: #eff3f8;
}

@media (max-width: 700px) {
  .directions-grid { grid-template-columns: 1fr; }
  .directions-map { height: 330px; min-height: 0; }
}
