:root {
  --ivory: #f8f6f1;
  --paper: #fffdfa;
  --ink: #182234;
  --ink-soft: #546071;
  --line: #e6e0d9;
  --raspberry: #a7194b;
  --raspberry-light: #c6235d;
  --plum: #5a1438;
  --plum-dark: #321020;
  --gold: #f6ad08;
  --red: #ef233c;
  --white: #ffffff;
  --shadow-card: 0 10px 30px rgba(50, 20, 35, 0.08);
  --shadow-hover: 0 18px 44px rgba(50, 20, 35, 0.13);
  --radius: 4px;
  --container: 1180px;
  --header-height: 82px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
.mobile-break { display: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

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

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 860px); margin-inline: auto; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--raspberry);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.section { padding: 112px 0; }
.section-heading { margin-bottom: 48px; }
.section-heading.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section-heading h2, .page-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.3;
  letter-spacing: -.04em;
}
.section-heading p:last-child { max-width: 440px; margin: 0; color: var(--ink-soft); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--raspberry);
  font-weight: 800;
  white-space: nowrap;
}
.text-link::after { content: "→"; transition: transform .25s ease; }
.text-link:hover::after { transform: translateX(5px); }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(248, 246, 241, .94);
  border-bottom: 1px solid rgba(90, 20, 56, .08);
  backdrop-filter: blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 45px; height: 45px; object-fit: contain; }
.brand-text { font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: 800; letter-spacing: .05em; }
.global-nav { display: flex; align-items: center; gap: 30px; }
.global-nav > a:not(.button) { font-size: 13px; font-weight: 800; letter-spacing: .05em; }
.global-nav > a:not(.button):hover { color: var(--raspberry); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); transition: .25s ease; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 24px;
  border: 1px solid var(--raspberry);
  border-radius: 2px;
  background: var(--raspberry);
  color: var(--white);
  font-weight: 800;
  line-height: 1.4;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button::after { content: "→"; }
.button:hover { background: var(--plum); box-shadow: 0 9px 25px rgba(90, 20, 56, .18); transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--raspberry); }
.button.secondary:hover { background: rgba(167, 25, 75, .06); }
.button.gold { border-color: var(--gold); background: transparent; color: var(--gold); }
.button.gold:hover { background: var(--gold); color: var(--plum-dark); }
.button.small { min-height: 44px; padding: 10px 18px; font-size: 13px; }

/* Hero */
.hero { overflow: hidden; background: var(--ivory); }
.hero-grid { display: grid; min-height: 650px; grid-template-columns: .95fr 1.05fr; align-items: stretch; }
.hero-grid > *, .section-heading.row > * { min-width: 0; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 78px 58px 78px max(24px, calc((100vw - var(--container)) / 2)); }
.hero h1 { margin: 0 0 28px; font-size: clamp(42px, 5vw, 68px); line-height: 1.32; letter-spacing: -.055em; }
.hero-lead { max-width: 600px; margin: 0; color: #3d4858; font-size: 17px; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-signature { display: flex; align-items: center; gap: 14px; margin-top: 55px; color: var(--ink-soft); font-family: Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.hero-signature::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

.hero-visual { position: relative; min-height: 650px; overflow: hidden; background: var(--plum-dark); isolation: isolate; }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; z-index: 5; background: var(--gold); }
.hero-visual::before { top: 0; right: 22px; width: 2px; height: 95px; }
.hero-visual::after { right: 0; bottom: 18px; width: 95px; height: 2px; }
.hero-tech-art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.hero-tech-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,253,248,.12) 0%, rgba(255,253,248,.02) 48%, transparent 76%), linear-gradient(0deg, rgba(255,253,248,.08), transparent 46%); }
.mock { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: rgba(31,18,28,.96); box-shadow: 0 24px 58px rgba(10,3,12,.32); }
.mock.code { padding: 24px 20px; color: #dde4eb; font-family: Consolas, monospace; font-size: 11px; line-height: 1.8; }
.mock.code span { display: block; white-space: nowrap; }
.mock.code .pink { color: #ff77a4; }.mock.code .gold { color: #ffc858; }.mock.code .muted { color: #88a9bd; }
.hero-code { position: absolute; left: clamp(28px, 4vw, 62px); bottom: 64px; z-index: 3; width: min(340px, 48%); min-height: 190px; border-color: rgba(90,20,56,.34); background: rgba(32,10,25,.9); box-shadow: 0 24px 55px rgba(90,20,56,.25); backdrop-filter: blur(12px); }
.hero-capabilities { position: absolute; top: 35px; left: clamp(28px, 4vw, 62px); z-index: 3; display: flex; flex-wrap: wrap; gap: 7px; max-width: 330px; }
.hero-capabilities span { padding: 7px 11px; border: 1px solid rgba(90,20,56,.35); background: rgba(255,253,248,.68); color: var(--plum); font: 700 10px Arial,sans-serif; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 7px 18px rgba(90,20,56,.1); backdrop-filter: blur(8px); }
.hero-visual-label { position: absolute; right: 27px; bottom: 48px; z-index: 3; margin: 0; color: rgba(90,20,56,.8); font: 800 10px Arial,sans-serif; letter-spacing: .2em; writing-mode: vertical-rl; }
.credibility { background: linear-gradient(90deg, var(--plum), var(--raspberry-light)); color: var(--white); }
.credibility-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.credibility-item { position: relative; padding: 24px; text-align: center; font-weight: 800; }
.credibility-item + .credibility-item::before { content: ""; position: absolute; top: 32%; bottom: 32%; left: 0; width: 1px; background: var(--gold); }

/* Services */
.services-showcase { position: relative; overflow: hidden; background: linear-gradient(145deg, #fffdfa 0%, #f8f3ed 58%, #fff9f3 100%); color: var(--ink); }
.services-showcase::before { content: ""; position: absolute; inset: 0; opacity: .42; pointer-events: none; background-image: linear-gradient(rgba(167,25,75,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(167,25,75,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 75%); }
.services-showcase .container { position: relative; z-index: 1; }
.services-showcase .section-heading { align-items: end; }
.services-showcase .eyebrow { color: var(--raspberry); }
.services-showcase h2 { color: var(--ink); }
.services-intro { max-width: 560px; }
.services-intro p { margin: 0 0 18px; color: var(--ink-soft); }
.services-intro .text-link { color: var(--raspberry); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { position: relative; display: block; overflow: hidden; min-width: 0; border: 1px solid rgba(90,20,56,.11); background: rgba(255,255,255,.82); color: var(--ink); box-shadow: 0 16px 44px rgba(50,20,35,.09); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.service-card:hover { border-color: rgba(167,25,75,.34); box-shadow: 0 24px 58px rgba(50,20,35,.15); transform: translateY(-7px); }
.service-image { position: relative; display: block; aspect-ratio: 1.5/1; overflow: hidden; border-bottom: 1px solid rgba(90,20,56,.08); background: #fffdfa; }
.service-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(255,253,250,.22), transparent 48%); }
.service-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.96) contrast(1.01); transition: transform .6s ease, filter .4s ease; }
.service-card:hover .service-image img { transform: scale(1.035); filter: saturate(1.04) contrast(1.02); }
.service-content { display: block; padding: 22px 18px 24px; }
.service-number { display: block; margin-bottom: 15px; color: var(--raspberry-light); font: 800 13px Arial,sans-serif; letter-spacing: .15em; }
.service-card:nth-child(2) .service-number { color: #c88700; }
.service-card h3 { margin: 0 0 5px; color: var(--ink); font: 800 clamp(15px,1.25vw,19px)/1.3 Arial,sans-serif; letter-spacing: .03em; }
.service-jp { margin: 0 0 15px; color: var(--raspberry); font-size: 12px; font-weight: 800; }
.service-card:nth-child(2) .service-jp { color: #a86f00; }
.service-content > p:last-of-type { min-height: 5.6em; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.service-more { display: flex; align-items: center; gap: 12px; margin-top: 19px; color: var(--raspberry); font-size: 12px; font-weight: 800; }
.service-more i { font-style: normal; transition: transform .25s ease; }
.service-card:hover .service-more i { transform: translateX(5px); }
/* Works */
.works-section { background: linear-gradient(135deg, var(--plum) 0%, var(--raspberry) 72%, var(--raspberry-light) 100%); color: var(--white); }
.works-section .eyebrow { color: #ffd15d; }
.works-section .section-heading p:last-child { color: rgba(255,255,255,.76); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-card { overflow: hidden; background: var(--paper); color: var(--ink); box-shadow: 0 18px 50px rgba(40, 4, 23, .18); transition: transform .25s ease; }
.work-card:hover { transform: translateY(-5px); }
.work-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; image-rendering: auto; }
.work-card-body { padding: 22px; }
.work-category { margin: 0 0 7px; color: var(--raspberry); font-size: 12px; font-weight: 800; }
.work-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.45; }
.work-card-body > p:not(.work-category) { margin: 0; color: var(--ink-soft); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag { padding: 4px 9px; background: #f1eeea; color: #586170; font-size: 11px; font-weight: 700; }
.works-action { margin-top: 35px; text-align: right; }
.works-action .text-link { color: var(--white); }

/* Approach */
.approach-layout { display: grid; grid-template-columns: 1.7fr .8fr; gap: 48px; align-items: stretch; }
.approach-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step {
  position: relative;
  min-height: 206px;
  padding: 26px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.step + .step::before { content: "›"; position: absolute; top: 50%; left: -12px; z-index: 2; color: var(--ink); font-size: 24px; transform: translateY(-50%); }
.step-number { margin: 0 0 8px; color: var(--raspberry-light); font: 800 18px Arial, sans-serif; }
.step:nth-child(2) .step-number { color: var(--gold); }
.step h3 { margin: 0 0 12px; font-size: 17px; }
.step p:last-child { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.approach-visual { position: relative; min-height: 330px; overflow: hidden; background: linear-gradient(145deg, #e9e5df, #fff); }
.blueprint { position: absolute; inset: 26px; padding: 28px; background: white; box-shadow: 0 22px 45px rgba(40,25,34,.13); transform: rotate(-3deg); }
.blueprint::before { content: ""; position: absolute; inset: 14px; background-image: linear-gradient(rgba(167,25,75,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(167,25,75,.08) 1px, transparent 1px); background-size: 18px 18px; }
.blueprint::after { content: "GRID 18  /  SCALE 1:1  /  REV.04"; position: absolute; right: 28px; bottom: 18px; z-index: 1; color: rgba(90,20,56,.2); font: 700 7px/1.2 Consolas, monospace; letter-spacing: .14em; }
.wire-box { position: relative; z-index: 1; height: 48px; margin-bottom: 15px; border: 2px solid var(--raspberry); }
.wire-box::before { content: "// PRODUCT ARCHITECTURE"; position: absolute; top: 5px; left: 8px; color: rgba(90,20,56,.24); font: 700 7px/1.2 Consolas, monospace; letter-spacing: .12em; }
.wire-box::after { content: "const idea = build({ clarity, quality });"; position: absolute; right: 8px; bottom: 5px; color: rgba(24,34,52,.18); font: 7px/1.2 Consolas, monospace; }
.wire-row { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wire-row span { position: relative; height: 70px; border: 2px solid #bfc5ce; }
.wire-row span::before { position: absolute; top: 7px; left: 8px; color: rgba(167,25,75,.2); font: 700 7px/1.2 Consolas, monospace; letter-spacing: .1em; }
.wire-row span::after { position: absolute; right: 8px; bottom: 8px; color: rgba(24,34,52,.15); font: 7px/1.45 Consolas, monospace; white-space: pre; text-align: right; }
.wire-row span:first-child::before { content: "SYSTEM / API / DATA"; }
.wire-row span:first-child::after { content: "input → process()\A→ output"; }
.wire-row span:last-child::before { content: "APP / AI / GAME"; }
.wire-row span:last-child::after { content: "prototype();\Atest(); refine();"; }
.approach-visual::after { content: "IDEA / DESIGN / DEVELOP"; position: absolute; right: 0; bottom: 22px; padding: 11px 18px; background: var(--plum); color: white; font: 700 10px Arial, sans-serif; letter-spacing: .12em; }

/* About / CTA / Footer */
.about-strip { padding: 80px 0; background: var(--paper); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.about-grid h2 { margin: 0 0 22px; font-size: clamp(30px, 3vw, 45px); line-height: 1.35; }
.about-grid p { color: var(--ink-soft); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { padding: 22px; background: var(--ivory); }
.fact strong { display: block; margin-bottom: 5px; font-size: 18px; }
.fact span { color: var(--ink-soft); font-size: 13px; }

.cta { background: linear-gradient(100deg, var(--raspberry), var(--plum)); color: var(--white); border-top: 2px solid var(--gold); }
.cta-inner { display: flex; min-height: 190px; align-items: center; justify-content: space-between; gap: 36px; }
.cta h2 { margin: 0 0 8px; font-size: clamp(27px, 3vw, 40px); }
.cta p { margin: 0; color: rgba(255,255,255,.78); }

.site-footer { padding: 56px 0 28px; background: var(--ivory); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding-bottom: 40px; }
.footer-brand p { margin: 15px 0 0; color: var(--ink-soft); font-size: 13px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; align-content: start; }
.footer-nav a { color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.footer-nav a:hover { color: var(--raspberry); }
.footer-contact { padding-left: 30px; border-left: 1px solid var(--line); }
.footer-contact strong { display: block; margin-bottom: 8px; }
.footer-contact a { color: var(--raspberry); font-weight: 800; overflow-wrap: anywhere; }
.copyright { padding-top: 24px; border-top: 1px solid var(--line); color: #7a8290; font-size: 11px; }

/* Inner pages */
.page-hero { padding: 92px 0 66px; background: linear-gradient(120deg, var(--ivory) 0 72%, rgba(198,35,93,.08) 72%); border-bottom: 1px solid var(--line); }
.page-hero .page-title { margin-bottom: 16px; }
.page-hero .lead { max-width: 720px; margin: 0; color: var(--ink-soft); font-size: 17px; }
.breadcrumb { margin-bottom: 25px; color: #77808d; font-size: 12px; }
.breadcrumb a:hover { color: var(--raspberry); }
.content-section { padding: 88px 0; }
.content-section.alt { background: var(--paper); }
.prose h2 { margin: 0 0 25px; font-size: clamp(28px, 3vw, 40px); }
.prose h3 { margin: 45px 0 12px; font-size: 22px; }
.prose p { color: var(--ink-soft); }

.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-detail { padding: 34px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-card); }
.service-detail .service-number { font-size: 16px; }
.service-detail h2 { margin: 0 0 14px; font-size: 28px; }
.service-detail p { color: var(--ink-soft); }
.service-detail ul { margin: 20px 0 0; padding: 0; list-style: none; }
.service-detail li { padding: 8px 0; border-top: 1px solid var(--line); color: #3d4756; }
.service-detail li::before { content: "—"; margin-right: 9px; color: var(--raspberry); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.portfolio-card { overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-card); }
.portfolio-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.portfolio-body { padding: 22px; }
.portfolio-body h2 { margin: 0 0 8px; font-size: 19px; }
.portfolio-body p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.company-table { width: 100%; border-collapse: collapse; background: var(--paper); }
.company-table th, .company-table td { padding: 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company-table th { width: 190px; color: var(--raspberry); font-size: 13px; }
.client-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; margin: 0; padding: 0; list-style: none; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.contact-panel { padding: 36px; background: linear-gradient(145deg, var(--plum), var(--raspberry)); color: white; }
.contact-panel h2 { margin-top: 0; }
.contact-panel a { color: #ffdf83; font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.contact-note { color: rgba(255,255,255,.75); font-size: 13px; }
.contact-form { display: grid; gap: 20px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; }
.required { color: var(--raspberry); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #d8d2cb; border-radius: 2px; background: var(--paper); color: var(--ink); padding: 13px 14px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--raspberry); outline: 3px solid rgba(167,25,75,.1); }
.field textarea { min-height: 180px; resize: vertical; }
.form-note { color: var(--ink-soft); font-size: 12px; }

@media (max-width: 980px) {
  .global-nav { position: fixed; inset: var(--header-height) 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 34px 24px; background: var(--ivory); transform: translateX(100%); transition: transform .3s ease; }
  .menu-open .global-nav { transform: translateX(0); }
  .global-nav > a:not(.button) { padding: 17px 8px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .global-nav .button { margin-top: 24px; }
  .menu-toggle { display: block; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 78px max(24px, calc((100vw - 760px) / 2)); }
  .hero-visual { min-height: 560px; }
  .hero-code { left: max(24px, calc((100vw - 760px) / 2)); }
  .hero-capabilities { left: max(24px, calc((100vw - 760px) / 2)); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .approach-layout, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .approach-steps { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-height: 70px; }
  .container, .narrow { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 76px 0; }
  .site-header .header-inner { position: relative; width: 100%; padding-inline: 20px; }
  .menu-toggle { position: fixed !important; top: 13px; right: 12px; z-index: 110; display: block !important; border-radius: 2px; background: var(--raspberry); box-shadow: 0 6px 18px rgba(90,20,56,.18); }
  .menu-toggle span { background: white; }
  .brand img { width: 38px; height: 38px; }
  .brand-text { font-size: 17px; }
  .hero-copy { width: 100%; min-width: 0; padding: 66px 20px; }
  .mobile-break { display: block; }
  .hero h1 { font-size: clamp(38px, 12vw, 52px); overflow-wrap: anywhere; word-break: break-all; }
  .hero-lead, .section-heading h2, .section-heading p { overflow-wrap: anywhere; word-break: break-all; }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-signature { margin-top: 40px; }
  .hero-visual { min-height: 500px; }
  .hero-tech-art { object-position: 61% center; }
  .hero-code { left: 20px; bottom: 54px; width: min(330px, calc(100% - 78px)); min-height: 0; padding: 17px 15px; font-size: 9px; }
  .hero-capabilities { top: 22px; left: 20px; right: 20px; }
  .hero-capabilities span { padding: 6px 8px; font-size: 9px; }
  .hero-visual-label { right: 16px; bottom: 44px; }
  .credibility-inner { grid-template-columns: 1fr; }
  .credibility-item { padding: 15px; font-size: 13px; }
  .credibility-item + .credibility-item::before { inset: 0 20% auto; width: 60%; height: 1px; }
  .section-heading.row { display: block; }
  .section-heading.row p:last-child { margin-top: 18px; }
  .services-grid, .works-grid, .service-detail-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 0; }
  .service-card h3 { font-size: 18px; }
  .service-content > p:last-of-type { min-height: 0; }
  .approach-steps { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .step + .step::before { content: "↓"; top: -19px; left: 50%; transform: translateX(-50%); }
  .facts { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 44px 0; }
  .cta .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-contact { padding: 25px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .page-hero { padding: 66px 0 50px; background: var(--ivory); }
  .company-table th, .company-table td { display: block; width: 100%; padding: 14px; }
  .company-table th { padding-bottom: 2px; border-bottom: 0; }
  .company-table td { padding-top: 3px; }
  .client-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


.portfolio-label{display:inline-flex;align-items:center;width:fit-content;min-height:26px;margin:0 0 12px;padding:4px 11px;border:1px solid currentColor;border-radius:999px;font-size:11px;font-weight:800;line-height:1.2;letter-spacing:.04em}
.label-mobile{color:#a7194b;background:#fff0f5}.label-console{color:#664400;background:#fff7dc}.label-game{color:#6941c6;background:#f4f0ff}.label-system{color:#16635b;background:#e9f8f5}.label-art{color:#8b3e14;background:#fff2e8}.label-xr{color:#365c8d;background:#edf5ff}.portfolio-card .work-meta{margin-top:9px;color:#7b8490}

.hp-field{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.field-consent label{display:flex;align-items:flex-start;gap:8px;font-weight:600}.field-consent input{width:auto;margin-top:.5em}.field-consent .text-link{display:inline;white-space:normal}.field-consent .text-link::after{content:none}
