/* =====================================
 * HERO タイプB
 * ===================================== */

.lc-hero--02 {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #f7f8fa;
}

/* ==========================
 * SVG ビジュアルレイヤー（主役）
 * ========================== */

.lc-hero02-illust {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.lc-hero02-vector {
  position: absolute;
  top: -330px;
  left: 50%;
  transform: translateX(-50%);
  /* 重要：画面サイズ追従＋最低サイズ保証 */
  width: 100%;
  min-width: 2200px;
  height: auto;
}

.lc-hero02-vector svg {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.3;
}

/* ==========================
 * テキストレイヤー
 * ========================== */

.lc-hero02-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.lc-hero02-content {
  max-width: 640px;
}

.lc-hero02-title {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.3;
}

.lc-hero02-lead {
  margin-top: 16px;
  font-size: 1.05rem;
  color: #000000;
}

/* SP 余白 */
@media (max-width: 768px) {
  .lc-hero-btn {
    margin-bottom: 24px;
  }
}

/* =====================================
 * ボタン
 * ===================================== */

.lc-hero--02 .lc-hero-btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid #dcdcdc;
  background: transparent;
  background-color: var(--lc-accent-color);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background-color .25s ease, color .25s ease;
}

.lc-hero--02 .lc-hero-btn:hover {
  background-color: #fff;
  color: var(--lc-accent-color);
}
/* SP ボタン */
@media (max-width: 768px) {
.lc-hero--02 .lc-hero-btn {
  display: block;
  text-align: center;
}

}

/* =====================================
 * SVG line draw animation
 * ===================================== */

.lc-line {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: lc-line-draw 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* 上ほど早く、下ほど少し遅らせる（全体圧縮） */
.lc-line:nth-child(1)  { animation-delay: 0.05s; }
.lc-line:nth-child(2)  { animation-delay: 0.10s; }
.lc-line:nth-child(3)  { animation-delay: 0.15s; }
.lc-line:nth-child(4)  { animation-delay: 0.20s; }
.lc-line:nth-child(5)  { animation-delay: 0.25s; }
.lc-line:nth-child(6)  { animation-delay: 0.30s; }
.lc-line:nth-child(7)  { animation-delay: 0.36s; }
.lc-line:nth-child(8)  { animation-delay: 0.42s; }
.lc-line:nth-child(9)  { animation-delay: 0.48s; }
.lc-line:nth-child(10) { animation-delay: 0.54s; }

@keyframes lc-line-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ========================================
 * SP調整
 * ===================================== */
@media (max-width: 768px) {

  /* ヒーロー本体：高さは中身依存 */
  .lc-hero--02 {
    height: auto;
  }

  /* SVG位置・サイズ調整 */
  .lc-hero02-vector {
    top: -200px;          /* PCより浅く */
    min-width: 1600px;    /* 横は確保しつつ軽めに */
  }

  /* テキストインナー余白 */
  .lc-hero02-container {
    padding-top: 20px;
    padding-bottom: 20px;
  }

}

/* =================================================
 * 下部 ギャラリー（背景装飾）
 * ================================================= */

.lc-hero-gallery {
  position: relative;
  overflow: hidden;
  background: #f7f8fa;
  padding: 0;
}

.lc-hero-gallery-track {
  width: 100%;
  overflow: hidden;
}

.lc-hero-gallery-list {
  display: flex;
  list-style: none;
  margin: 0;
  width: max-content;
  animation: lcHeroGalleryScroll 80s linear infinite;
}

.lc-hero-gallery-item {
  flex: 0 0 auto;
  width: 41.75rem; /* ≒ 668px */
  /*margin-right: 1.5rem;*/
}

.lc-hero-gallery-item img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 0;
  opacity: 0.9;
  pointer-events: none; /* 完全装飾 */
  user-select: none;
}



/* SP 調整 */
@media (max-width: 767px) {
  .lc-hero-gallery {
    padding: 20px 0;
  }

  .lc-hero-gallery-item {
    width: 18rem; /* ≒ 288px */
    margin-right: 1rem;
  }

  .lc-hero-gallery-item img {
    height: 180px;
    border-radius: 4px;
  }
}


/* 流れるアニメーション */
@keyframes lcHeroGalleryScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}