/* Contact page: renewal header + legacy body/content styles */

body#contact,
body#contact.page,
body#contact main,
body#contact main > section,
body#contact section {
  padding-top: 0 !important;
  background: #fff;
}

@media screen and (min-width: 768px) {
  body#contact,
  body#contact.page {
    padding-top: 0 !important;
  }
}

@media screen and (max-width: 768px) {
  body#contact section,
  body#contact main > section {
    padding-top: 0 !important;
  }
}

/* Renewal header — match about / hero pages (sticky, not fixed, so body padding stays 0) */
body#contact .site-header {
  position: sticky !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: #ffffff;
  border-bottom: none;
  backdrop-filter: none;
}

body#contact .site-header .header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 30px;
}

body#contact .site-header .logo {
  width: 200px;
  flex-shrink: 0;
}

body#contact .site-header .logo img {
  width: 100%;
  height: auto;
  display: block;
}

body#contact .site-header .global-nav {
  display: flex;
  gap: 16px;
  margin-left: auto;
  flex-wrap: nowrap;
}

body#contact .site-header .global-nav a {
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 500;
  color: #3d3428;
  letter-spacing: 0.06em;
  text-align: center;
}

body#contact .site-header .global-nav span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  color: #a8844a;
  letter-spacing: 0.12em;
}

body#contact .site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

body#contact .site-header .header-counseling-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

body#contact .site-header .ig-links {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
}

body#contact .site-header .ig-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 44px;
  color: var(--navy, #071f48);
  font-family: "Noto Serif JP", serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

body#contact .site-header .btn-header {
  padding: 13px 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
}

body#contact .site-header .btn-navy {
  background: #071f48;
  color: #fff;
}

body#contact .site-header .btn-gold {
  background: linear-gradient(135deg, #b8893f 0%, #d4a85f 50%, #c3934c 100%);
  box-shadow: 0 2px 8px rgba(176, 122, 50, 0.25);
  color: #fff;
}

@media (max-width: 900px) {
  body#contact .site-header .header-inner {
    height: 64px;
    padding: 10px 0;
  }

  body#contact .site-header .logo {
    width: min(150px, 42vw);
  }
}
