.avatar

:root {
  --navy: #073263;
  --blue: #0c5aa6;
  --sky: #eaf8ff;
  --emerald: #14b889;
  --green: #63d68f;
  --yellow: #ffd45a;
  --orange: #ff9f3f;
  --ink: #16314f;
  --muted: #60738a;
  --white: #ffffff;
  --line: rgba(7, 50, 99, 0.12);
  --shadow: 0 24px 60px rgba(7, 50, 99, 0.16);
  --radius: 28px;
  --max: 1120px;
  --font-ja: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: "Avenir Next", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ja);
  background:
    radial-gradient(circle at 15% 8%, rgba(20, 184, 137, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(255, 212, 90, 0.22), transparent 26rem),
    linear-gradient(180deg, #f2fbff 0%, #ffffff 38%, #eef9ff 100%);
  line-height: 1.8;
}

body.nav-open {
  overflow: hidden;
}

body.intro-running {
  overflow: hidden;
}

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

.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.92), rgba(234, 248, 255, 0.82) 34%, rgba(7, 50, 99, 0.08) 72%),
    linear-gradient(135deg, #f6fdff, #e8f8ff 46%, #fff9df);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 50, 99, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 50, 99, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
}

.intro.is-ending {
  opacity: 0;
  visibility: hidden;
}

.intro-stage {
  position: relative;
  width: min(760px, 92vw);
  height: min(420px, 68vh);
  display: grid;
  place-items: center;
}

.intro-ring {
  position: absolute;
  width: clamp(160px, 28vw, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    #e5243b 0deg 21deg,
    #dda63a 21deg 42deg,
    #4c9f38 42deg 63deg,
    #c5192d 63deg 84deg,
    #ff3a21 84deg 105deg,
    #26bde2 105deg 126deg,
    #fcc30b 126deg 147deg,
    #a21942 147deg 168deg,
    #fd6925 168deg 189deg,
    #dd1367 189deg 210deg,
    #fd9d24 210deg 231deg,
    #bf8b2e 231deg 252deg,
    #3f7e44 252deg 273deg,
    #0a97d9 273deg 294deg,
    #56c02b 294deg 315deg,
    #00689d 315deg 336deg,
    #19486a 336deg 360deg
  );
  box-shadow: 0 24px 70px rgba(7, 50, 99, 0.18);
  animation: introRing 3.35s ease-in-out forwards;
}

.intro-ring::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.52)),
    #f4fbff;
  box-shadow: inset 0 0 0 1px rgba(7, 50, 99, 0.08);
}

.intro-path {
  position: absolute;
  top: 50%;
  left: calc(50% - 246px);
  width: 1px;
  height: 1px;
}

.intro-tile {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  background: var(--color);
  box-shadow: 0 12px 22px rgba(7, 50, 99, 0.15);
  transform: rotate(var(--angle)) translateY(-96px) rotate(var(--back)) scale(0.64);
  animation: introTile 3.25s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.intro-character {
  position: absolute;
  bottom: 52px;
  left: 50%;
  display: grid;
  width: clamp(96px, 18vw, 138px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, 130px) scale(0.72);
  opacity: 0;
  animation: introCharacter 3.55s cubic-bezier(0.2, 1.25, 0.32, 1) forwards;
}

.intro-character::after {
  content: "";
  position: absolute;
  bottom: -22px;
  width: 86%;
  height: 18px;
  border-radius: 50%;
  background: rgba(7, 50, 99, 0.16);
  filter: blur(3px);
}

.intro-character img,
.intro-character-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 8px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 22px 44px rgba(7, 50, 99, 0.22);
}

.intro-character img {
  object-fit: cover;
}

.intro-character-fallback {
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-en);
  font-size: clamp(3rem, 8vw, 4.6rem);
  font-weight: 900;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 212, 90, 0.72), transparent 22%),
    linear-gradient(135deg, var(--navy), var(--emerald));
}

.intro-title {
  position: absolute;
  bottom: clamp(34px, 8vh, 70px);
  left: 50%;
  margin: 0;
  color: var(--navy);
  font-family: var(--font-en);
  font-size: clamp(0.82rem, 2.4vw, 1.05rem);
  font-weight: 800;
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  animation: introTitle 3.35s ease forwards;
  white-space: nowrap;
}

@keyframes introRing {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.62);
  }
  18% {
    opacity: 1;
  }
  48% {
    opacity: 1;
    transform: rotate(180deg) scale(1.08);
  }
  72% {
    opacity: 0.52;
    transform: rotate(270deg) scale(1.28);
  }
  100% {
    opacity: 0;
    transform: rotate(360deg) scale(1.4);
  }
}

@keyframes introTile {
  0%,
  42% {
    opacity: 0;
    transform: rotate(var(--angle)) translateY(-96px) rotate(var(--back)) scale(0.48);
  }
  52% {
    opacity: 1;
    transform: rotate(var(--angle)) translateY(-118px) rotate(var(--back)) scale(0.72);
  }
  78%,
  100% {
    opacity: 1;
    transform: translate(var(--x), var(--y)) scale(1);
  }
}

@keyframes introCharacter {
  0%,
  68% {
    opacity: 0;
    transform: translate(-50%, 130px) scale(0.72);
  }
  82% {
    opacity: 1;
    transform: translate(-50%, -10px) scale(1.08);
  }
  91% {
    opacity: 1;
    transform: translate(-50%, 4px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes introTitle {
  0%,
  18% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
  34%,
  82% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  width: min(calc(100% - 32px), 1180px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 40px rgba(7, 50, 99, 0.12);
  backdrop-filter: blur(18px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(7, 50, 99, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 800;
  background: linear-gradient(135deg, var(--navy), var(--emerald));
  box-shadow: 0 10px 24px rgba(20, 184, 137, 0.3);
}

.brand-name,
.brand-sub {
  display: block;
  line-height: 1.2;
}

.brand-name {
  font-weight: 900;
}

.brand-sub {
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-weight: 700;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #244767;
  font-size: 0.9rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--navy);
  background: rgba(20, 184, 137, 0.12);
}

.site-nav .nav-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--emerald));
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--white);
}

.hero {
  min-height: 100vh;
  padding-top: 148px;
  display: grid;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 50, 99, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 50, 99, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.map-blob {
  position: absolute;
  display: block;
  border-radius: 62% 38% 54% 46%;
  background: linear-gradient(135deg, rgba(20, 184, 137, 0.22), rgba(12, 90, 166, 0.14));
  filter: drop-shadow(0 18px 32px rgba(7, 50, 99, 0.12));
}

.blob-a {
  top: 20%;
  left: 6%;
  width: 190px;
  height: 108px;
  transform: rotate(-14deg);
}

.blob-b {
  right: 10%;
  top: 18%;
  width: 250px;
  height: 132px;
  transform: rotate(12deg);
}

.blob-c {
  right: 18%;
  bottom: 10%;
  width: 170px;
  height: 96px;
  transform: rotate(-8deg);
}

.route {
  position: absolute;
  display: block;
  border: 2px dashed rgba(7, 50, 99, 0.16);
  border-left: 0;
  border-bottom: 0;
  border-radius: 50%;
}

.route-a {
  top: 22%;
  left: 18%;
  width: 56vw;
  height: 34vw;
  transform: rotate(-12deg);
}

.route-b {
  right: 8%;
  bottom: 9%;
  width: 44vw;
  height: 24vw;
  transform: rotate(8deg);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--emerald);
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.25;
}

h1 {
  font-size: clamp(3.3rem, 15vw, 6.4rem);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
}

h3 {
  font-size: 1.28rem;
}

.hero-subtitle {
  margin: 0 0 18px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
}

.catch {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 212, 90, 0.7);
  border-radius: 999px;
  color: #765006;
  font-weight: 800;
  background: rgba(255, 212, 90, 0.25);
}

.hero-lead,
.section-copy p,
.section-heading p,
.problem-box p,
.future-panel p {
  color: var(--muted);
  font-size: 1.02rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--emerald));
  box-shadow: 0 14px 30px rgba(20, 184, 137, 0.28);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(7, 50, 99, 0.1);
}

.mascot,
.panel-mascot,
.activity-mascot {
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 18px 24px rgba(7, 50, 99, 0.16));
}

.mascot {
  position: absolute;
  z-index: 4;
  width: clamp(92px, 12vw, 150px);
  height: auto;
}

.mascot-hero {
  right: max(22px, calc((100vw - var(--max)) / 2 - 44px));
  bottom: 34px;
  width: clamp(92px, 12vw, 142px);
  transform: rotate(6deg);
  animation: mascotFloat 5.8s ease-in-out infinite;
}

.mascot-features {
  right: max(12px, calc((100vw - var(--max)) / 2 - 62px));
  top: 72px;
  width: clamp(86px, 11vw, 132px);
  transform: rotate(8deg);
}

.mascot-development {
  right: max(18px, calc((100vw - var(--max)) / 2 - 56px));
  bottom: 34px;
  width: clamp(98px, 13vw, 158px);
  transform: rotate(4deg);
}

.panel-mascot {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 18px;
  width: clamp(96px, 15vw, 170px);
  height: auto;
  opacity: 0.92;
}

@keyframes mascotFloat {
  0%,
  100% {
    transform: translateY(0) rotate(6deg);
  }
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

.hero-board {
  min-width: 0;
}

.board-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.board-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(12, 90, 166, 0.18), rgba(20, 184, 137, 0.12));
}

.board-top,
.meters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.board-label {
  color: var(--navy);
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 800;
}

.dice {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 7px;
  width: 44px;
  height: 44px;
  place-content: center;
  border-radius: 12px;
  background: var(--yellow);
  box-shadow: inset 0 -4px rgba(118, 80, 6, 0.14);
}

.dice span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}

.world-board {
  position: relative;
  min-height: 390px;
  margin: 20px 0;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 34%, rgba(20, 184, 137, 0.8) 0 10%, transparent 10.5%),
    radial-gradient(circle at 62% 28%, rgba(20, 184, 137, 0.78) 0 13%, transparent 13.5%),
    radial-gradient(circle at 52% 55%, rgba(20, 184, 137, 0.64) 0 9%, transparent 9.5%),
    radial-gradient(circle at 77% 68%, rgba(20, 184, 137, 0.66) 0 7%, transparent 7.5%),
    linear-gradient(145deg, #dff5ff, #faffff);
}

.world-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 50, 99, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 50, 99, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
}

.pin {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 32px;
  border-radius: 999px 999px 999px 4px;
  color: var(--white);
  font-family: var(--font-en);
  font-size: 0.76rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), #ff6b45);
  box-shadow: 0 10px 20px rgba(255, 159, 63, 0.28);
}

.pin-asia { top: 28%; left: 56%; }
.pin-eu { top: 21%; left: 45%; }
.pin-af { top: 47%; left: 47%; }
.pin-na { top: 30%; left: 18%; }
.pin-sa { top: 61%; left: 30%; }
.pin-oc { top: 67%; left: 72%; }

.board-path {
  position: absolute;
  inset: auto 22px 24px 22px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
}

.board-path span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 12px;
  color: var(--navy);
  font-family: var(--font-en);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 18px rgba(7, 50, 99, 0.12);
}

.board-path span:nth-child(3n) {
  background: var(--yellow);
}

.board-path span:nth-child(4n) {
  color: var(--white);
  background: var(--emerald);
}

.meters {
  align-items: stretch;
}

.meters div {
  flex: 1;
  padding: 12px;
  border-radius: 18px;
  background: rgba(7, 50, 99, 0.06);
}

.meters span,
.meters strong {
  display: block;
}

.meters span {
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
}

.meters strong {
  color: var(--navy);
  font-family: var(--font-en);
  font-size: 1.5rem;
}

.split,
.dev-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.section-copy p {
  margin: 22px 0 0;
}

.concept-panel,
.problem-box,
.future-panel,
.dev-lists {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.concept-panel {
  min-height: 360px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(7, 50, 99, 0.9), rgba(12, 90, 166, 0.82)),
    var(--navy);
}

.orbit {
  position: relative;
  display: grid;
  width: min(270px, 76vw);
  aspect-ratio: 1;
  place-items: center;
  border: 2px dashed rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.orbit strong {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  font-family: var(--font-en);
  font-size: 1.4rem;
  background: var(--yellow);
}

.orbit span {
  position: absolute;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 800;
  background: rgba(20, 184, 137, 0.9);
}

.orbit span:nth-child(1) { top: -24px; left: 50%; transform: translateX(-50%); }
.orbit span:nth-child(2) { right: -12px; bottom: 42px; background: rgba(255, 159, 63, 0.95); }
.orbit span:nth-child(3) { left: -12px; bottom: 42px; background: rgba(12, 90, 166, 0.95); }

.problem-box {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(255, 212, 90, 0.22), rgba(20, 184, 137, 0.1)),
    rgba(255, 255, 255, 0.84);
}

.problem-box p {
  margin: 0;
}

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

.section-heading p {
  margin: 16px 0 0;
}

.system-grid,
.area-grid,
.feature-grid,
.screen-grid {
  display: grid;
  gap: 18px;
}

.system-grid {
  grid-template-columns: repeat(4, 1fr);
}

.step-card,
.area-card,
.feature-card,
.screen-card {
  position: relative;
  border: 1px solid rgba(7, 50, 99, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 40px rgba(7, 50, 99, 0.1);
}

.step-card {
  min-height: 230px;
  padding: 26px;
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(20, 184, 137, 0.14);
}

.step-number {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 800;
  background: linear-gradient(135deg, var(--navy), var(--emerald));
}

.step-card p,
.area-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.areas {
  background:
    linear-gradient(180deg, rgba(234, 248, 255, 0), rgba(234, 248, 255, 0.8)),
    radial-gradient(circle at 50% 20%, rgba(255, 212, 90, 0.22), transparent 34rem);
}

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

.area-card {
  padding: 24px;
  overflow: hidden;
}

.area-card span {
  display: block;
  width: 70px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 55% 45% 58% 42%;
  background: linear-gradient(135deg, var(--emerald), var(--green));
  box-shadow: 16px 8px 0 rgba(255, 212, 90, 0.55);
}

.area-card:nth-child(2n) span {
  background: linear-gradient(135deg, var(--blue), #73c8ff);
}

.area-card:nth-child(3n) span {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
}

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

.feature-card {
  min-height: 132px;
  padding: 24px 24px 24px 64px;
  display: flex;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 6px solid var(--yellow);
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--emerald);
}

.development {
  background: linear-gradient(135deg, rgba(7, 50, 99, 0.95), rgba(12, 90, 166, 0.88));
}

.development h2,
.development h3 {
  color: var(--white);
}

.development .section-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.dev-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.dev-lists div {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
}

.dev-lists ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.dev-lists li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.84);
}

.dev-lists li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}

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

.screen-card {
  min-height: 330px;
  padding: 18px;
  overflow: hidden;
  background: #fafdff;
}

.screen-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.screen-bar span:first-child { background: var(--orange); }
.screen-bar span:nth-child(2) { background: var(--yellow); }
.screen-bar span:nth-child(3) { background: var(--emerald); }

.screen-card h3 {
  position: absolute;
  left: 22px;
  bottom: 20px;
  font-family: var(--font-en);
}

.mini-map {
  position: relative;
  height: 210px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(7, 50, 99, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 50, 99, 0.06) 1px, transparent 1px),
    #e8f8ff;
  background-size: 28px 28px;
}

.mini-map i {
  position: absolute;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 10%;
  background: var(--emerald);
  transform: rotate(-45deg);
}

.mini-map i:nth-child(1) { top: 32px; left: 44px; }
.mini-map i:nth-child(2) { top: 64px; left: 142px; background: var(--orange); }
.mini-map i:nth-child(3) { top: 122px; left: 92px; background: var(--blue); }
.mini-map i:nth-child(4) { top: 104px; right: 48px; background: var(--yellow); }
.mini-map i:nth-child(5) { top: 32px; right: 88px; }

.event-card-preview {
  min-height: 210px;
  padding: 28px;
  border-radius: 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 212, 90, 0.36), transparent 7rem),
    linear-gradient(135deg, var(--navy), var(--emerald));
}

.event-card-preview strong {
  display: block;
  font-family: var(--font-en);
  font-size: 2.4rem;
  line-height: 1;
}

.event-card-preview p {
  color: rgba(255, 255, 255, 0.84);
}

.event-card-preview button {
  min-height: 40px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 800;
  background: var(--yellow);
}

.result-bars {
  display: grid;
  gap: 18px;
  min-height: 210px;
  align-content: center;
  padding: 28px;
  border-radius: 18px;
  background: #e8f8ff;
}

.result-bars span {
  display: block;
  height: 28px;
  border-radius: 999px;
  background: rgba(7, 50, 99, 0.1);
  overflow: hidden;
}

.result-bars span::before {
  content: "";
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--emerald), var(--yellow));
}

.future-panel {
  position: relative;
  padding: 52px;
  text-align: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 212, 90, 0.3), transparent 12rem),
    radial-gradient(circle at 92% 18%, rgba(20, 184, 137, 0.2), transparent 16rem),
    rgba(255, 255, 255, 0.86);
}

.future-panel p {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 18px auto 0;
}

.future-panel h2,
.future-panel .eyebrow,
.future-tags,
.page-links {
  position: relative;
  z-index: 2;
}

.future-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.future-tags span {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--navy);
  font-family: var(--font-en);
  font-weight: 800;
  background: rgba(20, 184, 137, 0.12);
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.sub-hero {
  min-height: 68vh;
  padding-top: 154px;
  display: grid;
  align-items: center;
}

.sub-hero-inner {
  position: relative;
  max-width: 850px;
  text-align: center;
}

.sub-hero-inner.is-visible {
  opacity: 1;
  transform: none;
}

.sub-hero h1 {
  font-size: clamp(3.4rem, 10vw, 7rem);
}

.mascot-sub {
  bottom: 74px;
  width: clamp(112px, 15vw, 180px);
}

.mascot-member {
  right: max(28px, calc((100vw - var(--max)) / 2 - 36px));
  transform: rotate(5deg);
}

.team-section,
.activity-section {
  padding-top: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.member-card {
  position: relative;
  min-height: 300px;
  padding: 28px 22px;
  border: 1px solid rgba(7, 50, 99, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(7, 50, 99, 0.1);
}

.member-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 92px;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 212, 90, 0.48), transparent 4rem),
    linear-gradient(135deg, rgba(7, 50, 99, 0.92), rgba(20, 184, 137, 0.8));
}

.member-card.teacher::before {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 212, 90, 0.55), transparent 4rem),
    linear-gradient(135deg, rgba(255, 159, 63, 0.95), rgba(7, 50, 99, 0.9));
}


.avatar {
  position: relative;
  display: grid;
  width: 112px;
  height: 112px;
  margin: 24px auto 18px;
  place-items: center;
  border: 7px solid var(--white);
  border-radius: 50%;
  overflow: hidden;   /* ←これを追加 */
  box-shadow: 0 16px 28px rgba(7, 50, 99, 0.16);
}

/*.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}*/

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

/*.avatar {
  position: relative;
  display: grid;
  width: 112px;
  height: 112px;
  margin: 24px auto 18px;
  place-items: center;
  border: 7px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  font-size: 2.6rem;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(255, 212, 90, 0.35), transparent),
    linear-gradient(135deg, var(--blue), var(--emerald));
  box-shadow: 0 16px 28px rgba(7, 50, 99, 0.16);
}*/

.member-card h2 {
  text-align: center;
  font-size: 1.42rem;
}

.member-card p {
  margin: 8px 0 0;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.member-role {
  display: table;
  margin: 0 auto 12px !important;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--navy) !important;
  background: rgba(255, 212, 90, 0.42);
}

.role-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.role-panel > div,
.role-grid {
  position: relative;
  z-index: 2;
}

.role-grid {
  display: grid;
  gap: 14px;
}

.role-grid article {
  padding: 20px;
  border-radius: 20px;
  background: rgba(20, 184, 137, 0.1);
}

.role-grid h3 {
  font-family: var(--font-en);
}

.role-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.activity-timeline {
  position: relative;
  display: grid;
  gap: 30px;
}

.activity-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 178px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(var(--emerald), var(--yellow), var(--orange));
}

.activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.activity-date {
  position: sticky;
  top: 112px;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 12px 24px rgba(7, 50, 99, 0.18);
}

.activity-card {
  position: relative;
  min-height: 220px;
  padding: 32px;
  border: 1px solid rgba(7, 50, 99, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(rgba(7, 50, 99, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 50, 99, 0.05) 1px, transparent 1px),
    rgba(255, 255, 255, 0.88);
  background-size: 32px 32px;
  box-shadow: 0 18px 40px rgba(7, 50, 99, 0.1);
}

.activity-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -48px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(20, 184, 137, 0.14);
}

.activity-card h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.activity-card p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
}

.activity-card h2 {
  position: relative;
  z-index: 2;
}

.activity-mascot {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 1;
  width: clamp(78px, 12vw, 122px);
  height: auto;
  opacity: 0.9;
  transform: rotate(7deg);
}

.activity-pin {
  position: absolute;
  top: 38px;
  left: -48px;
  width: 28px;
  height: 28px;
  border: 6px solid var(--white);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 159, 63, 0.24);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  display: block;
  color: var(--white);
  font-size: 1.25rem;
}

.footer-inner p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

  .hero {
    padding-top: 132px;
  }

  .hero-grid,
  .split,
  .dev-grid,
  .problem-box,
  .role-panel {
    grid-template-columns: 1fr;
  }

  .system-grid,
  .area-grid,
  .feature-grid,
  .screen-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .activity-timeline::before {
    left: 15px;
  }

  .activity-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-left: 46px;
  }

  .activity-date {
    position: relative;
    top: auto;
    justify-self: start;
  }

  .activity-pin {
    left: -45px;
  }

  .problem-box {
    gap: 22px;
  }

  .mascot-features,
  .mascot-development {
    opacity: 0.34;
    width: 92px;
  }

  .activity-mascot {
    opacity: 0.28;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 24px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 10px;
    left: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    min-height: auto;
  }

  .mascot {
    display: none;
  }

  .panel-mascot,
  .activity-mascot {
    width: 96px;
    opacity: 0.2;
  }

  .activity-mascot {
    right: 10px;
    bottom: 10px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .world-board {
    min-height: 320px;
  }

  .board-path {
    gap: 5px;
    right: 14px;
    left: 14px;
  }

  .board-path span {
    border-radius: 9px;
    font-size: 0.8rem;
  }

  .meters,
  .dev-lists,
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .system-grid,
  .area-grid,
  .feature-grid,
  .screen-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .problem-box,
  .future-panel,
  .role-panel {
    padding: 28px;
  }

  .section-heading {
    text-align: left;
  }

  .sub-hero {
    min-height: auto;
    padding-top: 132px;
  }

  .sub-hero-inner {
    text-align: left;
  }

  .sub-hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .intro-stage {
    width: 100vw;
    height: 62vh;
  }

  .intro-path {
    left: calc(50% - 168px);
    transform: scale(0.66);
  }

  .intro-character {
    bottom: 40px;
  }

  .page-links,
  .page-links .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-ring,
  .intro-tile,
  .intro-character,
  .intro-title {
    animation-duration: 0.01ms;
    animation-delay: 0s;
  }
}

@media (max-width: 430px) {
  .brand-sub {
    display: none;
  }

  .hero-lead,
  .section-copy p,
  .section-heading p,
  .problem-box p,
  .future-panel p {
    font-size: 0.96rem;
  }

  .pin {
    width: 44px;
    height: 28px;
    font-size: 0.64rem;
  }
}
