.page-contact {
  --contact-card-pad: 24px;
  --contact-line: rgba(224, 216, 204, 0.45);
  background: var(--paper);
  color: var(--ink);
  position: relative;
}

.page-contact .breadcrumbs {
  padding: 24px 0 12px;
  font-size: 14px;
  line-height: 1.6;
}

.page-contact .breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.page-contact .breadcrumbs a {
  color: var(--gray);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-contact .breadcrumbs a:hover {
  color: var(--ink);
  border-color: var(--green);
}

.page-contact .contact-hero {
  display: grid;
  gap: 28px;
  padding: 32px 0 56px;
  border-bottom: 1px solid var(--divider);
  background-image: linear-gradient(var(--contact-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--contact-line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 8px;
}

.page-contact .contact-hero-copy {
  max-width: 720px;
}

.page-contact .contact-kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}

.page-contact .contact-kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--green);
  border-radius: 99px;
}

.page-contact .contact-hero h1 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 900;
  max-width: 640px;
  letter-spacing: -0.02em;
}

.page-contact .contact-lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray);
  max-width: 640px;
}

.page-contact .contact-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-contact .contact-hero-fact {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--green);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 280px;
  position: relative;
  overflow: hidden;
}

.page-contact .contact-hero-fact::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 72px;
  height: 72px;
  border: 2px dashed rgba(28, 28, 28, 0.35);
  border-radius: 50%;
}

.page-contact .contact-num {
  font-family: var(--mono);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}

.page-contact .contact-hero-fact p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

.page-contact .route-board {
  padding: 56px 0 32px;
}

.page-contact .section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.page-contact .section-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  line-height: 1.6;
  padding-top: 6px;
  letter-spacing: 0.06em;
}

.page-contact .section-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
}

.page-contact .section-intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
}

.page-contact .route-grid {
  display: grid;
  gap: 20px;
}

.page-contact .route-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 28px var(--contact-card-pad);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.page-contact .route-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--ink);
}

.page-contact .route-card-ink::before {
  background: var(--ink);
}

.page-contact .route-card-green::before {
  background: linear-gradient(90deg, var(--ink) 0%, var(--green) 100%);
}

.page-contact .route-card-blue::before {
  background: linear-gradient(90deg, var(--ink) 0%, var(--blue) 100%);
}

.page-contact .route-card:hover {
  box-shadow: 0 8px 28px rgba(28, 28, 28, 0.14);
}

.page-contact .route-card-ink:hover {
  border-color: var(--ink);
  box-shadow: 0 8px 28px rgba(28, 28, 28, 0.22);
}

.page-contact .route-card-green:hover {
  border-color: var(--green);
  box-shadow: 0 8px 28px rgba(163, 230, 53, 0.3);
}

.page-contact .route-card-blue:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 28px rgba(0, 229, 255, 0.32);
}

.page-contact .route-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.page-contact .route-index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.08em;
}

.page-contact .route-line {
  position: relative;
  flex: 1;
  border-top: 2px dashed var(--divider);
  height: 1px;
}

.page-contact .route-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

.page-contact .route-card-green .route-line::after {
  background: var(--green);
  box-shadow: 0 0 12px rgba(163, 230, 53, 0.9);
}

.page-contact .route-card-blue .route-line::after {
  background: var(--blue);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.9);
}

.page-contact .route-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
}

.page-contact .route-desc {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
}

.page-contact .route-desc strong {
  color: var(--ink);
  font-weight: 700;
}

.page-contact .route-phone,
.page-contact .route-mail {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  word-break: break-all;
}

.page-contact .route-phone a,
.page-contact .route-mail a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-contact .route-card-green .route-phone a {
  color: #5f8a00;
}

.page-contact .route-card-blue .route-mail a {
  color: #008b9c;
}

.page-contact .route-phone a:hover,
.page-contact .route-mail a:hover {
  border-color: currentColor;
}

.page-contact .route-note {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.page-contact .route-tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 99px;
  border: 1px solid var(--divider);
  color: var(--ink);
  background: var(--paper);
  font-weight: 700;
}

.page-contact .contact-detail {
  padding: 56px 0 32px;
  border-top: 1px solid var(--divider);
}

.page-contact .detail-layout {
  display: grid;
  gap: 24px;
}

.page-contact .detail-panel {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 24px;
}

.page-contact .detail-list {
  margin: 0;
  display: grid;
  gap: 20px;
}

.page-contact .detail-item {
  border-left: 3px solid var(--divider);
  padding-left: 16px;
}

.page-contact .detail-item dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.page-contact .detail-item dd {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
}

.page-contact .detail-item dd a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-contact .detail-item:nth-child(2) dd a {
  color: #008b9c;
}

.page-contact .detail-item dd a:hover {
  border-color: currentColor;
}

.page-contact .detail-item .detail-note {
  font-size: 13px;
  color: var(--gray);
  font-weight: 400;
  line-height: 1.6;
}

.page-contact .detail-note a {
  color: var(--gray);
  font-weight: 400;
}

.page-contact .detail-figure {
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-contact .detail-figure img,
.page-contact .service-clock img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

.page-contact .detail-figure img {
  max-width: 100%;
  border: 1px solid var(--divider);
}

.page-contact .frame-caption {
  margin: 0;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.page-contact .service-note {
  margin-top: 24px;
  background: var(--space);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.page-contact .service-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
}

.page-contact .section-head-light .section-title {
  color: var(--paper);
}

.page-contact .section-head-light .section-intro {
  color: rgba(245, 240, 232, 0.7);
}

.page-contact .section-head-light .section-num {
  color: var(--green);
}

.page-contact .service-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.page-contact .service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px;
}

.page-contact .service-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  color: var(--green);
}

.page-contact .service-card p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.85);
}

.page-contact .service-card p:last-child {
  margin-bottom: 0;
}

.page-contact .service-card a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-contact .service-card a:hover {
  border-color: var(--blue);
}

.page-contact .service-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
}

.page-contact .service-bottom {
  display: grid;
  gap: 24px;
}

.page-contact .service-clock {
  margin: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.page-contact .service-clock img {
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-contact .service-clock .frame-caption {
  color: rgba(245, 240, 232, 0.7);
}

.page-contact .service-callout {
  border-left: 3px solid var(--green);
  padding-left: 18px;
}

.page-contact .service-callout h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
  color: var(--paper);
}

.page-contact .service-callout p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.85);
}

.page-contact .service-callout a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-contact .service-callout a:hover {
  border-color: var(--blue);
}

@media (min-width: 768px) {
  .page-contact .contact-hero {
    grid-template-columns: 1fr auto;
    align-items: end;
    padding-bottom: 64px;
  }

  .page-contact .contact-hero-fact {
    margin-bottom: 6px;
  }

  .page-contact .contact-hero h1 {
    font-size: 40px;
  }

  .page-contact .route-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-contact .detail-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }

  .page-contact .detail-panel {
    padding: 28px;
  }

  .page-contact .service-note {
    padding: 48px 32px;
  }

  .page-contact .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-contact .service-bottom {
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .page-contact .contact-hero h1 {
    font-size: 48px;
  }

  .page-contact .route-board {
    padding-top: 64px;
  }

  .page-contact .route-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-contact .section-head {
    margin-bottom: 32px;
  }

  .page-contact .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-contact .service-bottom {
    grid-template-columns: 260px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .route-card,
  .page-contact .route-card a,
  .page-contact .detail-item a,
  .page-contact .service-card a,
  .page-contact .service-callout a {
    transition: none;
  }
}
