.hero {
  /* overlay text will be absolutely positioned relative to this box */
  position: relative;
}

.hero .text-overlay {
  font-size: clamp(20px, 5vw, 34px);;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateX(30%);
  transform: translateY(-80%);
  z-index: 2;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  font-weight: 500;
}
.hero img {
  width: 100%;            
  max-height: clamp(80px, 30vh, 200px);      
  object-fit: cover;      
  margin: 0 auto;
}

.page {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin-top: 32px;
}

/* 左    */
.side-nav {
  font-size: 0.9rem;
}

.side-nav h2 {
  font-size: clamp(19px, 2.5vw, 23px);
  background: #eee;
  padding: 8px 12px;
  margin: 0 0 12px;
}

.side-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-nav li {
  margin-bottom: 8px;
}

.side-nav li a {
  display: block;
  padding: 12px 16px;
  background: #f5f5f5;
  border-left: 4px solid #0b79d0;
  color: #0b3d91;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.side-nav li a:hover {
  background: #e8f2ff;
  border-left-color: #005bac;
  padding-left: 20px;
}


/* 右 */
.content {
  grid-template-columns: 1fr;
}

.content h2 {
  color: #0b3d91;
  border-bottom: 2px solid #0b3d91;
  padding-bottom: 2px;
  margin-top: 0;
  margin-bottom: 0px;
}

.content h3 {
  color: #1f4fa3;
  margin: 0;
  grid-column: 1 / -1;
}

.content p {
  margin-top: 0px;
  margin-bottom: 30px;
  font-size: clamp(14px, 2.5vw, 18px);
}

.google-map {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}



@media (max-width: 768px) {
  .page {
    grid-template-columns: 1fr;
  }

  .side-nav {
    order: -1;
    text-align: center;
  }

  .side-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .side-nav li {
    flex: 0 1 auto;
  }
}

@media(min-width:1100px){
  .hero .text-overlay {
    padding-left: 8%;
  }
}


