@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800&family=Zen+Maru+Gothic:wght@500;700;900&display=swap");

:root {
  --ink: #27231f;
  --paper: #fff8e9;
  --cream: #fffdf7;
  --orange: #ff6b35;
  --pink: #ff8db3;
  --blue: #71c7ec;
  --green: #a8d672;
  --yellow: #ffd95a;
  --purple: #ad92e8;
  --line: 2px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: var(--line);
  border-radius: 15px 15px 15px 5px;
  background: var(--orange);
  color: white;
  font-size: 23px;
  line-height: 1;
  transform: rotate(-4deg);
}

.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.site-header nav a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.site-header nav a:not(:hover) { text-decoration-color: transparent; }

.nav-x {
  padding: 8px 16px;
  border: var(--line);
  border-radius: 999px;
  background: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}

.nav-x:hover { box-shadow: 1px 1px 0 var(--ink); transform: translate(2px, 2px); }

.hero {
  position: relative;
  display: grid;
  min-height: 780px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 130px max(24px, calc((100% - 1180px) / 2)) 90px;
  background:
    radial-gradient(circle at 9% 23%, rgba(255,217,90,.35) 0 4px, transparent 5px),
    radial-gradient(circle at 13% 27%, rgba(255,141,179,.4) 0 6px, transparent 7px),
    linear-gradient(112deg, #fff8e9 0 53%, #dff2f7 53% 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
}

.eyebrow, .section-kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.eyebrow span { color: var(--orange); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 26px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(62px, 7.2vw, 108px);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .98;
}

.scribble { position: relative; z-index: 0; white-space: nowrap; }
.scribble::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -1%;
  bottom: 3%;
  left: 2%;
  height: 22%;
  border-radius: 60% 30% 45% 40%;
  background: var(--pink);
  transform: rotate(-1deg);
}

.lead { margin-bottom: 30px; font-size: 17px; font-weight: 500; line-height: 2; }

.round-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 13px 18px 13px 22px;
  border: var(--line);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}

.round-link:hover { box-shadow: 1px 1px 0 var(--ink); transform: translate(3px, 3px); }
.round-link span { font-size: 20px; }

.hero-playground { position: relative; min-height: 540px; }

.sun {
  position: absolute;
  top: 24px;
  right: 45px;
  width: 110px;
  height: 110px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset -12px -8px 0 rgba(255,107,53,.18);
}

.sun::after {
  content: "";
  position: absolute;
  inset: 44px -26px;
  border-top: var(--line);
  border-bottom: var(--line);
  transform: rotate(-26deg);
}

.orbit { position: absolute; border: 2px dashed rgba(39,35,31,.33); border-radius: 50%; }
.orbit-one { inset: 40px 20px 55px 15px; transform: rotate(14deg); }
.orbit-two { inset: 105px 75px 5px 50px; transform: rotate(-18deg); }

.play-card {
  position: absolute;
  width: 220px;
  height: 250px;
  padding: 24px;
  border: var(--line);
  border-radius: 28px 28px 28px 8px;
  box-shadow: var(--shadow);
}

.card-action {
  display: inline-block;
  margin-bottom: 32px;
  padding: 3px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  font-size: 13px;
  font-weight: 800;
}

.write-card { z-index: 3; top: 40px; left: 5%; background: #fff5f0; transform: rotate(-8deg); }
.watch-card { z-index: 2; top: 165px; right: 0; background: var(--blue); transform: rotate(8deg); }
.paint-card { z-index: 4; bottom: 4px; left: 23%; background: var(--purple); transform: rotate(-2deg); }

.paper-line { display: block; width: 100%; height: 8px; margin: 15px 0; border-radius: 99px; background: var(--ink); opacity: .82; }
.paper-line.short { width: 67%; }
.paper-line.tiny { width: 42%; }

.map-pin { position: absolute; top: 88px; left: 82px; width: 54px; height: 54px; border: var(--line); border-radius: 50% 50% 50% 8px; background: var(--orange); transform: rotate(-45deg); }
.map-pin::after { content: ""; position: absolute; inset: 16px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); }
.map-road { position: absolute; height: 9px; border: 2px solid var(--ink); border-radius: 99px; background: var(--cream); }
.road-one { right: 18px; bottom: 44px; width: 115px; transform: rotate(-30deg); }
.road-two { left: 5px; bottom: 70px; width: 95px; transform: rotate(27deg); }

.paint-splotch { position: absolute; border: var(--line); border-radius: 50%; }
.splotch-one { top: 70px; left: 35px; width: 110px; height: 90px; background: var(--pink); transform: rotate(20deg); }
.splotch-two { right: 24px; bottom: 30px; width: 80px; height: 88px; background: var(--yellow); }
.splotch-three { bottom: 25px; left: 20px; width: 48px; height: 48px; background: var(--green); }

.play-note { position: absolute; z-index: 8; right: 28px; bottom: -7px; padding: 10px 15px; background: var(--cream); font-size: 13px; font-weight: 800; line-height: 1.5; transform: rotate(4deg); }

.services { position: relative; padding: 130px max(24px, calc((100% - 1180px) / 2)); background: var(--cream); }
.section-heading { display: flex; align-items: end; gap: 34px; margin-bottom: 55px; }
.section-heading .section-kicker { align-self: center; margin: 0 auto 0 0; writing-mode: vertical-rl; }
.section-heading h2, .company h2 { margin: 0; font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(42px, 5vw, 68px); font-weight: 900; letter-spacing: -.05em; line-height: 1.15; }
.section-heading > p:last-child { max-width: 240px; margin: 0 0 8px; font-weight: 700; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { position: relative; display: flex; min-height: 540px; flex-direction: column; padding: 26px; overflow: hidden; border: var(--line); border-radius: 30px 30px 30px 8px; box-shadow: 6px 6px 0 var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.service-card:hover { box-shadow: 10px 12px 0 var(--ink); transform: translateY(-6px) rotate(-.5deg); }
.service-card.coming-soon { cursor: default; }
.service-card.coming-soon:hover { box-shadow: 6px 6px 0 var(--ink); transform: none; }
.service-card.hitomoji { background: #ffcfbe; }
.service-card.tomarigi { background: #bde5f5; }
.service-card.rakugake { background: #cfc2ef; }

.service-topline { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .11em; }
.service-number { display: grid; width: 38px; height: 38px; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: rgba(255,255,255,.55); }
.service-status { padding: 3px 9px; border-radius: 99px; background: var(--ink); color: white; }
.service-status.making { background: var(--yellow); color: var(--ink); }

.service-icon { position: relative; width: 145px; height: 145px; margin: 45px auto 36px; border: var(--line); background: var(--cream); }
.icon-pen { display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 12px var(--pink); font-family: "Zen Maru Gothic", sans-serif; font-size: 70px; font-weight: 900; transform: rotate(-6deg); }
.icon-view { overflow: hidden; border-radius: 50% 50% 8px 50%; background: #eefaff; transform: rotate(5deg); }
.mini-sun { position: absolute; top: 25px; right: 24px; width: 35px; height: 35px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); }
.mini-hill { position: absolute; left: 12px; bottom: -40px; width: 165px; height: 120px; border: var(--line); border-radius: 50% 50% 0 0; background: var(--green); transform: rotate(-7deg); }
.icon-paint { border-radius: 45% 55% 38% 62%; background: var(--yellow); transform: rotate(-5deg); }
.paint-dot { position: absolute; border: 2px solid var(--ink); border-radius: 50%; }
.dot-one { top: 22px; left: 28px; width: 45px; height: 45px; background: var(--pink); }
.dot-two { top: 55px; right: 18px; width: 52px; height: 52px; background: var(--blue); }
.dot-three { bottom: 15px; left: 35px; width: 38px; height: 38px; background: var(--orange); }
.dot-four { top: 18px; right: -10px; width: 24px; height: 24px; background: var(--green); }

.service-verb { margin: 0 0 2px; font-size: 14px; font-weight: 800; }
.service-card h3 { margin-bottom: 15px; font-family: "Zen Maru Gothic", sans-serif; font-size: 36px; font-weight: 900; line-height: 1.2; }
.service-description { font-size: 14px; font-weight: 500; line-height: 1.85; }
.service-link { margin-top: auto; padding-top: 22px; border-top: 1.5px solid rgba(39,35,31,.45); font-weight: 800; }
.service-link span { float: right; font-size: 22px; }

.thought { position: relative; padding: 135px 24px; overflow: hidden; border-block: var(--line); background: var(--yellow); text-align: center; }
.thought::before, .thought::after { content: ""; position: absolute; width: 220px; height: 220px; border: var(--line); border-radius: 42% 58% 65% 35%; }
.thought::before { top: -100px; left: -60px; background: var(--blue); transform: rotate(24deg); }
.thought::after { right: -70px; bottom: -110px; background: var(--pink); transform: rotate(-17deg); }
.thought-sticker { position: absolute; top: 38px; right: 12%; display: grid; width: 86px; height: 86px; place-items: center; border: var(--line); border-radius: 50%; background: var(--orange); color: white; font-size: 13px; font-weight: 900; line-height: 1.2; transform: rotate(12deg); }
.thought-copy { margin-bottom: 32px; font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(42px, 6vw, 78px); font-weight: 900; letter-spacing: -.05em; line-height: 1.25; }
.thought-copy span { position: relative; }
.thought-copy span::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 8px; border-radius: 50%; background: var(--orange); transform: rotate(-1deg); }
.thought-body { margin-bottom: 0; font-weight: 700; }

.company { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding: 140px max(24px, calc((100% - 1050px) / 2)); background: var(--paper); }
.company-intro > p:not(.section-kicker) { margin: 25px 0 35px; font-weight: 600; }
.x-card { display: flex; max-width: 420px; align-items: center; gap: 15px; padding: 15px 18px; border: var(--line); border-radius: 18px 18px 18px 5px; background: var(--cream); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; transition: transform .18s, box-shadow .18s; }
.x-card:hover { box-shadow: 1px 1px 0 var(--ink); transform: translate(3px, 3px); }
.x-avatar { display: grid; width: 52px; height: 52px; flex: 0 0 auto; place-items: center; border: var(--line); border-radius: 50%; background: var(--pink); font-family: "Zen Maru Gothic", sans-serif; font-size: 24px; font-weight: 900; }
.x-card > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.35; }
.x-card small { color: #686158; font-size: 11px; font-weight: 700; }
.x-card strong { font-size: 17px; }
.x-card em { color: #686158; font-size: 13px; font-style: normal; }
.x-card b { margin-left: auto; font-size: 20px; }

.company-data { margin: 0; border-top: var(--line); }
.company-data div { display: grid; grid-template-columns: 135px 1fr; gap: 20px; padding: 22px 6px; border-bottom: 1.5px solid var(--ink); }
.company-data dt { font-size: 13px; font-weight: 800; }
.company-data dd { margin: 0; font-weight: 600; }
.company-data a { text-underline-offset: 5px; }

footer { padding: 75px max(24px, calc((100% - 1180px) / 2)) 24px; background: var(--ink); color: var(--paper); }
.footer-message { display: flex; align-items: center; gap: 24px; }
.brand-mark.small { width: 58px; height: 58px; border-color: var(--paper); font-size: 30px; }
.footer-message p { margin: 0; font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(36px, 5vw, 62px); font-weight: 900; letter-spacing: -.04em; line-height: 1.2; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 80px; padding-top: 20px; border-top: 1px solid rgba(255,248,233,.35); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-underline-offset: 5px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.service-card:nth-child(2) { transition-delay: .1s; }
.service-card:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 900px) {
  .site-header nav a:not(.nav-x) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 135px; background: linear-gradient(165deg, #fff8e9 0 54%, #dff2f7 54% 100%); }
  .hero-copy { position: relative; z-index: 3; }
  .hero-playground { width: min(590px, 100%); min-height: 500px; margin: -15px auto 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 410px; display: grid; grid-template-columns: 150px 1fr; column-gap: 26px; }
  .service-topline { grid-column: 1 / -1; }
  .service-icon { grid-row: 2 / 6; margin: 40px 0 20px; align-self: center; }
  .service-verb { align-self: end; margin-top: 38px; }
  .service-card h3 { margin-bottom: 10px; }
  .service-link { grid-column: 2; }
  .company { gap: 55px; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 32px); padding-top: 17px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 38px; height: 38px; font-size: 20px; }
  .nav-x { padding: 7px 12px; font-size: 12px; }
  .hero { gap: 25px; padding: 118px 20px 75px; }
  h1 { font-size: clamp(58px, 19vw, 78px); }
  .lead { font-size: 15px; }
  .desktop-only { display: none; }
  .hero-playground { min-height: 410px; transform: scale(.86); transform-origin: top center; margin-bottom: -55px; }
  .play-card { width: 185px; height: 218px; padding: 20px; }
  .write-card { left: -5px; }
  .watch-card { top: 125px; right: -4px; }
  .paint-card { left: 20%; }
  .sun { right: 5px; width: 85px; height: 85px; }
  .services { padding: 90px 18px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-heading .section-kicker { margin-bottom: 12px; writing-mode: initial; }
  .section-heading h2, .company h2 { font-size: 44px; }
  .section-heading > p:last-child { margin-top: 12px; }
  .service-card { display: flex; min-height: 515px; padding: 23px; }
  .service-icon { align-self: auto; margin: 35px auto 28px; }
  .service-verb { margin-top: 0; }
  .service-link { grid-column: auto; }
  .thought { padding: 105px 18px; }
  .thought-sticker { top: 20px; right: 18px; width: 70px; height: 70px; }
  .thought-body br { display: none; }
  .company { grid-template-columns: 1fr; gap: 60px; padding: 95px 20px; }
  .company-data div { grid-template-columns: 100px 1fr; gap: 12px; }
  footer { padding-top: 60px; }
  .footer-bottom { margin-top: 55px; }
}

@media (max-width: 390px) {
  .brand > span:last-child { display: none; }
  .hero-playground { width: 100%; margin-inline: 0; transform: scale(.78); margin-bottom: -85px; }
  .company-data div { grid-template-columns: 1fr; gap: 2px; }
}
