/* ── シネマティックヒーロー（初回エフェクト） ── */
.hero-cinema {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #050505;
}

.hero-cinema-slides {
  position: relative;
  min-height: 92vh;
}

.hero-cinema-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
  pointer-events: none;
}

.hero-cinema-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  min-height: 92vh;
}

.hero-cinema-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-cinema-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: brightness(0.75) saturate(1.05);
}

.hero-cinema-slide.active .hero-cinema-bg img {
  animation: hpKenBurns 8s ease-out forwards;
}

@keyframes hpKenBurns {
  from { transform: scale(1.12); }
  to { transform: scale(1.02); }
}

.hero-cinema-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.25) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 35%);
  z-index: 1;
}

.hero-cinema-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(80px, 14vh, 140px) 48px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92vh;
}

.hero-cinema.is-intro .hero-cinema-slide.active .hero-eyebrow,
.hero-cinema.is-intro .hero-cinema-slide.active h1,
.hero-cinema.is-intro .hero-cinema-slide.active .hero-sub,
.hero-cinema.is-intro .hero-cinema-slide.active .btn-primary {
  opacity: 0;
  transform: translateY(32px);
}

.hero-cinema.is-ready .hero-cinema-slide.active .hero-eyebrow {
  animation: hpFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
.hero-cinema.is-ready .hero-cinema-slide.active h1 {
  animation: hpFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}
.hero-cinema.is-ready .hero-cinema-slide.active .hero-sub {
  animation: hpFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}
.hero-cinema.is-ready .hero-cinema-slide.active .btn-primary {
  animation: hpFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

@keyframes hpFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-cinema-content h1 {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(56px, 10vw, 108px);
  line-height: 0.92;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.hero-cinema-content .hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: clamp(14px, 2vw, 17px);
  max-width: 420px;
  line-height: 1.85;
  margin-bottom: 32px;
}

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

.hero-cinema-dot {
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.hero-cinema-dot.active {
  background: var(--flow-accent, #e31837);
  width: 48px;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  right: 48px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-family: 'Oswald', sans-serif;
}
.hero-scroll-cue i {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent);
  animation: hpScrollLine 1.8s ease-in-out infinite;
}
@keyframes hpScrollLine {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ── 画像が流れるセクション ── */
.image-flow {
  background: #080808;
  padding: 48px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid #1a1a1a;
}

.image-flow-head {
  max-width: 1400px;
  margin: 0 auto 28px;
  padding: 0 24px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.image-flow-head h2 {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.06em;
  color: #fff;
}
.image-flow-head .section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--flow-accent, #e31837);
  font-weight: 700;
}

.image-flow-row {
  overflow: hidden;
  margin-bottom: 14px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.image-flow-row:last-child { margin-bottom: 0; }

.image-flow-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}
.image-flow-row[data-direction="left"] .image-flow-track {
  animation: hpFlowLeft 45s linear infinite;
}
.image-flow-row[data-direction="right"] .image-flow-track {
  animation: hpFlowRight 50s linear infinite;
}
.image-flow-row:hover .image-flow-track {
  animation-play-state: paused;
}

@keyframes hpFlowLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes hpFlowRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.flow-card {
  flex: 0 0 clamp(200px, 28vw, 280px);
  height: clamp(260px, 36vw, 340px);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #111;
  border: 1px solid #222;
  transition: transform 0.35s ease, border-color 0.35s;
  display: block;
}
.flow-card:hover {
  transform: scale(1.03);
  border-color: var(--flow-accent, #e31837);
  z-index: 2;
}
.flow-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.flow-card:hover img { transform: scale(1.06); }

.flow-card-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.92));
}
.flow-card-label {
  display: block;
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 4px;
}
.flow-card-price {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}

/* weedfeed をより綺麗に */
.weedfeed-premium {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.weedfeed-premium .weedfeed-item {
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero-cinema-content { padding: 100px 24px 100px; }
  .hero-scroll-cue { display: none; }
  .weedfeed-premium { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .hero-cinema, .hero-cinema-slides, .hero-cinema-slide.active { min-height: 78vh; }
  .hero-cinema-content { min-height: 78vh; padding-bottom: 80px; }
  .weedfeed-premium { grid-template-columns: repeat(2, 1fr); }
}

.stiiizy-hero-cinema { --flow-accent: #00FF41; }
.stiiizy-hero-cinema ~ .image-flow { --flow-accent: #00FF41; }
.stiiizy-hero-cinema .hero-cinema-dot.active { background: #00FF41; box-shadow: 0 0 10px rgba(0, 255, 65, 0.8); }
.stiiizy-hero-cinema .btn-primary { background: #00FF41; color: #000; }

@media (prefers-reduced-motion: reduce) {
  .hero-cinema-bg img,
  .image-flow-track,
  .hero-scroll-cue i { animation: none !important; }
  .hero-cinema.is-intro .hero-cinema-slide.active * { opacity: 1; transform: none; }
}
