:root {
  --navy: #0a2b54;
  --navy-2: #123e6f;
  --pink: #ff527c;
  --pink-soft: #fff0f4;
  --pink-pale: #fff8fa;
  --white: #ffffff;
  --ice: #f2f7fb;
  --line: #d9e1eb;
  --shadow: 0 24px 60px rgba(10, 43, 84, 0.14);
  --header-height: 104px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "M PLUS Rounded 1c", "Yu Gothic", "YuGothic", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1592d0; outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(10, 43, 84, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1320px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-link { flex: 0 1 250px; min-width: 190px; }
.brand-link img { width: 100%; height: auto; }

.site-navigation {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
  font-weight: 700;
}

.site-navigation a {
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.site-navigation > a:not(.navigation-cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px;
  height: 3px;
  background: var(--pink);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-navigation > a:not(.navigation-cta):hover::after,
.site-navigation > a:not(.navigation-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navigation-cta {
  min-height: 48px;
  padding: 9px 24px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(10, 43, 84, 0.2);
}

.menu-button { display: none; }

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  padding: calc(var(--header-height) + 54px) 0 58px;
  display: grid;
  align-items: center;
  background: linear-gradient(115deg, var(--white) 0 55%, var(--pink-pale) 55% 100%);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: clamp(340px, 34vw, 570px);
  aspect-ratio: 1;
  right: -8%;
  top: 2%;
  z-index: -1;
  border: 2px solid rgba(255, 82, 124, 0.19);
  border-radius: 48% 52% 32% 68% / 43% 36% 64% 57%;
  transform: rotate(14deg);
}

.hero-decoration { position: absolute; z-index: -1; pointer-events: none; }
.hero-patterns { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-pattern { position: absolute; display: block; }
.pattern-ring { width: clamp(36px, 5vw, 76px); aspect-ratio: 1; left: 5%; bottom: 13%; border: 8px solid rgba(10,43,84,.09); border-radius: 50%; }
.pattern-triangle { width: clamp(28px, 3.5vw, 54px); aspect-ratio: 1; left: 47%; top: 18%; background: rgba(255,82,124,.19); clip-path: polygon(0 0,100% 12%,40% 100%); transform: rotate(15deg); }
.pattern-square { width: clamp(24px, 3vw, 46px); aspect-ratio: 1; right: 5%; top: 48%; border: 4px solid rgba(10,43,84,.14); border-radius: 5px; transform: rotate(19deg); }
.pattern-dot { width: 18px; aspect-ratio: 1; left: 26%; bottom: 6%; background: rgba(255,82,124,.24); border-radius: 50%; }
.pattern-blob { width: clamp(55px, 8vw, 120px); aspect-ratio: 1.2; right: 12%; bottom: 5%; background: rgba(255,82,124,.09); border-radius: 28% 72% 58% 42% / 60% 35% 65% 40%; transform: rotate(-18deg); }
.pattern-dashes { width: 54px; height: 28px; left: 17%; top: 14%; background: repeating-linear-gradient(115deg, transparent 0 10px, rgba(10,43,84,.12) 10px 13px, transparent 13px 20px); transform: rotate(-12deg); }
@media (max-width: 980px) {
  .pattern-ring { left: -18px; bottom: 8%; width: 60px; }
  .pattern-triangle { left: auto; right: 7%; top: 12%; width: 26px; }
  .pattern-square { right: -12px; top: 43%; width: 38px; }
  .pattern-dot { left: 8%; bottom: 34%; width: 12px; }
  .pattern-blob { right: -16px; bottom: 4%; width: 72px; }
  .pattern-dashes { left: 8%; top: 7%; width: 40px; height: 18px; }
}
.hero-decoration-top {
  width: 22vw;
  min-width: 230px;
  aspect-ratio: 1;
  left: -12vw;
  top: 24%;
  background: var(--pink-soft);
  clip-path: polygon(4% 18%, 96% 0, 68% 100%);
  transform: rotate(-10deg);
}

.hero-inner {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 82px);
}

.hero-inner { grid-template-areas: "heading visual" "details visual"; row-gap: 0; }
.hero-copy { grid-area: heading; align-self: end; position: relative; z-index: 2; min-width: 0; }
.hero-details { grid-area: details; align-self: start; position: relative; z-index: 2; min-width: 0; }
.hero-visual { grid-area: visual; }
.hero-brand {
  margin: 0 0 18px;
  display: flex;
  gap: 0.04em;
  color: var(--pink);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.12em;
}
.hero-brand span { display: inline-block; }

.hero-kicker {
  width: fit-content;
  margin: 0 0 20px;
  padding: 7px 18px;
  color: var(--navy);
  background: var(--pink-soft);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
}

.hero h1 { margin: 0; font-weight: 900; letter-spacing: -0.045em; }
.headline-lead {
  display: block;
  font-size: clamp(2rem, 3.45vw, 3.55rem);
  line-height: 1.28;
  white-space: nowrap;
}
.headline-main {
  margin-top: 0.08em;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.14em;
  font-size: clamp(2.7rem, 4.7vw, 4.85rem);
  line-height: 1.22;
}
.headline-main em {
  position: relative;
  display: inline-block;
  color: var(--pink);
  font-style: normal;
  white-space: nowrap;
}
.headline-main em::after {
  content: "";
  position: absolute;
  inset: auto 0 0.04em;
  z-index: -1;
  height: 0.18em;
  background: #ffe1e9;
  border-radius: 99px;
}

@keyframes headlineArrival {
  from { opacity: 0; transform: translateY(18px) rotate(-1deg); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); }
}
@keyframes headlineUnderline {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .intro-playing .headline-lead, .intro-playing .headline-main em { opacity: 0; }
  .hero-title-enter .headline-lead,
  .hero-title-enter .headline-main em { animation: headlineArrival 850ms cubic-bezier(.22,1,.36,1) both; }
  .hero-title-enter .headline-lead { animation-delay: 100ms; }
  .hero-title-enter .headline-main em:first-child { animation-delay: 260ms; }
  .hero-title-enter .headline-main em:last-child { animation-delay: 440ms; }
  .hero-title-enter .headline-main em::after { transform-origin: left center; animation: headlineUnderline 650ms cubic-bezier(.22,1,.36,1) 650ms both; }
  .hero-title-enter .headline-main em:last-child::after { animation-delay: 850ms; }
}

.hero-description {
  max-width: 620px;
  margin: 28px 0 0;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 500;
  line-height: 2;
}

.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  min-width: 174px;
  min-height: 58px;
  padding: 13px 26px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--navy); box-shadow: 0 5px 12px rgba(10, 43, 84, 0.12); }
.button-secondary { color: var(--navy); background: var(--white); }
button, .button, .navigation-cta, .text-link { font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; }
.button, .navigation-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 14px 28px;
  border: 1px solid #f0bdcc;
  border-radius: 20px;
  color: var(--navy);
  background: linear-gradient(180deg, rgba(255,255,255,.2), transparent), #f9cfdd;
  box-shadow: 0 3px 0 #dfa1b5, 0 7px 14px rgba(151, 65, 94, .08), inset 0 1px 0 rgba(255,255,255,.5);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .1em;
  text-align: center;
  text-decoration: none;
  transition: transform 250ms cubic-bezier(.22,1,.36,1), box-shadow 250ms ease, background 350ms ease;
}
.button { min-width: 184px; min-height: 58px; }
.button:hover, .navigation-cta:hover,
.button:focus-visible, .navigation-cta:focus-visible { background-color: #eea2bb; }
.navigation-cta { min-height: 48px; padding: 10px 26px; font-size: .95rem; }
.button::before, .button::after, .navigation-cta::before, .navigation-cta::after { content: none; }
.button:focus-visible, .navigation-cta:focus-visible { outline: 3px solid var(--navy); outline-offset: 5px; }
.button:active, .navigation-cta:active { transform: translateY(3px) scale(.97); }
@keyframes ctaPress {
  0% { transform: translateY(3px) scale(.97); }
  65% { transform: translateY(-1px) scale(1.005); }
  100% { transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .button.is-bouncing, .navigation-cta.is-bouncing { animation: ctaPress 420ms cubic-bezier(.22,1,.36,1); }
}

.replay-button {
  margin: 18px 0 0;
  padding: 4px 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.hero-visual { position: relative; min-width: 0; aspect-ratio: 1.08; display: grid; align-items: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 0 5% 9%;
  background: #ffe9ef;
  border: 1px solid rgba(255, 82, 124, 0.14);
  border-radius: 42% 58% 53% 47% / 58% 43% 57% 42%;
  clip-path: polygon(7% 24%, 100% 0, 80% 100%, 0 78%);
  box-shadow: 0 24px 60px rgba(10, 43, 84, 0.09);
  transform: rotate(-4deg);
}
.hero-visual { aspect-ratio: 1; margin-bottom: 112px; }
.hero-visual::before { content: none; }
.hero-surroundings { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; }
.hero-dial { position: absolute; inset: 0; z-index: 2; pointer-events: none; user-select: none; -webkit-user-select: none; contain: layout paint; overflow: clip; }
.hero-dial .hero-surroundings { transform: rotate(var(--dial-angle, 0deg)); -webkit-user-drag: none; will-change: transform; }
.hero-dial-hit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: auto; cursor: grab; touch-action: pan-y; border-radius: 50%; clip-path: polygon(evenodd, 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 75% 50%, 67.7% 67.7%, 50% 75%, 32.3% 67.7%, 25% 50%, 32.3% 32.3%, 50% 25%, 67.7% 32.3%, 75% 50%); }
/* SVGの線ではなく、面を持つ要素とその親でタッチ操作を受ける。 */
.hero-visual.toys-touch-enabled,
.toys-touch-enabled .hero-dial,
.toys-touch-enabled .hero-dial-hit { touch-action: none; }
.hero-dial.is-dragging .hero-dial-hit { cursor: grabbing; }
.hero-dial:focus-visible { outline: 2px dashed var(--navy); outline-offset: 5px; border-radius: 50%; }
.hero-character-stage { position: absolute; left: 16%; top: 32%; z-index: 1; width: 68%; aspect-ratio: 1522 / 1033; margin: 0; display: grid; place-items: center; perspective: 900px; cursor: grab; touch-action: pan-y; }
.hero-character-stage.is-dragging { cursor: grabbing; }
.hero-character-stage.touch-enabled { touch-action: none; }
.hero-image-wrap { position: relative; width: 100%; transform: rotate(0deg); transform-origin: 50% 50%; transform-style: flat; transition: transform 180ms ease-out; }
.hero-character-stage.is-dragging .hero-image-wrap { transition: none; }
.hero-image-wrap img { width: 100%; height: auto; pointer-events: none; user-select: none; }
.hero-controls-panel { position: absolute; top: calc(100% + 12px); left: 0; right: 0; z-index: 4; min-height: 94px; display: flex; flex-direction: column; align-items: center; gap: 12px; isolation: isolate; transform: translateZ(0); }
.hero-character-tools { display: flex; justify-content: center; gap: 7px; }
.hero-character-tools button { min-height: 44px; padding: 8px 16px; color: var(--navy); background: rgba(255, 255, 255, 0.96); border: 1px solid #bac8d8; border-radius: 12px; box-shadow: 0 3px 8px rgba(10, 43, 84, 0.05); font-size: 0.875rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.hero-character-tools button[aria-pressed="true"] { color: var(--white); background: var(--navy); }
.hero-character-help { width: 100%; min-height: 3em; margin: 0; text-align: center; color: var(--navy); font-size: 0.7rem; font-weight: 700; line-height: 1.5; overflow-anchor: none; }
.hero-note {
  position: absolute;
  right: -20px;
  bottom: 2%;
  z-index: 2;
  width: min(300px, 62%);
  margin: 0;
  padding: 15px 20px;
  background: var(--white);
  border: 1px solid rgba(10, 43, 84, 0.12);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(10, 43, 84, 0.14);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.55;
}
.hero-note span { display: block; margin-bottom: 3px; color: var(--pink); font-size: 0.76rem; letter-spacing: 0.14em; }
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  color: var(--navy);
  background:
    radial-gradient(circle at 14% 70%, rgba(255, 82, 124, 0.12) 0 5px, transparent 6px),
    radial-gradient(circle at 82% 24%, rgba(10, 43, 84, 0.1) 0 4px, transparent 5px),
    var(--white);
  overflow: hidden;
}
.intro-overlay[hidden] { display: none; }
body.intro-playing { overflow: hidden; }
.intro-overlay-stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.intro-lockup { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; max-width: calc(100% - 24px); user-select: none; }
.intro-overlay-title {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 16px 4px;
  display: flex;
  justify-content: center;
  gap: 0.03em;
  font-size: clamp(1.4rem, 5.2vw, 5rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.intro-title-flourish { position: absolute; z-index: -1; width: 110%; height: 180%; left: -5%; top: -40%; overflow: visible; pointer-events: none; }
.intro-title-flourish .flourish-line { fill: none; stroke: var(--pink); stroke-width: 2; stroke-linecap: round; opacity: .5; }
.intro-title-flourish .flourish-pink { fill: var(--pink); opacity: .6; }
.intro-title-flourish .flourish-navy { fill: var(--navy); opacity: .4; }
.intro-overlay.is-playing .intro-title-flourish { animation: introFlourishIn 900ms 400ms both; }
@keyframes introFlourishIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.intro-overlay-title span { display: inline-block; opacity: 0; transform: translateY(24px) rotate(5deg) scale(0.9); }
.intro-overlay-plane {
  position: relative;
  flex-shrink: 0;
  z-index: 3;
  width: clamp(90px, 20vw, 280px);
  opacity: 0;
  filter: drop-shadow(0 28px 24px rgba(10, 43, 84, 0.22));
  will-change: transform;
}
.intro-overlay-plane img { width: 100%; height: auto; }
.intro-overlay-skip {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 5;
  min-height: 44px;
  padding: 7px 17px;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}
.intro-overlay.is-playing { animation: introOverlayFade 4.8s linear both; }
.intro-overlay.is-playing .intro-overlay-title span { animation: introTitleIn 380ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.intro-overlay.is-playing .intro-overlay-title span:nth-child(1) { animation-delay: 120ms; }
.intro-overlay.is-playing .intro-overlay-title span:nth-child(2) { animation-delay: 190ms; }
.intro-overlay.is-playing .intro-overlay-title span:nth-child(3) { animation-delay: 260ms; }
.intro-overlay.is-playing .intro-overlay-title span:nth-child(4) { animation-delay: 330ms; }
.intro-overlay.is-playing .intro-overlay-title span:nth-child(5) { animation-delay: 400ms; }
.intro-overlay.is-playing .intro-overlay-title span:nth-child(6) { animation-delay: 470ms; }
.intro-overlay.is-playing .intro-overlay-title span:nth-child(7) { animation-delay: 540ms; }
.intro-overlay.is-playing .intro-overlay-title span:nth-child(8) { animation-delay: 610ms; }
.intro-overlay.is-playing .intro-overlay-title span:nth-child(9) { animation-delay: 680ms; }
.intro-overlay.is-playing .intro-overlay-plane { animation: introPlanePass 2s 1s cubic-bezier(.22,.61,.36,1) both; }
.intro-decorations { position: absolute; inset: 0; pointer-events: none; }
.intro-piece, .intro-spark { position: absolute; left: 50%; top: 50%; opacity: 0; --turn: 0deg; }
.intro-piece { width: clamp(78px, 12vw, 175px); height: clamp(100px, 16vw, 215px); border: 4px solid var(--navy); border-radius: 10px; box-shadow: 8px 10px 0 #ffd2df; background-color: var(--white); }
.intro-card { background-image: linear-gradient(var(--accent), var(--accent)), repeating-linear-gradient(to bottom, var(--navy) 0 4px, transparent 4px 13px); background-size: 72% 35%, 65% 25%; background-position: center 19%, center 80%; background-repeat: no-repeat; }
.intro-piece-one { --x: -28vw; --y: -25vh; --turn: -16deg; --accent: var(--pink); }
.intro-piece-two { --x: 4vw; --y: -29vh; --turn: 10deg; --accent: var(--navy); }
.intro-piece-three { --x: 31vw; --y: -22vh; --turn: 32deg; background-color: var(--navy); }
.intro-piece-four { --x: 27vw; --y: 24vh; --turn: 14deg; --accent: var(--navy); width: clamp(100px, 16vw, 210px); height: clamp(68px, 10vw, 135px); }
.intro-piece-five { --x: -31vw; --y: 23vh; --turn: 38deg; background-color: var(--pink); }
.intro-piece-six { --x: -4vw; --y: 28vh; --turn: -18deg; }
.intro-pencil { width: clamp(20px, 3vw, 38px); height: clamp(110px, 18vw, 230px); border-radius: 7px 7px 2px 2px; background-image: linear-gradient(90deg, transparent 55%, #ffffff88 55% 68%, transparent 68%); }
.intro-pencil::after { content: ""; position: absolute; top: 100%; left: -4px; width: calc(100% + 8px); height: 30px; background: linear-gradient(var(--pink-soft) 0 60%, var(--navy) 60%); clip-path: polygon(0 0,100% 0,50% 100%); }
.intro-ruler { width: clamp(120px, 22vw, 270px); height: clamp(30px, 4vw, 50px); background-color: var(--pink-soft); background-image: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 12px); background-size: 100% 45%; background-repeat: no-repeat; }
.intro-spark { width: clamp(16px,3vw,36px); aspect-ratio: 1; background: var(--pink); clip-path: polygon(50% 0,62% 36%,100% 50%,62% 64%,50% 100%,38% 64%,0 50%,38% 36%); }
.intro-spark-one { --x: -13vw; --y: -19vh; }.intro-spark-two { --x: 20vw; --y: -30vh; background: var(--navy); }
.intro-spark-three { --x: 12vw; --y: 20vh; }.intro-spark-four { --x: -20vw; --y: 30vh; background: var(--navy); }
.intro-overlay.is-playing .intro-piece { animation: introDecorBurst 650ms 3s cubic-bezier(.16,1,.3,1) both; }
.intro-overlay.is-playing .intro-spark { animation: introDecorBurst 550ms 3.12s cubic-bezier(.16,1,.3,1) both; }
@keyframes introDecorBurst {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(0) scale(.15); }
  65% { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--turn)) scale(1.12); }
  100% { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--turn)) scale(1); }
}

@keyframes introTitleIn {
  to { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}
@keyframes introPlanePass {
  0% { opacity: 0; transform: translate(calc(-65vw - 100%), 50vh) rotate(-12deg) scale(.85); }
  5% { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); }
}
@keyframes introOverlayFade {
  0%, 88% { opacity: 1; }
  100% { opacity: 0; }
}

.section { position: relative; padding: clamp(96px, 11vw, 160px) 0; }
.section-inner { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.section { isolation: isolate; }
.section-decor { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; color: #dce6f0; }
.section-decor span { position: absolute; display: block; }
.decor-blob { width: clamp(100px, 15vw, 230px); aspect-ratio: 1; left: -6%; bottom: 9%; border-radius: 31% 69% 67% 33% / 48% 32% 68% 52%; background: #fce5ed; transform: rotate(-24deg); }
.decor-outline { width: clamp(65px, 9vw, 130px); aspect-ratio: 1; right: 3%; top: 7%; border: 3px solid currentColor; border-radius: 28% 12% 35% 16%; transform: rotate(22deg); }
.decor-marks { width: 52px; height: 34px; right: 8%; bottom: 6%; background: repeating-linear-gradient(105deg, transparent 0 13px, currentColor 13px 16px, transparent 16px 20px); transform: rotate(-12deg); }
.services-section .decor-blob, .about-values .decor-blob { background: #eaf0f6; left: auto; right: -5%; bottom: 2%; transform: rotate(35deg); }
.services-section .decor-outline, .about-values .decor-outline { color: #f8dbe5; right: auto; left: 3%; top: 7%; border-radius: 50%; }
.works-section .decor-blob { left: -5%; top: 5%; bottom: auto; width: clamp(90px, 12vw, 180px); clip-path: polygon(8% 12%, 100% 0, 73% 100%); border-radius: 0; }
.works-section .decor-outline { top: 12%; right: 5%; border-radius: 50%; border-width: 8px; }
.flow-section .decor-blob { background: #eaf0f6; bottom: 14%; left: -7%; }
.flow-section .decor-outline { color: #f6d5e0; border-radius: 50% 50% 15% 50%; top: 8%; }
.faq-section .decor-blob { left: auto; right: -5%; bottom: 0; background: #f8e3ec; }
.faq-section .decor-outline { left: 2%; right: auto; top: 5%; width: 70px; border-radius: 4px; transform: rotate(-17deg); }
.contact-section .section-decor, .about-cta .section-decor { color: #edc8d7; }
.contact-section .decor-blob, .about-cta .decor-blob { background: #ffe0ea; left: -6%; bottom: 12%; }
.contact-section .decor-outline { border-radius: 50%; right: -3%; top: 4%; width: 190px; }
.play-section .section-decor { color: rgba(10,43,84,.12); }
.play-section .decor-blob { display: none; }
.play-section .decor-outline { width: 54px; top: auto; bottom: 10%; right: 5%; }
.play-section .decor-marks { right: 5%; top: 10%; bottom: auto; }
@media (max-width: 680px) {
  .section-decor { opacity: .65; }
  .decor-blob { width: 110px; left: -65px; }
  .decor-outline { width: 54px; right: -15px; top: 22px; border-width: 2px; }
  .decor-marks { width: 38px; height: 24px; right: 12px; bottom: 18px; }
  .faq-section .decor-outline { left: -36px; }
  .contact-section .decor-outline { width: 110px; right: -65px; }
}
.section-heading { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-heading h2 { margin: 0; font-size: clamp(2.35rem, 5vw, 4.5rem); line-height: 1.25; letter-spacing: -0.04em; }
.section-heading > p:last-child { margin: 22px 0 0; font-size: 1.05rem; }
.section-heading-split { max-width: none; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 80px; }
.section-heading-split > p:last-child { margin: 0 0 8px; }
.eyebrow { margin: 0 0 12px; color: var(--pink); font-size: 0.82rem; font-weight: 900; letter-spacing: 0.17em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.empathy-section { background: var(--ice); color: var(--navy); overflow: hidden; }
.empathy-section::before { content: ""; position: absolute; width: 34vw; aspect-ratio: 1; right: -12vw; top: 12%; border: 1px solid var(--line); border-radius: 50%; }
.worry-layout { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(50px, 9vw, 130px); align-items: center; }
.worry-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.worry-list li { min-height: 128px; padding: 26px 0; display: flex; align-items: center; gap: 32px; border-top: 1px solid var(--line); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.65; }
.worry-list li:last-child { border-bottom: 1px solid var(--line); }
.worry-list > li > span { color: var(--pink); font-size: 0.78rem; letter-spacing: 0.12em; flex-shrink: 0; }
.empathy-message { position: relative; padding: 60px 34px; background: #ffc3d3; clip-path: polygon(4% 8%, 100% 0, 90% 100%, 0 87%); color: var(--navy); transform: rotate(2deg); }
.empathy-message p { margin: 0; font-size: clamp(1.65rem, 3vw, 2.65rem); font-weight: 500; line-height: 1.55; transform: rotate(-2deg); }
.empathy-message strong { font-weight: 900; }
.phrase { display: inline-block; }
.empathy-section .section-heading { max-width: none; }
.empathy-section #empathy-title { font-size: clamp(1rem, 5.8vw, 4rem); white-space: nowrap; }
.empathy-message { container-type: inline-size; width: 100%; }
.empathy-message p { font-size: clamp(1.2rem, 7.5cqi, 2.15rem); }
.empathy-message strong { display: block; }
.worry-list li > div { min-width: 0; }
.strengths-grid { margin-top: clamp(80px, 11vw, 145px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; color: var(--navy); }
.strength-card { position: relative; isolation: isolate; overflow: hidden; min-height: 350px; padding: clamp(28px, 3vw, 38px); display: flex; flex-direction: column; background: #fffafc; border: 1px solid rgba(10,43,84,.13); border-radius: 44px 12px 44px 12px; box-shadow: 7px 9px 0 #e4ebf3; }
.strength-card-main { background: #ffe5ed; }
.strength-card:nth-child(2) { border-radius: 12px 44px 12px 44px; background: #fff; box-shadow: 7px 9px 0 #f6d7e1; }
.strength-card:nth-child(3) { background: #eef3fa; }
.strength-card::before, .strength-card::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.strength-card::before { width: 108px; height: 108px; right: -18px; top: -18px; border: 22px solid #f48ca9; border-radius: 50%; }
.strength-card::after { width: 66px; height: 66px; right: 44px; top: 46px; background: repeating-linear-gradient(135deg, transparent 0 8px, #0a2b54 8px 10px); border-radius: 50%; opacity: .8; }
.strength-card:nth-child(2)::before { width: 88px; height: 100px; right: 16px; top: 22px; border: 1px solid var(--navy); border-radius: 6px; background: #ffe1e9; transform: rotate(18deg); }
.strength-card:nth-child(2)::after { width: 74px; height: 90px; right: -14px; top: 1px; border: 1px solid var(--navy); border-radius: 6px; background: repeating-linear-gradient(0deg, #fff 0 12px, #b7c6d8 12px 13px); transform: rotate(-12deg); opacity: 1; }
.strength-card:nth-child(3)::before { width: 96px; height: 96px; top: 12px; right: -18px; border: 0; border-radius: 50% 50% 50% 8px; background: #f5a2ba; transform: rotate(-18deg); }
.strength-card:nth-child(3)::after { width: 60px; height: 60px; right: 48px; top: 53px; border: 2px solid var(--navy); border-radius: 50% 50% 8px 50%; background: transparent; opacity: 1; }
.strength-card .card-number { margin: 0 0 34px; color: var(--navy); font-size: clamp(3.25rem, 5vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.strength-card .card-number::after { content: ""; display: block; width: 36px; height: 5px; margin-top: 16px; border-radius: 3px; background: #e97699; }
.strength-card h3 { margin: 0 0 16px; font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.5; text-wrap: balance; }
.strength-card p:not(.card-number) { margin: 0; }
.strength-card small { margin-top: 14px; font-size: 0.84rem; line-height: 1.6; }
.strength-motion-button { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.strength-motion-button:focus-visible { outline: 3px solid var(--navy); outline-offset: -7px; }
@keyframes strengthDecorationWobble {
  0%, 100% { rotate: 0deg; translate: 0 0; }
  22% { rotate: -7deg; translate: 0 -3px; }
  45% { rotate: 5deg; translate: 0 0; }
  67% { rotate: -3deg; }
  84% { rotate: 1.5deg; }
}
@media (prefers-reduced-motion: no-preference) {
  .strength-card.is-wobbling::before,
  .strength-card.is-wobbling::after { animation: strengthDecorationWobble 650ms ease-in-out; }
  .strength-card.is-wobbling::after { animation-delay: 60ms; animation-direction: reverse; }
}

.services-section { background: var(--white); }
.web-service-feature { min-height: 520px; display: grid; grid-template-columns: 0.88fr 1.12fr; background: var(--pink-soft); border-radius: 50px 12px 50px 12px; overflow: hidden; box-shadow: var(--shadow); }
.web-service-copy { padding: clamp(40px, 6vw, 78px); align-self: center; }
.service-label { margin: 0 0 10px; color: var(--pink); font-weight: 900; }
.web-service-copy h3 { margin: 0 0 22px; font-size: clamp(1.7rem, 3.5vw, 3rem); line-height: 1.35; }
.web-service-copy > p:not(.service-label) { margin: 0; font-size: 1.05rem; }
.web-service-copy ul { margin: 26px 0; padding: 0; list-style: none; }
.web-service-copy li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid rgba(10, 43, 84, 0.12); font-weight: 700; }
.web-service-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 900; }
.text-link { display: inline-block; color: var(--navy); font-weight: 900; text-underline-offset: 6px; }
.browser-art { align-self: center; justify-self: center; width: 82%; min-width: 0; margin: 30px 0 50px; background: var(--white); border: 9px solid var(--navy); border-radius: 24px; box-shadow: -16px 22px 0 rgba(255, 82, 124, 0.2); transform: rotate(-3deg); overflow: hidden; }
.browser-art { padding: 0; appearance: none; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transform-origin: 50% 75%; }
.browser-art:focus-visible { outline: 3px solid var(--pink); outline-offset: 8px; }
.browser-bar { height: 50px; padding: 18px; display: flex; gap: 9px; background: var(--navy); }
.browser-bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }
.browser-page { min-height: 330px; padding: 50px; display: grid; grid-template-columns: 1fr 0.8fr; align-items: center; gap: 32px; background: linear-gradient(140deg, var(--white), var(--pink-pale)); }
.browser-copy { display: grid; gap: 16px; }
.browser-copy b { height: 17px; background: var(--navy); border-radius: 99px; }
.browser-copy b:nth-child(2) { width: 82%; }.browser-copy b:nth-child(3) { width: 60%; background: var(--pink); }
.browser-copy span { width: 120px; height: 42px; margin-top: 12px; background: var(--navy); border-radius: 99px; }
.browser-shape { aspect-ratio: 1; background: var(--pink); clip-path: polygon(0 18%, 100% 0, 83% 100%, 18% 78%); }

.service-strip { margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, auto); gap: 18px; }
.service-tile { padding: 28px; background: var(--ice); border: 1px solid rgba(10, 43, 84, 0.08); border-radius: 10px 34px 10px 34px; }
.service-tile:nth-child(2), .service-tile:nth-child(5) { background: var(--pink-soft); color: var(--navy); }
.service-tile:nth-child(3) { background: var(--pink); }
.service-tile-tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: var(--pink-soft); }
.service-tile-wide { grid-column: span 2; }
.service-tile span { color: var(--pink); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.16em; }
.service-tile:nth-child(3) span { color: var(--navy); }
.service-tile h3 { margin: 18px 0 10px; font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.35; }
.service-tile p { margin: 0; font-size: 0.95rem; }

.works-section { background: var(--ice); overflow: hidden; }
.work-group + .work-group { margin-top: 130px; }
.work-group-heading { margin-bottom: 30px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.work-group-heading p { margin: 0; }.work-group-heading > p { max-width: 430px; }
.work-group-heading div > p { color: var(--pink); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.16em; }
.work-group-heading h3 { margin: 4px 0 0; font-size: clamp(2rem, 3.8vw, 3.2rem); }
.coverflow { user-select: none; touch-action: pan-y; }
.coverflow-stage { position: relative; height: 540px; perspective: 1300px; }
.coverflow-web .coverflow-stage { height: 410px; }
.work-card { position: absolute; left: 50%; top: 50%; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border: 1px solid rgba(10, 43, 84, 0.13); box-shadow: 0 26px 70px rgba(10, 43, 84, 0.16); transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1), opacity 450ms ease; will-change: transform; }
.work-card-flyer { width: min(370px, 50vw); aspect-ratio: 210 / 297; border-radius: 8px 32px 8px 8px; }
.work-card-web { width: min(680px, 64vw); aspect-ratio: 16 / 9; padding: 16px; border-radius: 20px; overflow: hidden; }
.work-card-web .work-card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.work-card-web::before { display: none; }
.work-card.work-card-web > span { background: rgba(255,255,255,.92); font-size: .7rem; padding: 4px 10px; }
.work-card-web > div { margin: 0 -16px -16px; padding: 12px 16px; background: rgba(255,255,255,.9); }
.work-card-web > div b { font-size: .85rem; }
.work-card-web > div small { font-size: .65rem; }
.work-card::before { content: ""; position: absolute; inset: 72px 22px 74px; background: repeating-linear-gradient(-45deg, var(--pink-pale) 0 15px, var(--white) 15px 30px); border: 2px dashed rgba(10, 43, 84, 0.18); }
.work-card span, .work-card div { position: relative; z-index: 1; }
.work-card span { align-self: flex-start; padding: 5px 13px; color: var(--navy); background: var(--pink); border-radius: 999px; font-size: 0.8rem; font-weight: 900; }
.work-card div { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.work-card b { font-size: 1.2rem; }.work-card small { font-weight: 800; letter-spacing: 0.12em; }
.work-card[data-position="0"] { z-index: 5; transform: translate(-50%, -50%) rotateY(0) scale(1); opacity: 1; }
.work-card[data-position="-1"] { z-index: 4; transform: translate(-122%, -50%) rotateY(24deg) scale(0.78); opacity: 0.72; }
.work-card[data-position="1"] { z-index: 4; transform: translate(22%, -50%) rotateY(-24deg) scale(0.78); opacity: 0.72; }
.work-card[data-position="-2"] { z-index: 3; transform: translate(-160%, -50%) rotateY(34deg) scale(0.62); opacity: 0.3; }
.work-card[data-position="2"] { z-index: 3; transform: translate(60%, -50%) rotateY(-34deg) scale(0.62); opacity: 0.3; }
.work-card[data-hidden="true"] { opacity: 0; pointer-events: none; }
.slider-controls { margin-top: 26px; display: flex; justify-content: center; align-items: center; gap: 26px; }
.slider-controls button { width: 52px; min-width: 52px; height: 52px; min-height: 52px; padding: 12px; display: grid; place-items: center; color: var(--navy); background: #fffafd; border: 1px solid #edc7d3; border-radius: 50%; box-shadow: 0 3px 0 #ecd1db, 0 6px 12px rgba(10,43,84,.05); cursor: pointer; transition: background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease; }
.slider-controls button:hover { background: #f8d9e4; }
.slider-controls button:active { transform: translateY(2px); box-shadow: 0 1px 0 #ecd1db; }
.slider-controls button:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.slider-controls svg { width: 28px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 220ms ease; }
.slider-controls [data-slider-prev]:hover svg { transform: translateX(-3px); }
.slider-controls [data-slider-next]:hover svg { transform: translateX(3px); }
.slider-controls p { min-width: 66px; margin: 0; text-align: center; }.slider-controls strong { color: var(--pink); font-size: 1.45rem; }

.play-section { background: #ff8fab; overflow: hidden; }
.play-section::before { content: ""; position: absolute; width: 46vw; aspect-ratio: 1; left: -18vw; bottom: -20%; background: rgba(255,255,255,.3); border-radius: 50%; pointer-events: none; }
.play-section::after { content: ""; position: absolute; width: clamp(180px, 28vw, 430px); aspect-ratio: 1; right: -8vw; top: -12%; border: 36px solid rgba(10,43,84,.1); border-radius: 50%; pointer-events: none; }
.play-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.play-grid::before { content: ""; position: absolute; width: 100px; height: 50px; left: 44%; bottom: -70px; background: rgba(255,255,255,.5); border-radius: 100px 100px 0 0; transform: rotate(-20deg); pointer-events: none; }
.play-copy h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.6rem); line-height: 1.35; letter-spacing: -0.04em; }
.play-copy > p:not(.eyebrow):not(.touch-mode-help) { margin: 24px 0; font-weight: 600; }
.play-section .eyebrow { color: var(--navy); }
.touch-mode-button { min-height: 52px; padding: 10px 22px; color: var(--white); background: var(--navy); border: 2px solid var(--navy); border-radius: 999px; font-weight: 900; cursor: pointer; }
.touch-mode-button[aria-pressed="true"] { color: var(--navy); background: var(--white); }
.touch-mode-help { margin: 12px 0 0; font-size: 0.84rem; line-height: 1.6; }
.character-controller { position: relative; min-width: 0; }
.character-stage { position: relative; width: 100%; min-height: 460px; display: grid; place-items: center; perspective: 900px; cursor: grab; touch-action: pan-y; }
[data-character-stage], [data-character-card], [data-character-card] img { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
[data-character-card] { pointer-events: none; }
[data-character-card] img { -webkit-touch-callout: none; }
.character-stage::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1.45; background: rgba(255,255,255,.5); clip-path: polygon(8% 12%, 100% 0, 88% 100%, 0 84%); }
.character-stage.is-dragging { cursor: grabbing; }
.character-stage.touch-enabled { touch-action: none; }
.character-card { position: relative; z-index: 1; width: min(78%, 540px); transform-style: flat; transition: transform 180ms ease-out; }
.character-stage.is-dragging .character-card { transition: none; }
.character-card img { width: 100%; height: auto; pointer-events: none; }
.character-controls { margin-top: 14px; display: flex; justify-content: center; gap: 9px; }
.character-controls button { min-height: 44px; padding: 8px 15px; color: var(--navy); background: var(--white); border: 2px solid var(--navy); border-radius: 999px; font-weight: 800; cursor: pointer; }
.character-controls .touch-mode-button { color: var(--white); background: var(--navy); }
.character-controls .touch-mode-button[aria-pressed="true"] { color: var(--navy); background: var(--white); }
.hero-character-tools .lock-toggle,
.character-controls .lock-toggle { width: 48px; min-width: 48px; height: 48px; min-height: 48px; padding: 0; display: inline-grid; place-items: center; color: #fff; background: var(--navy); border: 0; border-radius: 15px; cursor: pointer; transition: background-color 300ms ease, box-shadow 300ms ease; }
.hero-character-tools .lock-toggle[aria-pressed="true"],
.character-controls .lock-toggle[aria-pressed="true"] { color: #fff; background: #ed7599; box-shadow: 0 4px 12px rgba(237, 117, 153, 0.22); }
.lock-toggle:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.lock-icon { position: relative; display: block; width: 22px; height: 27px; transform: rotate(-10deg); transition: transform 320ms ease; pointer-events: none; }
.lock-shackle { position: absolute; left: 4px; top: 1px; width: 14px; height: 15px; border: 3px solid currentColor; border-bottom: 0; border-radius: 9px 9px 0 0; transform-origin: 12px 13px; transition: transform 320ms cubic-bezier(.2,.8,.2,1); }
.lock-body { position: absolute; left: 1px; bottom: 0; width: 20px; height: 16px; border-radius: 4px; background: currentColor; }
.lock-body::after { content: ""; position: absolute; left: 9px; top: 5px; width: 3px; height: 6px; border-radius: 2px; background: var(--navy); transition: background-color 300ms ease; }
.lock-toggle[aria-pressed="true"] .lock-icon { transform: rotate(0deg); }
.lock-toggle[aria-pressed="true"] .lock-shackle { transform: translateY(-3px) rotate(35deg); }
.lock-toggle[aria-pressed="true"] .lock-body::after { background: #ed7599; }
@media (prefers-reduced-motion: reduce) {
  .lock-toggle, .lock-icon, .lock-shackle, .lock-body::after { transition: none !important; }
}
.character-controller > .touch-mode-help { max-width: 440px; margin: 12px auto 0; text-align: center; }
.play-toy-board { position: absolute; top: 0; left: 0; width: 100%; height: 460px; pointer-events: none; }
.play-toy { position: absolute; z-index: 3; width: 70px; height: 70px; padding: 6px; display: grid; place-items: center; border: 0; background: transparent; cursor: grab; pointer-events: auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; transform: translate(var(--toy-x, 0px), var(--toy-y, 0px)); }
.play-toy span { display: block; width: 100%; height: 100%; pointer-events: none; transform: rotate(var(--toy-angle, 0deg)); filter: drop-shadow(4px 6px 0 rgba(10,43,84,.12)); }
.play-toy.is-dragging { cursor: grabbing; z-index: 5; }
.play-grid.toys-touch-enabled .play-toy { touch-action: none; }
.toy-pencil { left: 5%; top: 5%; width: 52px; height: 122px; --toy-angle: 25deg; }
.toy-pencil span { width: 24px; background: linear-gradient(to bottom, var(--navy) 0 12%, white 12% 16%, var(--navy) 16% 78%, #fff0f4 78% 92%, var(--navy) 92%); clip-path: polygon(0 0,100% 0,100% 78%,50% 100%,0 78%); }
.toy-card { left: 73%; top: 5%; width: 108px; height: 76px; --toy-angle: 12deg; }
.toy-card span { background: linear-gradient(var(--pink),var(--pink)) 15% 30% / 22% 38% no-repeat, repeating-linear-gradient(to bottom,var(--navy) 0 3px,transparent 3px 10px) 83% 50% / 45% 52% no-repeat, white; border: 3px solid var(--navy); border-radius: 5px; }
.toy-ruler { left: 10%; top: 77%; width: 130px; height: 48px; --toy-angle: -14deg; }
.toy-ruler span { background: repeating-linear-gradient(90deg,var(--navy) 0 2px,transparent 2px 11px) left top / 100% 50% no-repeat, #fff0f4; border: 3px solid var(--navy); border-radius: 4px; }
.toy-circle { left: 79%; top: 69%; width: 65px; height: 65px; }
.toy-circle span { border: 10px solid var(--navy); border-radius: 50%; background: #ffffff55; }
.toy-square { left: 42%; top: 1%; width: 48px; height: 48px; --toy-angle: -18deg; }
.toy-square span { background: var(--pink-soft); border: 3px solid var(--navy); border-radius: 7px; }
.toy-reset { display: block; margin: 18px auto 0; padding: 8px 14px; min-height: 44px; border: 0; border-bottom: 1px solid currentColor; color: var(--navy); background: transparent; font-size: .8rem; font-weight: 700; cursor: pointer; }
@media (max-width: 980px) { .play-toy-board { height: 420px; } }
@media (max-width: 680px) {
  .play-toy-board { height: 320px; }
  .toy-card { left: 67%; width: 86px; height: 66px; }
  .toy-pencil { height: 100px; }
  .toy-ruler { width: 106px; }
  .toy-circle { left: 77%; width: 56px; height: 56px; }
}

.flow-section { background: var(--white); }
.flow-list { margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow-list li { min-height: 145px; padding: 28px 0; display: grid; grid-template-columns: 90px 0.55fr 1fr; align-items: center; gap: 30px; border-top: 1px solid var(--line); }
.flow-list li:last-child { border-bottom: 1px solid var(--line); }
.flow-list span { width: 62px; aspect-ratio: 1; display: grid; place-items: center; color: var(--navy); background: #ffe1e9; border-radius: 50%; font-size: 0.82rem; font-weight: 900; }
.flow-list h3 { margin: 0; font-size: clamp(1.35rem, 2.3vw, 1.85rem); }
.flow-list p { margin: 0; }
.flow-list div { display: contents; }
@keyframes flowNumberArrival {
  from { opacity: 0; transform: translateY(14px) scale(.78); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .flow-list > li.is-visible > span { animation: flowNumberArrival 950ms cubic-bezier(.22,1,.36,1) both; }
  .flow-list > li:nth-child(2) > span { animation-delay: 120ms; }
  .flow-list > li:nth-child(3) > span { animation-delay: 240ms; }
  .flow-list > li:nth-child(4) > span { animation-delay: 360ms; }
  .flow-list > li:nth-child(5) > span { animation-delay: 480ms; }
}

.faq-section { background: var(--ice); color: var(--navy); }
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.faq-layout .section-heading { position: static; max-width: none; margin-bottom: 0; }
.faq-layout .section-heading h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faq-list summary { position: relative; min-height: 64px; padding: 18px 60px 18px 58px; font-size: 1rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 18px; top: 20px; width: 24px; height: 24px; display: grid; place-items: center; color: var(--navy); background: #ffe1e9; border-radius: 50%; font-size: .75rem; line-height: 1; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 24px; height: 24px; display: grid; place-items: center; color: var(--navy); font-size: 1.3rem; font-weight: 500; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 58px 22px; color: var(--navy-2); font-size: .95rem; line-height: 1.9; }

.contact-section { background: var(--pink-soft); }
.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.contact-copy { position: sticky; top: calc(var(--header-height) + 42px); }
.contact-copy h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.35; letter-spacing: -0.035em; }
.contact-title-line { display: block; white-space: nowrap; }
.contact-copy > p:not(.eyebrow) { margin: 22px 0 0; }
.contact-direct { margin-top: 38px; display: grid; gap: 12px; }
.contact-direct a { padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; background: var(--white); border-radius: 14px; font-weight: 800; text-decoration: none; box-shadow: 0 12px 30px rgba(10,43,84,.08); }
.contact-direct span { color: var(--pink); font-size: 0.82rem; letter-spacing: 0.1em; }
.contact-form { position: relative; padding: clamp(30px, 5vw, 58px); background: var(--white); border-radius: 34px 8px 34px 34px; box-shadow: var(--shadow); }
.form-field + .form-field { margin-top: 24px; }
.form-field label { display: block; margin-bottom: 8px; font-weight: 800; }
.form-field input, .form-field textarea { width: 100%; padding: 14px 16px; color: var(--navy); background: var(--ice); border: 2px solid transparent; border-radius: 10px; font-size: 1rem; }
.form-field input:focus, .form-field textarea:focus { background: var(--white); border-color: var(--navy); outline: 0; }
.form-field textarea { resize: vertical; min-height: 160px; }
.form-note { margin: 18px 0; font-size: 0.85rem; }
.form-submit { width: 100%; }
.form-submit[disabled] { opacity: .65; cursor: wait; }
.form-status { min-height: 30px; margin-top: 16px; font-weight: 700; }
.form-status.is-success { color: #176b47; }.form-status.is-error { color: #a52842; }
.form-status a { text-underline-offset: 4px; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; }

.site-footer { padding: 64px 0 28px; color: var(--white); background: #172b47; }
.footer-inner { width: min(1180px, calc(100% - 64px)); margin-inline: auto; display: grid; grid-template-columns: 1fr; gap: 20px; }
.footer-logo { display: block; padding: 16px 20px; border-radius: 14px; background: linear-gradient(120deg, #ffffff, #e9eef5); }
.footer-brand img { display: block; width: min(340px, 100%); height: auto; }
.footer-brand p { margin: 12px 0 0; color: #ffb6c9; font-size: .85rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav div { display: contents; }
.footer-nav p { display: none; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.94); font-size: .85rem; font-weight: 700; text-decoration: none; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.footer-copy { width: min(1180px, calc(100% - 64px)); margin: 16px auto 0; color: rgba(255,255,255,.65); font-size: .75rem; }

/* 紹介ページ */
.about-hero { position: relative; padding: calc(var(--header-height) + 110px) 0 120px; background: var(--pink-soft); overflow: hidden; }
.about-hero::after { content: ""; position: absolute; width: 45vw; aspect-ratio: 1; right: -12vw; top: 10%; background: var(--pink); clip-path: polygon(8% 18%,100% 0,82% 100%,0 80%); opacity: .14; transform: rotate(8deg); }
.about-hero-inner { position: relative; z-index: 1; width: min(1000px, calc(100% - 64px)); margin-inline: auto; }
.about-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(2.8rem, 5.3vw, 4.8rem); line-height: 1.25; letter-spacing: -.05em; }
.about-headline-line { display: block; white-space: nowrap; }
.about-headline-first > span { display: inline; }
.about-headline-em { color: var(--pink); }
.about-hero p:last-child { max-width: 680px; margin: 34px 0 0; font-size: 1.12rem; }
.about-story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px,9vw,130px); }
.story-label { position: sticky; top: calc(var(--header-height) + 40px); align-self: start; }
.story-label h2 { margin: 0; font-size: clamp(2.1rem,4vw,3.7rem); line-height: 1.3; }
.story-block { padding: 0 0 70px; border-bottom: 1px solid var(--line); }
.story-block + .story-block { padding-top: 70px; }
.story-block h3 { margin: 0 0 20px; font-size: clamp(1.55rem,2.6vw,2.2rem); }
.story-block p { margin: 0; font-size: 1.08rem; line-height: 2; }
.about-values { background: var(--ice); color: var(--navy); }
.value-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value-item { padding: 38px; background: var(--white); border: 1px solid var(--line); border-radius: 28px 8px 28px 28px; }
.value-item span { color: var(--pink); font-size: .78rem; font-weight: 900; letter-spacing: .16em; }
.value-item h3 { margin: 34px 0 14px; font-size: 1.45rem; }
.value-item p { margin: 0; color: var(--navy-2); }
.about-cta { text-align: center; background: var(--pink); }
.about-cta h2 { margin: 0; font-size: clamp(2.2rem,4.6vw,4rem); line-height: 1.35; }
.about-cta-line { display: block; white-space: nowrap; }
.about-cta p { max-width: 640px; margin: 24px auto 34px; }
.about-cta .button { margin-inline: 6px; }

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0,1fr) minmax(380px,.82fr); gap: 22px; }
  .headline-lead { font-size: clamp(1.9rem,3.4vw,2.8rem); }
  .headline-main { font-size: clamp(2.5rem,4.5vw,3.7rem); }
  .strengths-grid { grid-template-columns: 1.2fr 1fr; }.strength-card:last-child { grid-column: 2; }.strength-card-main { grid-row: span 2; }
}

@media (max-width: 980px) {
  :root { --header-height: 88px; }
  .header-inner { width: min(100% - 32px, 760px); }
  .brand-link { flex-basis: 188px; min-width: 160px; }
  .menu-button { position: relative; z-index: 102; flex-shrink: 0; min-height: 46px; padding: 8px 14px; display: flex; align-items: center; gap: 10px; color: var(--navy); background: var(--white); border: 2px solid var(--navy); border-radius: 999px; font-weight: 800; cursor: pointer; }
  .menu-button-label { white-space: nowrap; }
  .menu-button-lines { width: 20px; height: 12px; display: grid; align-content: space-between; }
  .menu-button-lines i { display: block; height: 2px; background: currentColor; border-radius: 99px; transition: transform 180ms ease; }
  .menu-button[aria-expanded="true"] .menu-button-lines i:first-child { transform: translateY(5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-button-lines i:last-child { transform: translateY(-5px) rotate(-45deg); }
  .site-navigation { position: fixed; inset: 0; z-index: 101; min-height: 100svh; padding: 112px 32px 40px; display: grid; align-content: start; gap: 4px; background: var(--white); transform: translateX(100%); visibility: hidden; transition: transform 240ms ease, visibility 240ms; }
  .site-navigation.is-open { transform: translateX(0); visibility: visible; }
  .site-navigation a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.12rem; }
  .site-navigation .navigation-cta { margin-top: 20px; border-bottom: 0; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 24px); background: linear-gradient(165deg,var(--white) 0 53%,var(--pink-pale) 53% 100%); }
  .hero-inner { width: min(100% - 40px,720px); grid-template-columns: 1fr; grid-template-areas: "heading" "visual" "details"; gap: 24px; }
  .hero-copy { max-width: 680px; }
  .headline-lead { font-size: clamp(2rem,7vw,3rem); }
  .headline-main { font-size: clamp(2.7rem,8.5vw,4.4rem); }
  .hero-visual { width: min(100%,610px); margin-inline: auto; }
  .section-heading-split, .worry-layout, .play-grid, .faq-layout, .contact-grid, .story-grid { grid-template-columns: 1fr; }
  .empathy-message { max-width: 620px; margin-inline: auto; }
  .strengths-grid { grid-template-columns: repeat(2,1fr); }.strength-card-main { grid-column: 1/-1; grid-row: auto; transform: none; }.strength-card:last-child { grid-column: auto; }
  .web-service-feature { grid-template-columns: 1fr; padding-bottom: 24px; }.browser-art { width: 82%; }
  .service-strip { grid-template-columns: repeat(2,1fr); }.service-tile-tall { grid-row: span 1; }.service-tile-wide { grid-column: span 1; }
  .play-copy { max-width: 650px; }.character-stage { min-height: 420px; }
  .flow-list li { grid-template-columns: 70px 1fr; }.flow-list div { display: block; }.flow-list p { margin-top: 8px; }
  .faq-layout .section-heading, .contact-copy, .story-label { position: static; }
  .contact-copy { max-width: 720px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .value-row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 82px 0; }
  .section-inner, .footer-inner, .footer-copy { width: calc(100% - 32px); }
  .section-heading { margin-bottom: 46px; }
  .section-heading-split { gap: 20px; }
  .section-heading h2 { font-size: clamp(2.25rem,11vw,3.3rem); }
  .worry-list li { gap: 18px; font-size: 1.05rem; }
  .strengths-grid { grid-template-columns: 1fr; }.strength-card:last-child { grid-column: auto; }
  .strength-card { min-height: 270px; }
  .web-service-feature { border-radius: 28px 8px 28px 8px; }.browser-art { width: 82%; border-width: 6px; box-shadow: -12px 18px 0 rgba(255, 82, 124, 0.2); }.browser-page { min-height: 230px; padding: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 20px; }.browser-copy span { width: min(120px, 100%); }.browser-bar { height: 40px; padding: 14px; }
  .service-strip { grid-template-columns: 1fr; }.service-tile { min-height: 170px; }
  .work-group-heading { display: block; }.work-group-heading > p { margin-top: 12px; }
  .coverflow-stage { height: 450px; }.coverflow-web .coverflow-stage { height: 290px; }
  .work-card-flyer { width: min(280px,72vw); }.work-card-web { width: min(460px,90vw); }
  .work-card[data-position="-1"] { transform: translate(-96%,-50%) rotateY(16deg) scale(.72); }.work-card[data-position="1"] { transform: translate(-4%,-50%) rotateY(-16deg) scale(.72); }
  .work-card[data-position="-2"], .work-card[data-position="2"] { opacity: 0; }
  .character-stage { min-height: 320px; }.character-controls { grid-template-columns: repeat(3,auto); }.character-controls button[data-tilt="up"] { grid-column: 2; }.character-controls button[data-tilt="left"] { grid-column: 1; }.character-controls button[data-tilt="reset"] { grid-column: 2; }.character-controls button[data-tilt="right"] { grid-column: 3; }.character-controls button[data-tilt="down"] { grid-column: 2; }
  .flow-list li { gap: 12px; }.flow-list span { width: 52px; }
  .faq-list summary { padding-right: 52px; }.faq-list details p { margin-right: 0; }
  .footer-nav { gap: 4px 18px; }
  .site-footer { padding-top: 40px; }
  .footer-logo { padding: 16px; }
  .about-hero { padding: calc(var(--header-height) + 76px) 0 84px; }.about-hero-inner { width: calc(100% - 32px); }
  .about-hero h1 { font-size: clamp(2.35rem,11vw,3.4rem); }
  .about-headline-first > span { display: block; }
  .story-block { padding-bottom: 48px; }.story-block + .story-block { padding-top: 48px; }
}

@media (max-width: 560px) {
  .header-inner { width: calc(100% - 24px); gap: 12px; }
  .brand-link { flex-basis: 158px; min-width: 0; }
  .menu-button { padding: 7px 11px; gap: 7px; }
  .menu-button-label { font-size: .82rem; }
  .hero { padding-bottom: 40px; }
  .hero-inner { width: calc(100% - 32px); }
  .hero-brand { margin-bottom: 14px; }
  .hero-kicker { font-size: .85rem; }
  .headline-lead { font-size: clamp(1.75rem,8vw,2.25rem); letter-spacing: -.05em; }
  .headline-main { margin-top: .16em; display: grid; justify-items: start; font-size: clamp(2.55rem,11.6vw,3.5rem); line-height: 1.2; }
  .hero-description { margin-top: 22px; line-height: 1.85; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }.button { width: 100%; }
  .hero-visual { margin-top: 0; aspect-ratio: 1; }
  .hero-note { right: -2px; bottom: 0; width: 64%; padding: 11px 14px; font-size: .74rem; }
  .intro-lockup { gap: 2px; max-width: calc(100% - 16px); }
  .intro-overlay-title { padding-inline: 0; font-size: clamp(1.25rem, 6.9vw, 2.3rem); letter-spacing: 0; gap: .01em; }
  .intro-overlay-plane { width: clamp(84px, 28vw, 156px); }
  .intro-overlay-skip { right: 12px; bottom: 10px; }
  .empathy-message { padding: 50px 24px; }
  .slider-controls { gap: 18px; }
  .contact-form { padding: 28px 20px; }
  .about-cta .button { margin: 5px 0; }
}

@media (max-width: 350px) {
  .brand-link { flex-basis: 138px; }
  .menu-button { padding-inline: 9px; }
  .menu-button-lines { width: 17px; }
  .headline-lead { font-size: 1.62rem; }
  .headline-main { font-size: 2.35rem; }
  .contact-copy h2, .about-cta h2 { font-size: 1.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* コンパクトな問い合わせ・制作物ボタン */
.button, .navigation-cta {
  border-radius: 16px;
  background: #edabc0;
  border-color: #e69bb3;
  box-shadow: 0 3px 0 #d993aa, 0 5px 12px rgba(151,65,94,.07), inset 0 1px 0 rgba(255,255,255,.65);
}
.button { min-width: 0; min-height: 48px; padding: 11px 22px; }
.button-secondary { background: #fff2f6; border-color: #edc7d3; box-shadow: 0 3px 0 #ecd1db, 0 5px 12px rgba(151,65,94,.04); }
.button:hover, .navigation-cta:hover { background-color: #e793af; }
.button-secondary:hover, .button-secondary:focus-visible { background-color: #f8d9e4; }
.hero-actions { display: flex; gap: 14px; }
.hero-actions .button { width: 144px; flex: 0 0 144px; font-size: .95rem; }
@media (max-width: 350px) {
  .hero-actions { gap: 10px; }
  .hero-actions .button { width: calc((100% - 10px) / 2); flex-basis: calc((100% - 10px) / 2); padding-inline: 12px; }
}
.hero-character-tools .reset-button, .character-controls .reset-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  width: 48px; min-width: 48px; height: 48px; min-height: 48px; padding: 0; border: 1px solid #edc7d3;
  border-radius: 15px; color: var(--navy); background: #fffafd;
  box-shadow: 0 3px 8px rgba(151,65,94,.08); font-size: .875rem; font-weight: 600;
  transition: background-color 200ms ease, transform 200ms ease;
}
.reset-button:hover { background-color: #fff0f5; }
.reset-icon { display: inline-block; font-family: Arial, sans-serif; font-size: 24px; line-height: 1; }
@keyframes resetSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .is-resetting .reset-icon { animation: resetSpin 650ms cubic-bezier(.22,1,.36,1); }
  .is-resetting .reset-button { animation: ctaPress 420ms cubic-bezier(.22,1,.36,1); }
  .is-resetting [data-character-card], .is-resetting .hero-surroundings, .is-resetting .play-toy {
    transition: transform 700ms cubic-bezier(.22,1,.36,1);
  }
}
