:root {
    --paper: #f7f7f2;
    --ink: #182b32;
    --muted: #536268;
    --line: #d7dedb;
    --brand: #235cce;
    --font: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); letter-spacing: -.035em; }
h3 { font-size: 1.13rem; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px 24px; background: white; z-index: 100; }
.skip-link:focus { top: 12px; }
.header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { height: 82px; display: flex; align-items: center; gap: 36px; }
.logo { font: 800 27px/1 Arial, sans-serif; letter-spacing: .07em; margin-right: auto; }
.nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: .82rem; gap: 10px; }
.nav a:hover, .nav a.is-current { color: var(--brand); }
.nav-contact { border-bottom: 1px solid var(--ink); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { font-size: .75rem; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 6px; }
.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 3px; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.eyebrow { font: 600 .69rem/1.6 var(--font); letter-spacing: .12em; color: var(--brand); margin-bottom: 16px; }
.hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.13fr 1fr; gap: 66px; align-items: center; }
h1 { font-size: clamp(2rem, 3.25vw, 2.95rem); line-height: 1.55; letter-spacing: -.045em; }
h1 span { display: block; }
.hero-desc { margin-top: 24px; max-width: 38em; font-size: .93rem; color: var(--muted); line-height: 2; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 32px; min-height: 50px; padding: 12px 24px; border: 1px solid var(--brand); border-radius: 3px; font-size: .87rem; font-weight: 600; }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: #184ba9; }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--brand); font-size: .83rem; font-weight: 600; }
a:hover .text-link, .text-link:hover, .demo-info h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.featured-demo { padding: 18px; border: 1px solid var(--line); background: #e9eeea; }
.feature-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: .68rem; color: var(--muted); letter-spacing: .07em; }
.featured-demo img { width: 100%; border: 1px solid #17272d; }
figcaption { padding-top: 18px; }
figcaption a { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .93rem; font-weight: 700; }
figcaption p { font-size: .73rem; margin-top: 8px; color: var(--muted); }
figcaption small { display: block; color: var(--muted); font-size: .65rem; margin-top: 8px; }
.section { padding: 80px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading > p { color: var(--muted); font-size: .85rem; max-width: 29em; }
.demos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.demo-card { min-width: 0; }
.demo-image { display: block; padding: 12px; border: 1px solid var(--line); background: #e9eeea; }
.demo-image img { width: 100%; aspect-ratio: 8/5; object-fit: cover; }
.demo-info { padding-top: 22px; }
.demo-info .eyebrow { font-size: .65rem; margin-bottom: 8px; }
.demo-info > p:not(.eyebrow) { margin: 12px 0 6px; font-size: .83rem; color: var(--muted); }
.image-note { margin-top: 26px; font-size: .68rem; color: var(--muted); }
.more-demos { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 28px; }
.more-demos > h3 { font-size: .86rem; margin-bottom: 18px; }
.experiments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.experiment { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-block: 8px; }
.experiment h3 { font-size: .87rem; }
.experiment p { font-size: .76rem; color: var(--muted); margin-top: 6px; }
.experiment > span { color: var(--brand); }
.experiment:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.services { background: #edf0eb; border-block: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 48px 1fr 1fr; gap: 30px; border-top: 1px solid #c9d2cc; padding: 28px 0; align-items: start; }
.index { color: var(--brand); font-size: .76rem; padding-top: 4px; }
.service-row .eyebrow { font-size: .64rem; margin-bottom: 6px; color: var(--muted); }
.service-row h3 { font-size: 1.22rem; }
.service-row > p { color: var(--muted); font-size: .88rem; }
.consulting-note { border-top: 1px solid #c9d2cc; padding-top: 24px; color: var(--muted); font-size: .82rem; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.product { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: 24px; }
.product-image { background: #e9eeea; border: 1px solid var(--line); padding: 12px; }
.product-image img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product .eyebrow { font-size: .64rem; margin-bottom: 8px; }
.product p:not(.eyebrow) { font-size: .78rem; color: var(--muted); margin-top: 10px; }
.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-grid > div > p:not(.eyebrow) { font-size: .91rem; color: var(--muted); }
.about-grid .about-motto { margin-top: 24px; font-size: .78rem; }
.contact { background: #e9eeea; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 80px; }
.contact-grid > div > p:not(.eyebrow) { color: var(--muted); font-size: .89rem; margin-top: 24px; max-width: 30em; }
.privacy-link { display: inline-block; margin-top: 24px; font-size: .77rem; text-decoration: underline; text-underline-offset: 4px; }
.contact-form { min-width: 0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .79rem; font-weight: 600; margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select { display: block; width: 100%; min-height: 48px; background: #fff; color: var(--ink); border: 1px solid #b4c1b9; border-radius: 3px; padding: 10px 12px; font-size: 1rem; }
.form-group textarea { resize: vertical; }
.field-hint { font-size: .74rem; color: var(--muted); margin: 0 0 10px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .82rem; min-height: 1.8em; color: var(--brand); margin-top: 12px; }
.form-status.is-error { color: #a32929; }
button:disabled { opacity: .65; cursor: wait; }
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .7rem; color: var(--muted); }
.footer .container { display: flex; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer a:hover { text-decoration: underline; }
@media (max-width: 1100px) {
    .container { width: calc(100% - 48px); }
    .nav ul { gap: 18px; }
    .header-inner { gap: 20px; }
    .hero-grid { gap: 32px; }
    h1 { font-size: 2.25rem; }
    .product { grid-template-columns: 1fr; }
    .product-image img { aspect-ratio: 2; }
}
@media (max-width: 820px) {
    html { scroll-padding-top: 84px; }
    .container { width: calc(100% - 40px); }
    .header-inner { height: 68px; }
    .logo { font-size: 25px; }
    .menu-toggle { display: block; }
    .nav { display: none; position: absolute; top: 68px; left: 0; width: 100%; padding: 16px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
    .nav.active { display: block; }
    .nav ul { align-items: stretch; flex-direction: column; gap: 4px; }
    .nav a { display: flex; padding: 6px 12px; min-height: 44px; }
    .nav-contact { border: 0; }
    .hero { padding: 36px 0 40px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    h1 { font-size: clamp(1.68rem, 6.5vw, 2.4rem); }
    .hero-desc { font-size: .86rem; margin-top: 18px; }
    .hero-actions { margin-top: 22px; }
    .featured-demo { padding: 12px; }
    .featured-demo > a { display: block; max-width: 520px; margin-inline: auto; }
    figcaption { padding-top: 12px; }
    figcaption small { font-size: .65rem; }
    .section { padding: 48px 0; }
    .section-heading { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
    .demos-grid { grid-template-columns: 1fr; gap: 32px; }
    .demo-card { display: grid; grid-template-columns: .9fr 1fr; gap: 20px; }
    .demo-info { padding-top: 0; }
    .demo-image { align-self: start; padding: 8px; }
    .experiments-grid { grid-template-columns: 1fr; gap: 10px; }
    .experiment { border-bottom: 1px solid var(--line); padding: 14px 0; }
    .service-row { grid-template-columns: 24px 1fr; gap: 12px; padding-block: 24px; }
    .service-row > p { grid-column: 2; }
    .products-grid { gap: 28px; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer .container { flex-direction: column; }
}
@media (max-width: 480px) {
    .demo-card { grid-template-columns: 1fr; gap: 18px; }
    .products-grid { grid-template-columns: 1fr; gap: 32px; }
    .product { grid-template-columns: 104px 1fr; gap: 16px; }
    .product-image img { aspect-ratio: 1; }
    .product h3 { font-size: 1rem; }
    .hero-actions { gap: 20px; }
    .hero-actions .btn { padding-inline: 20px; gap: 24px; }
    .feature-label { font-size: .63rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
