/* Theme Park LP - 鋸歯生物展示室 */

:root {
  --bg-primary: #fffcc9;
  --bg-secondary: #ffe45e;
  --bg-accent: #e6006b;
  --text-primary: #1f3134;
  --text-secondary: #4a5568;
  --spot-pink: #e6006b;
  --card-bg: #ffffff;
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 16px 50px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 70px;
}

/* ============================================================
   Header
============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 16px 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

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

.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon {
  color: var(--text-primary);
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.header-icon:hover {
  color: var(--spot-pink);
}
.header-logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
}
.header-logo {
  text-decoration: none;
  color: var(--text-primary);
}
.header-logo a {
  text-decoration: none;
  color: inherit;
}

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

@media (max-width: 768px) {
  .hero {
    height: 70vh;
    min-height: 70vh;
  }

  .hero-creature-label {
    bottom: 100px;
    padding: 8px 16px;
    gap: 2px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    max-width: calc(100vw - 48px);
  }

  .hero-creature-no {
    font-size: 10px;
  }

  .hero-creature-name {
    font-size: 15px;
  }

  .hero-creature-en {
    display: none;
  }
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

.ui-label {
  position: absolute;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  z-index: 10;
  letter-spacing: 0.1em;
}

.ui-label--tl {
  top: 32px;
  left: 32px;
}
.ui-label--tr {
  top: 32px;
  right: 32px;
}
.ui-label--bl {
  bottom: 32px;
  left: 32px;
}
.ui-label--br {
  bottom: 32px;
  right: 32px;
}

.hero-creature-label {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  padding: 12px 28px;
  border-radius: 999px;
  box-shadow: var(--shadow-medium);
  white-space: nowrap;
}

.hero-creature-no {
  font-size: 11px;
  font-weight: 700;
  color: var(--spot-pink);
  letter-spacing: 0.15em;
}

.hero-creature-name {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.hero-creature-en {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta {
  padding: 18px 48px;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  display: inline-block;
}

.hero-cta--primary {
  background: var(--bg-accent);
  color: #ffffff;
}

.hero-cta--primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-strong);
}

.hero-cta--secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 3px solid var(--text-primary);
}

.hero-cta--secondary:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--bg-secondary);
  border-color: var(--bg-secondary);
}
.hero-catch {
  position: absolute;
  bottom: 168px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .hero-catch {
    font-size: 11px;
    bottom: 156px;
  }
}
/* ============================================================
   SHELF RESIDENTS
============================================================ */
.shelf-residents {
  padding: 100px 0;
  background: #ffffff;
  overflow: hidden;
}

.shelf-residents .section-header {
  padding: 0 32px;
  margin-bottom: 48px;
}

.shelf-residents-scroll {
  display: flex;
  gap: 24px;
  padding: 0 10px 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shelf-residents-scroll::-webkit-scrollbar {
  display: none;
}

/* カード */
.resident-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-primary);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* 植物写真 */
.resident-plant-img {
  width: 100%;
  aspect-ratio: 4 / 3; /* 正方形→横長に変更 */
  object-fit: cover;
  border-radius: 12px;
}

.resident-plant-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  font-style: italic;
  text-align: center;
}

/* 矢印 */
.resident-arrow {
  display: flex;
  flex-direction: row; /* 縦→横に変更 */
  align-items: center;
  gap: 6px;
  color: var(--spot-pink);
}

.resident-arrow svg {
  transform: rotate(-90deg); /* 下矢印→右矢印に */
  width: 16px;
  height: 16px;
}

.resident-arrow-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* 鋸歯生物 */
.resident-creature {
  width: 100%;
  display: flex;
  flex-direction: row; /* 縦→横並びに変更 */
  align-items: center;
  gap: 12px;
}

.resident-creature-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.resident-creature-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.resident-creature-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-primary);
}

.resident-creature-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--spot-pink);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.resident-creature-link:hover {
  opacity: 0.7;
}

/* モバイル */
@media (max-width: 768px) {
  .shelf-residents {
    padding: 60px 0;
  }

  .resident-card {
    flex: 0 0 260px;
  }
}
/* ============================================================
   INTRO
============================================================ */
.intro {
  position: relative;
  padding: 120px 32px;
  background: #ffffff;
  overflow: hidden;
}

.intro-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(255, 228, 94, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(230, 0, 107, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.intro-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.intro-text {
  font-size: 22px;
  line-height: 2.2;
  color: var(--text-primary);
  font-weight: 700;
}

.intro-text--sub {
  display: block;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 2.2;
  margin-bottom: 24px;
}
.intro-heading {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 40px;
}

.intro-text {
  font-size: 18px;
  line-height: 2.2;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.intro-text--accent {
  font-weight: 700;
  color: var(--spot-pink);
}

@media (max-width: 768px) {
  .intro-text {
    font-size: 16px;
    line-height: 2;
  }
}
/* ============================================================
   PHOTO STRIP
============================================================ */
.photo-strip {
  overflow: hidden;
  padding: 40px 0;
  background: var(--bg-primary);
}

.photo-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.photo-strip:hover .photo-track {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.photo-item {
  flex-shrink: 0;
  width: 220px;
  background: #ffffff;
  padding: 10px 10px 36px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.3s ease;
}

.photo-item:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 10;
  position: relative;
}

.photo-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
/* ============================================================
   イベント用パラメーター
============================================================ */
.event-banner {
  text-align: center;
  padding: 1.2rem 1.5rem;
  background: rgba(0, 0, 0, 0.6); /* お好みで調整 */
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.event-banner-text {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}
.event-banner-text strong {
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.4rem;
}
/* ============================================================
   STORY
============================================================ */
.story {
  position: relative;
  padding: 100px 32px;
  background: var(--bg-primary);
  overflow: hidden;
}

.story-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 228, 94, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.story-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.story-title-sticker {
  display: inline-block;
  background: var(--spot-pink);
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  padding: 16px 40px;
  border-radius: 30px;
  margin-bottom: 40px;
  box-shadow: 0 8px 30px rgba(230, 0, 107, 0.3);
  transform: rotate(-3deg);
}

.story-illustration {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 40px;
  width: 100%;
  flex-wrap: wrap;
}

.creature-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  animation: float-creature 3s ease-in-out infinite;
}

.creature-img:nth-child(1) {
  animation-duration: 3.2s;
  animation-delay: 0s;
}
.creature-img:nth-child(2) {
  animation-duration: 2.8s;
  animation-delay: 0.5s;
}
.creature-img:nth-child(4) {
  animation-duration: 3.5s;
  animation-delay: 0.3s;
}
.creature-img:nth-child(5) {
  animation-duration: 2.6s;
  animation-delay: 0.8s;
}

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

.researcher-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  animation: float-researcher 4s ease-in-out infinite;
}

@keyframes float-researcher {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.story-text {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.story-text p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-primary);
  margin-bottom: 0.8em; /* ← ここで余白を調整 */
}

.story-signature {
  display: block;
  margin-top: 20px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-secondary);
  font-style: normal; /* italicを解除 */
  font-family: "Caveat", cursive;
  transform: rotate(-2deg);
}

.story-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.story-heading {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 40px;
}

/* ============================================================
   Section Header（共通）
============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 24px;
  position: relative;
}

.section-title {
  position: relative;
  width: fit-content;
  margin-inline: auto;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: block;
}

.section-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section-header {
  position: relative;
  overflow: visible;
}

/* ============================================================
   LOG
============================================================ */
.log {
  padding: 100px 32px;
  background: var(--bg-primary);
}

.log-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.spot {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--spot-pink);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(230, 0, 107, 0.3);
  z-index: 10;
  transition: all 0.3s ease;
  cursor: pointer;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.spot:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 12px 40px rgba(230, 0, 107, 0.4);
}

.spot-label {
  font-size: 8px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.15em;
  margin-bottom: 2px;
}

.spot-number {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.spot-wrapper {
  position: relative;
  margin-top: 30px;
}

.log-card {
  background: var(--card-bg);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  cursor: pointer;
}

.log-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-medium);
}

.log-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    135deg,
    var(--bg-secondary) 0%,
    var(--bg-primary) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.log-card-placeholder {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-primary);
  opacity: 0.5;
}

.log-card-content {
  padding: 24px;
}

.log-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.log-card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.log-card-memo {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(230, 0, 107, 0.1);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--spot-pink);
  font-style: italic;
}

.log-card-list {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-card-list li {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  padding-left: 16px;
  position: relative;
}

.log-card-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--spot-pink);
}

.log-card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--spot-pink);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
}

.log-card-link:hover {
  opacity: 0.7;
}
/* ============================================================
   IG FOLLOW
============================================================ */
.ig-follow {
  text-align: center;
  padding: 60px 32px;
  background: var(--card-bg);
}

.ig-follow-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.ig-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--text-primary);
  color: #ffffff;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
}

.ig-follow-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

@media (max-width: 768px) {
  .ig-follow {
    padding: 48px 24px;
  }
  .ig-follow-btn {
    font-size: 13px;
    padding: 14px 28px;
  }
}
.catalog-counter {
  text-align: center;
  margin-bottom: 60px;
}

.catalog-counter-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.catalog-counter-number {
  display: block;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  color: var(--spot-pink);
  line-height: 1;
}

.catalog-counter-text {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
/* ============================================================
   CATALOG
============================================================ */
.catalog {
  padding: 100px 32px;
  background: var(--bg-primary);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* カード本体：flipのコンテナ */
.catalog-card {
  background: transparent;
  border-radius: 20px;
  perspective: 1000px;
  cursor: pointer;
  position: relative;
}

/* flip アニメーション */
.catalog-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
}

.catalog-card.flipped .catalog-card-inner {
  transform: rotateY(180deg);
}

/* 表裏共通 */
.catalog-card-front,
.catalog-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  padding: 24px 16px;
  box-shadow: var(--shadow-soft);
}

/* 表面 */
.catalog-card-front {
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.catalog-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--bg-primary);
  border-radius: 12px;
  overflow: hidden;
}

.catalog-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.catalog-card:hover .catalog-img {
  transform: scale(1.08);
}

.catalog-no {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.catalog-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.catalog-type {
  font-size: 11px;
  font-weight: 600;
  color: var(--spot-pink);
  background: rgba(230, 0, 107, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
}

/* 裏面 */
.catalog-card-back {
  background: var(--text-primary);
  color: #ffffff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.catalog-back-no {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}

.catalog-back-name {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
}

.catalog-back-desc {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
  flex: 1;
}

.catalog-back-cta {
  display: block;
  margin-top: auto;
  padding: 12px 20px;
  background: var(--spot-pink);
  color: #ffffff;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s ease;
}

.catalog-back-cta:hover {
  opacity: 0.85;
}

.catalog-back-hint {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-top: 8px;
}

/* フッター */
.catalog-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.catalog-shop-btn {
  background: var(--spot-pink);
}

.catalog-shop-btn:hover {
  background: var(--bg-accent);
}

.catalog-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  background: var(--text-primary);
  color: #ffffff;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
}

.catalog-all-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.catalog-all-count {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .catalog-all-btn {
    font-size: 13px;
    padding: 14px 32px;
  }
}
/* ============================================================
   AREA
============================================================ */
.area {
  padding: 100px 0;
  background: #ffffff;
  overflow: hidden;
}

.area-scroll {
  display: flex;
  gap: 32px;
  padding: 0 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.area-scroll::-webkit-scrollbar {
  display: none;
}

.area-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.area-card-inner {
  text-decoration: none;
  color: inherit;
  background: var(--bg-primary);
  border-radius: 28px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.area-card:hover .area-card-inner {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.area-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.area-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.area-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   NEWS
============================================================ */
.news {
  padding: 100px 32px;
  background: var(--bg-primary);
}

.news-list {
  max-width: 700px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 2px dotted var(--text-secondary);
  transition: padding-left 0.2s ease;
  min-width: 0; /* ← 追加 */
}

.news-item:hover {
  padding-left: 8px;
}

/* サムネイル */
.news-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-primary);
  border: 1.5px solid rgba(31, 49, 52, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-thumb--empty {
  background: var(--bg-secondary);
}

.news-thumb-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* テキスト部 */
.news-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

.news-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block; /* ← spanをブロック化 */
  width: 0; /* ← これがポイント */
  min-width: 100%; /* ← 親の幅に追従 */
}

/* バッジ */
.news-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.news-badge--new {
  background: rgba(230, 0, 107, 0.12);
  color: var(--spot-pink);
}
.news-badge--event {
  background: rgba(31, 49, 52, 0.1);
  color: var(--text-primary);
}
.news-badge--shop {
  background: rgba(255, 228, 94, 0.5);
  color: var(--text-primary);
}
.news-badge--info {
  background: rgba(74, 85, 104, 0.1);
  color: var(--text-secondary);
}

/* status バッジ */
.news-badge--upcoming {
  background: rgba(230, 0, 107, 0.08);
  color: var(--spot-pink);
  border: 1px solid var(--spot-pink);
}
.news-badge--ongoing {
  background: var(--spot-pink);
  color: #ffffff;
}
.news-badge--ended {
  background: rgba(74, 85, 104, 0.1);
  color: var(--text-secondary);
}

/* リンクボタン */
.news-link {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--spot-pink);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.news-link:hover {
  opacity: 0.7;
}

/* モバイル */
@media (max-width: 768px) {
  .news-item {
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .news-thumb {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .news-item-body {
    flex: 1;
    min-width: 0;
  }

  .news-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
  }

  .news-link {
    margin-left: calc(48px + 8px); /* サムネ幅+gap分インデント */
    font-size: 11px;
  }
}
/* ============================================================
   FAQ
============================================================ */

.faq {
  padding: 100px 32px;
  background: #ffffff;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 2px dotted var(--text-secondary);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
}

.faq-question:hover {
  color: var(--spot-pink);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 300;
  color: var(--spot-pink);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.faq-answer a {
  color: var(--spot-pink);
  font-weight: 700;
  text-decoration: none;
}

.faq-answer a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .faq {
    padding: 60px 24px;
  }

  .faq-question {
    font-size: 14px;
  }
}
/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--text-primary);
  color: #ffffff;
  padding: 80px 32px;
  text-align: center;
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
}

.footer-signature {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 12px 24px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-link:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  transform: translateY(-4px);
}

.footer-message {
  font-size: 16px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
}

/* ============================================================
   Animation
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 768px) {
  .ui-label {
    font-size: 10px;
    padding: 6px 12px;
  }

  .ui-label--tl,
  .ui-label--tr {
    top: 16px;
  }
  .ui-label--bl,
  .ui-label--br {
    bottom: 16px;
  }
  .ui-label--tl,
  .ui-label--bl {
    left: 16px;
  }
  .ui-label--tr,
  .ui-label--br {
    right: 16px;
  }

  .hero-creature-label {
    bottom: 60px;
    padding: 10px 20px;
  }

  .hero-creature-name {
    font-size: 16px;
  }

  .hero-cta {
    padding: 14px 32px;
    font-size: 16px;
  }

  .intro {
    padding: 80px 24px;
  }

  .intro-text {
    font-size: 18px;
  }

  .story-illustration {
    gap: 8px;
    flex-wrap: nowrap; /* 折り返し禁止 */
  }

  .creature-img {
    width: 48px;
    height: 48px;
  }

  .researcher-image {
    width: 72px;
    height: 72px;
  }

  .log {
    padding: 60px 24px;
  }

  .log-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .area {
    padding: 60px 0;
  }

  .area-card {
    flex: 0 0 280px;
  }

  .news {
    padding: 60px 24px;
  }

  .footer {
    padding: 60px 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

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