.page-contact {
  --pg-card-bg: #FFFDF8;
  --pg-hero-deep: #071326;
  --pg-line: #D1C9B8;
  position: relative;
  background: #F5F0E6;
  color: #1C1812;
  padding-bottom: 48px;
}

.page-contact .breadcrumb {
  margin-bottom: 20px;
}

.page-contact .contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 24px 0 40px;
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  background: linear-gradient(135deg, #0B1D3A 0%, #071326 70%, #101c2e 100%);
  color: #F5F0E6;
  border: 1px solid #1C1812;
  box-shadow: 12px 12px 0 rgba(11, 29, 58, 0.14);
}

.page-contact .contact-hero-inner,
.page-contact .hero-aside {
  position: relative;
  z-index: 1;
}

.page-contact .contact-hero-lines {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 46%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 14px,
    rgba(255, 255, 255, 0.07) 14px 15px,
    transparent 15px 28px
  );
}

.page-contact .contact-hero-lines::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: #A3FF00;
}

.page-contact .contact-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A3FF00;
  padding-bottom: 4px;
}

.page-contact .contact-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: #F5F0E6;
}

.page-contact .contact-hero .lead {
  max-width: 720px;
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(245, 240, 230, 0.86);
}

.page-contact .hero-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(245, 240, 230, 0.2);
  background: rgba(245, 240, 230, 0.06);
}

.page-contact .hero-hours {
  display: grid;
  gap: 4px;
}

.page-contact .hero-hours-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(245, 240, 230, 0.72);
}

.page-contact .hero-hours-time {
  font-family: var(--font-mono);
  font-size: 28px;
  line-height: 1.2;
  color: #A3FF00;
}

.page-contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 40px;
}

.page-contact .contact-main {
  margin-top: 48px;
}

.page-contact .contact-aside {
  position: relative;
}

.page-contact .support-figure,
.page-contact .building-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #D1C9B8;
  box-shadow: 8px 8px 0 rgba(11, 29, 58, 0.1);
}

.page-contact .support-figure img,
.page-contact .building-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-contact .contact-aside-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #1C1812;
  background: var(--pg-card-bg);
  border: 1px solid #D1C9B8;
  border-left: 4px solid #FF5A1F;
}

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

.page-contact .contact-cards .section-heading {
  margin-bottom: 4px;
}

.page-contact .contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px;
  background: var(--pg-card-bg);
  border: 1px solid #D1C9B8;
  border-left-width: 5px;
  box-shadow: 6px 6px 0 rgba(11, 29, 58, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.page-contact .contact-card:hover,
.page-contact .contact-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 10px 12px 0 rgba(11, 29, 58, 0.12);
}

.page-contact .contact-card-email {
  border-left-color: #FF5A1F;
}

.page-contact .contact-card-phone {
  border-left-color: #3A6FB5;
}

.page-contact .contact-card-address {
  border-left-color: #A3FF00;
}

.page-contact .card-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #0B1D3A;
  color: #F5F0E6;
}

.page-contact .contact-card-email .card-icon {
  background: #FF5A1F;
  color: #0B1D3A;
}

.page-contact .contact-card-phone .card-icon {
  background: #0B1D3A;
  color: #A3FF00;
}

.page-contact .contact-card-address .card-icon {
  background: #A3FF00;
  color: #0B1D3A;
}

.page-contact .card-body {
  flex: 1 1 240px;
  min-width: 0;
}

.page-contact .card-label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3A6FB5;
}

.page-contact .card-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.5;
  color: #1C1812;
  text-decoration: none;
  word-break: break-all;
}

.page-contact a.card-value:hover {
  color: #FF5A1F;
}

.page-contact .card-desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #3A6FB5;
}

.page-contact .contact-map-side {
  position: relative;
}

.page-contact .map-visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid #D1C9B8;
  box-shadow: 10px 10px 0 rgba(11, 29, 58, 0.1);
  background: #0B1D3A;
}

.page-contact .building-figure {
  min-height: 260px;
  box-shadow: none;
}

.page-contact .building-figure img {
  min-height: 260px;
  opacity: 0.85;
}

.page-contact .map-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #D1C9B8;
  background: var(--pg-card-bg);
  color: #0B1D3A;
  font-family: var(--font-mono);
  font-size: 14px;
  box-shadow: 4px 4px 0 rgba(11, 29, 58, 0.16);
  transform: translate(-50%, -50%);
}

.page-contact .map-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #A3FF00;
  animation: pageContactPulse 1.5s infinite;
}

@keyframes pageContactPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(163, 255, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(163, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(163, 255, 0, 0);
  }
}

.page-contact .map-address {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  background: rgba(11, 29, 58, 0.92);
  color: #F5F0E6;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: max-height 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

.page-contact .map-visual:hover .map-address,
.page-contact .map-visual:focus-within .map-address {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}

.page-contact .map-address-label {
  font-weight: 700;
}

.page-contact .map-address-detail {
  color: rgba(245, 240, 230, 0.8);
}

.page-contact .map-hint {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid #D1C9B8;
  background: rgba(245, 240, 230, 0.9);
  color: #0B1D3A;
  font-family: var(--font-mono);
  font-size: 12px;
}

.page-contact .contact-service {
  margin-top: 48px;
}

.page-contact .time-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: clamp(24px, 4vw, 48px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #0B1D3A;
  background-size: 28px 28px;
  color: #F5F0E6;
  border: 1px solid #1C1812;
  box-shadow: 10px 10px 0 rgba(11, 29, 58, 0.14);
}

.page-contact .time-info {
  display: grid;
  gap: 14px;
}

.page-contact .time-info .section-heading {
  margin-bottom: 4px;
}

.page-contact .time-band .section-heading h2,
.page-contact .time-band h2 {
  color: #F5F0E6;
}

.page-contact .time-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(209, 201, 184, 0.3);
}

.page-contact .time-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.7);
}

.page-contact .time-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: #A3FF00;
}

.page-contact .time-note {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.8);
}

.page-contact .time-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(245, 240, 230, 0.2);
  background: rgba(245, 240, 230, 0.04);
}

.page-contact .clock-dial {
  position: relative;
  width: 96px;
  height: 96px;
  border: 2px solid #F5F0E6;
  border-radius: 50%;
}

.page-contact .clock-hand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 36px;
  background: #A3FF00;
  transform-origin: center bottom;
  transform: translateX(-50%) translateY(-100%) rotate(0deg);
  animation: pageContactClock 8s linear infinite;
}

@keyframes pageContactClock {
  0% {
    transform: translateX(-50%) translateY(-100%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) translateY(-100%) rotate(360deg);
  }
}

.page-contact .clock-range {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 180px;
  font-family: var(--font-mono);
  font-size: 20px;
  color: #A3FF00;
}

.page-contact .clock-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  color: #A3FF00;
}

.page-contact .contact-remarks {
  margin-top: 48px;
}

.page-contact .note-block {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--pg-card-bg);
  border: 1px solid #D1C9B8;
  border-top: 6px solid #FF5A1F;
  box-shadow: 8px 8px 0 rgba(11, 29, 58, 0.08);
}

.page-contact .note-content {
  min-width: 0;
}

.page-contact .note-content p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: #1C1812;
}

.page-contact .note-content a {
  color: #3A6FB5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-contact .note-content a:hover {
  color: #FF5A1F;
}

.page-contact a:focus-visible,
.page-contact .map-visual:focus-visible {
  outline: 2px solid #FF5A1F;
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .page-contact .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .page-contact .contact-map-side {
    grid-column: 1 / -1;
  }

  .page-contact .time-band {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .page-contact .contact-grid {
    grid-template-columns: 0.9fr 1.25fr 0.9fr;
  }

  .page-contact .contact-map-side {
    grid-column: auto;
  }
}

@media (hover: none) {
  .page-contact .map-address {
    max-height: 120px;
    opacity: 1;
    transform: none;
  }
}
