/* ============================================
   event.css - イベントページ専用スタイル
   ============================================ */

#event-main {
  overflow-x: clip;
}


/* ============================================
   HERO
   ============================================ */

#event-main .page-hero__img {
  object-position: bottom center;
}


/* ============================================
   SPF セクション（brown-dark 背景 + suisai）
   ============================================ */

.event-page-spf {
  position: relative;
  background-color: var(--brown-dark);
  padding-bottom: 200px;
  z-index: 1;
}

.event-page-spf::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/suisai.png');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  mix-blend-mode: color-burn;
  pointer-events: none;
}

.event-page-spf__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem var(--side-padding-pc) 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* SPFロゴエリア */
.event-page-spf__logo-wrap {
  margin-bottom: 1.5rem;
}

.event-page-spf__logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.event-page-spf__title {
  font-family: var(--font-nav);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 2rem;
}

/* 区切り：横線 + テキスト */
.event-page-spf__divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.event-page-spf__divider::before,
.event-page-spf__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(234, 204, 138, 0.4);
}

.event-page-spf__divider-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.event-page-spf__body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 2.2;
  color: rgba(255, 251, 237, 0.82);
}


/* ============================================
   自動スクロールスライダー
   ============================================ */

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

.event-slider {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
}

.event-slider--join {
  padding: 3rem 0 4rem;
}

.event-slider__track {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  width: max-content;
  animation: event-slide 90s linear infinite;
}

.event-slider__track img {
  display: block;
  width: auto;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.event-slider__track img:nth-child(10n+1)  { height: 200px; margin-top: 40px; }
.event-slider__track img:nth-child(10n+2)  { height: 200px; margin-top: 10px; }
.event-slider__track img:nth-child(10n+3)  { height: 180px; margin-top: 65px; }
.event-slider__track img:nth-child(10n+4)  { height: 200px; margin-top: 10px; }
.event-slider__track img:nth-child(10n+5)  { height: 220px; margin-top: 30px; }
.event-slider__track img:nth-child(10n+6)  { height: 245px; margin-top: 55px; }
.event-slider__track img:nth-child(10n+7)  { height: 240px; margin-top: 20px; }
.event-slider__track img:nth-child(10n+8)  { height: 275px; margin-top: 70px; }
.event-slider__track img:nth-child(10n+9)  { height: 185px; margin-top: 60px; }
.event-slider__track img:nth-child(10n+10) { height: 255px; margin-top: 15px; }

.event-slider__deco {
  display: none;
}

.event-slider::before {
  content: '';
  position: absolute;
  top: 65%;
  left: 0;
  width: 100%;
  height: 143px;
  transform: translateY(-50%);
  background-image: url('../images/event/event_slider_deco.png');
  background-repeat: repeat-x;
  background-size: 4002px 141px;
  pointer-events: none;
  z-index: 1;
}


/* ============================================
   HIGHLIGHTS（highlight_bg.png で波型トップ）
   ============================================ */

.event-highlights {
  position: relative;
  background-image: url('../images/event/highlight_bg.png');
  background-size: max(100%, 1920px) auto;
  background-position: top center;
  background-repeat: no-repeat;
  margin-top: -150px;
  z-index: 2;
}

.event-highlights__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 11rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* テキスト側 */
.event-highlights__heading {
  font-family: var(--font-nav);
  font-weight: 800;
  font-style: italic;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.event-highlights__lead-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.event-highlights__lead-wrap::before,
.event-highlights__lead-wrap::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(234, 204, 138, 0.3);
}

.event-highlights__lead {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: rgba(255, 251, 237, 0.55);
  white-space: nowrap;
}

.event-highlights__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.event-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.event-highlight-item:nth-child(1) { padding-right: 3rem; }
.event-highlight-item:nth-child(2) { padding-left: 1.5rem; padding-right: 1.5rem; }
.event-highlight-item:nth-child(3) { padding-left: 3rem; }

.event-highlight-item__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(255, 251, 237, 0.2);
  flex-shrink: 0;
  min-width: 4rem;
}

.event-highlight-item__title {
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 1rem;
  color: var(--cream-light);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.event-highlight-item__body p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 251, 237, 0.65);
}

/* 写真側 */
.event-highlights__photo-stack {
  position: relative;
  height: 600px;
  margin-left: 60px;
}

.event-highlights__photo-img--back,
.event-highlights__photo-img--front {
  position: absolute;
  width: 50%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  display: block;
}

.event-highlights__photo-img--back {
  top: 0;
  left: 0;
  transform: rotate(-4deg);
  z-index: 1;
}

.event-highlights__photo-img--front {
  bottom: 0;
  right: 0;
  transform: rotate(4deg);
  z-index: 2;
}


/* ============================================
   MOVIE（cream 背景）
   ============================================ */

.event-movie {
  position: relative;
  background-color: var(--cream-light);
  z-index: 3;
  padding: 6rem var(--side-padding-pc);
}

.event-movie__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.event-movie .section-heading {
  color: var(--brown-warm);
}

.event-movie .section-sub {
  color: var(--brown-warm);
  margin-bottom: 2.5rem;
}

.event-movie__embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 4px;
  overflow: hidden;
}

.event-movie__embed--soon {
  background-color: var(--cream);
  border: 1px solid var(--brown-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-movie__soon {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.15em;
  color: var(--brown-mid);
}

.event-movie__embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


/* ============================================
   JOIN THE CREW（sage 背景 + suisai）
   ============================================ */

.event-join {
  position: relative;
  background-color: var(--cream-light);
  z-index: 4;
}

/* sage 帯：写真が上部にはみ出す */
.event-join::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 160px;
  bottom: 460px;
  background-color: var(--sage);
  z-index: 0;
}

.event-join::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 160px;
  bottom: 460px;
  background-image: url('../images/suisai.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.event-join__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}

.event-join__photo {
  overflow: visible;
  align-self: center;
  min-width: 0;
  flex-shrink: 1;
}

.event-join__photo img {
  width: auto;
  max-width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 4px;
}

.event-join__text {
  min-width: 0;
  flex-shrink: 1;
  padding-top: 6rem;
}

.event-join__heading {
  color: var(--brown-mid);
  letter-spacing: 0.1em;
  line-height: 1;
}

.event-join__subtitle {
  color: var(--brown-dark);
  margin-bottom: 1.5rem;
}

.event-join__lead {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--brown-dark);
  margin-bottom: 1rem;
}

.event-join__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.event-join__list li {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 2;
  color: var(--brown-dark);
}

.event-join__cta {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--brown-dark);
}

.event-join__details {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}


/* ============================================
   セクション見出し（共通は style.css、ここは色上書きのみ）
   ============================================ */


/* ============================================
   CONTACT
   ============================================ */

/* イベントページ固有の上書き */
.section-contact {
  position: relative;
  z-index: 5;
}

.section-contact__lead {
  color: var(--brown-dark);
}


/* ============================================
   RESPONSIVE - タブレット（〜1024px）
   ============================================ */

@media (max-width: 1024px) {

  .event-page-spf__inner {
    padding: 5rem var(--side-padding-sp) 3rem;
  }

  .event-highlights {
    background-size: cover;
  }

  .event-highlights__inner {
    padding: 12rem var(--side-padding-sp);
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .event-highlights__photo-stack {
    margin: 0 3rem;
  }

  .event-highlight-item:nth-child(1),
  .event-highlight-item:nth-child(2) {
    padding-right: 0;
  }

  .event-highlight-item:nth-child(2),
  .event-highlight-item:nth-child(3) {
    padding-left: 0;
  }

  .event-movie {
    padding: 5rem var(--side-padding-sp);
  }

  .event-join__inner {
    padding: 5rem 2rem;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

}


/* ============================================
   RESPONSIVE - SP（〜768px）
   ============================================ */

@media (max-width: 768px) {

  .event-page-spf__logo-img {
    height: 50px;
  }

  .event-page-spf__body br {
    display: none;
  }

  .event-highlights__photo-stack {
    height: 300px;
  }

  .event-highlights__photo-img--back,
  .event-highlights__photo-img--front {
    width: 62%;
    height: 190px;
  }

  .event-movie {
    padding: 4rem var(--side-padding-sp);
  }

  .event-join__inner {
    flex-direction: column;
    padding: 4rem 20px;
    gap: 2rem;
  }

  .event-join::before,
  .event-join::after {
    top: 0px;
    bottom: 160px;
    height: auto;
  }

  .event-join__photo {
    width: 100%;
    align-self: flex-start;
  }

  .event-join__photo img {
    width: 100%;
    height: 240px;
  }

  .event-join__text {
    width: 100%;
    min-width: 0;
    padding-top: 0px;
  }

  .event-join__heading {
    font-size: 2.25rem;
  }

  .event-slider__track {
    animation-duration: 90s;
  }

  .event-slider::before {
    height: 100px;
    background-size: 2800px 99px;
  }

  .event-slider__track img:nth-child(10n+1)  { height: 130px; margin-top: 25px; }
  .event-slider__track img:nth-child(10n+2)  { height: 170px; margin-top: 5px;  }
  .event-slider__track img:nth-child(10n+3)  { height: 115px; margin-top: 40px; }
  .event-slider__track img:nth-child(10n+4)  { height: 185px; margin-top: 0;    }
  .event-slider__track img:nth-child(10n+5)  { height: 140px; margin-top: 20px; }
  .event-slider__track img:nth-child(10n+6)  { height: 155px; margin-top: 35px; }
  .event-slider__track img:nth-child(10n+7)  { height: 125px; margin-top: 12px; }
  .event-slider__track img:nth-child(10n+8)  { height: 175px; margin-top: 0;    }
  .event-slider__track img:nth-child(10n+9)  { height: 120px; margin-top: 38px; }
  .event-slider__track img:nth-child(10n+10) { height: 160px; margin-top: 8px;  }
}

