/* ==========================================================================
   TOP ヒーロー — design/TOP.dc.html
   全画面の写真コラージュ・巨大コピー・斜線。TOP でのみ使う。
   ========================================================================== */

/* --- ヒーロー ------------------------------------------------------------ */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 560px;
  overflow: hidden;
  background: #050726;
  margin-top: -96px;          /* 透明ヘッダーの下に潜り込ませる */
}

/* 4枚の写真を斜めに切って並べたコラージュ */
.hero__collage {
  display: flex;
  position: absolute;
  top: 0; bottom: 0; right: 0; left: 56%;
  z-index: 1;
}
.hero__slice {
  flex: 1;
  background-size: cover;
  clip-path: polygon(24% 0, 100% 0, 76% 100%, 0 100%);
  filter: brightness(.96);
}
.hero__slice + .hero__slice { margin-left: -4.5%; }
.hero__slice--a { background-image: url(/assets/hero-A.jpg); background-position: 50% 34%; }
.hero__slice--b { background-image: url(/assets/hero-B.jpg); background-position: 50% 26%; }
.hero__slice--c { background-image: url(/assets/hero-C.jpg); background-position: 50% 30%; }
.hero__slice--d { background-image: url(/assets/hero-D.jpg); background-position: 50% 30%; }

.hero__photo-sp { display: none; }

/* 覆い（発光 + 左からの暗がり + 上端の暗がり） */
.hero__glow {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(70% 60% at 30% 60%, rgba(52, 110, 230, .4) 0%, rgba(5, 7, 38, 0) 60%);
  mix-blend-mode: screen;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(5,7,38,.78) 0%, rgba(4,10,32,.42) 32%, rgba(5,7,38,.08) 56%, rgba(5,7,38,.12) 100%);
}
.hero__top-fade {
  position: absolute; left: 0; right: 0; top: 0;
  height: clamp(96px, 16%, 180px);
  background: linear-gradient(180deg, rgba(5,7,38,.72) 0%, rgba(5,7,38,.45) 55%, rgba(5,7,38,0) 100%);
  z-index: 5;
  pointer-events: none;
}
.hero__bottom-fade {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: clamp(80px, 9vw, 140px);
  background: linear-gradient(180deg, rgba(5,7,38,0) 0%, rgba(16,28,76,.5) 55%, var(--c-navy) 100%);
  z-index: 6;
  pointer-events: none;
}

/* 赤・青の斜線3本。マウント後に左から伸びる */
.hero__line {
  position: absolute;
  width: 150%;
  transform: rotate(-13deg) scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease-out);
  z-index: 3;
}
.hero__line--1 { left: 6%; top: 22%; height: clamp(5px, .55vw, 8px); background: linear-gradient(90deg, var(--c-glow-blue), rgba(47, 95, 214, 0)); }
.hero__line--2 { left: 2%; top: 30%; height: clamp(3px, .3vw, 4px);  background: linear-gradient(90deg, var(--c-red), rgba(196, 9, 33, 0)); transition-delay: .12s; }
.hero__line--3 { left: 4%; top: 82%; height: clamp(4px, .42vw, 6px); background: linear-gradient(90deg, var(--c-red), rgba(196, 9, 33, 0)); transition-delay: .24s; }
.hero.is-playing .hero__line { transform: rotate(-13deg) scaleX(1); }

/* --- 巨大コピー ---------------------------------------------------------- */
.hero__text {
  position: absolute;
  left: clamp(32px, 5vw, 100px);
  top: 22%;
  width: 50%;
  max-width: 50%;
  z-index: 4;
  container-type: inline-size;   /* 下の 28cqi / 10cqi のため */
}

.hero__l1, .hero__l2, .hero__catch { opacity: 0; }
.hero__l1    { transform: translateY(36px); transition: opacity .8s var(--ease-out) .35s, transform .8s var(--ease-out) .35s; }
.hero__l2    { transform: translateY(-30px); transition: opacity .8s var(--ease-out) .5s,  transform .8s var(--ease-out) .5s; }
.hero__catch { transform: translateY(18px); transition: opacity .6s ease .8s, transform .6s ease .8s; }
.hero.is-playing .hero__l1,
.hero.is-playing .hero__l2,
.hero.is-playing .hero__catch { opacity: 1; transform: translateY(0); }

.hero__line1,
.hero__line2 {
  font-family: var(--f-head);
  font-weight: 900;
  font-style: italic;
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
  letter-spacing: var(--ls-hero);
}
/* 1行目「熱を」：オフホワイトのベタ + 青い発光 */
.hero__line1 {
  color: var(--c-offwhite);
  filter: drop-shadow(0 0 50px rgba(47, 95, 214, .7)) drop-shadow(0 10px 24px rgba(0, 0, 0, .5));
}
/* 2行目「生め。」：袋文字（塗りなし + 青い縁取り） */
.hero__line2 {
  color: transparent;
  -webkit-text-stroke: 3px var(--c-glow-blue);
  filter: drop-shadow(0 0 34px rgba(47, 95, 214, .65)) drop-shadow(0 10px 24px rgba(0, 0, 0, .55));
}
.hero__sub {
  font-family: var(--f-en);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(20px, 10cqi, 52px);
  white-space: nowrap;
  color: var(--c-red);
  letter-spacing: .04em;
  margin-top: 24px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5));
}

/* ==========================================================================
   SP（768px 以下）
   ========================================================================== */
@media (max-width: 768px) {
  .hero {
    aspect-ratio: auto;
    height: auto;
    min-height: 620px;
    margin-top: calc(var(--h-header-sp) * -1);
  }
  .hero__collage { display: none; }
  .hero__photo-sp {
    display: block;
    position: absolute;
    inset: 0;
    background-image: url(/assets/hero-A.jpg);
    background-size: cover;
    background-position: 50% 22%;
    filter: brightness(.86);
    z-index: 0;
  }
  .hero__scrim {
    background: linear-gradient(180deg, rgba(5,7,38,.55) 0%, rgba(5,7,38,.35) 40%, rgba(5,7,38,.82) 100%);
  }
  .hero__line { display: none; }
  .hero__text {
    left: 0; right: 0;
    top: auto;
    bottom: 7%;
    width: auto;
    max-width: none;
    z-index: 7;
    text-align: center;
    padding: 0 20px;
  }
  .hero__bottom-fade { height: 60px; }
}
