/* ============================================================
   MY VOXELS — Roblox Game Studio page  (2026-09 refresh)
   Key visuals assemble out of blocks; vivid palette from the art.
   Built from design-drafts/2026-09-16_GameStudioHP_ブロック絵案.html
   2026-10: content rebuilt around the games. Each game is one big panel in its own world's colours.
   ============================================================ */

:root {
    --paper: #F7F4EC; --paper-2: #EFEBE0; --ink: #141414; --ink-2: #4B4A45; --mute: #8A887F; --line: #DDD9CE;
    --yel: #F5D428; --yel-deep: #D0BA00; --yel-soft: #FBF1B8;
    --blue: #1E6BFF; --cyan: #22D3FF; --pink: #FF2E88; --red: #FF3B30; --orange: #FF7A1A; --green: #2ED47A; --violet: #7A3CFF; --night: #12163A;
    --g-sun: linear-gradient(90deg, #FF7A1A, #FF2E88); --g-sky: linear-gradient(90deg, #22D3FF, #1E6BFF); --g-neon: linear-gradient(90deg, #F5D428, #FF2E88); --g-uv: linear-gradient(90deg, #7A3CFF, #FF2E88, #FF7A1A);
    --font: 'Murecho', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    --mx: 1320px; --gx: clamp(20px, 5vw, 64px); --sec: clamp(96px, 12vw, 176px);
    --ease: cubic-bezier(.22, 1, .36, 1);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  /* 改行: 会社サイト（style.css）と同じ。日本語は <wbr> の位置でしか折り返さない。<wbr> が無い長い文字列だけ overflow-wrap で最後の手段として折る */
  body { font-family: var(--font); background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.95; overflow-x: hidden; -webkit-font-smoothing: antialiased; line-break: strict; word-break: keep-all; overflow-wrap: anywhere; }
  p { text-wrap: pretty; }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
  .wrap { max-width: var(--mx); margin-inline: auto; padding-inline: var(--gx); }
  .label { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); line-height: 1.4; }
  .g { -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
  .g--sun { background-image: var(--g-sun); } .g--sky { background-image: var(--g-sky); } .g--neon { background-image: var(--g-neon); } .g--uv { background-image: var(--g-uv); }
  /* luminous colour clouds behind the whole page */
  .mesh { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
  .mesh i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
  .mesh i:nth-child(1) { width: 60vw; height: 60vw; left: -18vw; top: -22vw; background: var(--cyan); }
  .mesh i:nth-child(2) { width: 50vw; height: 50vw; right: -16vw; top: 18vh; background: var(--pink); animation-delay: -6s; }
  .mesh i:nth-child(3) { width: 55vw; height: 55vw; left: 20vw; bottom: -30vw; background: var(--yel); animation-delay: -12s; }
  @keyframes drift { to { transform: translate(6vw, 4vh) scale(1.08); } }

  /* ---------- nav ---------- */
  .nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; transition: background .35s, box-shadow .35s; }
  .nav.is-solid { background: rgba(247, 244, 236, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
  .nav__in { max-width: 1400px; margin-inline: auto; padding-inline: var(--gx); height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
  .brand__mark { width: 30px; height: 25px; object-fit: contain; }
  .brand__name { font-size: 15px; font-weight: 900; letter-spacing: .1em; }
  .brand__sub { font-size: 12px; font-weight: 500; letter-spacing: .16em; color: var(--mute); margin-left: 6px; }
  .nav__links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
  .nav__links a:not(.btn) { position: relative; padding: 6px 0; }
  .nav__links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--yel); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
  .nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
  @media (max-width: 1140px) { .brand__sub { display: none; } }
  @media (max-width: 1000px) { .nav__links a:not(.btn) { display: none; } }

  /* ---------- buttons ---------- */
  .btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 30px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .04em; line-height: 1.2; position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), color .3s; }
  .btn::before { content: ''; position: absolute; inset: 0; background: var(--yel); border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
  .btn:hover::before { transform: translateY(0); }
  .btn:hover { transform: translateY(-2px); color: var(--ink); }
  .btn--yel { background: var(--yel); color: var(--ink); }
  .btn--yel::before { background: var(--ink); }
  .btn--yel:hover { color: #fff; }
  .btn--white { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .btn--white::before { background: #fff; }
  .btn--sm { padding: 11px 20px; font-size: 13px; }
  .btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .35s var(--ease); }
  .btn:hover svg { transform: translateX(4px); }

  /* ---------- mosaic (blocks that assemble into the picture) ---------- */
  .stage { position: relative; overflow: hidden; background: #0E1020; perspective: 1400px; }
  .mosaic { position: absolute; inset: 0; display: grid; transform-style: preserve-3d; will-change: transform; }
  .tile { position: relative; background-repeat: no-repeat; opacity: 0; transform: translate3d(var(--tx), var(--ty), var(--tz)) rotateX(var(--rx)) rotateY(var(--ry)); will-change: transform, opacity; backface-visibility: hidden; }
  .tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,0) 35%, rgba(0,0,0,0) 65%, rgba(0,0,0,.16)); opacity: var(--edge, 1); transition: opacity 1.2s ease 1.2s; }
  .tile.on { opacity: 1; transform: none; transition: transform 1s var(--ease), opacity .6s ease; margin: -0.7px; }   /* tiny overlap hides sub-pixel seams once assembled */
  .tile.on::after { opacity: .22; }
  .i0 { background-image: url(../assets/roblox/yokai_hero.jpg); } .i1 { background-image: url(../assets/roblox/yokai_shop_l.jpg); } .i2 { background-image: url(../assets/roblox/yokai_dex_l.jpg); }

  /* ---------- hero ---------- */
  /* The picture keeps its 16:9 shape at every width and shrinks as a whole. What sits on it is sized from the box's width (cqw),
     so it shrinks with the picture. Wide: all the text lies over the picture. 960px and under: only the kicker and the title
     stay on it; the lead and the buttons move below the picture. */
  .hero { padding-top: 104px; }
  .hero__box { display: grid; grid-template-columns: minmax(0, 1fr); container-type: inline-size; }
  .hero__glow, .hero__text { grid-area: 1 / 1; }
  @property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
  .hero__glow { position: relative; padding: 5px; border-radius: calc(clamp(14px, 2.7cqw, 32px) + 5px); background: conic-gradient(from var(--ang), var(--cyan), var(--blue), var(--pink), var(--orange), var(--yel), var(--cyan)); animation: spin 9s linear infinite; }
  .hero__glow::before { content: ''; position: absolute; inset: -6px; border-radius: calc(clamp(14px, 2.7cqw, 32px) + 11px); background: inherit; filter: blur(34px); opacity: .55; z-index: -1; }
  @keyframes spin { to { --ang: 360deg; } }
  .hero__frame { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(14px, 2.7cqw, 32px); overflow: hidden; cursor: pointer; box-shadow: 0 40px 80px rgba(20, 20, 20, .18); background: #0E1020; }
  .hero__frame .stage { position: absolute; inset: 0; border-radius: inherit; }
  .hero__video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
  .hero__video.is-on { opacity: 1; }
  .hero__pop { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }   /* the blocks that pop up under the pointer (drawn by the script) */
  .hero__scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(14,16,32,.35) 0%, rgba(14,16,32,0) 28%, rgba(14,16,32,0) 45%, rgba(14,16,32,.82) 100%), linear-gradient(90deg, rgba(14,16,32,.55) 0%, rgba(14,16,32,.15) 45%, rgba(14,16,32,0) 70%); }
  /* clicks pass through the text to the picture (next scene); the links still take them. The vw lines are for browsers without cqw */
  .hero__text { z-index: 3; align-self: end; justify-self: start; min-width: 0; padding: 0 calc(4.5vw + 5px) calc(4.5vw + 5px); padding: 0 calc(5cqw + 5px) calc(5cqw + 5px); color: #fff; pointer-events: none; }
  .hero__text a { pointer-events: auto; }
  .hero__kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .18em; margin-bottom: 18px; color: rgba(255,255,255,.9); }
  .hero__kicker i { width: 12px; height: 12px; background: var(--cyan); box-shadow: 2px 2px 0 rgba(0,0,0,.5); }
  .hero__title { font-size: clamp(26px, 8vw, 120px); font-size: clamp(26px, 9cqw, 120px); font-weight: 900; line-height: 1.02; letter-spacing: -.035em; text-shadow: 0 6px 40px rgba(0,0,0,.45); text-wrap: balance; }
  .hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
  .hero__title .w > span { display: inline-block; animation: up 1.1s var(--ease) .6s both; }
  .hero__title .w:nth-child(3) > span { animation-delay: .72s; }
  @keyframes up { from { transform: translateY(110%); } to { transform: translateY(0); } }
  /* no entrance animation on the lead: with one, Chrome leaves the paragraph unpainted after it finishes (found 2026-10-04) */
  .hero__lead { margin-top: 18px; max-width: 32em; font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.94); text-shadow: 0 2px 16px rgba(0,0,0,.6); }
  .hero__lead b { color: #fff; font-weight: 900; }
  .hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; animation: fade 1s var(--ease) 1.3s both; }
  @keyframes fade { from { opacity: 0; transform: translateY(14px); } }
  .hero__side { position: absolute; right: 4.5vw; right: 5cqw; bottom: 4.5vw; bottom: 5cqw; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; animation: fade 1s var(--ease) 1.5s both; }
  .hero__now { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 10px; }
  .hero__now i { width: 8px; height: 8px; background: var(--yel); box-shadow: 0 0 0 2px rgba(0,0,0,.4); animation: blink 1.6s ease-in-out infinite; }
  @keyframes blink { 50% { opacity: .3; } }
  .dots { display: flex; gap: 8px; }
  .dots button { width: 34px; height: 6px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s, width .3s; }
  .dots button[aria-selected="true"] { background: var(--yel); width: 52px; }
  .hero__cap { grid-area: 2 / 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding: 18px 8px 0; }
  .hero__cap .label { color: var(--ink-2); }
  @media (max-width: 960px) {
    .hero { padding-top: 90px; }
    .hero__text { display: contents; }
    .hero__head { grid-area: 1 / 1; z-index: 3; align-self: end; justify-self: start; padding: 0 calc(5cqw + 5px) calc(5cqw + 5px); color: #fff; pointer-events: none; }
    .hero__kicker { gap: 8px; margin-bottom: clamp(5px, 1.8cqw, 16px); font-size: clamp(10px, 1.7cqw, 13px); letter-spacing: .08em; }
    .hero__kicker i { width: 9px; height: 9px; }
    .hero__body { grid-area: 3 / 1; padding: 22px 8px 0; color: var(--ink); pointer-events: auto; }
    .hero__lead { margin-top: 0; max-width: 36em; color: var(--ink-2); text-shadow: none; }
    .hero__cta { margin-top: 20px; }
    .hero__body .btn--white { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  }
  @media (max-width: 640px) { .hero__now { display: none; } .hero__cap .label { letter-spacing: .1em; } .dots { gap: 6px; } .dots button { width: 20px; height: 5px; } .dots button[aria-selected="true"] { width: 30px; } }

  /* ---------- sections ---------- */
  .sec { padding-block: var(--sec); position: relative; }
  .sec--tight { padding-top: 0; }
  .sec__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 48px; align-items: end; margin-bottom: 56px; }
  .sec__k { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
  .sec__k i { width: 10px; height: 10px; background: var(--yel); box-shadow: 2px 2px 0 var(--ink); }
  #studio .sec__k i { background: var(--cyan); box-shadow: 2px 2px 0 rgba(0,0,0,.5); } #services .sec__k i { background: var(--orange); } #works .sec__k i { background: var(--pink); } #company .sec__k i { background: var(--violet); } #news .sec__k i { background: var(--cyan); } #contact .sec__k i { background: var(--yel); box-shadow: 2px 2px 0 rgba(0,0,0,.5); }
  .sec__title { font-size: clamp(34px, 5.4vw, 76px); font-weight: 900; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
  .sec__title--sm { font-size: clamp(26px, 3.2vw, 44px); }   /* the administrative sections (company, news) */
  .sec__intro { font-size: 15px; line-height: 2; color: var(--ink-2); max-width: 30em; justify-self: end; }
  @media (max-width: 860px) { .sec__head { grid-template-columns: 1fr; } .sec__intro { justify-self: start; } }

  /* ---------- strengths: three short columns on a dark band ---------- */
  .edge { margin: clamp(56px, 7vw, 104px) 12px 0; padding-block: clamp(64px, 8vw, 120px); border-radius: 36px; background: var(--night); color: var(--paper); isolation: isolate; overflow: hidden; }
  .edge::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(46% 60% at 100% 0%, rgba(34,211,255,.26), transparent 62%), radial-gradient(44% 56% at 0% 100%, rgba(255,46,136,.3), transparent 62%), radial-gradient(34% 40% at 58% 110%, rgba(122,60,255,.34), transparent 62%); }
  .edge .label { color: rgba(255,255,255,.7); }
  .edge .sec__intro { color: rgba(255,255,255,.82); }
  .edge__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 56px); }
  .edge__item { padding-top: 24px; border-top: 2px solid rgba(255,255,255,.9); --g: var(--g-sky); }
  .edge__item:nth-child(2) { --g: var(--g-neon); }
  .edge__item:nth-child(3) { --g: var(--g-uv); }
  .edge__n { display: block; width: fit-content; font-size: clamp(44px, 5vw, 72px); font-weight: 900; line-height: 1; letter-spacing: -.04em; background-image: var(--g); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .edge__h { margin-top: 16px; font-size: clamp(23px, 2.4vw, 33px); font-weight: 900; line-height: 1.32; letter-spacing: -.025em; }
  .edge__p { margin-top: 16px; font-size: 15px; line-height: 2; color: #D8D5CA; }
  @media (max-width: 900px) { .edge__grid { grid-template-columns: 1fr; } .edge__h br { display: none; } }

  /* ---------- services: a ruled list, not cards ---------- */
  .svc { list-style: none; border-top: 2px solid var(--ink); }
  .svc li { display: grid; grid-template-columns: 56px minmax(0, .85fr) minmax(0, 1.15fr); gap: 10px clamp(20px, 3vw, 48px); align-items: baseline; padding: clamp(24px, 2.8vw, 36px) 0; border-bottom: 1.5px solid var(--line); }
  .svc__n { font-size: 14px; font-weight: 900; letter-spacing: .12em; line-height: 1.4; color: var(--pink); font-variant-numeric: tabular-nums; }
  .svc__h { font-size: clamp(22px, 2.3vw, 31px); font-weight: 900; line-height: 1.4; letter-spacing: -.025em; }
  .svc__p { font-size: 15.5px; line-height: 2; color: var(--ink-2); }
  @media (max-width: 860px) { .svc li { grid-template-columns: 40px minmax(0, 1fr); } .svc__p { grid-column: 2; } }
  .scope { margin-top: 30px; }
  .scope__k { font-size: 13px; font-weight: 900; letter-spacing: .1em; line-height: 1.6; }
  .scope__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .scope__list li { padding: 7px 15px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 13px; font-weight: 700; line-height: 1.5; }

  /* photos (the classroom) and screens */
  .photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .photo { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--paper-2); box-shadow: 0 24px 48px rgba(20, 20, 20, .14); }
  .photo--wide { grid-column: 1 / -1; }
  .photo--169 { aspect-ratio: 16 / 9; }
  .photo img { width: 100%; height: 100%; object-fit: cover; }
  .photo figcaption { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 5px 12px; border-radius: 999px; background: rgba(14, 16, 32, .8); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; }

  /* ---------- games: one big panel per game, each in its own world's colours ---------- */
  .games { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); }
  .game { position: relative; isolation: isolate; border-radius: 36px; overflow: hidden; padding: clamp(20px, 3.4vw, 48px); --pad: clamp(20px, 3.4vw, 48px); }
  .game::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .game--yokai { background: var(--night); color: var(--paper); }
  .game--yokai::before { background: radial-gradient(60% 70% at 92% 0%, rgba(255,46,136,.42), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(34,211,255,.3), transparent 60%), radial-gradient(40% 40% at 60% 100%, rgba(122,60,255,.35), transparent 60%); }
  .game--kaiju { background: linear-gradient(165deg, #BDEBFF 0%, #EAF9DA 52%, #C6EFA4 100%); color: var(--ink); }
  .game__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: start; }
  .game--toshima .game__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .game--toshima .game__visual { order: 2; }
  .game__visual { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  .game__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .game__shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 36px rgba(0, 0, 0, .3); }
  .game__media { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #0E1020; box-shadow: 0 30px 60px rgba(0, 0, 0, .38); }
  .game--kaiju .game__media { box-shadow: 0 30px 60px rgba(30, 90, 40, .24); }
  .game__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
  .game__media:hover img { transform: scale(1.04); }
  .tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.3; white-space: nowrap; background: var(--ink); color: #fff; }
  .tag--yel { background: var(--yel); color: var(--ink); }
  .game__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; color: rgba(255,255,255,.78); }
  .game--kaiju .game__status { color: var(--ink-2); }
  .game__name { margin-top: 16px; font-size: clamp(30px, 3.8vw, 54px); font-weight: 900; line-height: 1.15; letter-spacing: -.03em; }
  .game__name small { font-size: .5em; font-weight: 900; letter-spacing: 0; margin-left: .1em; }
  .game__en { margin-top: 10px; }
  .game--yokai .game__en { color: rgba(255,255,255,.6); }
  .game--kaiju .game__en { color: #3F7A3A; }
  .game__catch { margin-top: 22px; font-size: clamp(19px, 1.9vw, 25px); font-weight: 900; line-height: 1.5; letter-spacing: -.01em; }
  .game--yokai .game__catch { color: var(--yel); }
  .game--kaiju .game__catch { color: #C2410C; }
  .game__desc { margin-top: 10px; max-width: 34em; font-size: 15px; line-height: 2; color: #D8D5CA; }
  .game--kaiju .game__desc { color: var(--ink-2); }
  .game__spec { margin-top: 22px; border-top: 1.5px solid rgba(255,255,255,.34); font-size: 13.5px; line-height: 1.7; }
  .game__spec div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 14px; padding: 9px 0; border-bottom: 1.5px solid rgba(255,255,255,.16); }
  .game__spec dt { font-weight: 700; color: rgba(255,255,255,.62); }
  .game__spec dd { font-weight: 700; }
  .game--kaiju .game__spec, .game--toshima .game__spec { border-top-color: rgba(20,20,20,.5); }
  .game--kaiju .game__spec div, .game--toshima .game__spec div { border-bottom-color: rgba(20,20,20,.14); }
  .game--kaiju .game__spec dt, .game--toshima .game__spec dt { color: var(--ink-2); }
  /* the classroom project (a local-government programme): warm paper colours, photos instead of key art */
  .game--toshima { background: linear-gradient(165deg, #FFF3BF 0%, #FFE4CC 54%, #FFD3E2 100%); color: var(--ink); }
  .game--toshima .game__status { color: var(--ink-2); }
  .game--toshima .game__en { color: #B4530A; }
  .game--toshima .game__catch { color: #C2185B; }
  .game--toshima .game__desc { color: var(--ink-2); }
  .game--toshima .photo { box-shadow: 0 20px 40px rgba(120, 60, 20, .18); }
  .worlds { margin-top: clamp(28px, 3.6vw, 52px); }
  .worlds__sub { margin-bottom: 16px; font-size: clamp(19px, 2vw, 25px); font-weight: 900; line-height: 1.5; letter-spacing: -.015em; }
  .game__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
  .game__note { font-size: 13px; font-weight: 700; line-height: 1.6; opacity: .75; }
  @media (max-width: 900px) { .game { border-radius: 26px; } .game__top, .game--toshima .game__top { grid-template-columns: 1fr; } .game--toshima .game__visual { order: 0; } }


  /* the yokai (one row of eight). With motion they walk past like a parade (.is-loop, set by the script).
     Without it (the viewer asked for less motion, or no script): all of them on a grid; narrower screens swipe sideways. */
  .cast { margin-top: clamp(28px, 3.6vw, 52px); }
  .cast__head { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 30em); justify-content: space-between; align-items: end; gap: 8px 40px; margin-bottom: 20px; }
  .cast__title { font-size: clamp(21px, 2.3vw, 30px); font-weight: 900; line-height: 1.4; letter-spacing: -.02em; }
  .cast__sub { font-size: 13.5px; line-height: 1.9; color: #B9B6AA; }
  .cast__rail::-webkit-scrollbar { display: none; }
  .cast__track { list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
  .yk { border-radius: 18px; overflow: hidden; background: #1B2152; box-shadow: inset 0 0 0 1.5px rgba(245, 212, 40, .32); transition: transform .35s var(--ease); }
  .cast__rail.is-loop { margin-inline: calc(-1 * var(--pad)); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .cast__rail.is-loop .cast__track { display: flex; gap: 0; width: max-content; animation: cast 70s linear infinite; }
  .cast__rail.is-loop .yk { flex: none; width: 136px; margin-right: 14px; }
  .cast__rail.is-loop:hover .cast__track { animation-play-state: paused; }
  @keyframes cast { to { transform: translateX(-50%); } }
  @media (max-width: 1100px) {
    .cast__rail:not(.is-loop) { margin-inline: calc(-1 * var(--pad)); overflow-x: auto; scrollbar-width: none; }
    .cast__rail:not(.is-loop) .cast__track { display: flex; gap: 0; width: max-content; padding-inline: var(--pad); }
    .cast__rail:not(.is-loop) .yk { flex: none; width: 136px; margin-right: 14px; }
    .cast__rail:not(.is-loop) .yk:last-child { margin-right: 0; }
  }
  .yk:hover { transform: translateY(-4px) rotate(-1.5deg); }
  .yk img { width: 100%; aspect-ratio: 1; object-fit: cover; }
  .yk span { display: block; padding-inline: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .yk__no { padding-top: 9px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; line-height: 1.3; color: var(--yel); }
  .yk__name { padding-top: 2px; font-size: 13px; font-weight: 900; line-height: 1.5; color: #fff; }
  .yk__what { padding-bottom: 11px; font-size: 11px; line-height: 1.5; color: rgba(255,255,255,.62); }
  @media (max-width: 900px) { .cast__head { grid-template-columns: 1fr; } }

  /* the five worlds built with the children (under feature 01) */
  .town__grid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .tw { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .4s var(--ease), opacity 1s var(--ease); }
  .tw:hover { transform: translateY(-5px); }
  .tw img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .tw__b { padding: 12px 14px 16px; }
  .tw__k { font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; color: var(--blue); }
  .tw__n { margin-top: 3px; font-size: 14px; font-weight: 900; line-height: 1.5; letter-spacing: -.01em; }
  @media (max-width: 1100px) { .town__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .tw { grid-column: span 2; } .tw:nth-child(-n+2) { grid-column: span 3; } }
  @media (max-width: 640px) { .town__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tw, .tw:nth-child(-n+2) { grid-column: auto; } .tw:first-child { grid-column: 1 / -1; } .tw__b { padding: 10px 10px 14px; } .tw__n { font-size: 12.5px; } }


  /* ---------- news ---------- */
  .news { list-style: none; border-top: 2px solid var(--ink); }
  .news li { display: grid; grid-template-columns: 124px 92px minmax(0, 1fr); gap: 8px 20px; align-items: center; padding: 22px 0; border-bottom: 1.5px solid var(--line); }
  .news time { font-size: 14px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; color: var(--ink-2); font-variant-numeric: tabular-nums; }
  .news__tag { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; white-space: nowrap; }
  .news__tag--soon { background: var(--yel); color: var(--ink); }
  .news p { font-size: 16.5px; font-weight: 700; line-height: 1.7; }
  .news a { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .news__more { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  @media (max-width: 700px) { .news li { grid-template-columns: auto minmax(0, 1fr); } .news p { grid-column: 1 / -1; } }

  /* ---------- company: who runs the studio ---------- */
  .co { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4.4vw, 72px); align-items: start; }
  .co__name { font-size: clamp(22px, 2.3vw, 31px); font-weight: 900; line-height: 1.4; letter-spacing: -.02em; }
  .co__name small { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--mute); }
  .co__bio { margin-top: 16px; max-width: 30em; font-size: 15px; line-height: 2; color: var(--ink-2); }
  .co__table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 15px; line-height: 1.8; }
  .co__table th, .co__table td { padding: 16px 0; border-bottom: 1.5px solid var(--line); text-align: left; vertical-align: top; }
  .co__table th { width: 7.5em; font-weight: 900; white-space: nowrap; }
  .co__table td { color: var(--ink-2); }
  .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 900; line-height: 1.4; text-decoration: underline; text-decoration-color: var(--yel-deep); text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .more svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
  .more:hover svg { transform: translateX(4px); }
  @media (max-width: 900px) { .co { grid-template-columns: 1fr; } }

  /* ---------- contact (for companies and local governments) ---------- */
  .sec--cta { background: linear-gradient(120deg, var(--violet) 0%, var(--pink) 45%, var(--orange) 100%); color: #fff; border-radius: 36px; margin-inline: 12px; }
  .sec--cta .label { color: rgba(255,255,255,.8); }
  .cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .cta__title { font-size: clamp(34px, 4.6vw, 66px); font-weight: 900; line-height: 1.14; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 6px 30px rgba(0,0,0,.2); }
  .cta__p { margin-top: 24px; font-size: 16px; line-height: 2; color: rgba(255,255,255,.92); max-width: 28em; }
  .biz { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
  .biz button { padding: 10px 17px; border: 0; border-radius: 999px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); color: #fff; font: inherit; font-size: 13.5px; font-weight: 700; line-height: 1.4; cursor: pointer; transition: background .3s, color .3s, transform .35s var(--ease); }
  .biz button:hover { transform: translateY(-2px); }
  .biz button:hover, .biz button.is-on { background: #fff; color: var(--ink); }
  @media (max-width: 900px) { .cta { grid-template-columns: 1fr; gap: 32px; } }

  /* contact form (the same receiver as the corporate site) */
  .form { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(22px, 3vw, 38px); box-shadow: 0 30px 60px rgba(20, 20, 20, .2); }
  .form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  @media (max-width: 520px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }
  .form__field--full { grid-column: 1 / -1; }
  .form__field label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1.5; margin-bottom: 6px; }
  .form__field .req { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; line-height: 1.3; padding: 2px 7px; border-radius: 999px; background: var(--pink); color: #fff; }
  .form__field input, .form__field select, .form__field textarea { display: block; width: 100%; font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
  .form__field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
  .form__field textarea { resize: vertical; min-height: 140px; }
  .form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: 0; background-color: #fff; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yel); }
  .form__field input:user-invalid, .form__field textarea:user-invalid { border-color: var(--red); }
  .form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
  .form__foot .btn { border: 0; font-family: inherit; cursor: pointer; }
  .form__foot .btn:disabled { opacity: .5; pointer-events: none; }
  .form__note { font-size: 12.5px; line-height: 1.7; color: var(--mute); }
  .form__status { margin-top: 12px; font-size: 14px; font-weight: 700; line-height: 1.7; min-height: 1.7em; }
  .form__status:empty { margin-top: 0; min-height: 0; }
  .form__status.is-ok { color: #12804A; }
  .form__status.is-ng { color: #D0261C; }
  .form.is-sent .form__grid, .form.is-sent .form__foot { display: none; }
  .form.is-sent .form__status { margin-top: 0; font-size: 18px; padding: 28px 0; }

  .footer { border-top: 1.5px solid var(--line); padding: 28px 0 44px; }
  .footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
  .footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .footer__link { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--yel-deep); text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .footer__link:hover { color: var(--ink); }

  .reveal { transition: transform 1s var(--ease), opacity 1s var(--ease); }
  .reveal.is-wait { transform: translateY(28px); opacity: .2; }
  @media (prefers-reduced-motion: reduce) { .reveal.is-wait { transform: none; opacity: 1; } }

  /* ---------- English page (roblox/en/): Latin text wants a tighter line height, words never split, and the date column needs a little more room ---------- */
  html[lang="en"] body { line-height: 1.75; overflow-wrap: break-word; }
  html[lang="en"] .sec__intro, html[lang="en"] .edge__p, html[lang="en"] .svc__p, html[lang="en"] .co__bio, html[lang="en"] .game__desc, html[lang="en"] .cta__p { line-height: 1.75; }
  html[lang="en"] .game__spec div { grid-template-columns: 8.5em minmax(0, 1fr); }
  html[lang="en"] .co__table th { width: 9em; }
  /* the hero title's lines are clipped boxes (for the slide-up): leave room for the tails of y, p, g */
  html[lang="en"] .hero__title .w { padding-bottom: .16em; margin-bottom: -.16em; }
