/* =====================================================
   BIGWAVE DANCE CONTEST 2026 — プロモーションLP
   世界観: 祭り × ストリート（提灯・青海波・ペンキ飛沫）
   ===================================================== */
:root {
  --navy: #0c1a2c;
  --navy-2: #14283f;
  --navy-3: #1d3556;
  --sky: #2e7fd0;
  --sky-light: #58a8e8;
  --red: #d92f27;
  --red-dark: #b1241d;
  --gold: #f5b32e;
  --paper: #f7f4ec;
  --white: #ffffff;
  --font-display: 'Anton', 'Noto Sans JP', sans-serif;
  --font-marker: 'Permanent Marker', cursive;
  --font-body: 'Noto Sans JP', -apple-system, "Hiragino Sans", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--navy);
  line-height: 1.7;
  overflow-x: hidden;
}
img, svg { vertical-align: middle; }
a { color: inherit; }

/* 青海波（せいがいは）パターン */
.seigaiha {
  background-color: var(--navy);
  background-image: radial-gradient(circle at 50% 100%, transparent 22%, rgba(88,168,232,.13) 23%, rgba(88,168,232,.13) 28%, transparent 29%, transparent 36%, rgba(88,168,232,.13) 37%, rgba(88,168,232,.13) 42%, transparent 43%),
    radial-gradient(circle at 0% 50%, transparent 22%, rgba(88,168,232,.13) 23%, rgba(88,168,232,.13) 28%, transparent 29%, transparent 36%, rgba(88,168,232,.13) 37%, rgba(88,168,232,.13) 42%, transparent 43%),
    radial-gradient(circle at 100% 50%, transparent 22%, rgba(88,168,232,.13) 23%, rgba(88,168,232,.13) 28%, transparent 29%, transparent 36%, rgba(88,168,232,.13) 37%, rgba(88,168,232,.13) 42%, transparent 43%);
  background-size: 80px 40px;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- 固定ナビ ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(12,26,44,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.nav-logo { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .05em; text-decoration: none; }
.nav-logo span { color: var(--red); }
.nav-links { display: none; gap: 22px; list-style: none; }
.nav-links a { text-decoration: none; font-size: .85rem; font-weight: 700; opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--sky-light); }
.nav-cta {
  background: var(--red); color: #fff; text-decoration: none; font-weight: 900;
  padding: 8px 18px; border-radius: 999px; font-size: .85rem;
  box-shadow: 0 2px 10px rgba(217,47,39,.5);
}
.nav-cta:hover { background: var(--red-dark); }
@media (min-width: 820px) { .nav-links { display: flex; } }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 0;   /* 固定ナビ分 */
  /* ポスターの空色〜紺に連続するグラデーション（左右の余白を画像端に馴染ませる） */
  background: linear-gradient(180deg, #2f86d4 0%, #2470bd 30%, #18406f 70%, var(--navy) 100%);
  text-align: center;
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }

/* スクリーンリーダー専用（ポスター画像使用時のh1テキスト） */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* メインビジュアル（ポスター全体）。中央に配置し、下端を背景に溶かす */
.hero-stage { position: relative; display: flex; justify-content: center; }
.hero-main {
  display: block;
  width: auto; height: auto;
  max-width: min(100%, 600px);
  max-height: 82vh;
  -webkit-mask-image: linear-gradient(#000 88%, transparent 100%);
  mask-image: linear-gradient(#000 88%, transparent 100%);
}
.hero-copy { margin-top: 14px; padding: 0 20px; font-weight: 900; font-size: clamp(1.15rem, 4vw, 1.6rem); text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hero-copy em { font-style: normal; color: var(--gold); }
.hero-sub {
  display: inline-block; margin-top: 12px; font-weight: 700; letter-spacing: .12em;
  border: 1px solid rgba(255,255,255,.7); padding: 5px 18px; font-size: .82rem;
  background: rgba(12,26,44,.3);
}

.hero-info {
  display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr);
  max-width: 640px; margin: 28px auto 0; padding: 0 20px;
}
.hero-info .chip {
  background: rgba(12,26,44,.82); border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px; padding: 14px 10px;
}
.hero-info .chip .t { font-size: .72rem; font-weight: 700; color: var(--sky-light); letter-spacing: .1em; }
.hero-info .chip .v { font-weight: 900; font-size: 1.05rem; line-height: 1.3; margin-top: 2px; }
.hero-info .chip .v small { font-size: .75rem; font-weight: 700; opacity: .85; }
.hero-info .chip.free .v { color: var(--gold); }

.hero-cta { margin: 30px auto 0; max-width: 560px; padding: 0 20px; }
.countdown {
  background: rgba(12,26,44,.85); border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px; padding: 14px 12px 16px; margin-bottom: 14px;
}
.countdown .label { font-size: .8rem; font-weight: 700; color: var(--gold); letter-spacing: .08em; }
.countdown .timer { display: flex; justify-content: center; gap: 14px; margin-top: 6px; }
.countdown .unit { min-width: 58px; }
.countdown .num { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.countdown .u { font-size: .68rem; font-weight: 700; opacity: .8; }

.btn-entry {
  display: block; text-decoration: none; text-align: center;
  background: linear-gradient(175deg, #e8443c, var(--red) 55%, var(--red-dark));
  color: #fff; font-weight: 900; font-size: 1.2rem; letter-spacing: .08em;
  padding: 18px 20px; border-radius: 14px;
  box-shadow: 0 6px 0 var(--red-dark), 0 12px 24px rgba(0,0,0,.35);
  transition: transform .12s, box-shadow .12s;
}
.btn-entry:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--red-dark), 0 8px 18px rgba(0,0,0,.3); }
.btn-entry .en { font-family: var(--font-marker); font-size: .8rem; display: block; letter-spacing: .15em; opacity: .9; }
.btn-entry.disabled { background: #5a6a7d; box-shadow: 0 6px 0 #465465; pointer-events: none; }
.btn-entry.pulse { animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.18); } }

.hero-tagline-v {
  position: absolute; right: 18px; top: 130px; z-index: 3;
  writing-mode: vertical-rl; font-weight: 900; letter-spacing: .14em;
  font-size: 1rem; display: none;
}
.hero-tagline-v span { background: var(--navy); padding: 14px 6px; margin-bottom: 8px; display: inline-block; }
.hero-tagline-v .accent { color: var(--gold); }
/* 新ヒーロー（ポスター全体表示）では縦書きタグラインは使わない */

/* ヒーロー下端の波 */
.hero-wave { display: block; width: 100%; margin-top: 44px; }

/* ---------- ティッカー ---------- */
.ticker { background: var(--red); overflow: hidden; padding: 10px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 22s linear infinite; }
.ticker-track span {
  font-family: var(--font-display); letter-spacing: .08em; font-size: 1rem;
  white-space: nowrap; padding-right: 48px;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- セクション共通 ---------- */
section { padding: 72px 0; }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head .en {
  font-family: var(--font-display); font-size: clamp(2rem, 7vw, 3.2rem);
  letter-spacing: .04em; transform: skewX(-5deg); display: inline-block;
  text-shadow: 2px 3px 0 rgba(0,0,0,.4);
}
.sec-head .en .accent { color: var(--red); }
.sec-head .jp { font-weight: 700; font-size: .9rem; color: var(--sky-light); letter-spacing: .2em; margin-top: 4px; }
.sec-head .brush {
  display: block; width: 120px; height: 8px; margin: 14px auto 0;
  background: var(--red); border-radius: 60% 40% 55% 45% / 60% 50% 50% 40%;
  transform: rotate(-1.5deg);
}

/* ---------- 大会概要 ---------- */
.about { background: var(--navy); }
.about-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.about-card {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 22px; display: flex; gap: 16px; align-items: flex-start;
}
.about-card .ico {
  flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(88,168,232,.12); font-size: 1.3rem;
}
.about-card .t { font-size: .75rem; font-weight: 700; color: var(--sky-light); letter-spacing: .1em; }
.about-card .v { font-weight: 900; font-size: 1.15rem; line-height: 1.45; }
.about-card .v small { font-size: .8rem; font-weight: 700; opacity: .8; display: block; }
.about-card .v .gold { color: var(--gold); }
@media (min-width: 720px) { .about-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- ゲストジャッジ ---------- */
.judge { background: var(--navy-2); position: relative; }
.judge .marker-label {
  font-family: var(--font-marker); text-align: center; color: var(--gold);
  font-size: 1.1rem; margin-bottom: 26px; transform: rotate(-2deg);
}
.judge-grid { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.judge-card {
  aspect-ratio: 336 / 407;   /* 提供写真のアスペクト比に合わせる */
  border-radius: 6px; position: relative;
  background: #0b1422; display: grid; place-items: center; text-align: center;
  border: 3px solid var(--red);
  box-shadow: 6px 6px 0 rgba(0,0,0,.3);
  transform: rotate(-1deg);
}
.judge-card:nth-child(2) { border-color: var(--sky); transform: rotate(1.2deg); }
.judge-card:nth-child(3) { border-color: var(--gold); transform: rotate(-.6deg); }
.judge-card .q { font-family: var(--font-display); font-size: 5rem; line-height: 1; opacity: .9; }
.judge-card .cs { font-family: var(--font-marker); font-size: .95rem; margin-top: 10px; opacity: .85; }
/* 写真入りカード */
.judge-card.photo { overflow: hidden; }
.judge-card.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.judge-card .jname {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  background: linear-gradient(transparent, rgba(0, 0, 0, .88) 45%);
  font-weight: 900; font-size: 1.1rem; letter-spacing: .06em;
  padding: 22px 8px 10px; text-align: center;
}
@media (min-width: 640px) { .judge-grid { grid-template-columns: repeat(3, 1fr); } .judge-card .q { font-size: 4rem; } }

/* ---------- 部門 ---------- */
.division { background: var(--navy); }
.div-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.div-card {
  background: var(--navy-2); border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08); text-align: center; padding-bottom: 24px;
}
.div-card .bar { height: 8px; }
.div-card.red .bar { background: var(--red); }
.div-card.blue .bar { background: var(--sky); }
.div-card.gold .bar { background: var(--gold); }
.div-card .lantern { width: 46px; margin: 22px auto 8px; display: block; }
.div-card h3 { font-size: 1.35rem; font-weight: 900; }
.div-card .cond { font-size: .85rem; opacity: .85; margin-top: 4px; }
.div-card .ts {
  display: inline-block; margin-top: 14px; font-family: var(--font-display);
  font-size: .8rem; letter-spacing: .12em; padding: 4px 16px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
}
@media (min-width: 720px) { .div-grid { grid-template-columns: repeat(3, 1fr); } }
.teamsolo {
  text-align: center; margin-top: 34px; font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.6rem); letter-spacing: .1em;
}
.teamsolo .arrows { color: var(--red); }
.teamsolo .arrows.l { color: var(--sky-light); }

/* ---------- ギャラリー（前回大会の様子） ---------- */
.gallery { background: var(--navy); padding-bottom: 56px; overflow: hidden; }
.photo-marquee { overflow: hidden; margin-top: 8px; }
.photo-track { display: flex; width: max-content; gap: 18px; padding: 18px 0 26px; animation: photoreel 70s linear infinite; }
.photo-track:hover { animation-play-state: paused; }
.photo-track figure {
  flex: 0 0 auto; background: #fff; padding: 8px 8px 14px; border-radius: 4px;
  box-shadow: 0 8px 22px rgba(0,0,0,.45);
  transform: rotate(-1.6deg);
}
.photo-track figure:nth-child(even) { transform: rotate(1.4deg); }
.photo-track img { height: 190px; width: auto; display: block; border-radius: 2px; }
@media (min-width: 720px) { .photo-track img { height: 240px; } }
@keyframes photoreel { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.gallery .note { text-align: center; font-size: .8rem; opacity: .7; }

/* ---------- エントリー要項 ---------- */
.entry-sec { background: var(--navy-2); }
.req-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
.req-card {
  background: var(--navy); border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  padding: 20px 14px; text-align: center;
}
.req-card .ico { font-size: 1.6rem; }
.req-card .t { font-size: .78rem; font-weight: 700; color: var(--sky-light); margin-top: 6px; }
.req-card .v { font-weight: 900; font-size: 1.1rem; margin-top: 2px; line-height: 1.4; }
@media (min-width: 720px) { .req-grid { grid-template-columns: repeat(4, 1fr); } }

/* 出場順ルール */
.rule-callout {
  max-width: 860px; margin: 30px auto 0; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, #2a1714, #3a1310);
  border: 2px solid var(--red);
}
.rule-callout .head {
  background: var(--red); font-weight: 900; text-align: center; padding: 10px;
  font-size: 1.05rem; letter-spacing: .08em;
}
.rule-callout .body { padding: 22px 20px; text-align: center; }
.rule-callout .big { font-size: clamp(1.15rem, 4.5vw, 1.6rem); font-weight: 900; line-height: 1.6; }
.rule-callout .big em { font-style: normal; color: var(--gold); border-bottom: 3px solid var(--gold); }
.rule-callout .note { font-size: .82rem; opacity: .85; margin-top: 10px; }

/* スケジュール */
.schedule { max-width: 720px; margin: 40px auto 0; }
.schedule .item {
  display: flex; gap: 18px; align-items: stretch; position: relative; padding-bottom: 26px;
}
.schedule .item:last-child { padding-bottom: 0; }
.schedule .dot-line { flex: 0 0 18px; display: flex; flex-direction: column; align-items: center; }
.schedule .dot {
  width: 18px; height: 18px; border-radius: 50%; background: var(--sky); flex: 0 0 18px;
  box-shadow: 0 0 0 4px rgba(88,168,232,.25);
}
.schedule .item.hot .dot { background: var(--red); box-shadow: 0 0 0 4px rgba(217,47,39,.3); }
.schedule .line { width: 2px; flex: 1; background: rgba(255,255,255,.18); margin-top: 4px; }
.schedule .item:last-child .line { display: none; }
.schedule .date { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .04em; }
.schedule .desc { font-weight: 700; font-size: .95rem; opacity: .92; }
.schedule .desc small { display: block; font-weight: 400; font-size: .8rem; opacity: .8; }

/* ---------- アクセス ---------- */
.access { background: var(--navy); }
.access-card {
  max-width: 720px; margin: 0 auto; background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 28px 24px; text-align: center;
}
.access-card h3 { font-size: 1.5rem; font-weight: 900; }
.access-card p { opacity: .9; margin-top: 6px; }
.btn-map {
  display: inline-block; margin-top: 18px; text-decoration: none; font-weight: 900;
  border: 2px solid var(--sky-light); color: var(--sky-light); border-radius: 999px;
  padding: 10px 28px; font-size: .9rem;
}
.btn-map:hover { background: var(--sky-light); color: var(--navy); }

/* ---------- 保護者・SNS ---------- */
.links-sec { background: var(--navy-2); }
.links-grid { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.link-card {
  display: block; text-decoration: none; background: var(--navy);
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 24px; text-align: center;
  transition: transform .15s, border-color .15s;
}
.link-card:hover { transform: translateY(-3px); border-color: var(--sky-light); }
.link-card .ico { font-size: 1.8rem; }
.link-card .t { font-weight: 900; font-size: 1.05rem; margin-top: 8px; }
.link-card .d { font-size: .82rem; opacity: .8; margin-top: 4px; }
.link-card.ig .t { color: var(--gold); }
@media (min-width: 640px) { .links-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 最終CTA ---------- */
.final-cta {
  background:
    linear-gradient(165deg, rgba(28,95,168,.88), rgba(46,127,208,.82) 55%, rgba(12,26,44,.9)),
    url('../img/cta-bg.jpg?v=2') center 30% / cover no-repeat;
  text-align: center; position: relative; overflow: hidden;
}
.final-cta .copy { font-weight: 900; font-size: clamp(1.3rem, 5vw, 2rem); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.final-cta .btn-entry { max-width: 480px; margin: 26px auto 0; }
.final-cta .deadline { margin-top: 14px; font-weight: 700; font-size: .9rem; }

/* ---------- フッター ---------- */
.footer { background: #081120; padding: 36px 20px 90px; text-align: center; }
.footer .logo { font-family: var(--font-display); font-size: 1.3rem; }
.footer .logo span { color: var(--red); }
.footer p { font-size: .78rem; opacity: .65; margin-top: 10px; }

/* モバイル固定CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
}
.sticky-cta .btn-entry { font-size: 1rem; padding: 14px; border-radius: 12px; }
@media (min-width: 820px) { .sticky-cta { display: none; } }
