/* =========================================================
   NOAH招待LP — styles.css
   Figma「NOAH招待LP ◇ Bright」PC/SP をレスポンシブ実装
   ========================================================= */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background-color: var(--gray-50);
}

body {
  margin: 0;
  background: var(--gray-50);
  color: var(--l-text);
  font-family: var(--font-body);
  font-feature-settings: "palt";
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
@media (hover: none) {
  .btn:hover { transform: none; }
}
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--lg { padding: 18px 34px; font-size: 17px; }
@media (min-width: 768px) {
  .btn--sm { height: 44px; padding-top: 0; padding-bottom: 0; }
  .btn--lg { height: 60px; padding-top: 0; padding-bottom: 0; }
  .hero-buttons .btn { width: 240px; }
}
.btn:has(.ic-arrow) { padding-right: 20px; padding-left: 24px; }
.ic-arrow { width: 15px; height: 15px; flex: 0 0 auto; }

.btn--primary {
  background: var(--acc);
  border-color: color-mix(in srgb, var(--acc-ink) 30%, transparent);
  color: var(--acc-ink);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--acc) 45%, transparent);
}
.btn--primary:hover { background: color-mix(in srgb, var(--acc) 88%, black); }

.btn--outline-light {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.65);
  color: #fff;
}
.btn--outline-light:hover { background: rgba(255,255,255,.16); }

.btn--outline-dark {
  background: transparent;
  border-color: var(--acc-ink);
  color: var(--acc-ink);
}
.btn--outline-dark:hover { background: color-mix(in srgb, var(--acc-ink) 7%, transparent); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0;
  z-index: 50;
  width: 100%;
  height: 72px;
  color: #fff;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(255,255,255,.96);
  color: var(--l-text);
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
  /* backdrop-filter は付けない：付けると固定メニュー(position:fixed)の基準が
     ヘッダーになり全画面オーバーレイが機能しなくなるため */
}
.header-inner {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  position: relative;
  display: block;
  width: 216px;
  height: 40px;
  flex: 0 0 auto;
}
.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity .25s ease;
}
/* 透明ヘッダー（未スクロール）＝darkmodeロゴ、白帯（スクロール/メニュー）＝通常ロゴ */
.brand-logo--onwhite { opacity: 0; }
.brand-logo--onhero { opacity: 1; }
.site-header.is-scrolled .brand-logo--onwhite,
.site-header.is-menu-open .brand-logo--onwhite { opacity: 1; }
.site-header.is-scrolled .brand-logo--onhero,
.site-header.is-menu-open .brand-logo--onhero { opacity: 0; }
.global-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  font-size: 15px;
}
.global-nav > a:not(.nav-cta):hover { color: var(--acc-deep); }
.site-header:not(.is-scrolled):not(.is-menu-open) .global-nav > a:not(.nav-cta):hover { color: var(--acc); }
.nav-cta { color: var(--acc-ink); }
.cta-long { display: none; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  border: 0; background: transparent; color: inherit; cursor: pointer;
}
.menu-toggle span {
  display: block; width: 26px; height: 2.5px; border-radius: 2px;
  background: currentColor; transition: transform .2s ease, opacity .2s ease;
}

/* =========================================================
   HERO
   ========================================================= */
/* 固定の動画レイヤー（スクロールでフェード、次セクションが上に重なって切替） */
.hero-media {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #0a0f0b;
  will-change: opacity;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(90% 70% at 50% 42%, rgba(6,10,7,.35), rgba(6,10,7,.82)),
    linear-gradient(180deg, rgba(6,10,7,.55), rgba(6,10,7,.4) 45%, rgba(6,10,7,.75));
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 1px, transparent 1px 7px);
  opacity: .7;
}
/* スクロールで白へフェード（次の白セクションへ自然に繋げる／グレーを残さない） */
.hero-veil {
  position: absolute; inset: 0; z-index: 3;
  background: var(--l-surface);
  opacity: 0;
  will-change: opacity;
}

.hero {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  color: #fff;
  background: transparent;
}
/* ヒーローは固定。ABOUTを早めに下から入れ、白フェード完了前に短くクロスオーバーさせる */
.hero-spacer { height: 122vh; }
/* ヒーロー以降のセクション・フッターは固定動画より前面に置き、スクロールで動画を覆う */
main > section:not(.hero),
.site-footer {
  position: relative;
  z-index: 2;
}
/* 背景動画の再生/停止トグル（右下・細いリング。再生中=一時停止アイコン、停止中=再生アイコン） */
.hero-video-toggle {
  position: absolute;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 4;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid #9AA79D;
  border-radius: 50%;
  background: transparent;
  color: #9AA79D;
  cursor: pointer;
  transition: opacity .3s ease, background-color .16s ease, border-color .16s ease;
}
.hero-video-toggle:hover {
  background: rgba(154, 167, 157, .15);
}
.hero-video-toggle svg { width: 18px; height: 18px; display: block; }
.hero-video-toggle .ic-play { display: none; }
.hero-video-toggle.is-paused .ic-pause { display: none; }
.hero-video-toggle.is-paused .ic-play { display: block; }
.hero-inner {
  width: 100%;
  max-width: 980px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  top: 16px;
}
.hero-eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-hero-eyebrow);
  letter-spacing: .14em;
  color: var(--acc);
}
.hero-title {
  margin: 6px 0 0;
  font-weight: 900;
  font-size: var(--fs-hero-title);
  line-height: 1.05;
  letter-spacing: .02em;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero-lead {
  margin: 22px 0 0;
  font-weight: 700;
  font-size: var(--fs-hero-lead);
}
.sp-br { display: none; }
.hero-dates {
  margin: 26px 0 0;
  display: flex; flex-direction: column; gap: 4px;
}
.hero-dates p {
  margin: 0;
  font-size: var(--fs-hero-date);
  line-height: 1.35;
  color: var(--acc);
  font-weight: 500;
}
.hero-dates b { font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; }
.hero-dates .sep { margin: 0 6px; opacity: .7; }
.hero-checks {
  margin: 26px 0 0;
  padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.hero-checks li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(20, 28, 22, .8);
  font-size: 15px; font-weight: 500;
}
.ic-check { width: 18px; height: 18px; flex: 0 0 auto; }
.hero-buttons {
  margin: 30px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
}
.hero-buttons .btn--primary {
  border: 1px solid color-mix(in srgb, var(--acc-ink) 30%, transparent);
  background: linear-gradient(90deg, #56fcff, #04ff00);
  box-shadow: 0 6px 16px color-mix(in srgb, #04ff00 45%, transparent);
}
.hero-fine { margin: 20px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
.hero-scroll {
  margin-top: 34px;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: .1em; color: rgba(255,255,255,.85);
}
.hero-scroll svg { width: 22px; height: 11px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(5px);} }

/* PC：通常SPと同じ日付・タグ間の区切り線 */
@media (min-width: 768px) {
  .hero-dates::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin: 28px auto 0;
    background: var(--acc);
  }

  .hero-checks {
    margin-top: 32px;
  }
}

/* =========================================================
   SECTION base + heading
   ========================================================= */
.section {
  padding: clamp(64px, 8.5vw, 120px) clamp(20px, 6vw, 80px);
  background-color: var(--gray-50);
  position: relative;
  z-index: 2;
}
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section-inner--narrow { max-width: var(--container-narrow); }
.section-inner--faq { max-width: var(--container-faq); }

.section-heading { margin-bottom: 40px; }
.sec-en {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sec-en);
  line-height: 1.02;
  letter-spacing: .01em;
  color: var(--l-text);
}
.sec-jp {
  margin: 10px 0 0;
  font-weight: 700;
  font-size: var(--fs-sec-jp);
  color: var(--acc-deep);
}

/* notes */
.note { margin: 24px 0 0; font-size: var(--fs-note); color: var(--l-muted); }
.note--right { text-align: right; }
.note--center { text-align: center; }

/* media placeholder */
.media-placeholder {
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: #e4e4e4;
  border: 1.5px dashed color-mix(in srgb, var(--l-text) 22%, transparent);
  color: var(--l-muted);
  font-size: 14px; text-align: center; padding: 24px;
}

/* =========================================================
   ABOUT — 写真コラージュ + パララックス
   ========================================================= */
.about-collage {
  --about-bg-opacity: 0;
  position: relative;
  z-index: 1;                 /* EVENT等(z2)を常にABOUTの上に重ねる */
  isolation: isolate;
  background: transparent;
  /* 上へ動かした画像(ci4 -40px)用に上側スペースを確保しつつ、
     下端の画像はクリップしてEVENT領域へはみ出させない（レイヤーのちらつき防止） */
  padding: 44px 24px 0;
  overflow: hidden;
}
.about-collage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--l-surface);
  opacity: var(--about-bg-opacity);
  will-change: opacity;
}
/* 座標系は Figma モック(1440×1075)基準。aspect-ratio でコンテナごと等比スケール */
.collage {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  aspect-ratio: 1440 / 900;
}
.collage-text {
  position: absolute;
  left: 25%;
  top: 22%;
  width: 48%;
  z-index: 3;
}
.collage-text .section-heading { margin-bottom: 22px; text-align: left; align-items: flex-start; }
.collage-text .sec-en, .collage-text .sec-jp { text-align: left; }
.collage-text p {
  margin: 0 0 18px;
  font-size: var(--fs-body);
  line-height: 1.9;
}
.collage-text p:last-child { margin-bottom: 0; }

.ci {
  position: absolute;
  z-index: 1;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
  object-fit: cover;
  will-change: transform, opacity;
}
/* PC 配置（モック実測を % 化） */
.ci1 { left: 69.72%; top: 7.63%;  width: 21.53%; height: 20.28%; }
.ci2 { left: 52.15%; top: 68.28%; width: 15.76%; height: 31.72%; }
.ci3 { left: 2.78%;  top: 64.74%; width: 23.68%; height: 19.44%; }
.ci4 { left: 25.63%; top: 4%;     width: 19.44%; height: 17.40%; margin-top: -40px; }
.ci5 { left: 0%;     top: 10.05%; width: 14.38%; height: 26.70%; }
.ci6 { left: 5.42%;  top: 30.33%; width: 12.92%; height: 25.95%; }
.ci7 { left: 65.76%; top: 57.30%; width: 22.22%; height: 18.98%; }
.ci8 { left: 85.76%; top: 18.33%; width: 14.24%; height: 28.65%; }

/* スクロール連動リビール（フェードイン、パララックスの transform とは opacity で共存） */
[data-reveal] { opacity: 0; transition: opacity .65s ease; }
.collage-text[data-reveal] { transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1); }
.collage.in [data-reveal] { opacity: 1; }
.collage.in .collage-text[data-reveal] { transform: none; }
.collage.in .ci1 { transition-delay: .03s; }
.collage.in .ci2 { transition-delay: .07s; }
.collage.in .ci3 { transition-delay: .11s; }
.collage.in .ci4 { transition-delay: 0s; }
.collage.in .ci5 { transition-delay: .15s; }
.collage.in .ci6 { transition-delay: .19s; }
.collage.in .ci7 { transition-delay: .23s; }
.collage.in .ci8 { transition-delay: .09s; }

/* =========================================================
   EVENT
   ========================================================= */
.event-list { display: flex; flex-direction: column; gap: 20px; }
.event-card {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px 36px;
  background: var(--l-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.event-date { display: flex; flex-direction: column; }
.event-date .d {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-event-date); line-height: 1; color: var(--acc-deep);
  letter-spacing: .01em;
}
.event-date .w { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--l-text); }
.event-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.event-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.event-info h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.45; }
.event-name { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--l-text); }
.event-title-link {
  display: inline-flex;
  align-items: center;
}
.event-title-text {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.event-title-link:hover { color: var(--acc-deep); }
.event-title-link:focus-visible {
  outline: 2px solid var(--acc-deep);
  outline-offset: 4px;
  border-radius: 2px;
}
.event-new-tab-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.event-new-tab-icon img {
  display: block;
  width: 16px;
  height: 16px;
}
.event-meta {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  color: var(--l-muted);
  font-size: 14px;
  line-height: 1.6;
}
.event-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  white-space: nowrap;
}
.event-meta-icon {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
@media (max-width: 767px) {
  .event-meta { flex-direction: column; gap: 4px; }
}
.event-action { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.status-pill {
  font-size: 13px; font-weight: 700; color: var(--acc-deep);
}
.event-action .status-pill { color: var(--l-text); }
.event-action-closed { display: none; }
.event-card[data-status="closed"] .event-action-open { display: none; }
.event-card[data-status="closed"] .event-action-closed { display: inline-flex; }
.event-card[data-status="closed"] .event-action { gap: 4px; }
.event-card[data-status="closed"] .status-pill--closed {
  padding: 6px 16px;
  border-radius: 999px;
  color: #d22616;
  line-height: 1.65;
}
.btn--disabled {
  border-color: transparent;
  background: rgba(190, 200, 212, .4);
  color: #bec8d4;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}
.btn--disabled:hover {
  background: rgba(190, 200, 212, .4);
  transform: none;
}

/* =========================================================
   HOW TO APPLY — steps
   ========================================================= */
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.step {
  display: flex; gap: 24px;
  padding: 32px;
  background: var(--l-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.step-num {
  flex: 0 0 52px;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--acc); color: var(--acc-ink);
  border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
}
.step-body { min-width: 0; flex: 1; }
.step-body h3 {
  margin: 0; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
}
.step-body > p { margin: 14px 0 0; font-size: 15px; line-height: 1.85; color: var(--l-text); }
.tag-order {
  padding: 4px 12px; border-radius: 4px;
  background: transparent;
  border: 1px solid var(--acc-ink);
  color: var(--acc-ink);
  font-size: 12px; font-weight: 700; line-height: 1.4;
}
.step-body .btn { margin-top: 18px; }
.step-box {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--gray-50);
  border-radius: 10px;
}
.step-box .box-head { margin: 0; font-size: 14px; font-weight: 700; }
.step-box .box-note { margin: 6px 0 0; font-size: 13px; color: var(--l-muted); line-height: 1.7; }
.step-qr { margin-top: 16px; display: flex; gap: 20px; align-items: flex-start; }
.qr-mock {
  flex: 0 0 120px; text-align: center;
}
.qr-mock .qr-glyph {
  display: grid; place-items: center;
  width: 120px; height: 120px;
  border: 2px dashed color-mix(in srgb, var(--l-text) 30%, transparent);
  border-radius: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--l-muted);
}
.qr-mock .qr-img {
  width: 120px; height: 120px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.qr-mock .qr-cap { display: block; margin-top: 8px; font-size: 12px; color: var(--l-muted); line-height: 1.4; }
.step-box--flush { margin-top: 0; flex: 1; }

.deadline-box {
  margin-top: 40px;
  padding: 30px 34px;
  background: var(--l-dark);
  color: #fff;
  border-radius: var(--radius);
}
.deadline-head {
  margin: 0 0 16px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 18px; color: var(--acc);
}
.ic-clock { width: 24px; height: 24px; }
.deadline-item { margin: 6px 0 0; font-size: 15px; font-weight: 500; }
.deadline-copy--closed,
.deadline-status { display: none; }
.deadline-item[data-status="closed"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  font-weight: 700;
}
.deadline-item[data-status="closed"] .deadline-copy--open { display: none; }
.deadline-item[data-status="closed"] .deadline-copy--closed {
  display: inline;
  color: var(--l-muted);
  text-decoration: line-through;
}
.deadline-item[data-status="closed"] .deadline-status {
  display: inline;
  color: #d22616;
}
.deadline-note { margin: 14px 0 0; font-size: 13px; color: var(--d-muted); line-height: 1.7; }

.howto-cta { margin-top: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.howto-cta .note { margin-top: 14px; }

/* =========================================================
   ABOUT NOAH — features + youtube cta
   ========================================================= */
.lead-text { margin: 0 0 36px; max-width: 820px; font-size: var(--fs-body); line-height: 1.9; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  padding: 30px 28px;
  background: var(--l-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.feature-num {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-num);
  color: var(--acc-deep); letter-spacing: .02em;
}
.feature-card h3 { margin: 14px 0 10px; font-size: 19px; font-weight: 700; }
.feature-card p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--l-muted); }

.youtube-cta {
  margin-top: 36px;
  padding: 26px 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--l-dark);
  border-radius: var(--radius);
}
.youtube-copy { min-width: 240px; }
.yt-head { margin: 0; font-weight: 900; font-size: 16px; color: var(--acc); letter-spacing: .02em; }
.yt-sub { margin: 4px 0 0; font-size: 14px; color: var(--d-muted); }

/* =========================================================
   NOAH'S ARK — benefits
   ========================================================= */
#noahs-ark { background: var(--l-surface); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.benefit-card {
  padding: 30px 28px;
  background: rgba(240, 240, 240, .7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.benefit-ic { display: block; }
.benefit-ic img, .benefit-ic svg { width: 32px; height: 32px; }
.benefit-card h3 { margin: 16px 0 10px; font-size: 18px; font-weight: 700; }
.benefit-card p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--l-muted); }

/* =========================================================
   STREAMING — Wrestle Universe
   ========================================================= */
.wu-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  margin-bottom: 40px;
}
.wu-eyebrow { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: .12em; font-size: 14px; color: var(--acc-deep); }
.wu-title { margin: 12px 0 24px; font-weight: 900; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; }
.wu-title span { font-size: .62em; font-weight: 700; color: var(--l-muted); }
.wu-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.wu-checks li { display: flex; gap: 12px; font-size: 15px; line-height: 1.7; }
.wu-checks .chk { flex: 0 0 auto; color: var(--acc-deep); font-weight: 900; }
.wu-video {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
}
.wu-video img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =========================================================
   SNS
   ========================================================= */
#sns { background: var(--l-surface); }
.sns-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sns-card {
  --sns-card-bg: #f5f5f5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 40px 16px;
  background: var(--sns-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  font-size: 14px; font-weight: 700;
  transition: transform .16s ease;
}
.sns-card:hover { transform: translateY(-2px); }
.sns-ic { width: 34px; height: 34px; color: var(--l-text); box-shadow: none; filter: none; }
.sns-ic--instagram {
  position: relative;
  display: block;
  flex: 0 0 34px;
  border-radius: 9px;
  background: conic-gradient(from 215deg, #ffd600, #ff7a00, #ff0169, #d300c5, #7638fa, #ffd600);
}
.sns-ic--instagram::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 6px;
  background: var(--sns-card-bg);
}
.sns-ic--instagram::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d3008d;
}
.sns-ic--instagram > span {
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 3px solid #ee2a7b;
  border-radius: 50%;
}

/* =========================================================
   Q&A — accordion
   ========================================================= */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--l-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 22px 26px;
  border: 0; background: transparent; cursor: pointer;
  color: var(--l-text);
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}
.faq-mark {
  flex: 0 0 auto;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--acc-deep); line-height: 1;
}
.faq-mark--a { color: var(--l-muted); }
.faq-qtext { flex: 1; color: inherit; font-size: 16px; font-weight: 700; line-height: 1.5; }
.faq-chevron {
  flex: 0 0 auto; width: 12px; height: 12px; margin-left: 8px;
  border-right: 2.5px solid var(--l-muted);
  border-bottom: 2.5px solid var(--l-muted);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.faq-item.is-open .faq-chevron { transform: rotate(-135deg); }
.faq-a {
  display: flex; gap: 14px;
  padding: 0 26px;
  max-height: 0; opacity: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .25s ease, padding .3s ease;
}
.faq-item.is-open .faq-a { max-height: 400px; opacity: 1; padding: 0 26px 24px; }
.faq-a p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--l-muted); }

/* =========================================================
   CONTACT
   ========================================================= */
#contact { background: var(--l-surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card {
  padding: 32px;
  background: rgba(240, 240, 240, .7);
  border-radius: var(--radius);
}
.contact-card h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--acc-ink); }
.contact-card p { margin: 14px 0 20px; font-size: 14px; color: var(--l-muted); line-height: 1.8; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding: 56px 24px;
  background: var(--l-dark);
  color: var(--d-text);
  text-align: center;
  /* レイアウトを伸ばさず、iOSの最下部オーバースクロール時だけフッター色を続ける */
  box-shadow: 0 100vh 0 100vh var(--l-dark);
}
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  font-size: 14px; font-weight: 500; color: var(--d-text);
}
.footer-links a:hover { color: var(--acc); }
.footer-copy { margin: 22px 0 0; font-size: 12px; color: var(--d-muted); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE — tablet
   ========================================================= */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .sns-grid { grid-template-columns: repeat(2, 1fr); }
  .wu-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 160px 1fr; grid-template-areas: "date info" "date action"; row-gap: 16px; }
  .event-date { grid-area: date; }
  .event-info { grid-area: info; }
  .event-action { grid-area: action; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
}

/* =========================================================
   ABOUT コラージュ：タブレット専用（768〜1210px）
   モック(5711/5712)基準。画像は固定サイズで左右端に寄せ、中央のテキスト(白背景)は可変幅
   ========================================================= */
@media (min-width: 768px) and (max-width: 1210px) {
  .collage {
    width: 100%;
    max-width: 1210px;
    margin: 0 auto;
    aspect-ratio: auto;
    height: 760px;
  }
  .collage-text {
    left: 120px;
    right: 120px;
    top: 204px;
    width: auto;
    background: rgba(255, 255, 255, .92);
    padding: 22px 26px;
    border-radius: 6px;
  }
  .collage-text .section-heading { margin-bottom: 18px; }
  /* PC専用の3枚は非表示 */
  .ci1, .ci2, .ci7 { display: none; }
  /* 左端に寄せる2枚（固定サイズ・固定位置） */
  .ci5 { left: 30px;  right: auto; top: 129px; width: 130px; height: 179px; margin-top: 0; }
  .ci6 { left: 70px;  right: auto; top: 542px; width: 116px; height: 174px; }
  /* 右端に寄せる3枚（固定サイズ・右基準） */
  .ci4 { left: auto; right: 108px; top: 66px;  width: 175px; height: 117px; margin-top: 0; }
  .ci8 { left: auto; right: 28px;  top: 125px; width: 128px; height: 193px; }
  .ci3 { left: auto; right: 40px;  top: 542px; width: 213px; height: 131px; }
}

/* =========================================================
   ABOUT コラージュ：モバイル（〜767px）
   モック(390×944)基準の散らし配置。テキストは白背景で写真の上に重ねる
   ========================================================= */
@media (max-width: 767px) {
  /* 写真を左右端に寄せるため全幅化（横paddingなし） */
  .about-collage { padding: 0; }
  .collage {
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: auto;
    height: 906px;
  }
  .collage-text {
    left: 0; right: 0;
    margin-inline: auto;
    top: 204px;
    width: 310px;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    background: rgba(255, 255, 255, .92);
    padding: 20px 18px;
    border-radius: 6px;
  }
  .collage-text .section-heading { margin-bottom: 16px; }
  .ci1, .ci2, .ci7 { display: none; }
  /* 画像は固定サイズ・左右端寄せ・固定y（モック390/440/700準拠） */
  .ci5 { left: -30px; right: auto; top: 129px; width: 130px; height: 179px; margin-top: 0; }
  .ci6 { left: 0;     right: auto; top: 732px; width: 116px; height: 174px; border-radius: 0 6px 6px 0; }
  .ci4 { left: auto;  right: 80px; top: 46px;  width: 175px; height: 117px; margin-top: 0; }
  .ci8 { left: auto;  right: 0;    top: 105px; width: 128px; height: 193px; border-radius: 6px 0 0 6px; }
  .ci3 { left: auto;  right: 0;    top: 712px; width: 213px; height: 131px; border-radius: 6px 0 0 6px; }
}

/* =========================================================
   RESPONSIVE — mobile (hamburger, single column)
   ========================================================= */
@media (max-width: 720px) {
  .site-header { height: 56px; }
  /* ブランド・ハンバーガーはオーバーレイ(z40)より前面に置き、常に操作可能に */
  .brand { position: relative; z-index: 50; }
  .menu-toggle { display: inline-flex; position: relative; z-index: 50; }
  /* オープン時：フルスクリーンの白フロストオーバーレイに中央寄せメニュー */
  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 40;                 /* ヘッダー(50)より下＝ハンバーガーで閉じられる */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 56px 20px 0;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--l-text);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .site-header.is-menu-open .global-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .global-nav > a:not(.nav-cta) {
    padding: 0;
    border-bottom: 0;
    color: var(--l-text);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
  }
  .nav-cta {
    margin-top: 8px;
    width: 224px;
    max-width: 82%;
    justify-content: center;
  }
  /* メニュー内は「無料で招待に申し込む」を表示（PCヘッダーは短い方のまま） */
  .cta-short { display: none; }
  .cta-long { display: inline; }
  .site-header.is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .site-header.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

  .hero { padding: 96px 20px 64px; }
  .sp-br { display: inline; }
  .hero-dates { gap: 2px; }
  .hero-checks { gap: 10px; }
  .hero-checks li { font-size: 14px; padding: 10px 16px; gap: 6px; }
  /* 縦積み2ボタンは広い方の幅に揃える（文字幅可変・端末幅フィットしない） */
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
  .hero-buttons .btn { width: auto; }
  .hero-dates .sep { display: inline; }

  .section { padding: clamp(56px, 12vw, 80px) 20px; }
  .section-heading { margin-bottom: 28px; }

  .benefit-grid, .sns-grid { grid-template-columns: 1fr; }

  .event-card {
    grid-template-columns: 1fr;
    grid-template-areas: "date" "info" "action";
    padding: 24px 20px; gap: 6px;
  }
  .event-info { margin-top: 10px; }
  .event-action { margin-top: 16px; }

  .step { flex-direction: column; gap: 16px; padding: 24px 20px; }
  .step-body > p { font-size: 14px; }
  .step-qr { flex-direction: column; }
  .qr-mock { margin: 0 auto; }

  .youtube-cta { flex-direction: column; align-items: flex-start; }
  .youtube-cta .btn { width: auto; align-self: center; }
  .wu-title { font-size: 24px; }

  /* 単独CTAは文字幅可変＋中央寄せ（EVENTカードのみ左揃え・下記で別途指定） */
  .howto-cta .btn { width: auto; max-width: 100%; }
  #noahs-ark > .section-inner > .btn,
  #streaming > .section-inner > .btn {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .faq-q { padding: 18px 18px; }
  .faq-qtext { font-size: 15px; }
  .faq-item.is-open .faq-a { padding: 0 18px 20px; }

  .contact-card { padding: 24px 20px; }
  .footer-links { flex-direction: column; gap: 14px; }
}

/* =========================================================
   HERO — SP（Figma node 5758:6379）
   site-header は既存実装を維持し、ヒーロー内部のみ調整
   ========================================================= */
@media (max-width: 767px) {
  .hero-media::before {
    background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.8));
  }

  .hero {
    align-items: center;
    padding: 64px 20px;
  }

  .hero-inner {
    width: 350px;
    max-width: 100%;
    overflow: visible;
    top: 12px;
  }

  .hero-eyebrow {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: .05em;
  }

  .hero-title {
    margin-top: 12px;
    font-size: 42px;
    line-height: 1.04;
    letter-spacing: -.01em;
  }

  .hero-lead {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
  }

  .sp-br { display: inline; }

  .hero-dates {
    width: 100%;
    margin-top: 44px;
    padding-top: 6px;
    gap: 12px;
  }

  .hero-dates p {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
  }

  .hero-dates b {
    font-family: var(--font-body);
    font-weight: 700;
  }

  .hero-dates .sep {
    margin: 0;
  }

  .hero-dates::after {
    content: "";
    width: 40px;
    height: 2px;
    margin: 44px auto 0;
    background: var(--acc);
  }

  .hero-checks {
    width: 100%;
    margin-top: 44px;
    gap: 4px;
  }

  .hero-checks li {
    gap: 4px;
    padding: 6px 12px;
    border: 1px solid var(--d-surface-2);
    background: var(--d-surface);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
  }

  .hero-checks .ic-check {
    width: 20px;
    height: 20px;
  }

  /* 縦積みの2ボタンは、長い方の横幅に揃える */
  .hero-buttons {
    width: 60vw;
    max-width: 100%;
    margin: 44px auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 17px;
  }

  .hero-buttons .btn--primary {
    gap: 4px;
    border: 1px solid color-mix(in srgb, var(--acc-ink) 30%, transparent);
    background: linear-gradient(90deg, #56fcff, #04ff00);
    box-shadow: 0 6px 16px color-mix(in srgb, #04ff00 45%, transparent);
  }

  .hero-buttons .btn--outline-light {
    gap: 8px;
    background: transparent;
    border-color: #fff;
  }

  .hero-buttons .ic-arrow {
    width: 18px;
    height: 18px;
  }

  .hero-fine {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.65;
    color: var(--d-muted);
  }

  .hero-scroll {
    margin-top: 44px;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.65;
    letter-spacing: .06em;
  }

  .hero-scroll svg {
    width: 24px;
    height: 12px;
  }

}

@media (max-width: 375px) {
  .hero-buttons { width: 70vw; }
  .hero-inner { top: 8px; }
}

/* HERO — 高さ700px以下のコンパクトSP（Figma node 5758:6440） */
@media (max-width: 767px) and (max-height: 700px) {
  /* site-header の既存仕様：未スクロール時のみブランドロゴを隠す */
  .site-header:not(.is-scrolled):not(.is-menu-open) .brand {
    opacity: 0;
    pointer-events: none;
  }

  .hero {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .hero-title {
    margin-top: 6px;
    font-size: 40px;
  }

  .hero-lead {
    margin-top: 16px;
  }

  .hero-dates {
    margin-top: 24px;
    gap: 4px;
  }

  .hero-dates p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
  }

  .hero-dates b {
    font-family: var(--font-display);
    font-weight: 700;
  }

  .hero-dates .sep {
    margin: 0 6px;
    opacity: .7;
  }

  .hero-dates::after {
    display: none;
  }

  .hero-checks {
    margin-top: 32px;
  }

  .hero-checks li {
    padding: 6px 12px;
    font-size: 12px;
  }

  .hero-checks .ic-check {
    width: 16px;
    height: 16px;
  }

  .hero-buttons {
    margin-top: 32px;
  }

  .hero-buttons .btn {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 16px;
  }

  .hero-buttons .btn--primary {
    background: linear-gradient(90deg, #8cffb4, #80ff00);
  }

  .hero-scroll {
    margin-top: 32px;
  }
}

/* 通常SP：CTAまわり以外をFigma反映前のヒーローへ戻す */
@media (max-width: 767px) and (min-height: 701px) {
  .hero-media::before {
    background:
      radial-gradient(90% 70% at 50% 42%, rgba(6,10,7,.35), rgba(6,10,7,.82)),
      linear-gradient(180deg, rgba(6,10,7,.55), rgba(6,10,7,.4) 45%, rgba(6,10,7,.75));
  }

  .hero {
    padding: 96px 20px 64px;
  }

  .hero-inner {
    width: 100%;
    max-width: 980px;
  }

  .hero-eyebrow {
    font-family: var(--font-display);
    font-size: var(--fs-hero-eyebrow);
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: .14em;
  }

  .hero-title {
    margin-top: 6px;
    font-size: var(--fs-hero-title);
    line-height: 1.05;
    letter-spacing: .02em;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: var(--fs-hero-lead);
    line-height: 1.7;
  }

  .hero-dates {
    position: relative;
    margin-top: 28px;
    padding-top: 0;
    gap: 4px;
  }

  .hero-dates p {
    font-size: var(--fs-hero-date);
    font-weight: 500;
    line-height: 1.35;
  }

  .hero-dates b {
    font-family: var(--font-display);
    font-weight: 700;
  }

  .hero-dates .sep {
    margin: 0 6px;
    opacity: .7;
  }

  .hero-dates::after {
    display: block;
    position: static;
    width: 40px;
    height: 2px;
    margin: 28px auto 0;
    transform: none;
    background: var(--acc);
  }

  .hero-checks {
    margin-top: 32px;
    gap: 8px;
  }

  .hero-checks li {
    gap: 6px;
    padding: 10px 16px;
    border: 0;
    background: rgba(20, 28, 22, .8);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
  }

  .hero-checks .ic-check {
    width: 18px;
    height: 18px;
  }

  .hero-buttons {
    margin-top: 32px;
  }

  .hero-scroll {
    margin-top: 34px;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: .1em;
  }

  .hero-scroll svg {
    width: 22px;
    height: 11px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll svg { animation: none; }
  html { scroll-behavior: auto; }
}
