/* =========================
   POM PUPPYS bright - Style Sheet
   =========================
*/

/* =========================
   TOKENS（カラーパレット）
========================= */
:root {
  /* メインカラー（チームカラー：黒・紫・金） */
  --navy: #1a1a1a;
  --purple: #6b3fa0;
  --pink: #8b5cf6;
  --gold: #d4a84b;
  
  /* 背景・サーフェス（白〜薄い紫グラデーション） */
  --bg: #faf9fc;
  --bg-gradient-1: rgba(255, 255, 255, 0.85);
  --bg-gradient-2: rgba(212, 168, 75, 0.06);
  --bg-gradient-3: rgba(107, 63, 160, 0.04);
  --surface: rgba(255, 255, 255, 0.88);
  --surfaceSolid: #ffffff;
  
  /* テキスト */
  --text: #0b1220;
  --muted: #5a5a7a;
  
  /* ライン・ボーダー */
  --line: rgba(26, 26, 26, 0.15);
  --line-light: rgba(212, 168, 75, 0.3);
  
  /* 角丸 */
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-full: 999px;
  
  /* シャドウ */
  --shadow-sm: 0 4px 20px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 8px 40px rgba(26, 26, 26, 0.10);
  --shadow-lg: 0 16px 60px rgba(26, 26, 26, 0.14);
  --shadow-glow: 0 0 30px rgba(107, 63, 160, 0.20);
  
  /* フォーカスリング */
  --ring: rgba(107, 63, 160, 0.40);
  
  /* コンテナ */
  --container: 1140px;
  
  /* アニメーション */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
}

/* =========================
   BASE
========================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 900px 600px at 10% -5%, var(--bg-gradient-1), transparent 60%),
    radial-gradient(ellipse 800px 500px at 90% 0%, var(--bg-gradient-2), transparent 55%),
    radial-gradient(ellipse 1000px 600px at 50% 100%, var(--bg-gradient-3), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  padding-left: 1.2em;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.3;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: rgba(26, 26, 26, 0.02);
}

.muted {
  color: var(--muted);
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  .section {
    padding: 56px 0;
  }
}

/* =========================
   COMPONENTS
========================= */

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ===== Header Container ===== */
.header-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ===== Logo ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo__emblem {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo__name {
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo__accent {
  color: var(--purple);
}

@media (max-width: 480px) {
  .logo__emblem {
    width: 32px;
    height: 32px;
  }
  
  .logo__name {
    font-size: 0.9rem;
  }
}

/* ===== Navigation List ===== */
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  list-style: none;
}

.nav-list a,
.nav-list button {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 10px;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-list a:hover,
.nav-list button:hover {
  color: var(--navy);
  background: rgba(107, 63, 160, 0.08);
  text-decoration: none;
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--duration-fast);
}

.hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== Mobile Navigation ===== */
@media (max-width: 900px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 80px 24px 40px;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s var(--ease-out);
    z-index: 100;
    align-items: stretch;
  }
  
  .nav-list.is-open {
    right: 0;
  }
  
  .nav-list a,
  .nav-list button {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  .hamburger {
    display: flex;
  }
}

@media (min-width: 901px) {
  .hamburger {
    display: none;
  }
}

/* ===== Header Inner (他ページ用) ===== */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--purple), var(--gold));
  box-shadow: 0 4px 12px rgba(107, 63, 160, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.brand__emblem {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.brand__pink {
  color: var(--purple);
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav a:hover {
  color: var(--navy);
  background: rgba(107, 63, 160, 0.08);
  text-decoration: none;
}

@media (max-width: 768px) {
  .header__inner {
    flex-wrap: wrap;
  }
  
  .nav {
    width: 100%;
    justify-content: center;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }
  
  .nav a {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--navy));
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg), 0 0 40px rgba(107, 63, 160, 0.35);
}

.btn-secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: #fff;
  border-color: var(--gold);
}

.btn-gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #e6a800);
  box-shadow: var(--shadow-md), 0 0 20px rgba(212, 168, 75, 0.3);
}

.btn-gold:hover {
  box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 168, 75, 0.4);
}

.btn-outline-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ===== Cards ===== */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card--highlight {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(107, 63, 160, 0.03), rgba(212, 168, 75, 0.05));
}

.card--flat {
  box-shadow: none;
}

.card--flat:hover {
  transform: none;
  box-shadow: none;
}

.card__title {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 16px;
}

.card__body {
  line-height: 2;
}

.card__body p {
  margin: 0 0 0.8em;
}

.card__body p:last-child {
  margin-bottom: 0;
}

/* ===== Hero ===== */
.hero {
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    padding: 40px 0 32px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.heroCard {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  border: 1px solid var(--line);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.heroCard::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(107, 63, 160, 0.08), transparent 60%);
  pointer-events: none;
}

@media (max-width: 600px) {
  .heroCard {
    padding: 28px 20px;
  }
}

.heroKicker {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 12px;
}

.heroTitle {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.heroTitle .highlight {
  background: linear-gradient(90deg, var(--purple), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.heroLead {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.heroSub {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

.heroCta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Hero Photo */
.heroPhotoWrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.heroPhotoWrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--purple), var(--gold)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.heroPhoto {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Mascot ===== */
.mascot {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  animation: float 3s ease-in-out infinite;
}

.mascot--hero {
  bottom: -20px;
  right: -10px;
  width: 120px;
}

@media (max-width: 600px) {
  .mascot--hero {
    width: 80px;
    bottom: -10px;
    right: 0;
  }
}

.mascot--section {
  width: 80px;
}

.mascot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.mascotFloat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 100px;
  z-index: 999;
  animation: float 3s ease-in-out infinite;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.mascotFloat:hover {
  transform: scale(1.1);
}

.mascotFloat img {
  width: 100%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

@media (max-width: 600px) {
  .mascotFloat {
    width: 70px;
    right: 12px;
    bottom: 12px;
  }
}

/* ===== Timeline ===== */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline__item {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.timeline__item:last-child {
  border-bottom: none;
}

.timeline__year {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--purple);
  min-width: 60px;
}

.timeline__text {
  color: var(--text);
  font-weight: 600;
  line-height: 1.6;
}

.timeline__item--highlight {
  background: linear-gradient(90deg, rgba(107, 63, 160, 0.08), transparent);
  margin: 0 -16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-bottom: none;
}

.timeline__item--highlight .timeline__year {
  color: var(--gold);
}

.timeline__item--highlight .timeline__text {
  font-weight: 800;
  color: var(--navy);
}

/* ===== Road to the World Section ===== */
.roadSection {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  color: #fff;
  overflow: hidden;
}

.roadSection::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(107, 63, 160, 0.3), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 168, 75, 0.2), transparent 50%);
  pointer-events: none;
}

.roadSection__inner {
  position: relative;
  z-index: 1;
}

.roadSection__header {
  text-align: center;
  margin-bottom: 48px;
}

.roadSection__kicker {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.roadSection__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.3;
}

.roadSection__lead {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}

.roadSection__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .roadSection {
    padding: 60px 0;
  }
  
  .roadSection__grid {
    grid-template-columns: 1fr;
  }
}

.roadCard {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.roadCard__title {
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.9;
  margin: 0 0 16px;
  color: #fff;
}

.roadCard__note {
  margin-top: 16px;
  font-size: 0.85rem;
  opacity: 0.75;
  color: rgba(255, 255, 255, 0.8);
}

/* Progress Bar */
.progressBar {
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 16px 0;
}

.progressBar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: var(--radius-full);
  transition: width 1s var(--ease-out);
  min-width: 2%;
}

.progressBar__labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  color: #fff;
}

.progressBar__current {
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--gold);
}

.progressBar__goal {
  opacity: 0.7;
  font-size: 0.9rem;
  color: #fff;
}

.progressBar__days {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Messages Preview */
.messagesPreview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 8px;
}

.messagesPreview::-webkit-scrollbar {
  width: 4px;
}

.messagesPreview::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.messagesPreview::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.messagesPreview::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.messagePreview {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.messagePreview__name {
  font-weight: 700;
  color: var(--gold);
  margin-right: 8px;
}

.messagesPreview .msgCard {
  background: #fff;
  color: var(--navy);
}

.messagesPreview .msgBody {
  color: var(--navy);
}

.messagesPreview .msgMeta {
  color: #666;
}

.roadSection__cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Members Section ===== */
.membersGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.memberCard {
  position: relative;
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  background: var(--surfaceSolid);
  overflow: hidden;
}

.memberCard:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.memberCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.memberCard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.8), transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.memberCard:hover .memberCard__overlay {
  opacity: 1;
}

.memberCard__name {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration-fast);
}

.memberCard:hover .memberCard__name {
  opacity: 1;
  transform: translateY(0);
}

.memberCard--mascot {
  background: linear-gradient(135deg, rgba(107, 63, 160, 0.1), rgba(212, 168, 75, 0.1));
}

.memberCard--mascot img {
  object-fit: contain;
  padding: 12px;
}

/* ===== Photo Gallery ===== */
.photoGrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.photoCard {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  background: var(--surfaceSolid);
}

.photoCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.photoCard--half {
  grid-column: span 3;
}

.photoCard--third {
  grid-column: span 2;
}

.photoImg {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.photoCard--half .photoImg {
  height: 260px;
}

.photoCap {
  padding: 14px 16px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  background: #fff;
}

@media (max-width: 900px) {
  .photoCard--half,
  .photoCard--third {
    grid-column: span 3;
  }
  
  .photoCard--half .photoImg,
  .photoCard--third .photoImg {
    height: 180px;
  }
}

@media (max-width: 600px) {
  .photoGrid {
    grid-template-columns: 1fr;
  }
  
  .photoCard--half,
  .photoCard--third {
    grid-column: span 1;
  }
  
  .photoCard--half .photoImg,
  .photoCard--third .photoImg {
    height: 200px;
  }
}

/* ===== Messages Section ===== */
.msgGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.msgCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.msgCard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.msgCard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.msgCard__name {
  font-weight: 800;
  color: var(--navy);
}

.msgCard__date {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.msgCard__body {
  margin: 0;
  line-height: 1.8;
  color: var(--text);
}

/* ===== News Section ===== */
.newsGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 700px) {
  .newsGrid {
    grid-template-columns: 1fr;
  }
}

.newsItem {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.newsItem:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.newsTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, rgba(107, 63, 160, 0.1), rgba(212, 168, 75, 0.1));
  color: var(--purple);
  border: 1px solid rgba(107, 63, 160, 0.2);
}

.newsDate {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.newsTitle {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
}

.newsBody {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.newsLink {
  color: var(--purple);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.newsLink:hover {
  text-decoration: underline;
}

/* ===== Section Headers ===== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ===== Sponsors ===== */
.sponsorsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.sponsorsGrid > p.muted {
  grid-column: 1 / -1;
  text-align: center;
  white-space: nowrap;
}

.sponsorCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.sponsorCard:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.sponsorCard img {
  max-height: 40px;
  object-fit: contain;
}

.sponsorName {
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  white-space: nowrap;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer a {
  color: var(--gold);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}

.footer__logo {
  flex-shrink: 0;
}

.footer__logoImg {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer__location {
  opacity: 0.7;
  margin-left: 12px;
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer__links a:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer__links {
    justify-content: center;
  }
}
Copy.footer a {
  color: #d4a84b;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #e8c06a;
  text-decoration: underline;
}

.footer .muted a {
  color: #d4a84b;
}

.footer .muted a:hover {
  color: #e8c06a;
}
/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox.isOpen {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: all var(--duration-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox__cap {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 600;
  text-align: center;
  max-width: 600px;
  padding: 0 20px;
}

/* ===== Copy Block (Media page) ===== */
.copyBlock {
  background: rgba(26, 26, 26, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.copyTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.copyTop h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.copyText {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
  white-space: pre-wrap;
}

/* ===== Media Card ===== */
.media-card {
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  background: linear-gradient(135deg, rgba(107, 63, 160, 0.04), rgba(212, 168, 75, 0.06));
  box-shadow: var(--shadow-sm);
}

.media-card__left {
  flex: 1;
  min-width: 200px;
}

.media-card__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
}

.media-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 800;
}

.media-card p {
  margin: 0;
}

@media (max-width: 700px) {
  .media-card {
    flex-direction: column;
  }
  
  .media-card__right {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ===== Menu Item (Sponsor page) ===== */
.menuItem {
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.menuItem:last-child {
  margin-bottom: 0;
}

.menuItem__title {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* ===== Info Row (Sponsor page) ===== */
.infoRow {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(26, 26, 26, 0.03);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}

.infoRow:last-child {
  margin-bottom: 0;
}

.infoRow__label {
  font-weight: 800;
  color: var(--navy);
  min-width: 100px;
  flex-shrink: 0;
}

.infoRow__value {
  color: var(--muted);
  line-height: 1.7;
}

/* ===== Utilities ===== */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 700px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.sp-only {
  display: none;
}

@media (max-width: 600px) {
  .sp-only {
    display: inline;
  }
}

/* ===== Scroll Animations ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* =========================
   PAGES
========================= */

/* Media page */
body[data-page="media"] {
  --bg: #f8f8fa;
}

body[data-page="media"] .heroCard {
  background: linear-gradient(145deg, #fff, #fafafa);
}

/* Sponsor page */
body[data-page="sponsor"] {
  --bg: #f8f8fa;
}

/* Project page */
body[data-page="project"] .hero {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.03), rgba(107, 63, 160, 0.05));
}

/* ===== Button Gold with Outline ===== */
.btn-gold.btn-outlined {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #e6a800);
  box-shadow: 
    var(--shadow-md), 
    0 0 20px rgba(212, 168, 75, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-gold.btn-outlined:hover {
  box-shadow: 
    var(--shadow-lg), 
    0 0 30px rgba(212, 168, 75, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.9);
}

/* ===== Contact Grid ===== */
.contactGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .contactGrid {
    grid-template-columns: 1fr;
  }
}

.contactCard {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.contactCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple);
  text-decoration: none;
}

.contactCard__icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(107, 63, 160, 0.08), rgba(212, 168, 75, 0.08));
  border-radius: var(--radius-sm);
}

.contactCard__icon svg {
  color: var(--navy);
  opacity: 0.8;
}

.contactCard:hover .contactCard__icon svg {
  opacity: 1;
}

.contactCard__content {
  flex: 1;
  min-width: 0;
}

.contactCard__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 4px;
}

.contactCard__desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.contactCard__arrow {
  font-size: 1.2rem;
  color: var(--purple);
  font-weight: 800;
  flex-shrink: 0;
  transition: transform var(--duration-fast);
}

.contactCard:hover .contactCard__arrow {
  transform: translateX(4px);
}

/* ===== Project Page Specific ===== */

/* KPI Grid */
.kpiGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .kpiGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.kpi {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(107, 63, 160, 0.04);
  text-align: center;
}

.kpi__v {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  margin-top: 4px;
}

/* Bar */
.bar {
  height: 12px;
  background: rgba(107, 63, 160, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 16px;
}

.bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: var(--radius-full);
  transition: width 1s var(--ease-out);
}

/* Price Table */
.priceTbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.priceTbl th,
.priceTbl td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.priceTbl th {
  font-weight: 700;
  color: var(--navy);
  background: rgba(107, 63, 160, 0.04);
}

.priceTbl tbody tr:hover {
  background: rgba(107, 63, 160, 0.02);
}

/* Flow */
.flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flowStep {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.flowStep__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flowStep__index {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--purple), var(--gold));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flowStep__title {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
}

.flowStep__list {
  margin-top: 12px;
  padding-left: 44px;
}

/* Steps (Itinerary) */
.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(107, 63, 160, 0.02);
  border-left: 4px solid var(--purple);
}

.step__label {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--purple);
  min-width: 60px;
}

.step__body {
  flex: 1;
}

.step__title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.step__text {
  font-size: 0.9rem;
  line-height: 1.7;
}

.step__meta {
  font-size: 0.85rem;
  margin-top: 6px;
}

/* Support Grid */
.supportGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .supportGrid {
    grid-template-columns: 1fr;
  }
}

.supportCard {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.supportCard__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.supportCard__icon {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(107, 63, 160, 0.1), rgba(212, 168, 75, 0.1));
  flex-shrink: 0;
}

.supportCard__title {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
}

.supportMenu {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.supportMenuItem {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(107, 63, 160, 0.04);
  border: 1px solid var(--line);
}

.supportMenuItem__title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

/* FAQ */
.faqItem {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(107, 63, 160, 0.02);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

.faqItem:last-child {
  margin-bottom: 0;
}

.faqItem summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faqItem summary::-webkit-details-marker {
  display: none;
}

.faqItem summary::before {
  content: "Q. ";
  color: var(--purple);
  font-weight: 800;
}

.faqItem[open] summary {
  margin-bottom: 8px;
}

/* Sticky CTA */
.stickyCta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
}

.stickyCta__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stickyCta__text {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .stickyCta__text {
    display: none;
  }
  
  .stickyCta__inner {
    justify-content: center;
  }
}

/* Hero Media Wrap for Project */
.heroMediaWrap--project {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.heroMediaWrap--project video,
.heroMediaWrap--project img {
  width: 100%;
  height: auto;
  display: block;
}

/* Kicker for Project */
.kicker {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}

/* Section Title */
.secTitle {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 12px;
}

/* ===== Loading Screen ===== */
.loadingScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loadingScreen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loadingScreen__logo {
  height: 200px;
  width: auto;
  animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.98); }
}

.loadingScreen__bar {
  width: 200px;
  height: 4px;
  background: var(--line);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loadingScreen__progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: var(--radius-full);
  animation: loadingProgress 1.5s ease-out forwards;
}

@keyframes loadingProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ===== Story 装飾 ===== */
#storyBody strong {
  color: var(--navy);
  font-weight: 800;
}

#storyBody em {
  color: var(--purple);
  font-style: normal;
  font-weight: 600;
}

#storyBody .highlight {
  background: linear-gradient(transparent 60%, rgba(212, 168, 75, 0.3) 60%);
  padding: 0 4px;
  font-weight: 700;
}

/* ===== Mobile Menu Overlay ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.nav-overlay.is-open {
  display: block;
}
/* 準備中メッセージ（視認性改善） */
.preparing-message {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(107, 63, 160, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.preparing-message p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  color: #1a1a1a;
  font-size: 0.95rem;
  line-height: 1.7;
}

.preparing-message svg {
  width: 20px;
  height: 20px;
  fill: #6b3fa0;
  flex-shrink: 0;
}

.preparing-message strong {
  color: #6b3fa0;
}
