html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.property-card-image,
.property-detail-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-detail-image {
  height: 420px;
}

.property-card-placeholder,
.property-detail-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
  color: #6c757d;
  font-size: 0.9rem;
}

.property-card-placeholder {
  height: 220px;
}

.property-detail-placeholder {
  height: 420px;
}

.property-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.25rem;
}

.property-thumb-lg {
  height: 140px;
  object-fit: cover;
}

.property-spec dt {
  color: #6c757d;
}

.property-detail-section-title {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  border-left: 4px solid #2d6a4f;
  font-weight: 700;
}

.property-detail-table th {
  width: 28%;
  background-color: #f8faf8;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: middle;
}

.property-detail-table td {
  vertical-align: middle;
}

.property-detail-remarks {
  padding: 1rem 1.25rem;
  background-color: #f8faf8;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  color: #495057;
}

.site-navbar {
  background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 100%);
}

.site-footer {
  background: #1b4332;
  color: #d8f3dc;
}

.site-footer .footer-link {
  color: #fff;
  text-decoration: none;
}

.site-footer .footer-link:hover {
  text-decoration: underline;
}

.hero-carousel {
  position: relative;
}

.hero-carousel-image {
  width: 100%;
  height: min(72vh, 520px);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 100%);
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.hero-overlay a,
.hero-overlay .btn {
  pointer-events: auto;
  position: relative;
  z-index: 3;
}

/* 左右のスライド操作領域がボタンを塞がないようにする */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 3rem;
  z-index: 1;
}

.hero-catch {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}

.hero-sub {
  font-size: 1.05rem;
  opacity: 0.95;
}

.hero-fallback {
  background: linear-gradient(135deg, #d8f3dc 0%, #b7e4c7 100%);
}

.company-info-card,
.company-profile-table th {
  background-color: #f8faf8;
}

.company-profile-table th {
  width: 28%;
  white-space: nowrap;
}

.company-dl dt {
  color: #6c757d;
}