/* ============================================================
   天浜線とことこフィルムコンテスト — Main Stylesheet
   Color palette:
     Sky blue  : #4BA3C7
     Navy      : #1B3A5C
     White     : #FFFFFF
     Orange    : #E8754A
     Light grey: #F4F5F7
     Mid grey  : #8C9BAB
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sky:    #4BA3C7;
  --navy:   #1B3A5C;
  --white:  #FFFFFF;
  --orange: #E8754A;
  --lt-grey:#F4F5F7;
  --md-grey:#8C9BAB;
  --dk-grey:#3D4F5C;
  --text:   #2A3A48;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(27,58,92,.10);
  --shadow-lg: 0 20px 60px rgba(27,58,92,.18);
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --font-sans: 'Noto Sans JP', 'Inter', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
}

/* ── Section commons ── */
.section { padding: 96px 0; }

.section-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--sky);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,.75); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--md-grey);
  margin-bottom: 48px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 5%;
}
.site-header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(27,58,92,.08);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
  transition: filter var(--transition);
}
.site-header.scrolled .header-logo img {
  filter: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: .04em;
  transition: color var(--transition);
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
  border-radius: 2px;
}
.header-nav a:hover::after { width: 100%; }
.header-nav a:hover { color: var(--orange); }

.site-header.scrolled .header-nav a { color: var(--navy); }
.site-header.scrolled .header-nav a:hover { color: var(--orange); }

.nav-entry-btn {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 24px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition) !important;
  box-shadow: 0 4px 16px rgba(232,117,74,.35);
}
.nav-entry-btn:hover {
  background: #d4623a !important;
  transform: translateY(-1px);
}
.nav-entry-btn::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.site-header.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

/* ── ロゴ専用スライド ── */
.hero-slide--logo {
  background: #ffffff;
  /* position:absolute + inset:0 は親の .hero-slide から継承 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ロゴ画像：縦長（約0.7:1）を画面いっぱい・見切れなし・完全中央 */
.logo-slide-img {
  /* 縦基準で画面いっぱい。はみ出しは overflow:hidden でクリップ */
  height: 92vh;
  width: auto;
  max-width: 92vw;   /* 横幅が画面より大きくならないよう保険 */
  object-fit: contain;
  display: block;
  /* ヘッダー分だけ少し下げてロゴが中央に見えるよう微調整 */
  margin-top: 36px;
}

/* ロゴスライド表示中：オーバーレイ非表示 */
.hero-overlay {
  transition: opacity 0.9s ease;
}

/* ロゴスライド表示中：テキスト・ボタン非表示 */
.hero-content {
  transition: opacity 0.8s ease;
}
.hero--logo-active .hero-content {
  opacity: 0;
  pointer-events: none;
}

/* ロゴスライド表示中：フィルムストリップを薄く */
.film-strip {
  transition: opacity 0.8s ease;
}
.hero--logo-active .film-strip {
  opacity: 0.2;
}

/* ドット：ロゴスライド用に水色で識別 */
.dot--logo {
  background: rgba(75,163,199,.5) !important;
  border: 2px solid rgba(75,163,199,.8) !important;
}
.dot--logo.active {
  background: var(--sky) !important;
  border-color: var(--sky) !important;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(27,58,92,.62) 0%,
    rgba(27,58,92,.30) 50%,
    rgba(27,58,92,.70) 100%
  );
  z-index: 1;
}

/* Film strips */
.film-strip {
  position: absolute;
  left: 0; right: 0;
  height: 36px;
  background: rgba(0,0,0,.65);
  z-index: 3;
  overflow: hidden;
}
.film-strip--top { top: 72px; }
.film-strip--bottom { bottom: 0; }
.film-holes {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 12px;
}
.film-holes::before {
  content: '';
  display: block;
  width: 100vw;
  height: 18px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 8px,
    rgba(255,255,255,.15) 8px,
    rgba(255,255,255,.15) 26px
  );
  border-radius: 4px;
}

/* Content */
.hero-content {
  position: absolute;
  z-index: 4;
  text-align: center;
  padding: 0 24px;
  bottom: 72px;                      /* さらに下へ */
  left: 0; right: 0;
  transition: opacity 0.8s ease;
}


.hero-copy {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  margin-bottom: 16px;
  white-space: nowrap; /* 改行させない */
}
/* 画面幅が狭いときは文字サイズを小さくして一行に収める */
.hero-copy-inner {
  display: inline-block;
  white-space: nowrap;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  letter-spacing: .06em;
  /* テーマバッジ削除により通常テキストに */
  font-weight: 500;
}

.theme-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .08em;
  box-shadow: 0 4px 16px rgba(232,117,74,.45);
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.dot.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.25);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 56px;
  right: 5%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .65rem;
  letter-spacing: .2em;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .4; transform: scaleY(.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Fade-up animation */
.fade-up { opacity: 0; transform: translateY(30px); }
.fade-up.visible { animation: fadeUp .8s ease forwards; }
.delay-1 { animation-delay: .18s; }
.delay-2 { animation-delay: .36s; }
.delay-3 { animation-delay: .54s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── 写真スライド用：透過ロゴオーバーレイ（中央・大きく）── */
.hero-logo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;                        /* overlayより上、contentより下 */
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;                        /* デフォルト非表示（ロゴスライド中） */
  transition: opacity 1s ease;
}
.hero--photo-active .hero-logo-overlay {
  opacity: 1;                        /* 写真スライド中に表示 */
}
.hero-logo-overlay-img {
  height: 78vh;
  width: auto;
  max-width: 68vw;
  display: block;
  object-fit: contain;
  opacity: 0.55;
  /* 黒背景を透明にしてロゴ部分だけ浮かび上がらせる */
  mix-blend-mode: screen;
}

@media (max-width: 768px) {
  .hero-logo-overlay-img {
    height: 65vh;
    max-width: 88vw;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 32px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(232,117,74,.4);
}
.btn--primary:hover { background: #d4623a; box-shadow: 0 8px 32px rgba(232,117,74,.55); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
}
.btn--outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,.22); }

.btn--cta {
  background: var(--orange);
  color: var(--white);
  padding: 16px 36px;
  font-size: 1rem;
  box-shadow: 0 6px 28px rgba(232,117,74,.5);
}
.btn--cta:hover { background: #d4623a; box-shadow: 0 10px 40px rgba(232,117,74,.6); }

.btn--cta-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
  padding: 16px 36px;
  font-size: 1rem;
}
.btn--cta-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrap {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  overflow: hidden;
  height: 44px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  padding: 0 40px;
  font-size: .82rem;
  letter-spacing: .05em;
  font-weight: 400;
  border-right: 1px solid rgba(255,255,255,.15);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.about-text p {
  color: var(--dk-grey);
  margin-bottom: 18px;
  font-size: .97rem;
  line-height: 1.9;
}
.about-lead {
  font-family: var(--font-serif);
  font-size: 1.3rem !important;
  color: var(--navy) !important;
  font-weight: 700;
  margin-bottom: 24px !important;
}
.about-text strong { color: var(--sky); }

.about-photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.about-photo-frame:hover img { transform: scale(1.04); }

.photo-caption {
  position: absolute;
  bottom: 10px; right: 12px;
  font-size: .68rem;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.35);
  padding: 2px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.about-stat-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 16px;
}

.stat-card {
  background: var(--lt-grey);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-card.accent { background: var(--navy); }

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card.accent .stat-num { color: var(--white); }
.stat-num small { font-size: .9rem; }
.stat-label {
  display: block;
  font-size: .72rem;
  color: var(--md-grey);
  letter-spacing: .06em;
}
.stat-card.accent .stat-label { color: rgba(255,255,255,.7); }

/* ============================================================
   THEME SECTION
   ============================================================ */
.theme-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.theme-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.theme-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,92,.85) 0%, rgba(75,163,199,.70) 100%);
}
.theme-section .container { position: relative; z-index: 1; }

.theme-content {
  max-width: 680px;
  margin: 0 auto;
}

.theme-year {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,.1);
  letter-spacing: .1em;
  line-height: 1;
  margin-bottom: -20px;
  font-family: 'Inter', sans-serif;
}

.theme-main {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .08em;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.theme-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 32px;
  line-height: 1.9;
}

.theme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.tag {
  background: rgba(255,255,255,.18);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 24px;
  padding: 8px 20px;
  font-size: .85rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.tag:hover { background: rgba(255,255,255,.3); }

/* ============================================================
   DIVISIONS
   ============================================================ */
.divisions { background: var(--lt-grey); }

.division-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.division-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(27,58,92,.06);
  overflow: hidden;
}
.division-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--sky);
  transition: height var(--transition);
}
.division-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.division-card:hover::before { height: 6px; }

.division-card.featured::before { background: var(--orange); }
.division-card.featured { box-shadow: 0 8px 36px rgba(232,117,74,.18); }

.division-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--orange);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 12px;
}

.division-icon {
  width: 56px; height: 56px;
  background: var(--lt-grey);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--sky);
  margin-bottom: 16px;
  transition: var(--transition);
}
.division-card.featured .division-icon { color: var(--orange); }
.division-card:hover .division-icon { background: var(--sky); color: var(--white); transform: rotate(-6deg); }
.division-card.featured:hover .division-icon { background: var(--orange); }

.division-num {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--md-grey);
  margin-bottom: 8px;
}

.division-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.division-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.division-specs li {
  font-size: .85rem;
  color: var(--dk-grey);
  display: flex;
  align-items: center;
  gap: 8px;
}
.division-specs li i {
  color: var(--sky);
  font-size: .8rem;
  width: 14px;
}
.division-card.featured .division-specs li i { color: var(--orange); }

.division-desc {
  font-size: .88rem;
  color: var(--md-grey);
  line-height: 1.75;
  margin-bottom: 20px;
}

.division-limit {
  font-size: .75rem;
  color: var(--sky);
  font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 12px;
  background: rgba(75,163,199,.08);
  border-radius: 6px;
  display: inline-block;
}
.division-card.featured .division-limit {
  color: var(--orange);
  background: rgba(232,117,74,.08);
}

/* ============================================================
   SCHEDULE — Horizontal Rail / Track Design
   ============================================================ */
.schedule { background: #F0F4F8; }

/* ── Outer wrapper ── */
.h-rail {
  margin-top: 48px;
  position: relative;
}

/* ── Rail track band (枕木 + 2本レール) ── */
.h-rail-track {
  position: relative;
  height: 36px;
  margin: 0 0 0 0;
  overflow: hidden;
}

/* 枕木（縦の木） */
.h-rail-ties {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.h-rail-ties span {
  flex: 1;
  height: 26px;
  background: #8B6F47;
  border-radius: 2px;
  margin: 0 5px;
  opacity: .7;
}

/* 上下2本レール */
.h-rail-bar {
  position: absolute;
  left: 0; right: 0;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #B0BCC8, #98A8B8, #B0BCC8);
  box-shadow: 0 2px 4px rgba(0,0,0,.18);
  z-index: 1;
}
.h-rail-bar.top    { top: 4px; }
.h-rail-bar.bottom { bottom: 4px; }

/* 走る電車イラスト */
.h-rail-train {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  animation: trainRun 6s linear infinite;
  /* 電車が走るラインに合わせた高さ */
  line-height: 0;
}
.h-rail-train-img {
  height: 110px;
  width: auto;
  object-fit: contain;
  display: block;
  /* 影で浮き上がり感を演出 */
  filter: drop-shadow(0 6px 12px rgba(27,58,92,.35));
}
@keyframes trainRun {
  0%   { left: -140px; opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { left: calc(100% + 20px); opacity: 0; }
}

/* ── Stations row ── */
.h-stations {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

/* 駅ドット下のレール連結線 */
.h-stations::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 2px;
  background: rgba(75,163,199,.25);
  z-index: 0;
}

/* ── Single station ── */
.h-station {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px 0;
  position: relative;
}

/* ── 駅名標（上部サイン） ── */
.h-station-sign {
  background: var(--white);
  border: 2.5px solid var(--navy);
  border-radius: 8px;
  padding: 8px 14px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(27,58,92,.14);
  min-width: 88px;
  position: relative;
  z-index: 1;
  transition: transform var(--transition), box-shadow var(--transition);
}
.h-station-sign:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,58,92,.2);
}
/* 駅名標 横2本ライン */
.h-station-sign::before {
  content: '';
  position: absolute;
  top: 30%; left: 0; right: 0;
  height: 1.5px;
  background: var(--sky);
  opacity: .5;
}
.h-station-sign::after {
  content: '';
  position: absolute;
  bottom: 30%; left: 0; right: 0;
  height: 1.5px;
  background: var(--sky);
  opacity: .5;
}
/* GOAL駅名標 */
.h-station-sign.goal {
  border-color: var(--orange);
  background: var(--navy);
}
.h-station-sign.goal::before,
.h-station-sign.goal::after { background: var(--orange); }
.h-station-sign.goal .h-sign-en { color: var(--orange); }
.h-station-sign.goal .h-sign-ja { color: var(--white); }

.h-sign-en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--sky);
  margin-bottom: 1px;
}
.h-sign-ja {
  display: block;
  font-family: var(--font-serif);
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
}

/* ── 駅ドット（レールと接続するポイント） ── */
.h-station-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sky);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2.5px var(--sky);
  margin: 10px 0;
  flex-shrink: 0;
  z-index: 1;
  transition: transform var(--transition);
}
.h-station:hover .h-station-dot { transform: scale(1.3); }
.h-station-dot.goal {
  background: var(--orange);
  box-shadow: 0 0 0 2.5px var(--orange);
}

/* 縦コネクタ線（ドットからカードへ） */
.h-station::before {
  content: '';
  display: block;
  width: 2px;
  height: 0;
  background: rgba(75,163,199,.35);
  flex-shrink: 0;
}

/* ── 情報カード（下部） ── */
.h-station-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  box-shadow: 0 3px 16px rgba(27,58,92,.08);
  border-top: 3px solid var(--sky);
  width: 100%;
  max-width: 190px;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.h-station-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(27,58,92,.14);
}
.h-station-card.goal {
  border-top-color: var(--orange);
  background: var(--navy);
}
.h-station-card.goal h4 { color: var(--white); }
.h-station-card.goal p  { color: rgba(255,255,255,.75); }

.h-card-icon {
  width: 36px; height: 36px;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, var(--sky), #6BBFE0);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--white);
}
.h-card-icon.goal {
  background: linear-gradient(135deg, var(--orange), #F0956A);
}

/* SNS公開ステーション */
.h-station-dot.sns {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  box-shadow: 0 0 0 4px rgba(255,0,0,.2);
}
.h-station-sign.sns {
  background: linear-gradient(135deg, #ff0000, #cc0000);
}
.h-station-sign.sns .h-sign-en { color: rgba(255,255,255,.85); }
.h-station-sign.sns .h-sign-ja { color: #fff; }
.h-station-card.sns {
  border-top: 3px solid #ff0000;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
}
.h-card-icon.sns {
  background: linear-gradient(135deg, #ff0000, #cc0000);
}

.h-station-card h4 {
  font-family: var(--font-serif);
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
}
.h-station-card p {
  font-size: .75rem;
  color: var(--dk-grey);
  line-height: 1.65;
}

/* スケジュール注記 */
.schedule-note {
  text-align: center;
  font-size: .82rem;
  color: var(--md-grey);
  margin-top: 28px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .h-stations {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 8px;
  }
  .h-stations::before { display: none; }
  .h-station-card { max-width: 100%; }
}
@media (max-width: 480px) {
  .h-stations {
    grid-template-columns: 1fr 1fr;
    gap: 12px 6px;
  }
  .h-station-sign { min-width: 72px; padding: 6px 10px; }
  .h-station-card { padding: 12px 10px; }
  .h-station-card h4 { font-size: .8rem; }
  .h-station-card p  { font-size: .7rem; }
}

/* ============================================================
   PHOTO STRIP
   ============================================================ */
.photo-strip {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.photo-strip-inner {
  display: flex;
  height: 100%;
  animation: stripScroll 22s linear infinite;
  width: max-content;
}
.ps-item {
  width: 300px;
  height: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  margin-right: 4px;
  transition: transform var(--transition);
}
.ps-item:hover { transform: scaleY(1.06); }

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

/* ============================================================
   ELIGIBILITY
   ============================================================ */
.eligibility { background: var(--lt-grey); }

.elig-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-top: 48px;
}

.elig-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(27,58,92,.05);
}
.elig-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.elig-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--sky), #6BBFE0);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  transition: var(--transition);
}
.elig-card:hover .elig-icon { transform: rotate(-8deg) scale(1.1); }

.elig-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.elig-card p { font-size: .85rem; color: var(--dk-grey); line-height: 1.75; }

/* ============================================================
   RULES HIGHLIGHT
   ============================================================ */
.rules-highlight { background: var(--white); }

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.rules-ok, .rules-ng {
  border-radius: var(--radius);
  padding: 32px;
}
.rules-ok { background: #f0faf5; border: 1px solid #b8e5cf; }
.rules-ng { background: #fff5f3; border: 1px solid #f5cfc5; }

.rules-head {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rules-head.ok { color: #2a7a55; }
.rules-head.ng { color: #b84a2a; }

.rules-ok li, .rules-ng li {
  font-size: .9rem;
  color: var(--dk-grey);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
.rules-ok li::before {
  content: '✓';
  color: #2a7a55;
  font-weight: 700;
  flex-shrink: 0;
}
.rules-ng li::before {
  content: '✕';
  color: #b84a2a;
  font-weight: 700;
  flex-shrink: 0;
}
.rules-ok li:last-child, .rules-ng li:last-child { border-bottom: none; }

.rules-note {
  background: rgba(75,163,199,.08);
  border-left: 4px solid var(--sky);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: .88rem;
  color: var(--dk-grey);
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.rules-note i { color: var(--sky); margin-top: 2px; flex-shrink: 0; }
.rules-note a { color: var(--sky); font-weight: 600; text-decoration: underline; }

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,92,.88) 0%, rgba(75,163,199,.75) 100%);
}
.cta-section .container { position: relative; z-index: 1; }

.cta-content { max-width: 620px; margin: 0 auto; }

.cta-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .25em;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  line-height: 1.9;
  margin-bottom: 40px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   ORGANIZER
   ============================================================ */
.organizer { background: var(--lt-grey); }

.org-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.org-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: 0 2px 12px rgba(27,58,92,.06);
  transition: var(--transition);
}
.org-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.org-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--sky);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.org-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.org-sub {
  font-size: .85rem;
  color: var(--md-grey);
}

/* ── 連絡先カード ── */
.org-card--contact {
  border-top: 3px solid var(--sky);
}

.org-contact-name {
  font-size: 1rem !important;
  margin-bottom: 12px !important;
}

.org-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--sky);
  word-break: break-all;
  transition: color var(--transition);
  margin-bottom: 10px;
}
.org-contact-email:hover { color: var(--navy); }
.org-contact-email i { flex-shrink: 0; font-size: .9rem; }

.org-contact-note {
  font-size: .78rem;
  color: var(--md-grey);
  line-height: 1.6;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .org-grid { grid-template-columns: 1fr 1fr; }
  .org-card--contact { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .org-grid { grid-template-columns: 1fr; }
  .org-card--contact { grid-column: auto; }
}

.org-story {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 36px;
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 2px 12px rgba(27,58,92,.06);
}
.org-story-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--sky), var(--navy));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.org-story p { font-size: .9rem; color: var(--dk-grey); line-height: 1.85; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: var(--white); }

.footer-film-strip {
  height: 28px;
  background: rgba(0,0,0,.3);
  overflow: hidden;
}
.film-holes-row {
  height: 100%;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 6px,
    rgba(255,255,255,.12) 6px,
    rgba(255,255,255,.12) 20px
  );
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  padding: 64px 0 48px;
  align-items: start;
}

.footer-logo { height: 80px; width: auto; margin-bottom: 16px; }

.footer-copy-text {
  font-family: var(--font-serif);
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}

.footer-nav-head {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-nav a {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--orange); }

.footer-contact-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: var(--sky) !important;
  font-weight: 500;
}
.footer-contact-link:hover { color: var(--orange) !important; }
.footer-contact-link i { font-size: .8rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copyright, .footer-powered {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(232,117,74,.45);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: var(--transition);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(232,117,74,.6); }

/* ============================================================
   AWARDS SECTION
   ============================================================ */
.awards-section { background: var(--lt-grey); }

/* シークレットバナー */
.secret-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #2a5a8c 50%, var(--navy) 100%);
  border-radius: 20px;
  padding: 32px 40px;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}
.secret-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,.03) 10px,
    rgba(255,255,255,.03) 20px
  );
}
.secret-banner::after {
  content: '🎁';
  position: absolute;
  font-size: 8rem;
  opacity: .05;
  right: 24px;
  bottom: -16px;
  line-height: 1;
}
.secret-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.secret-icon {
  font-size: 2.4rem;
  animation: giftBounce 1.6s ease-in-out infinite;
}
.secret-icon:last-child { animation-delay: .8s; }
@keyframes giftBounce {
  0%,100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-10px) rotate(8deg); }
}
.secret-text { text-align: center; color: #fff; }
.secret-label {
  font-size: .85rem;
  letter-spacing: .15em;
  color: rgba(255,255,255,.65);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.secret-main {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}
.secret-main strong { color: var(--orange); }
.secret-hint {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .05em;
}

/* ============================================================
   JUDGES — COMING SOON
   ============================================================ */

/* グリッド：5列 */
.judges-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin: 40px 0 28px;
}

/* 個別カード */
.judge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* アバター外枠 */
.judge-avatar {
  position: relative;
  width: 128px;
  height: 128px;
  flex-shrink: 0;
}

/* アバター本体（グラデーション円） */
.judge-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #2a5a8c 60%, var(--sky) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.18);
  font-size: 2.8rem;
  animation: judgePulse 2.6s ease-in-out infinite;
  box-shadow:
    0 0 0 0 rgba(75,163,199,.4),
    0 8px 24px rgba(27,58,92,.22);
}

/* パルスアニメーション */
@keyframes judgePulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(75,163,199,.45),
      0 8px 24px rgba(27,58,92,.22);
  }
  50% {
    box-shadow:
      0 0 0 14px rgba(75,163,199,.0),
      0 8px 24px rgba(27,58,92,.22);
  }
}

/* COMING SOON オーバーレイバッジ */
.judge-coming-badge {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(27,58,92,.78);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-align: center;
  line-height: 1.5;
  border: 2px solid rgba(75,163,199,.55);
  /* きらめき文字色 */
  background-image:
    radial-gradient(circle at 30% 30%, rgba(75,163,199,.35) 0%, transparent 60%);
}

/* テキスト情報 */
.judge-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.judge-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
}
.judge-role {
  font-size: .75rem;
  font-weight: 500;
  color: var(--sky);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* 下部ノート */
.judges-note {
  text-align: center;
  font-size: .9rem;
  color: var(--md-grey);
  letter-spacing: .04em;
  margin-top: 8px;
}
.judges-note i {
  color: var(--orange);
  margin-right: 6px;
}

/* レスポンシブ: 3列 → 2列 → 1列 */
@media (max-width: 1024px) {
  .judges-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .judges-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .judge-avatar { width: 100px; height: 100px; }
}
@media (max-width: 380px) {
  .judges-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   旧・賞グリッド（残骸CSS ― 使用なし）
   ============================================================ */
/* 賞グリッド */
.award-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* 部門ブロック */
.award-division {}
.award-div-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  border-left: 4px solid var(--sky);
  padding-left: 16px;
  margin-bottom: 20px;
  letter-spacing: .05em;
}
.award-div-header i { color: var(--sky); font-size: 1.2rem; }

/* 賞カード横並び */
.award-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.award-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--md-grey);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.award-card.gold  { border-top-color: #D4AF37; }
.award-card.silver{ border-top-color: #A8A8A8; }
.award-card.special{ border-top-color: var(--sky); }

.award-rank {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--dk-grey);
}
.award-card.gold   .award-rank { color: #B8960A; }
.award-card.silver .award-rank { color: #888; }
.award-card.special .award-rank { color: var(--sky); }

/* 賞品エリア（賞状 + フリップ副賞） */
.award-prize-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.award-prize-front {
  background: var(--lt-grey);
  border-radius: 8px;
  padding: 8px 20px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dk-grey);
  width: 100%;
  text-align: center;
}

/* フリップカード（副賞シークレット） */
.award-flip-card {
  width: 100%;
  height: 88px;
  perspective: 600px;
  cursor: pointer;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  border-radius: 10px;
}
.award-flip-card:hover .flip-inner,
.award-flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
}
.flip-front {
  background: linear-gradient(135deg, var(--orange) 0%, #f09060 100%);
  color: #fff;
}
.flip-front i { font-size: 1.4rem; }
.flip-front span { font-size: .82rem; font-weight: 700; letter-spacing: .05em; }
.flip-front small { font-size: .65rem; opacity: .85; }
/* きらきらアニメ */
.flip-front::before {
  content: '✦';
  position: absolute;
  top: 6px; right: 8px;
  font-size: .7rem;
  color: rgba(255,255,255,.7);
  animation: twinkle 1.4s ease-in-out infinite;
}
.flip-front::after {
  content: '✦';
  position: absolute;
  bottom: 8px; left: 8px;
  font-size: .55rem;
  color: rgba(255,255,255,.5);
  animation: twinkle 1.4s ease-in-out infinite .7s;
}
@keyframes twinkle {
  0%,100% { opacity: .3; transform: scale(.8); }
  50%      { opacity: 1;  transform: scale(1.2); }
}

.flip-back {
  background: linear-gradient(135deg, var(--navy) 0%, #2a5a8c 100%);
  color: #fff;
  transform: rotateY(180deg);
}
.flip-back i { font-size: 1.5rem; color: var(--orange); }
.flip-back span { font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.flip-back small { font-size: .65rem; opacity: .8; }

/* レスポンシブ */
@media (max-width: 768px) {
  .award-cards { grid-template-columns: 1fr; }
  .secret-banner { padding: 24px 20px; }
  .secret-banner-inner { flex-direction: column; gap: 12px; }
}

/* ============================================================
   CRITERIA（審査基準）— index.html用
   ============================================================ */
.criteria-section {
  background: var(--lt-grey);
}
.criteria-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.criteria-card-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.criteria-card-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--navy));
}
.criteria-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.criteria-card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--sky), var(--navy));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  margin: 0 auto 16px;
}
.criteria-card-num {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--sky);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.criteria-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.criteria-card-desc {
  font-size: .83rem;
  color: var(--dk-grey);
  line-height: 1.75;
}
.criteria-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--sky);
  border-bottom: 1.5px solid var(--sky);
  padding-bottom: 2px;
  transition: opacity .2s;
}
.criteria-more-link:hover { opacity: .7; }

@media (max-width: 1024px) {
  .criteria-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .criteria-cards-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .criteria-card-item { padding: 20px 14px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: var(--white);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 16px;
}

/* カテゴリ見出し */
.faq-category-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(75,163,199,.1);
  border-left: 3px solid var(--sky);
  padding: 6px 16px 6px 12px;
  border-radius: 0 20px 20px 0;
  margin-bottom: 16px;
}
.faq-category-label i { font-size: .85rem; }

/* 個別アイテム */
.faq-item {
  border: 1.5px solid rgba(27,58,92,.09);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.faq-item:hover {
  box-shadow: var(--shadow);
}
.faq-item.open {
  border-color: rgba(75,163,199,.4);
  box-shadow: 0 4px 20px rgba(75,163,199,.12);
}

/* Q ボタン */
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  transition: background .2s;
}
.faq-q:hover { background: rgba(75,163,199,.05); }
.faq-item.open .faq-q { background: rgba(75,163,199,.06); color: var(--sky); }

/* Q の前に「Q.」 */
.faq-q span::before {
  content: 'Q. ';
  color: var(--sky);
  font-weight: 900;
}
.faq-item.open .faq-q span::before { color: var(--sky); }

/* 矢印アイコン */
.faq-icon {
  flex-shrink: 0;
  font-size: .85rem;
  color: var(--sky);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }

/* A 回答エリア */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s ease;
  padding: 0 24px;
  background: rgba(244,245,247,.55);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 16px 24px 20px;
}
.faq-a p {
  font-size: .92rem;
  color: var(--dk-grey);
  line-height: 1.85;
  position: relative;
  padding-left: 28px;
}
/* A. プレフィックス */
.faq-a p::before {
  content: 'A.';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: var(--orange);
  font-size: .95rem;
}
.faq-a a {
  color: var(--sky);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* お問い合わせ誘導 */
.faq-contact {
  margin-top: 48px;
  text-align: center;
  padding: 36px;
  background: var(--lt-grey);
  border-radius: var(--radius);
}
.faq-contact-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.faq-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .faq-q { padding: 16px 18px; font-size: .95rem; }
  .faq-item.open .faq-a { padding: 12px 18px 16px; }
  .faq-a p { padding-left: 24px; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .division-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .elig-grid { grid-template-columns: repeat(2,1fr); }

}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .header-nav { display: none; }
  .hamburger { display: flex; }

  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    gap: 32px;
  }
  .header-nav.open a {
    font-size: 1.3rem;
    color: var(--white);
  }
  .nav-entry-btn { font-size: 1.1rem !important; padding: 12px 28px !important; }

  .hero-content { bottom: 100px; }
  .hero-copy {
    font-size: clamp(1rem, 5vw, 1.8rem);
    white-space: nowrap;
  }
  .hero-btns { flex-direction: column; align-items: center; }

  .division-cards { grid-template-columns: 1fr; }
  .elig-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .org-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .about-stat-cards { grid-template-columns: repeat(3,1fr); }

  .film-strip--top { top: 64px; }

  .scroll-hint { display: none; }

}

@media (max-width: 480px) {
  .hero-btns .btn { width: 100%; justify-content: center; }
  .about-stat-cards { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; }
  .cta-btns .btn { width: 100%; justify-content: center; }
  .footer-nav { grid-template-columns: 1fr; }
}
