/* Content parallax
---------------------------------------------
   背景全面ではなく、複数写真をランダム風に配置し、写真側を中心に視差効果を付ける。
   写真群は画面全体を使って大胆に配置する。
--------------------------------------------- */
.front-content-parallax {
  position: relative;
  overflow: hidden;
  min-height: 110svh;
  padding: clamp(120px, 12vw, 190px) 0;
  background: #0f0f0f;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  isolation: isolate;
}

.front-content-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(15, 15, 15, 0.70) 0%, rgba(15, 15, 15, 0.28) 44%, rgba(15, 15, 15, 0.68) 100%),
    linear-gradient(180deg, rgba(15, 15, 15, 0.72) 0%, rgba(15, 15, 15, 0.10) 42%, rgba(15, 15, 15, 0.86) 100%);
  pointer-events: none;
}

.front-content-parallax__inner {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 64px));
  min-height: clamp(760px, 92svh, 980px);
  margin: 0 auto;
  display: block;
}

.front-content-parallax__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 100%;
  pointer-events: none;
}

.front-content-parallax__photo-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.front-content-parallax__photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #1c1c1c;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.44);
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  opacity: 0.30;
  backface-visibility: hidden;
}

.front-content-parallax__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 15, 15, 0.02), rgba(15, 15, 15, 0.24)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.front-content-parallax__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.front-content-parallax__photo--1 {
  left: -3vw;
  top: 2%;
  z-index: 3;
  width: clamp(420px, 43vw, 680px);
  aspect-ratio: 4 / 5;
}

.front-content-parallax__photo--2 {
  right: -5vw;
  top: 70%;
  z-index: 2;
  width: clamp(300px, 30vw, 520px);
  aspect-ratio: 1 / 1.22;
}

.front-content-parallax__photo--3 {
  left: 17vw;
  bottom: -30%;
  z-index: 1;
  width: clamp(340px, 34vw, 560px);
  aspect-ratio: 1.26 / 1;
}

.front-content-parallax__photo--4 {
  right: 8vw;
  bottom: -70%;
  z-index: 4;
  width: clamp(420px, 42vw, 720px);
  aspect-ratio: 16 / 10;
}

.front-content-parallax__photo--5 {
  left: 0%;
  top: 113%;
  z-index: 5;
  width: clamp(220px, 22vw, 360px);
  aspect-ratio: 1 / 1;
}

.front-content-parallax__text {
  position: relative;
  z-index: 8;
  width: min(520px, 86vw);
  padding-top: clamp(200px, 31vh, 200px);
  margin-left: auto;
  margin-right: clamp(16px, 14vw, 210px);
  transform: none !important;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.55);
}

.front-content-parallax__label {
  margin: 0 0 20px;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.28em;
}

.front-content-parallax__title {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5.8vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.front-content-parallax__lead {
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 2.2;
  letter-spacing: 0.06em;
}

/* 他セクション内でも再利用できる汎用クラス */
.has-content-parallax [data-content-parallax],
.js-content-parallax [data-content-parallax] {
  will-change: transform;
}

@media (max-width: 1024px) {
  .front-content-parallax__inner {
    width: min(100% - 48px, 100%);
  }

  .front-content-parallax__text {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .front-content-parallax {
    min-height: 100svh;
    padding: 90px 0 300px;
  }

  .front-content-parallax__inner {
    width: min(100% - 32px, 100%);
    min-height: 760px;
  }

  .front-content-parallax__photo--1 {
    left: -10%;
    top: -5%;
    width: 320px;
  }

  .front-content-parallax__photo--2 {
    right: -22%;
    top: 2%;
    width: 56%;
  }

  .front-content-parallax__photo--3 {
    left: -8%;
    bottom: -45%;
    width: 300px;
  }

  .front-content-parallax__photo--4 {
    right: -20%;
    bottom: -50%;
    width: 78%;
  }

  .front-content-parallax__photo--5 {
    left: 42%;
    top: 11%;
    width: 42%;
  }

  .front-content-parallax__text {
    width: min(100%, 520px);
    padding-top: 500px;
    margin: 0;
  }

  .front-content-parallax__title {
    font-size: clamp(32px, 10vw, 54px);
    letter-spacing: 0.08em;
  }

  .front-content-parallax__lead {
    line-height: 2;
  }
}

/*
  prefers-reduced-motion 時の無効化は JS 側
  (front-parallax.js の RESPECT_REDUCED_MOTION フラグ)で一元管理する。
  ここに transform: none !important を書くと JS の制御を上書きしてしまうため削除。
*/
