@font-face {
  font-family: "Noto Sans JP";
  src: url("/mamosta/fonts/NotoSansJP-VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root { color-scheme: light; --ink: #292b2a; --muted: #646863; --green: #187459; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: "Noto Sans JP", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 6px; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 7px; }
img { display: block; max-width: 100%; }
p, h1, h2 { margin: 0; }
.phrase { display: inline-block; }
.page { width: min(1440px, 100%); padding: 0 4.2%; margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.masthead { position: relative; display: grid; grid-template-columns: 245px 1fr; align-items: center; gap: 52px; padding-block: 34px 32px; }
.brand-logo { width: 245px; height: auto; }
h1 { font-size: clamp(20px, 2.15vw, 31px); line-height: 1.75; font-weight: 650; letter-spacing: .015em; padding-top: 22px; }
.text-link { color: var(--green); font-weight: 550; text-decoration: underline; }
.contact-link { position: absolute; top: 29px; right: 0; font-size: 12px; }
.works { display: grid; grid-template-columns: 1.32fr 1fr; column-gap: 40px; align-items: start; }
.work { min-width: 0; }
.game-art { display: block; aspect-ratio: 1.48; overflow: hidden; background: #f7e3c8; }
.game-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; transition: transform 650ms cubic-bezier(.2,.65,.3,1); }
.character-art { position: relative; aspect-ratio: 1.1212; }
.character-art img { position: absolute; height: auto; }
.mamo-laugh { width: 63%; left: -1%; top: 20%; transform: rotate(-5deg); }
.mamo-smile { width: 40%; right: 0; top: 0; transform: rotate(5deg); }
.mamo-ok { width: 42%; right: -1%; bottom: 1%; transform: rotate(6deg); }
.work-copy { padding-top: 17px; }
h2 { font-size: clamp(32px, 3.5vw, 50px); font-weight: 750; line-height: 1.35; letter-spacing: -.045em; }
.description { margin-top: 4px; color: #555c57; font-size: clamp(14px, 1.45vw, 20px); line-height: 1.7; font-weight: 500; }
.work-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; min-height: 30px; }
.status { color: var(--muted); font-size: 13px; }
.work-bottom a { font-size: 15px; padding-block: 4px; white-space: nowrap; }
.link-arrow { display: inline-block; margin-left: 10px; transition: transform 200ms; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 55px 28px; color: var(--muted); font-size: 11px; }
.site-footer small { font-size: 12px; }
.site-footer a { text-decoration: none; padding-block: 8px; }
.site-footer a:hover { text-decoration: underline; }
.not-found { max-width: 640px; margin: 10vh auto; padding: 24px; }
.not-found .brand-logo { width: 190px; margin-bottom: 32px; }
.not-found h1 { padding: 0; font-size: clamp(20px, 4vw, 26px); }
.not-found p { margin-block: 16px 32px; line-height: 1.8; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .game-art:hover img { transform: scale(1.025); }
  .text-link:hover .link-arrow { transform: translate(2px, -2px); }
}
@media (min-width: 1600px) { .page { padding-inline: 60px; } }
@media (max-width: 1050px) {
  .masthead { grid-template-columns: 190px 1fr; gap: 30px; }
  .brand-logo { width: 190px; }
  .works { gap: 28px; }
  .description { font-size: 14px; }
}
@media (max-width: 700px) {
  .page { padding-inline: 24px; }
  .masthead { grid-template-columns: 1fr; gap: 20px; padding-block: 36px 33px; }
  .brand-logo { width: 164px; margin-left: -16px; }
  .contact-link { top: 28px; font-size: 10px; }
  h1 { font-size: clamp(17px, 4.5vw, 24px); padding-top: 0; line-height: 1.85; letter-spacing: 0; }
  .works { grid-template-columns: 1fr; row-gap: 48px; }
  .game-art { aspect-ratio: 1.2; }
  .game-art img { object-position: center 70%; }
  .character-art { aspect-ratio: 1.22; max-width: 480px; margin-inline: auto; width: 100%; }
  .mamo-laugh { top: 15%; }
  .mamo-ok { bottom: 0; }
  .work-copy { padding-top: 16px; }
  h2 { font-size: 36px; }
  .description { font-size: 14px; }
  .work-bottom { margin-top: 16px; }
  .site-footer { padding-block: 48px 24px; align-items: start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
