/* =================================================
   Hero タイプA
==================================================== */

.lc-hero--01 {
  position: relative;
  overflow: hidden;
}

/* -----------------
   Media
------------------ */

.lc-hero--01 .lc-hero-media {
  position: relative;
  height: 800px;
}

.lc-hero--01 .lc-hero-slides {
  position: relative;
  height: 100%;
  margin: 0;
}

.lc-hero--01 .lc-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
}

.lc-hero--01 .lc-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lc-hero--01 .lc-hero-slide:first-child {
  opacity: 1;
  z-index: 1;
}

/* -----------------
   Slider animation
------------------ */

/* === 3枚用スライド === */
.lc-hero--01.has-slider .lc-hero-slide:nth-child(1):nth-last-child(3),
.lc-hero--01.has-slider .lc-hero-slide:nth-child(2):nth-last-child(2),
.lc-hero--01.has-slider .lc-hero-slide:nth-child(3):nth-last-child(1) {
  animation: heroFadeA-3 18s infinite;
}

.lc-hero--01.has-slider .lc-hero-slide:nth-child(1):nth-last-child(3) { animation-delay: 0s; }
.lc-hero--01.has-slider .lc-hero-slide:nth-child(2):nth-last-child(2) { animation-delay: 6s; }
.lc-hero--01.has-slider .lc-hero-slide:nth-child(3):nth-last-child(1) { animation-delay: 12s; }

/* === 2枚用スライド === */
.lc-hero--01.has-slider .lc-hero-slide:nth-child(1):nth-last-child(2),
.lc-hero--01.has-slider .lc-hero-slide:nth-child(2):last-child {
  animation: heroFadeA-2 12s infinite;
}

.lc-hero--01.has-slider .lc-hero-slide:nth-child(1):nth-last-child(2) { animation-delay: 0s; }
.lc-hero--01.has-slider .lc-hero-slide:nth-child(2):last-child { animation-delay: 6s; }

/* === keyframes：3枚 === */
@keyframes heroFadeA-3 {
  0%   { opacity: 0; z-index: 0; }
  5%   { opacity: 1; z-index: 1; }
  30%  { opacity: 1; z-index: 1; }
  35%  { opacity: 0; z-index: 0; }
  100% { opacity: 0; z-index: 0; }
}

/* === keyframes：2枚 === */
@keyframes heroFadeA-2 {
  0%   { opacity: 0; z-index: 0; }
  5%   { opacity: 1; z-index: 1; }
  45%  { opacity: 1; z-index: 1; }
  50%  { opacity: 0; z-index: 0; }
  100% { opacity: 0; z-index: 0; }
}


/* -----------------
   Overlay（黒＋ストライプ）
------------------ */

.lc-hero--01 .lc-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 10px
    ),
    rgba(0,0,0,0.65);
}


/* -----------------
   Content
------------------ */

.lc-hero--01 .lc-hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.lc-hero--01 .lc-hero-title {
  margin-bottom: 32px;
  font-size: 2.6rem;
  line-height: 1.2;
}


.lc-hero--01 .lc-hero-lead {
  max-width: 720px;
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.lc-hero--01 .lc-hero-actions {
  margin-top: 8px;
}

/* -----------------
   ボタン処理
------------------ */

.lc-hero--01 .lc-hero-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 32px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.5);
  font-size: 0.95rem;
  line-height: 1;
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lc-hero--01 .lc-hero-btn:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
}


/* -----------------
   Responsive
------------------ */

@media (max-width: 768px) {

  .lc-hero--01 .lc-hero-media {
    height: auto;
    min-height: 420px;
  }

  .lc-hero--01 .lc-hero-slide img {
    height: 420px;
  }

  .lc-hero--01 .lc-hero-content {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 上下中央 */
    align-items: center;     /* 左右中央 */
    text-align: center;
    min-height: 420px;
    padding: 32px 24px 40px;
  }

  .lc-hero--01 .lc-hero-title {
    font-size: 1.9rem;
    margin-bottom: 24px;
  }

  .lc-hero--01 .lc-hero-lead {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .lc-hero--01 .lc-hero-actions {
    margin-top: 16px;
  }

}


