/* ===================== Fonts ===================== */
body {
  font-family: 'Noto Sans JP', sans-serif;
}
.font-serif-jp {
  font-family: 'Shippori Mincho', serif;
}

/* ===================== Header nav ===================== */
#mobile-nav.show {
  display: flex;
}
.mobile-link {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e7e5e4;
}
.mobile-link:last-child {
  border-bottom: none;
}

/* ===================== Sections ===================== */
html {
  scroll-behavior: smooth;
}

#hero-section h1 {
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* ===================== Cards ===================== */
.service-card img {
  transition: transform 0.5s ease;
}

/* ===================== Back to top ===================== */
#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ===================== Form status ===================== */
#form-status.success {
  color: #15803d;
  font-weight: 600;
}
#form-status.error {
  color: #dc2626;
  font-weight: 600;
}

/* ===================== Daiwa House link button ===================== */
.daiwahouse-btn {
  border: 1px solid #e7e5e4;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.daiwahouse-btn:hover {
  transform: translateY(-2px);
}

/* ===================== Logo crop (enlarge mark + text, hide surrounding blank margin) ===================== */
/* images/logo.png has large blank margins; these classes zoom into the
   mark+text area (vertically ~16.5%-77.9% of the source image) so the
   visible characters render bigger without changing the outer box size. */
.logo-crop {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-crop img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: none;
}
.logo-crop-64 {
  height: 64px;
  width: 168px;
}
.logo-crop-64 img {
  height: 104px;
  top: -17px;
}

/* ===================== Utility ===================== */
::selection {
  background: #92400e;
  color: #fff;
}
