:root {
  --bg: #f7f1f3;
  --bg-soft: #fffafb;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(77, 62, 72, 0.14);
  --text: #493e47;
  --muted: #756873;
  --pink: #df73b2;
  --pink-soft: #efadd1;
  --blue: #8bcfe6;
  --lavender: #b7a5df;
  --green: #b8d787;
  --shadow: 0 28px 70px rgba(91, 65, 82, 0.16);
  --radius-lg: 36px;
  --radius-md: 24px;
  --max: 1180px;
  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 7%, rgba(239, 173, 209, 0.34), transparent 28rem),
    radial-gradient(circle at 10% 30%, rgba(139, 207, 230, 0.24), transparent 31rem),
    linear-gradient(180deg, #fffafb 0%, #f7f1f3 48%, #f4edef 100%);
  font-family: var(--font-sans);
  line-height: 1.9;
  letter-spacing: 0.045em;
  overflow-x: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

::selection {
  color: #17141d;
  background: var(--pink-soft);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--text);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.2;
}

.ambient-one {
  top: 16%;
  right: -12rem;
  background: var(--pink);
}

.ambient-two {
  bottom: 12%;
  left: -14rem;
  background: var(--blue);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 26px;
  transition: padding 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255, 250, 251, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(77, 62, 72, 0.09);
}

.header-inner {
  width: min(100%, 1320px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #19131d;
  background: linear-gradient(145deg, var(--pink-soft), var(--blue));
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 8px 28px rgba(255, 103, 199, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: 0.11em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.global-nav a {
  position: relative;
  color: rgba(73, 62, 71, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.global-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--text);
  transition: transform 0.25s ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 150px 30px 110px;
  overflow: hidden;
}

.hero::before {
  content: "MEMYM";
  position: absolute;
  top: 9%;
  left: 50%;
  z-index: -1;
  color: rgba(73, 62, 71, 0.035);
  font-size: clamp(8rem, 24vw, 24rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.hero-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.8fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--pink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  line-height: 0.83;
}

.hero-name {
  display: block;
  font-size: clamp(5.2rem, 10vw, 9.6rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  background: linear-gradient(120deg, #4d424a 8%, #c95f9d 52%, #559db7 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 20px 60px rgba(255, 103, 199, 0.14);
}

.hero-jp {
  display: inline-block;
  margin-top: 26px;
  padding-left: 6px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.48em;
}

.hero-lead {
  margin: 48px 0 20px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.075em;
}

.hero-lead em {
  position: relative;
  color: var(--pink-soft);
  font-style: normal;
}

.hero-lead em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  opacity: 0.6;
}

.hero-text {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 56px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.button-primary {
  color: #18131d;
  background: linear-gradient(120deg, var(--pink-soft), var(--blue));
  box-shadow: 0 18px 45px rgba(255, 103, 199, 0.18);
}

.button-primary:hover {
  box-shadow: 0 22px 60px rgba(255, 103, 199, 0.28);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--line);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.96);
}

.hero-visual {
  position: relative;
  width: min(100%, 480px);
  justify-self: end;
}

.visual-card {
  position: relative;
  z-index: 2;
  padding: 10px;
  overflow: hidden;
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.55));
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.character-card {
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 103, 199, 0.2), transparent 34%),
    radial-gradient(circle at 75% 18%, rgba(145, 229, 255, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62));
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  pointer-events: none;
}

.visual-card img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: 34px;
}

.character-card img {
  width: 100%;
  max-height: 700px;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
}

.mini-character {
  position: absolute;
  z-index: 4;
  right: -10%;
  top: 14%;
  width: clamp(120px, 18vw, 170px);
  padding: 10px;
  border-radius: 28px;
  background: rgba(23, 20, 29, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.26);
  transform: rotate(7deg);
}

.mini-character img {
  width: 100%;
  height: auto;
}

.orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(77, 62, 72, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.orbit::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 22px var(--blue);
}

.orbit-one {
  inset: -8% -18% 10% 8%;
  transform: rotate(18deg);
  animation: orbitFloat 9s ease-in-out infinite;
}

.orbit-one::before {
  top: 12%;
  left: 18%;
}

.orbit-two {
  inset: 16% -28% -8% -8%;
  border-color: rgba(255, 103, 199, 0.22);
  transform: rotate(-14deg);
  animation: orbitFloat 11s ease-in-out infinite reverse;
}

.orbit-two::before {
  right: 13%;
  bottom: 20%;
  background: var(--pink);
  box-shadow: 0 0 22px var(--pink);
}

@keyframes orbitFloat {
  0%, 100% { transform: translateY(0) rotate(14deg); }
  50% { transform: translateY(-14px) rotate(18deg); }
}

.floating-label {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(73, 62, 71, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

.label-live {
  top: 9%;
  left: -18%;
}

.label-thanks {
  right: -12%;
  bottom: 11%;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.35; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: rgba(73, 62, 71, 0.48);
  font-size: 8px;
  letter-spacing: 0.22em;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--pink-soft), transparent);
}

.section {
  position: relative;
  padding: clamp(110px, 14vw, 190px) 30px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-heading h2,
.thanks-copy h2 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto clamp(58px, 8vw, 90px);
  text-align: center;
}

.section-heading.centered p:last-child {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.about {
  border-top: 1px solid rgba(77, 62, 72, 0.08);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 10vw, 140px);
  align-items: start;
}

.about-copy {
  padding-top: 15px;
}

.about-copy p {
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 15px;
}

.about-copy .about-intro {
  margin-bottom: 42px;
  color: var(--text);
  font-size: clamp(1.25rem, 2.6vw, 1.95rem);
  font-weight: 500;
  line-height: 1.85;
}

.about-intro strong {
  color: var(--blue);
  font-size: 0.76em;
  letter-spacing: 0.1em;
}

.world {
  background: linear-gradient(180deg, rgba(255,255,255,0.58), rgba(255,255,255,0.08));
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.world-card {
  position: relative;
  min-height: 410px;
  padding: 30px 27px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.world-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(77,62,72,0.1);
  border-radius: 50%;
}

.world-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(248, 168, 220, 0.42);
}

.world-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(73, 62, 71, 0.25);
  font-size: 12px;
  font-weight: 800;
}

.world-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 54px;
  color: #19131d;
  background: linear-gradient(145deg, var(--pink-soft), var(--blue));
  border-radius: 18px;
  font-size: 24px;
  font-weight: 900;
  transform: rotate(-4deg);
}

.world-card:nth-child(2) .world-icon {
  background: linear-gradient(145deg, var(--blue), var(--lavender));
}

.world-card:nth-child(3) .world-icon {
  background: linear-gradient(145deg, var(--lavender), var(--pink-soft));
}

.world-card:nth-child(4) .world-icon {
  background: linear-gradient(145deg, var(--green), var(--blue));
}

.world-en {
  margin: 0 0 13px;
  color: var(--pink-soft) !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.world-card h3 {
  margin: 0 0 24px;
  font-size: 1.35rem;
  line-height: 1.6;
}

.world-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.thanks {
  overflow: hidden;
}

.thanks::before {
  content: "THANK YOU";
  position: absolute;
  right: -3vw;
  top: 5%;
  z-index: -1;
  color: rgba(73,62,71,0.035);
  font-size: clamp(7rem, 18vw, 17rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.thanks-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(60px, 10vw, 140px);
  align-items: center;
}

.thanks-visual {
  position: relative;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  padding: 10px;
  background: linear-gradient(145deg, rgba(255, 103, 199, 0.42), rgba(145, 229, 255, 0.18));
  border-radius: 50% 50% 38% 62% / 44% 44% 56% 56%;
  box-shadow: var(--shadow);
}

.portrait-character {
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 103, 199, 0.22), transparent 30%),
    radial-gradient(circle at 72% 16%, rgba(145, 229, 255, 0.22), transparent 34%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.58));
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: 54% 32%;
  border-radius: inherit;
}

.portrait-character img {
  width: 100%;
  max-height: 660px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
}

.portrait-tag {
  position: absolute;
  z-index: 2;
  padding: 10px 15px;
  color: var(--bg);
  background: var(--text);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 30px rgba(0,0,0,0.24);
}

.tag-one {
  left: -8%;
  bottom: 18%;
  transform: rotate(-7deg);
}

.tag-two {
  right: -2%;
  top: 14%;
  color: #17141d;
  background: var(--blue);
  transform: rotate(6deg);
}

.thanks-copy > p:not(.section-kicker):not(.notice) {
  max-width: 650px;
  color: var(--muted);
  font-size: 15px;
}

.thanks-copy .thanks-lead {
  margin: 38px 0 28px;
  color: var(--text) !important;
  font-size: clamp(1.15rem, 2.3vw, 1.55rem) !important;
  font-weight: 500;
  line-height: 2;
}

.thanks-links {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.thanks-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  transition: padding 0.25s ease, color 0.25s ease;
}

.thanks-links a:hover {
  padding-left: 12px;
  color: var(--pink-soft);
}

.notice {
  margin-top: 26px;
  color: rgba(73,62,71,0.52) !important;
  font-size: 10px !important;
  line-height: 1.8;
}

.links {
  background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.76));
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.social-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 118px;
  padding: 23px 26px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.social-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.98);
  border-color: rgba(145,229,255,0.42);
}

.social-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #19131d;
  background: linear-gradient(145deg, var(--pink-soft), var(--blue));
  border-radius: 16px;
  font-weight: 900;
}

.social-card:nth-child(2) .social-icon {
  background: linear-gradient(145deg, #fff, var(--pink-soft));
}

.social-card:nth-child(3) .social-icon {
  background: linear-gradient(145deg, #fff, var(--blue));
}

.social-card:nth-child(4) .social-icon {
  background: linear-gradient(145deg, var(--blue), var(--lavender));
}

.social-main {
  display: flex;
  flex-direction: column;
}

.social-main strong {
  font-size: 16px;
  letter-spacing: 0.05em;
}

.social-main small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
}

.social-arrow {
  color: var(--pink-soft);
  font-size: 18px;
}

.closing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 70svh;
  padding: 110px 30px;
  overflow: hidden;
  text-align: center;
}

.closing::before,
.closing::after {
  content: "";
  position: absolute;
  width: min(65vw, 760px);
  height: min(65vw, 760px);
  border: 1px solid rgba(77,62,72,0.1);
  border-radius: 50%;
}

.closing::before {
  left: -20%;
  bottom: -55%;
}

.closing::after {
  right: -20%;
  top: -55%;
}

.closing-inner {
  position: relative;
  z-index: 2;
}

.closing-character {
  width: clamp(170px, 22vw, 260px);
  margin: 0 auto 24px;
  padding: 10px;
  border-radius: 36px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(77,62,72,0.09);
}

.closing-character img {
  width: 100%;
  height: auto;
}

.closing-small {
  margin: 0 0 30px;
  color: var(--pink-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.closing-message {
  margin: 0 0 45px;
  font-size: clamp(2.1rem, 5.5vw, 5.3rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.site-footer {
  padding: 72px 30px 32px;
  color: #fffafb;
  background: #493e47;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-inner {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.footer-logo {
  display: block;
  width: min(100%, 390px);
  max-width: 390px;
  height: auto;
  margin: 0 auto;
}

.footer-inner > p {
  margin: 18px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 11px;
}

.footer-inner .copyright {
  margin-top: 42px;
  color: rgba(255,255,255,0.46);
  font-size: 9px;
}

.to-top {
  position: static;
  display: inline-block;
  margin-top: 28px;
  color: rgba(255,255,255,0.62);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

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

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

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

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
    gap: 50px;
  }

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

  .world-card {
    min-height: 360px;
  }

  .label-live {
    left: -8%;
  }

  .label-thanks {
    right: -4%;
  }

  .mini-character {
    right: -2%;
    top: 11%;
    width: 140px;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 120px 34px 60px;
    background: rgba(255, 250, 251, 0.98);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .global-nav a {
    width: 100%;
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
    font-size: 24px;
    letter-spacing: 0.08em;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    min-height: auto;
    padding: 140px 22px 110px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 68px;
  }

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

  .hero-text {
    margin-right: auto;
    margin-left: auto;
  }

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

  .hero-visual {
    width: min(80vw, 480px);
    justify-self: center;
  }

  .character-card {
    min-height: 560px;
  }

  .mini-character {
    top: 7%;
    right: -2%;
    width: 128px;
  }

  .portrait-character {
    min-height: 560px;
  }

  .visual-card {
    transform: rotate(1deg);
  }

  .about-grid,
  .thanks-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 50px;
  }

  .thanks-grid {
    gap: 80px;
  }

  .thanks-visual {
    width: min(82vw, 500px);
    margin: 0 auto;
  }

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

  .thanks-copy > p:not(.section-kicker):not(.notice) {
    margin-left: auto;
    margin-right: auto;
  }

  .thanks-links {
    text-align: left;
  }

  .notice {
    text-align: left;
  }
}

@media (max-width: 620px) {
  body {
    line-height: 1.82;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-name {
    font-size: clamp(4.5rem, 25vw, 7rem);
  }

  .hero-jp {
    margin-top: 20px;
    font-size: 0.95rem;
    letter-spacing: 0.36em;
  }

  .hero-lead {
    margin-top: 38px;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
  }

  .hero-text {
    font-size: 12px;
  }

  .desktop-only {
    display: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    width: min(88vw, 430px);
  }

  .character-card {
    min-height: 500px;
  }

  .mini-character {
    width: 112px;
    top: 6%;
  }

  .portrait-character {
    min-height: 500px;
  }

  .floating-label {
    font-size: 7px;
  }

  .label-live {
    top: 8%;
    left: -2%;
  }

  .label-thanks {
    right: -2%;
    bottom: 8%;
  }

  .section {
    padding: 100px 20px;
  }

  .section-heading h2,
  .thanks-copy h2 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .section-heading.centered {
    margin-bottom: 54px;
  }

  .about-copy p,
  .thanks-copy > p:not(.section-kicker):not(.notice) {
    font-size: 13px;
  }

  .about-copy .about-intro {
    font-size: 1.12rem;
    text-align: center;
  }

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

  .world-card {
    min-height: 340px;
  }

  .social-card {
    min-height: 105px;
    padding: 20px;
  }

  .social-icon {
    width: 48px;
    height: 48px;
  }

  .tag-one {
    left: -2%;
  }

  .tag-two {
    right: -2%;
  }

  .closing {
    min-height: 60svh;
    padding: 100px 20px;
  }

  .closing-message {
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .to-top {
    position: static;
    display: inline-block;
    margin-top: 28px;
  }
}


.notice a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.notice a:hover {
  color: #b63c7c;
}

.closing-gratitude {
  margin: -28px 0 38px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.72rem, 1.2vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.16em;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

/* =========================================================
   Mixed color theme
   Dark 40% / Light 60%
   Hero + Connect + Closing + Footer = dark
   About + World + Thank You = light
   ========================================================= */

:root {
  --dark-bg: #242027;
  --dark-bg-deep: #1d191f;
  --dark-bg-soft: #2c2630;
  --dark-text: #f8f3f6;
  --dark-muted: #cfc3ca;
  --light-greige: #f6f1ed;
  --light-ivory: #fbf7f4;
  --light-pink: #f8dce9;
  --light-text: #4c4343;
  --light-muted: #7a6f6e;
}

html {
  background: var(--dark-bg);
}

body {
  color: var(--light-text);
  background: var(--light-greige);
}

.ambient {
  display: none;
}

.noise {
  z-index: 0;
  opacity: 0.035;
}

/* Header: white over the dark hero, light glass after scrolling */
.site-header:not(.is-scrolled) .brand-copy strong,
.site-header:not(.is-scrolled) .global-nav a {
  color: rgba(248, 243, 246, 0.94);
}

.site-header:not(.is-scrolled) .brand-copy small {
  color: rgba(248, 243, 246, 0.64);
}

.site-header:not(.is-scrolled) .menu-button {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
}

.site-header:not(.is-scrolled) .menu-button span {
  background: var(--dark-text);
}

.site-header.is-scrolled {
  background: rgba(250, 247, 244, 0.9);
  border-bottom-color: rgba(76, 67, 67, 0.1);
  box-shadow: 0 10px 36px rgba(63, 49, 57, 0.06);
}

.site-header.is-scrolled .brand-copy strong,
.site-header.is-scrolled .global-nav a {
  color: var(--light-text);
}

.site-header.is-scrolled .brand-copy small {
  color: var(--light-muted);
}

/* 1. Hero — warm charcoal */
.hero {
  isolation: isolate;
  color: var(--dark-text);
  background:
    radial-gradient(circle at 76% 14%, rgba(239, 173, 209, 0.2), transparent 28rem),
    radial-gradient(circle at 15% 72%, rgba(139, 207, 230, 0.14), transparent 32rem),
    linear-gradient(145deg, #211d24 0%, var(--dark-bg) 55%, var(--dark-bg-soft) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 78%, rgba(246, 241, 237, 0.07) 100%);
}

.hero::before {
  color: rgba(255, 255, 255, 0.025);
}

.hero-name {
  background: linear-gradient(120deg, #ffffff 12%, #f3afd4 53%, #a9ddf5 91%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-jp,
.hero-text {
  color: var(--dark-muted);
}

.hero-lead em {
  color: #f3afd4;
}

.hero .button-ghost {
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero .button-ghost:hover {
  background: rgba(255, 255, 255, 0.11);
}

.hero .visual-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.045));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.hero .character-card {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 103, 199, 0.18), transparent 34%),
    radial-gradient(circle at 75% 18%, rgba(145, 229, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
}

.hero .visual-card::after {
  border-color: rgba(255, 255, 255, 0.2);
}

.hero .orbit {
  border-color: rgba(255, 255, 255, 0.14);
}

.hero .floating-label {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(29, 25, 31, 0.82);
  border-color: rgba(255, 255, 255, 0.13);
}

.hero .scroll-cue {
  color: rgba(255, 255, 255, 0.46);
}

/* 2. About — kawaii pink */
.about {
  color: var(--light-text);
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.88), transparent 23rem),
    radial-gradient(circle at 88% 24%, rgba(255, 178, 218, 0.48), transparent 27rem),
    radial-gradient(circle at 72% 88%, rgba(218, 198, 255, 0.42), transparent 25rem),
    linear-gradient(135deg, #fff0f7 0%, #ffddea 48%, #f2e4fa 100%);
  border-top: 0;
}

.about .section-kicker {
  color: #c26299;
}

.about-copy p {
  color: var(--light-muted);
}

.about-copy .about-intro {
  color: var(--light-text);
}

.about-intro strong {
  color: #579bb5;
}

/* 3. World — warm peach beige */
.world {
  color: #51423f;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.82), transparent 23rem),
    radial-gradient(circle at 90% 14%, rgba(255, 190, 176, 0.48), transparent 27rem),
    radial-gradient(circle at 76% 88%, rgba(255, 211, 170, 0.42), transparent 25rem),
    linear-gradient(135deg, #fff3df 0%, #ffe0cf 50%, #ffd8d7 100%);
}

.world .section-kicker {
  color: #c46e72;
}

.world #world-title {
  color: #51423f;
}

.world .section-heading.centered p:last-child,
.world-card p {
  color: #806b65;
}

.world-card {
  background: rgba(255, 250, 244, 0.82);
  border-color: rgba(142, 98, 84, 0.13);
  box-shadow: 0 16px 42px rgba(128, 80, 64, 0.07);
}

.world-card:hover {
  background: rgba(255, 253, 249, 0.98);
  border-color: rgba(207, 112, 115, 0.36);
  box-shadow: 0 22px 54px rgba(128, 80, 64, 0.13);
}

.world-number {
  color: rgba(91, 67, 61, 0.27);
}

.world-card::before {
  border-color: rgba(117, 79, 70, 0.09);
}

/* 4. Thank You — pale pink grey */
.thanks {
  color: #4f4348;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.82), transparent 24rem),
    radial-gradient(circle at 88% 72%, rgba(255, 183, 220, 0.46), transparent 28rem),
    linear-gradient(135deg, #ffe8f2 0%, var(--light-pink) 52%, #f2dff4 100%);
}

.thanks::before {
  color: rgba(79, 67, 72, 0.026);
}

.thanks .section-kicker {
  color: #bd5d93;
}

.thanks-copy > p:not(.section-kicker):not(.notice) {
  color: #766970;
}

.thanks-copy .thanks-lead {
  color: #4f4348 !important;
}

.thanks-links {
  border-top-color: rgba(79, 67, 72, 0.14);
}

.thanks-links a {
  border-bottom-color: rgba(79, 67, 72, 0.14);
}

.notice {
  color: rgba(79, 67, 72, 0.58) !important;
}

.portrait-character {
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 103, 199, 0.2), transparent 30%),
    radial-gradient(circle at 72% 16%, rgba(145, 229, 255, 0.22), transparent 34%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.32));
  box-shadow: 0 28px 70px rgba(91, 65, 82, 0.16);
}

/* 5. Connect — return to charcoal */
.links {
  color: var(--dark-text);
  background:
    radial-gradient(circle at 12% 10%, rgba(139, 207, 230, 0.11), transparent 27rem),
    radial-gradient(circle at 88% 80%, rgba(239, 173, 209, 0.13), transparent 30rem),
    linear-gradient(145deg, var(--dark-bg-soft), var(--dark-bg));
}

.links .section-kicker {
  color: #f3afd4;
}

.links .section-heading.centered p:last-child {
  color: var(--dark-muted);
}

.social-card {
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.13);
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.095);
  border-color: rgba(169, 221, 245, 0.38);
}

.social-main small {
  color: var(--dark-muted);
}

/* 6. Closing + Footer — darkest finish */
.closing {
  color: var(--dark-text);
  background:
    radial-gradient(circle at 50% 20%, rgba(239, 173, 209, 0.09), transparent 27rem),
    var(--dark-bg);
}

.closing::before,
.closing::after {
  border-color: rgba(255, 255, 255, 0.08);
}

.closing-character {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
}

.site-footer {
  color: var(--dark-text);
  background: var(--dark-bg-deep);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.footer-logo {
  width: min(100%, 390px);
  max-height: 92px;
  object-fit: contain;
}

.footer-inner > p {
  color: var(--dark-muted);
}

.footer-inner .copyright,
.to-top {
  color: rgba(248, 243, 246, 0.46);
}

/* Mobile navigation remains dark and legible */
@media (max-width: 820px) {
  .global-nav {
    background: rgba(29, 25, 31, 0.985);
  }

  .global-nav a,
  .site-header.is-scrolled .global-nav a {
    color: var(--dark-text);
    border-bottom-color: rgba(255, 255, 255, 0.13);
  }

  .menu-button[aria-expanded="true"] {
    background: rgba(29, 25, 31, 0.88);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .menu-button[aria-expanded="true"] span {
    background: var(--dark-text);
  }
}


/* Footer lockup — centered title, mark and message */
.site-footer {
  padding: 68px 24px 30px;
}

.footer-inner {
  width: min(100%, 720px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-title {
  display: block;
  margin: 0;
  color: #fffafb;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-align: center;
}

.footer-brand {
  display: flex;
  width: auto;
  margin: 24px auto 0;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  display: block;
  width: clamp(88px, 10vw, 112px);
  max-width: none;
  max-height: none;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.footer-inner > .footer-message {
  width: 100%;
  margin: 24px auto 0;
  color: rgba(248, 243, 246, 0.82);
  font-size: clamp(0.82rem, 1.7vw, 0.98rem);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-align: center;
}

.footer-inner .copyright {
  width: 100%;
  margin: 48px auto 0;
  color: rgba(248, 243, 246, 0.42);
  font-size: 0.66rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: center;
}

.to-top {
  position: static;
  display: inline-block;
  margin: 24px auto 0;
  text-align: center;
}

@media (max-width: 620px) {
  .site-footer {
    padding: 56px 20px 26px;
  }

  .footer-title {
    font-size: 1.35rem;
    letter-spacing: 0.065em;
  }

  .footer-brand {
    margin-top: 20px;
  }

  .footer-logo {
    width: 92px;
  }

  .footer-inner > .footer-message {
    margin-top: 21px;
    font-size: 0.8rem;
    letter-spacing: 0.055em;
  }

  .footer-inner .copyright {
    margin-top: 40px;
    font-size: 0.62rem;
  }
}

@media (max-width: 620px) {
  .closing-gratitude {
    margin-top: -24px;
    margin-bottom: 34px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
}


/* PC typography corrections — prevent isolated-character wrapping */
.no-wrap {
  white-space: nowrap;
}

@media (min-width: 821px) {
  .hero-copy {
    min-width: 0;
  }

  .hero-name {
    max-width: 100%;
    font-size: clamp(4.8rem, 7.7vw, 8rem);
    line-height: 0.9;
    letter-spacing: -0.085em;
    white-space: nowrap;
  }

  #about-title {
    font-size: clamp(2.35rem, 4vw, 4.45rem);
    line-height: 1.28;
    letter-spacing: 0;
  }

  .world-card p {
    word-break: normal;
    overflow-wrap: normal;
    line-break: strict;
    letter-spacing: 0.025em;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .hero-name {
    font-size: clamp(4.6rem, 7.2vw, 6.8rem);
  }

  #about-title {
    font-size: clamp(2.2rem, 3.75vw, 3.5rem);
  }

  .world-card p {
    font-size: 12.5px;
    letter-spacing: 0.015em;
  }
}
