/* ================================================================
   なごやエンタメ祭り 2026 — Global Stylesheet v2
   ブランドカラー：白地 × ネイビー (#1a2a6e)
   アクセント：金・シアン・マゼンタ（フェス感）
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Bebas+Neue&family=Orbitron:wght@700;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand */
  --navy:          #1a2a6e;
  --navy-dark:     #0f1a4a;
  --navy-mid:      #243380;
  --navy-light:    #2d419e;
  --navy-pale:     #e8ecf8;
  --navy-pale2:    #f0f3fb;

  /* Backgrounds */
  --bg:            #ffffff;
  --bg-off:        #f7f9ff;
  --bg-section:    #f0f3fb;
  --bg-card:       #ffffff;
  --bg-dark:       #0d1535;     /* dark sections */
  --bg-dark2:      #111d45;

  /* Accents (festival energy) */
  --gold:          #c8920a;
  --gold-light:    #e8a800;
  --neon-cyan:     #00b4d8;
  --neon-magenta:  #e8006a;

  /* Text */
  --text-primary:  #0f1a4a;
  --text-body:     #2c3560;
  --text-muted:    #7080b0;
  --text-on-dark:  #ffffff;

  /* Borders */
  --border:        #d0d8f0;
  --border-navy:   rgba(26,42,110,.18);
  --border-accent: rgba(26,42,110,.35);

  /* Layout */
  --nav-h:         72px;
  --max-w:         1140px;
  --radius:        10px;
  --radius-lg:     18px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Utility ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }

/* ── TAG / EYEBROW ── */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.tag--white {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.tag--gold {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── SECTION TITLES ── */
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-title--white { color: #fff; }
.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 44px;
}
.section-sub--white { color: rgba(255,255,255,.7); }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
}
.divider--navy {
  background: linear-gradient(to right, transparent, var(--navy-light) 20%, var(--navy-light) 80%, transparent);
  opacity: .2;
}

/* ── GLOBAL NAV ── */
.gnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--navy);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.gnav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.gnav__logo img {
  height: 38px;
  width: auto;
}
.gnav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.gnav__links a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 7px 13px;
  border-radius: 6px;
  color: var(--text-body);
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.gnav__links a:hover,
.gnav__links a.active {
  background: var(--navy-pale);
  color: var(--navy);
}
.gnav__links a.cta {
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
}
.gnav__links a.cta:hover {
  background: var(--navy-light);
}

/* Hamburger */
.gnav__ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.gnav__ham span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Mobile nav */
.gnav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 2px solid var(--navy);
  padding: 16px 24px 28px;
  flex-direction: column;
  gap: 2px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(26,42,110,.12);
}
.gnav__mobile.open { display: flex; }
.gnav__mobile a {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-body);
  transition: background .18s;
}
.gnav__mobile a:hover { background: var(--navy-pale); color: var(--navy); }

/* ── HERO (base) ── */
.hero {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: .03em;
  transition: transform .18s, box-shadow .18s, background .18s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,42,110,.3);
}
.btn--navy:hover {
  background: var(--navy-light);
  box-shadow: 0 6px 24px rgba(26,42,110,.4);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy-pale);
}

.btn--outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
}

.btn--line {
  background: #06c755;
  color: #fff;
  box-shadow: 0 4px 16px rgba(6,199,85,.3);
}
.btn--line:hover { background: #05b34c; box-shadow: 0 6px 24px rgba(6,199,85,.45); }

.btn--email {
  background: var(--bg-section);
  border: 2px solid var(--border-accent);
  color: var(--navy);
}
.btn--email:hover { background: var(--navy-pale); }

.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ── CARD ── */
.card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--navy);
  box-shadow: 0 8px 32px rgba(26,42,110,.14);
}

/* ── TIMELINE ── */
.timeline { display: flex; flex-direction: column; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 58px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--navy) 0%, var(--neon-cyan) 100%);
  opacity: .25;
}
.tl-item {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 0 32px;
  padding: 24px 0;
  position: relative;
}
.tl-date {
  text-align: right;
  padding-right: 24px;
  position: relative;
}
.tl-date::after {
  content: '';
  position: absolute;
  right: -8px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--navy);
}
.tl-date .month { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); }
.tl-date .day {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.9rem; font-weight: 900;
  color: var(--navy); line-height: 1;
}
.tl-date .note { font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; }
.tl-content { padding-top: 4px; }
.tl-content h3 { font-size: 1.05rem; font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.tl-content p { font-size: 0.85rem; color: var(--text-body); line-height: 1.7; }

.tl-item--final .tl-date::after {
  background: var(--neon-magenta);
  box-shadow: 0 0 0 2px var(--neon-magenta);
}
.tl-item--final .tl-date .day { color: var(--neon-magenta); }
.tl-item--final .tl-content h3 { color: var(--neon-magenta); }

/* ── VIDEO / IMAGE PLACEHOLDER ── */
.video-placeholder {
  position: relative;
  width: 100%; padding-bottom: 56.25%;
  background: var(--bg-section);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.video-placeholder iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: none;
}
.video-placeholder__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--text-muted); font-size: 0.82rem;
}

.img-ph {
  background: var(--bg-section);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.78rem;
  letter-spacing: .06em; text-transform: uppercase;
}

/* ── ENTRY BOX ── */
.entry-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.entry-box::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,.07), transparent 60%);
  pointer-events: none;
}
.entry-box h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
}
.entry-box p { color: rgba(255,255,255,.75); margin-bottom: 32px; position: relative; }
.entry-btns {
  display: flex; flex-wrap: wrap;
  gap: 14px; justify-content: center;
  position: relative;
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.badge--navy { background: var(--navy-pale); color: var(--navy); border: 1px solid var(--border-navy); }
.badge--gold { background: #fef3d8; color: var(--gold); border: 1px solid rgba(200,146,10,.3); }
.badge--cyan { background: #e0f7fd; color: #007a9e; border: 1px solid rgba(0,180,216,.3); }
.badge--magenta { background: #fde8f0; color: var(--neon-magenta); border: 1px solid rgba(232,0,106,.25); }

/* ── QR ENTRY BLOCK (2コンテンツ並列) ── */
.qr-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

/* 各コンテンツのエントリーカード */
.qr-card {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  max-width: 300px;
  flex: 1;
}
.qr-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.qr-card__title {
  font-size: 0.92rem;
  font-weight: 900;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}
.qr-block {
  text-align: center;
}
.qr-block img {
  width: 148px; height: 148px;
  border-radius: 10px;
  border: 3px solid rgba(255,255,255,.25);
  display: block; margin: 0 auto 8px;
  background: #fff;
}
.qr-block p { font-size: 0.72rem; color: rgba(255,255,255,.6); }
.qr-btn-stack {
  display: flex; flex-direction: column;
  gap: 10px; width: 100%;
}

/* 旧構造との後方互換 */
.qr-entry--legacy {
  gap: 36px;
}
.qr-entry--legacy .qr-block img {
  width: 168px; height: 168px;
}
.qr-entry--legacy .qr-btn-stack {
  min-width: 280px; max-width: 340px;
}

/* ── MEDIA LOGOS ── */
.media-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.media-logo {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--text-body);
}

/* ── FOOTER ── */
.footer {
  background: var(--navy-dark);
  padding: 64px 0 32px;
  color: rgba(255,255,255,.85);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__logo img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer__desc { font-size: 0.82rem; color: rgba(255,255,255,.6); line-height: 1.8; }
.footer__col-title {
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 0.83rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 0.73rem; color: rgba(255,255,255,.38); }
.footer__policy { font-size: 0.73rem; color: rgba(255,255,255,.38); transition: color .2s; }
.footer__policy:hover { color: rgba(255,255,255,.7); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-up    { animation: fadeUp .65s ease both; }
.anim-up-d1 { animation: fadeUp .65s .1s ease both; }
.anim-up-d2 { animation: fadeUp .65s .2s ease both; }
.anim-up-d3 { animation: fadeUp .65s .3s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .gnav__links { display: none; }
  .gnav__ham { display: flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 44px; }
  .tl-item { grid-template-columns: 88px 1fr; gap: 0 16px; }
}
@media (max-width: 600px) {
  :root { --nav-h: 60px; }
  .section { padding: 60px 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .entry-box { padding: 36px 20px; }
  .tl-item { grid-template-columns: 72px 1fr; }
  .tl-date .day { font-size: 1.5rem; }
  .btn--lg { width: 100%; justify-content: center; }
  .entry-btns { flex-direction: column; align-items: center; }
  .qr-btn-stack { min-width: unset; }
}

/* ── MEDIA LOGO GRID ── */
.media-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: center;
}
.media-logo-grid:has(.media-logo-item:nth-child(4):last-child),
.media-logo-grid.four-col {
  grid-template-columns: repeat(4, 1fr);
}
.media-logo-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
}
.media-logo-item img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 700px) {
  .media-logo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── FM愛知・テレビ愛知：上下余白を詰めて画像を大きく ── */
.media-logo-item img[src*="media-fm-aichi"],
.media-logo-item img[src*="media-tv-aichi"] {
  max-height: 56px;
  padding: 0;
}
.media-logo-item:has(img[src*="media-fm-aichi"]),
.media-logo-item:has(img[src*="media-tv-aichi"]) {
  padding: 4px 16px;
}

/* ── ヒーロー画像：PC版は高さ固定でロゴまで見えるように ── */
.hero-main-img {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 901px) {
  .hero-main-img {
    height: 480px;
    object-fit: cover;
    object-position: top center;
  }
}
