:root {
  --ink: #171741;
  --paper: #fff8e9;
  --blue: #2638eb;
  --lime: #e9fb63;
  --pink: #ffc3ec;
  --lavender: #ded3ff;
  --orange: #ff9856;
  --line: 2px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --measure: min(1190px, calc(100% - 84px));
  font-family: "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.75; }
a { color: inherit; text-underline-offset: .2em; }
img { max-width: 100%; display: block; }
a:focus-visible { outline: 3px solid #a52380; outline-offset: 5px; }
.shell, main:not(.home) { width: var(--measure); margin-inline: auto; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 900; }
h2 { font-size: clamp(1.65rem, 3.35vw, 2.75rem); letter-spacing: -.045em; }
h3 { font-size: 1.22rem; letter-spacing: -.025em; }
.site-header { background: var(--paper); border-bottom: var(--line); }
.site-header nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 3vw, 38px); }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: .07em; font-size: clamp(1.27rem, 2.65vw, 1.9rem); font-weight: 900; letter-spacing: -.085em; white-space: nowrap; }
.brand b { display: inline-block; background: var(--blue); color: #fff; border: var(--line); border-radius: 7px; padding: 0 .2em .04em; transform: rotate(-8deg); font: 900 .74em/1.3 Arial, sans-serif; letter-spacing: -.04em; }
.nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(10px, 2.7vw, 34px); }
.nav-links a, .nav-start { text-decoration: none; font-size: .9rem; font-weight: 800; }
.nav-links a:hover { text-decoration: underline; }
.nav-start { border: var(--line); border-radius: 999px; padding: 5px 14px; white-space: nowrap; background: var(--lime); }
.hero { overflow: hidden; background: var(--blue); color: white; border-bottom: var(--line); }
.hero-inner { display: grid; grid-template-columns: 1fr .96fr; align-items: center; gap: 34px; padding-block: 34px 42px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { font-size: .88rem; font-weight: 900; letter-spacing: .075em; }
.hero .eyebrow { color: var(--lime); margin: 0 0 16px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.7rem); line-height: 1.16; font-weight: 900; letter-spacing: -.07em; }
.hero h1 em { color: var(--lime); font-style: normal; display: inline-block; }
.hero-copy > p:not(.eyebrow) { max-width: 34em; color: #fff; margin: 19px 0 25px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.button { background: var(--lime); color: var(--ink); padding: 11px 17px; border: var(--line); border-radius: 9px; box-shadow: var(--shadow); font-size: .94rem; font-weight: 900; display: inline-block; text-decoration: none; transition: transform .16s, box-shadow .16s; }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.button.secondary { background: #fff; }
.hero a:focus-visible { outline-color: white; }
.hero-art { margin: 0; position: relative; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 1.1; object-fit: cover; border: var(--line); border-radius: 21px; box-shadow: 8px 8px 0 var(--ink); }
.hero-art figcaption { position: absolute; right: 12px; bottom: 10px; padding: 1px 7px; border-radius: 4px; font-size: .75rem; color: #fff; background: #171741; }
.band { padding-block: 43px 47px; }
.band + .band { border-top: var(--line); }
.band h2, main:not(.home) > section h2 { margin-bottom: 18px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.section-heading h2, .section-heading p { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.model-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: #fffefa; border: var(--line); border-radius: 13px; overflow: hidden; box-shadow: 3px 3px 0 var(--ink); text-decoration: none; transition: transform .16s, box-shadow .16s; }
.card:hover { transform: translate(-2px, -3px); box-shadow: 5px 6px 0 var(--ink); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 16px 17px; }
.card small { font-size: .8rem; font-weight: 900; color: #523796; }
.card h3 { margin-top: 5px; }
.card p { margin: 8px 0 14px; font-size: .92rem; }
.card span { margin-top: auto; font-size: .85rem; font-weight: 900; text-decoration: underline; }
.card-art { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-bottom: var(--line); }
.audience-grid .family { background: var(--lime); }
.audience-grid .hobby { background: var(--lavender); }
.audience-grid .oshi { background: var(--pink); }
.audience-grid .card h3 { font-size: 1.35rem; }
#projects .card { background: #ffe0ca; }
#gear .card { background: #e1e9ff; }
main:not(.home) { padding-block: 35px 60px; }
main:not(.home) > section { margin-block: 40px 0; }
main:not(.home) a.card:not(:has(.card-body)) { padding: 16px 17px; }
article { max-width: 760px; margin: 0 auto; }
article .eyebrow { color: #523796; }
article h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.06em; }
article h2 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); margin-bottom: 7px; }
article section { margin-top: 32px; }
article section > p { margin-top: 0; }
.intro { font-size: 1.15rem; margin-bottom: 6px; }
.byline { font-size: .88rem; color: #464668; margin-top: 0; }
.guide-art { margin: 20px 0; }
.guide-art img { width: 100%; height: auto; border-radius: 14px; border: var(--line); }
.guide-art figcaption { font-size: .88rem; margin-top: 5px; }
.download-box { background: #eff6aa; padding: 14px 18px; border: var(--line); border-radius: 12px; margin: 24px 0; }
.download-box p { margin: 0; }
.download-box p + p { font-size: .9rem; margin-top: 13px; }
.site-footer { border-top: var(--line); background: var(--lavender); }
.site-footer .shell { display: flex; align-items: center; gap: 17px 30px; flex-wrap: wrap; min-height: 100px; padding-block: 20px; }
.site-footer p { margin: 0; font-size: .9rem; }
.site-footer a:last-child { margin-left: auto; font-size: .9rem; }
@media (max-width: 960px) {
  :root { --measure: calc(100% - 46px); }
  .hero-inner { gap: 20px; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  :root { --measure: calc(100% - 32px); }
  .site-header nav { min-height: 0; flex-wrap: wrap; gap: 7px 12px; padding-block: 9px 10px; }
  .nav-links { width: 100%; justify-content: flex-start; order: 3; gap: 6px 18px; }
  .nav-links a, .nav-start { font-size: .88rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 24px 26px; }
  .hero h1 { font-size: clamp(2.2rem, 8.3vw, 3.8rem); }
  .hero .eyebrow { margin: 0 0 9px; }
  .hero-copy > p:not(.eyebrow) { margin: 12px 0 16px; }
  .hero-art { margin-right: 5px; }
  .hero-art img { aspect-ratio: 1.35; border-radius: 12px; box-shadow: 5px 5px 0 var(--ink); }
  .band { padding-block: 32px 36px; }
  .section-heading { display: block; margin-bottom: 15px; }
  .section-heading h2 { margin-bottom: 4px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .model-grid .card-body { padding: 10px; }
  .model-grid h3 { font-size: 1rem; }
  .model-grid .card p { font-size: .86rem; }
  .site-footer a:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .card { transition: none; }
}
.printer-tile {
  padding: 11px 15px;
  background: var(--orange);
  border: var(--line);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 12px;
}
.printer-tile:nth-child(2) { background: var(--lime); }
.printer-tile:nth-child(3) { background: var(--pink); }
.printer-tile:hover { text-decoration: underline; }
.printer-tile strong { font-size: 1.4rem; line-height: 1.15; }
.printer-tile span { font-weight: 800; font-size: .86rem; }
.getting-started { margin-bottom: 0; font-size: .92rem; }
.source-note { font-size: .9rem; }
.printer-option {
  padding: 17px 20px 20px;
  border: var(--line);
  background: #fffefa;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-top: 19px;
}
.printer-option .eyebrow { margin: 0 0 3px; }
.printer-option h3 { font-size: 1.45rem; }
.printer-option h3 span { font-size: 1rem; margin-left: 5px; }
.printer-option .volume { margin: 9px 0 6px; font-weight: 800; }
