:root {
  --ink: #3b2b1c;
  --muted: #8d7a63;
  --paper: #fff8ea;
  --paper-deep: #ffefd2;
  --surface: #fffdf6;
  --line: rgba(59, 43, 28, 0.14);
  --yellow: #ffc531;
  --orange: #ff8a3d;
  --green: #5fbe6a;
  --blue: #4fb5e8;
  --pink: #ff7fae;
  --sky: #bfe7ff;
  --radius: 22px;
  --border: 3px solid var(--ink);
  --font-round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --font-disp: "Baloo 2", "M PLUS Rounded 1c", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-round);
  font-weight: 500;
  letter-spacing: 0.01em;
}

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

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.sp-only {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 248, 234, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 3px 0 rgba(59, 43, 28, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 900;
  font-size: 1.02rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: var(--border);
  border-radius: 50%;
  background: #fff;
}

.brand-mark img {
  width: 30px;
  height: auto;
  transform: translateY(3px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 4px 0 rgba(59, 43, 28, 0.16);
}

.nav a,
.header-action {
  min-width: 76px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.nav a:hover {
  background: var(--paper-deep);
}

.header-action {
  justify-self: end;
  border: var(--border);
  background: var(--yellow);
  box-shadow: 0 4px 0 var(--ink);
}

.header-action:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--ink);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.85) 0 6px, transparent 7px),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.8) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.7) 0 4px, transparent 5px),
    radial-gradient(circle at 30% 8%, rgba(255, 255, 255, 0.7) 0 4px, transparent 5px),
    linear-gradient(180deg, var(--sky) 0%, #e6f4ff 45%, var(--paper) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 150px clamp(20px, 5vw, 60px) 120px;
}

.badge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 16px;
  border: var(--border);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 0 rgba(59, 43, 28, 0.16);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.badge-eyebrow .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(95, 190, 106, 0.3);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0.01em;
}

.rainbow {
  background: linear-gradient(90deg, var(--orange), var(--pink) 35%, var(--blue) 70%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(59, 43, 28, 0.25);
}

.hero-copy {
  max-width: 520px;
  margin: 22px 0 0;
  color: #5d4c39;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: var(--border);
  border-radius: 999px;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.primary-button {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 6px 0 var(--ink);
}

.secondary-button {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 6px 0 rgba(59, 43, 28, 0.22);
}

.primary-button:hover,
.secondary-button:hover,
.mini-button:hover {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--ink);
}

.primary-button.big {
  min-height: 62px;
  padding: 0 40px;
  font-size: 1.15rem;
}

/* hero visual */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}

.sunburst {
  position: absolute;
  width: min(460px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(
    rgba(255, 197, 49, 0.35) 0deg 15deg,
    rgba(255, 197, 49, 0.12) 15deg 30deg
  );
  border: var(--border);
  animation: spin 40s linear infinite;
}

.hero-oc {
  position: relative;
  z-index: 1;
  width: min(340px, 72%);
  filter: drop-shadow(0 16px 0 rgba(59, 43, 28, 0.16));
  animation: bob 3.4s ease-in-out infinite;
}

.float-chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: var(--border);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 5px 0 rgba(59, 43, 28, 0.2);
  animation: bob 4s ease-in-out infinite;
}

.chip-a { top: 8%; left: 6%; background: var(--pink); animation-delay: 0.3s; }
.chip-b { bottom: 14%; left: 2%; background: var(--blue); animation-delay: 0.9s; }
.chip-c { top: 16%; right: 4%; background: var(--green); animation-delay: 1.5s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 42px;
  background: var(--paper);
  clip-path: polygon(
    0 60%, 4% 30%, 9% 60%, 14% 28%, 19% 58%, 24% 30%, 29% 60%, 34% 28%,
    39% 58%, 44% 30%, 49% 60%, 54% 28%, 59% 58%, 64% 30%, 69% 60%, 74% 28%,
    79% 58%, 84% 30%, 89% 60%, 94% 28%, 100% 55%, 100% 100%, 0 100%
  );
}

/* ---------- metrics ---------- */

.metrics {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: min(1080px, calc(100% - 32px));
  margin: -46px auto 0;
}

.metrics div {
  min-height: 116px;
  padding: 22px 24px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 6px 0 rgba(59, 43, 28, 0.16);
}

.metrics .num {
  display: block;
  font-family: var(--font-disp);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
}

.metrics .num small {
  font-size: 0.5em;
  margin-left: 2px;
}

.num-yellow { color: var(--orange); }
.num-green { color: var(--green); }
.num-pink { color: var(--pink); }

.metrics p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ---------- sections ---------- */

.section {
  padding: 104px clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 840px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.compact {
  max-width: 720px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 2;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.pill {
  display: inline-block;
  padding: 7px 18px;
  border: var(--border);
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(59, 43, 28, 0.18);
}

.pill-yellow { background: var(--yellow); }
.pill-blue { background: var(--blue); color: #fff; }
.pill-pink { background: var(--pink); color: #fff; }
.pill-green { background: var(--green); color: #fff; }
.pill-orange { background: var(--orange); color: #fff; }

/* ---------- news / about ---------- */

.news-section {
  padding-top: 96px;
  padding-bottom: 40px;
}

.news-board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.purpose-card,
.news-card {
  padding: 26px 28px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.purpose-card { box-shadow: 8px 8px 0 var(--orange); }
.news-card { box-shadow: 8px 8px 0 var(--blue); }

.purpose-card h3,
.news-card h3 {
  margin: 0 0 14px;
  font-size: 1.12rem;
  font-weight: 900;
}

.purpose-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.purpose-list li {
  padding-left: 18px;
  position: relative;
  color: #6b5a47;
  font-size: 0.92rem;
  line-height: 1.9;
}

.purpose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.purpose-list strong {
  color: var(--ink);
}

.news-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  padding: 12px 14px;
  border: 2px dashed rgba(59, 43, 28, 0.22);
  border-radius: 14px;
  color: #6b5a47;
  font-size: 0.88rem;
  line-height: 1.7;
}

.news-list time {
  display: inline-block;
  margin-right: 10px;
  font-family: var(--font-disp);
  font-weight: 700;
  color: var(--orange);
}

.news-link {
  font-weight: 800;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 138, 61, 0.6);
  text-underline-offset: 3px;
}

.news-link:hover {
  text-decoration-color: var(--orange);
}

/* ---------- zukan cards ---------- */

.zukan-section {
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 197, 49, 0.14) 0 90px, transparent 91px),
    radial-gradient(circle at 94% 70%, rgba(79, 181, 232, 0.12) 0 110px, transparent 111px),
    var(--paper);
}

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

.zukan-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card-yellow { box-shadow: 8px 8px 0 var(--yellow); }
.card-orange { box-shadow: 8px 8px 0 var(--orange); }
.card-green { box-shadow: 8px 8px 0 var(--green); }
.card-blue { box-shadow: 8px 8px 0 var(--blue); }
.card-pink { box-shadow: 8px 8px 0 var(--pink); }

.zukan-card:hover {
  transform: translate(-3px, -6px) rotate(-0.6deg);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.entry-no {
  font-family: var(--font-disp);
  font-size: 0.92rem;
  color: var(--orange);
}

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

.specimen {
  display: grid;
  place-items: center;
  height: 230px;
  margin: 14px 0 16px;
  overflow: hidden;
  border: 2px dashed rgba(59, 43, 28, 0.25);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 78%, rgba(59, 43, 28, 0.08) 0 34%, transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #fff3d8 100%);
}

.specimen img {
  max-height: 200px;
  width: auto;
  mix-blend-mode: multiply;
  image-rendering: pixelated;
  transition: transform 0.25s;
}

.zukan-card:hover .specimen img {
  transform: scale(1.06);
}

.zukan-card h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
  font-weight: 900;
}

.zukan-card h3 small {
  margin-left: 6px;
  color: var(--muted);
  font-family: var(--font-disp);
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.zukan-card p {
  margin: 0 0 14px;
  color: #6b5a47;
  font-size: 0.9rem;
  line-height: 1.85;
}

.stat-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
}

.meter {
  height: 10px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}

.meter span {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: inherit;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0 8px,
    var(--orange) 8px 16px
  );
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 10px;
}

.type {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.type-yellow { background: #ffe9a8; }
.type-orange { background: #ffd9bc; }
.type-green { background: #cdeccf; }
.type-blue { background: #cde9f9; }
.type-pink { background: #ffd6e5; }

.type-dashed {
  border-style: dashed;
  color: var(--muted);
  background: transparent;
}

.empty-card {
  border-style: dashed;
  background: rgba(255, 253, 246, 0.6);
  box-shadow: 8px 8px 0 rgba(59, 43, 28, 0.12);
}

.empty-specimen {
  background: repeating-linear-gradient(
    -45deg,
    rgba(59, 43, 28, 0.04) 0 14px,
    transparent 14px 28px
  );
}

.q-mark {
  font-family: var(--font-disp);
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(59, 43, 28, 0.3);
}

.mini-button {
  min-height: 42px;
  margin-top: 14px;
  font-size: 0.9rem;
  background: var(--yellow);
  box-shadow: 0 4px 0 var(--ink);
}

/* ---------- features ---------- */

.dekiru-section {
  background: var(--paper-deep);
}

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

.feature-card {
  min-height: 210px;
  padding: 24px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s;
}

.feature-card:hover {
  transform: translate(-3px, -6px) rotate(0.6deg);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border: var(--border);
  border-radius: 16px;
  background: #fff;
  font-size: 1.6rem;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: #6b5a47;
  font-size: 0.9rem;
  line-height: 1.85;
}

/* ---------- workflow ---------- */

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

.workflow > div {
  min-height: 200px;
  padding: 24px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 6px 0 rgba(59, 43, 28, 0.14);
}

.step-badge {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: var(--border);
  border-radius: 50%;
  font-family: var(--font-disp);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 4px 0 rgba(59, 43, 28, 0.2);
}

.step-yellow { background: var(--yellow); }
.step-orange { background: var(--orange); color: #fff; }
.step-green { background: var(--green); color: #fff; }
.step-blue { background: var(--blue); color: #fff; }

.workflow h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 900;
}

.workflow p {
  margin: 0;
  color: #6b5a47;
  font-size: 0.9rem;
  line-height: 1.85;
}

/* ---------- world ---------- */

.world-banner {
  max-width: 1220px;
  margin: 0 auto 22px;
  overflow: hidden;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--blue);
}

.world-banner img {
  display: block;
  width: 100%;
}

.world-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  max-width: 1080px;
  margin: 48px auto 0;
}

.world-poster {
  margin: 0;
  overflow: hidden;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--pink);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}

.world-poster:hover {
  transform: rotate(0deg) scale(1.02);
}

.world-poster img {
  display: block;
  width: 100%;
}

.world-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 900;
  line-height: 1.5;
}

.world-copy p {
  margin: 0 0 20px;
  color: #6b5a47;
  line-height: 2;
}

.world-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- CTA ---------- */

.cta-section {
  padding: 40px clamp(18px, 5vw, 64px) 110px;
}

.cta-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 72px clamp(24px, 5vw, 72px) 64px;
  text-align: center;
  border: var(--border);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 255, 255, 0.5) 0 5px, transparent 6px),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.5) 0 4px, transparent 5px),
    radial-gradient(circle at 80% 85%, rgba(255, 255, 255, 0.5) 0 5px, transparent 6px),
    linear-gradient(135deg, var(--yellow), #ffd76b);
  box-shadow: 12px 12px 0 var(--orange);
}

.cta-oc {
  position: absolute;
  top: -58px;
  right: clamp(12px, 6vw, 60px);
  width: 110px;
  filter: drop-shadow(0 8px 0 rgba(59, 43, 28, 0.2));
  animation: bob 3.4s ease-in-out infinite;
}

.cta-afro {
  position: absolute;
  top: -76px;
  left: clamp(12px, 6vw, 60px);
  width: 84px;
  filter: drop-shadow(0 8px 0 rgba(59, 43, 28, 0.2));
  animation: bob 3.8s ease-in-out 0.5s infinite;
}

.cta-section .eyebrow {
  letter-spacing: 0.16em;
  color: #8a5f13;
}

.cta-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.35;
}

.cta-copy {
  margin: 0 0 30px;
  font-weight: 700;
  color: #6b5216;
}

.cta-card .primary-button {
  background: #fff;
}

.cta-note {
  margin: 18px 0 0;
  font-size: 0.82rem;
  color: #8a5f13;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  border-top: 3px dashed rgba(59, 43, 28, 0.15);
}

.site-footer p {
  margin: 0;
}

/* ---------- park map ---------- */

.map-hero {
  padding: 150px clamp(18px, 5vw, 64px) 40px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 197, 49, 0.16) 0 110px, transparent 111px),
    radial-gradient(circle at 92% 60%, rgba(255, 127, 174, 0.12) 0 130px, transparent 131px),
    linear-gradient(180deg, var(--sky) 0%, var(--paper) 60%);
}

.map-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.3;
}

.map-scene {
  max-width: 980px;
  margin: 0 auto 26px;
  overflow: hidden;
  border: var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--yellow);
}

.map-scene img {
  display: block;
  width: 100%;
}

.map-scene figcaption {
  padding: 10px 16px;
  border-top: 3px solid var(--ink);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.map-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 12px auto 0;
  padding: 26px;
  border: 3px dashed rgba(59, 43, 28, 0.25);
  border-radius: 30px;
  background:
    radial-gradient(circle, rgba(59, 43, 28, 0.14) 2px, transparent 2.5px) 0 0 / 26px 26px,
    rgba(255, 253, 246, 0.6);
}

.map-tile {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 22px 14px 16px;
  border: var(--border);
  border-radius: 20px;
  background: var(--surface);
  text-align: center;
  transition: transform 0.25s;
}

.map-tile.tilt-l { transform: rotate(-1.2deg); }
.map-tile.tilt-r { transform: rotate(1.2deg); }

.map-tile:hover {
  transform: rotate(0deg) translateY(-6px);
}

.map-tile-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.map-tile-name {
  font-size: 1.05rem;
  font-weight: 900;
}

.map-tile-en {
  color: var(--muted);
  font-family: var(--font-disp);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.map-tile-count {
  margin-top: 6px;
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-deep);
  font-size: 0.74rem;
  font-weight: 800;
}

/* shop about */

.shop-about {
  padding-top: 60px;
  padding-bottom: 20px;
}

.shop-board {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 34px clamp(22px, 4vw, 44px);
  border: var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--pink);
}

.shop-oc {
  width: 100%;
  filter: drop-shadow(0 8px 0 rgba(59, 43, 28, 0.14));
}

.shop-board h2 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 900;
  line-height: 1.5;
}

.shop-board > div > p:not(.eyebrow) {
  margin: 0 0 16px;
  color: #6b5a47;
  line-height: 2;
  font-size: 0.95rem;
}

.shop-notes {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-notes li {
  padding: 10px 14px;
  border: 2px dashed rgba(59, 43, 28, 0.22);
  border-radius: 12px;
  color: #6b5a47;
  font-size: 0.86rem;
  font-weight: 700;
}

/* area sections */

.area-sections {
  display: grid;
  gap: 56px;
  max-width: 1080px;
  margin: 0 auto;
}

.area-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.area-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: var(--border);
  border-radius: 18px;
  background: var(--paper-deep);
  font-size: 2rem;
}

.area-en {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-disp);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.area-head h3 {
  margin: 2px 0 6px;
  font-size: 1.35rem;
  font-weight: 900;
}

.area-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

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

.area-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px;
  border: 2px dashed rgba(59, 43, 28, 0.25);
  border-radius: 16px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.item-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 5px 0 rgba(59, 43, 28, 0.14);
  transition: transform 0.25s;
}

.item-card:hover {
  transform: translateY(-5px);
}

.item-thumb {
  display: grid;
  place-items: center;
  height: 150px;
  border-bottom: 3px solid var(--ink);
  background:
    radial-gradient(circle at 50% 80%, rgba(59, 43, 28, 0.07) 0 36%, transparent 37%),
    linear-gradient(180deg, #ffffff, #fff3d8);
}

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

.item-thumb-icon {
  font-size: 3rem;
  opacity: 0.7;
}

.item-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}

.item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}

.item-label {
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.label-sale,
.label-new { background: var(--pink); color: #fff; }
.label-free,
.label-open { background: var(--green); color: #fff; }
.label-soon { background: var(--paper-deep); color: var(--muted); border-style: dashed; }

.item-price {
  font-family: var(--font-disp);
  font-weight: 800;
  color: var(--orange);
}

.item-body h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 900;
}

.item-desc {
  margin: 0 0 14px;
  color: #6b5a47;
  font-size: 0.84rem;
  line-height: 1.8;
}

.item-link {
  margin-top: auto;
  align-self: flex-start;
  min-height: 38px;
  font-size: 0.84rem;
}

.item-link.is-disabled {
  background: var(--paper-deep);
  color: var(--muted);
  border-style: dashed;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

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

  .item-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-board {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .shop-oc {
    width: 110px;
    margin: 0 auto;
  }

  .shop-board .pill {
    margin-inline: auto;
  }

  .shop-notes {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .map-tiles,
  .item-grid {
    grid-template-columns: 1fr;
  }

  .area-head {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .area-icon {
    margin: 0 auto;
  }
}

/* ---------- game booth (レトロアーケード) ---------- */

.game-booth {
  margin-top: 90px;
  padding: 90px clamp(18px, 5vw, 64px) 96px;
  color: #eef2ff;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.14) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 52% 38%, rgba(255, 255, 255, 0.1) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 90% 55%, rgba(255, 255, 255, 0.12) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 8% 70%, rgba(255, 255, 255, 0.1) 0 1.5px, transparent 2.5px),
    #171f3f;
  border-top: 6px solid var(--ink);
  border-bottom: 6px solid var(--ink);
}

.game-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.game-eyebrow {
  margin: 0 0 12px;
  font-family: "DotGothic16", var(--font-round);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: #7ee787;
}

.game-booth h2 {
  margin: 0 0 14px;
  font-family: "DotGothic16", var(--font-round);
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  letter-spacing: 0.1em;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
}

.game-lead {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(238, 242, 255, 0.82);
  font-size: 0.95rem;
  line-height: 2;
}

.game-banner {
  margin: 0 auto 30px;
  overflow: hidden;
  border: 4px solid #0b1128;
  border-radius: 10px;
  box-shadow:
    0 0 0 4px #3b4a8c,
    0 14px 0 rgba(0, 0, 0, 0.35);
}

.game-banner img {
  display: block;
  width: 100%;
  image-rendering: pixelated;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 4px solid #0b1128;
  border-radius: 10px;
  background: #202a52;
  box-shadow:
    0 0 0 3px #3b4a8c,
    0 10px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
}

.game-card:hover {
  transform: translateY(-6px);
}

.game-thumb {
  display: grid;
  place-items: center;
  height: 170px;
  border-bottom: 4px solid #0b1128;
  background:
    linear-gradient(180deg, #4a97e8 0%, #79b8f2 70%, #57a860 70%, #57a860 100%);
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.game-thumb-icon {
  font-size: 3.4rem;
}

.game-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}

.game-body h3 {
  margin: 0 0 8px;
  font-family: "DotGothic16", var(--font-round);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.game-desc {
  margin: 0 0 16px;
  color: rgba(238, 242, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.9;
}

.game-play {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 22px;
  border: 3px solid #0b1128;
  border-radius: 8px;
  background: #7ee787;
  color: #0b1128;
  font-family: "DotGothic16", var(--font-round);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  box-shadow: 0 5px 0 #0b1128;
  transition: transform 0.15s, box-shadow 0.15s;
}

.game-play:hover {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #0b1128;
}

.game-play.is-disabled {
  background: #3b4a8c;
  color: rgba(238, 242, 255, 0.6);
  cursor: default;
  pointer-events: none;
}

.game-note,
.game-empty {
  margin: 30px 0 0;
  font-family: "DotGothic16", var(--font-round);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: rgba(238, 242, 255, 0.55);
}

.game-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 40px 0;
  text-align: center;
}

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

/* ---------- footer admin link ---------- */

.footer-admin {
  margin-top: 8px !important;
  font-size: 0.78rem;
}

.footer-admin a {
  color: rgba(59, 43, 28, 0.45);
}

.footer-admin a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- admin (スタッフルーム) ---------- */

.admin-body {
  background:
    radial-gradient(circle at 90% 6%, rgba(255, 197, 49, 0.16) 0 140px, transparent 141px),
    var(--paper);
}

.admin-badge {
  justify-self: center;
  padding: 7px 18px;
  border: var(--border);
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 4px 0 rgba(59, 43, 28, 0.18);
}

.admin-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 120px clamp(16px, 4vw, 40px) 80px;
}

.login-view {
  display: grid;
  place-items: center;
  min-height: 60vh;
}

.login-card {
  position: relative;
  width: min(420px, 100%);
  padding: 60px 32px 36px;
  text-align: center;
  border: var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--yellow);
}

.login-oc {
  position: absolute;
  top: -64px;
  left: 50%;
  width: 96px;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 0 rgba(59, 43, 28, 0.18));
}

.login-card h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 900;
}

.login-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.login-card label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 900;
  text-align: left;
}

.login-card input {
  width: 100%;
  margin-bottom: 16px;
}

.login-error {
  color: #d24a43;
  font-weight: 800;
}

.login-card .primary-button {
  width: 100%;
}

.editor-head h1 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  font-weight: 900;
}

.editor-head > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.9;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px dashed rgba(59, 43, 28, 0.4);
  border-radius: 999px;
  background: transparent;
  color: #6b5a47;
  font-family: var(--font-round);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}

.ghost-button:hover {
  background: rgba(59, 43, 28, 0.06);
}

.ghost-button.danger {
  min-height: 38px;
  border-color: rgba(210, 74, 67, 0.5);
  color: #d24a43;
}

.ghost-button.danger:hover {
  background: rgba(210, 74, 67, 0.08);
}

.import-label {
  cursor: pointer;
}

.save-status {
  min-height: 1.4em;
  margin: 0 0 18px;
  color: var(--green);
  font-weight: 900;
}

.editor-list {
  display: grid;
  gap: 22px;
}

.editor-card {
  padding: 20px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.editor-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.editor-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  align-items: start;
}

.editor-image .specimen {
  height: 200px;
  margin: 0 0 12px;
}

.upload-label {
  width: 100%;
  min-height: 44px;
  font-size: 0.9rem;
  cursor: pointer;
}

.editor-fields {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 900;
}

.field-pair {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 12px;
}

.editor-fields input,
.editor-fields textarea,
.editor-fields select,
.login-card input {
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-round);
  font-size: 0.95rem;
  font-weight: 700;
}

.editor-fields textarea {
  resize: vertical;
  line-height: 1.7;
}

.editor-fields input:focus-visible,
.editor-fields textarea:focus-visible,
.editor-fields select:focus-visible,
.login-card input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 1px;
}

.editor-section-title {
  margin: 44px 0 8px;
  font-size: 1.3rem;
  font-weight: 900;
}

.editor-hint {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.head-count {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.add-item-btn {
  min-height: 40px;
  font-size: 0.85rem;
  padding: 0 16px;
}

.area-fields {
  margin-bottom: 16px;
}

.area-pair {
  grid-template-columns: 1fr 200px;
}

.item-editors {
  display: grid;
  gap: 16px;
}

.item-editor {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 16px;
  border: 2px dashed rgba(59, 43, 28, 0.25);
  border-radius: 16px;
  background: rgba(255, 253, 246, 0.7);
}

.item-editor-specimen {
  display: grid;
  place-items: center;
  height: 130px;
  margin: 0 0 10px;
  overflow: hidden;
}

.item-editor-specimen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
}

.item-editor .ghost-button.danger {
  justify-self: start;
}

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

  .admin-badge {
    display: none;
  }

  .field-pair,
  .area-pair {
    grid-template-columns: 1fr;
  }

  .item-editor {
    grid-template-columns: 1fr;
  }
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-oc,
  .float-chip,
  .sunburst,
  .cta-oc {
    animation: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .zukan-grid,
  .feature-grid,
  .workflow {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 120px;
    padding-bottom: 90px;
    text-align: center;
  }

  .hero-content .badge-eyebrow {
    margin-inline: auto;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 320px;
  }

  .world-detail {
    grid-template-columns: 1fr;
  }

  .world-poster {
    max-width: 440px;
    margin-inline: auto;
  }
}

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

  .badge-eyebrow {
    padding: 7px 12px;
    font-size: 0.64rem;
  }

  .metrics {
    grid-template-columns: 1fr;
    margin-top: -30px;
  }

  .zukan-grid,
  .feature-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 16px;
  }

  .cta-oc {
    width: 84px;
    top: -44px;
  }
}
