/* Top carousel (hero) */
.hero-carousel {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  margin-bottom: 18px;
}

.hero-track {
  display: flex;
  transition: transform 450ms ease;
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  text-decoration: none;
  color: inherit;
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1920 / 720;
  object-fit: cover;
  background: #111;
}

/* “透明ガラス”は極薄。可読性は文字側（影＋縁取り）で担保する。 */
.hero-overlay {
  position: absolute;
  left: 50%;
  bottom: 16%;
  transform: translateX(-50%);
  width: min(1152px, 92%);
  text-align: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(0,0,0,0.08);
  backdrop-filter: blur(1px);
}

/* 白抜き（白字＋濃い縁取り）＋強めの影 */
.hero-title {
  font-size: clamp(1.1rem, 2.5vw, 2.15rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.92), 0 0 2px rgba(0,0,0,0.6);
  -webkit-text-stroke: 3px rgba(0,0,0,0.78);
  paint-order: stroke fill;
}

.hero-sub {
  margin-top: 8px;
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 800;
  color: rgba(255,255,255,0.96);
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0,0,0,0.92), 0 0 2px rgba(0,0,0,0.6);
  -webkit-text-stroke: 2px rgba(0,0,0,0.72);
  paint-order: stroke fill;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0,0,0,0.32);
  color: #fff;
  font-size: 32px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 5;
}

.hero-prev { left: 12px; }
.hero-next { right: 12px; }

.hero-nav:hover { background: rgba(0,0,0,0.52); }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
}

.hero-dot.is-active { background: rgba(255,255,255,0.96); }

/* Mobile: overlay下部の安全余白を少し確保 */
@media (max-width: 520px){
  .hero-overlay{ bottom: 20%; }
}

body{ padding-top: var(--header-h); }
