:root {
  color-scheme: light;
  --ink: #211f1b;
  --dark: #171714;
  --muted: #5e5950;
  --gold: #f9c979;
  --bronze: #795322;
  --paper: #faf9f5;
  --line: #e3ddd1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.8 "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans CJK JP", sans-serif;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid #bf7f26; outline-offset: 5px; }
p, h1, h2, h3, dl, dd { margin: 0; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: -5rem; left: 1rem; background: white; padding: .5rem 1rem; }
.skip:focus { top: .5rem; }
.header { background: var(--dark); color: #fff; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 5.4rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font: 750 1.05rem/1.15 Arial, sans-serif; letter-spacing: .13em; white-space: nowrap; }
.brand small { display: block; margin-top: .4rem; color: #dad3c6; font: 500 .75rem/1.2 "Yu Gothic", Meiryo, sans-serif; letter-spacing: .06em; }
.brand-light { width: 1.8rem; height: 1.8rem; border: 1px solid #d79d51; border-radius: 50%; display: grid; place-items: center; }
.brand-light::after { content: ""; width: .55rem; height: .55rem; background: var(--gold); border-radius: 50%; box-shadow: 0 0 10px #f9c978aa; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); }
nav a { font-size: .875rem; font-weight: 700; text-decoration: none; }
nav a:hover, .footer-inner a:hover { color: var(--gold); }
.nav-contact { padding: .55rem 1rem; border: 1px solid #73644f; border-radius: 3px; white-space: nowrap; }
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 610px;
  background: linear-gradient(90deg, #141310f5 0%, #16140fc9 31%, #15140e38 73%), url("architecture.webp") center 53% / cover, #221d15;
  color: #fff;
  border-top: 1px solid #ffffff22;
}
.hero-inner { padding-block: 5rem; }
.eyebrow { color: var(--bronze); font: 750 .875rem/1.5 Arial, sans-serif; letter-spacing: .18em; }
.hero .eyebrow, .contact .eyebrow { color: var(--gold); }
h1 { font-size: clamp(2.8rem, 6.7vw, 5.6rem); line-height: 1.13; letter-spacing: .015em; margin: .85rem 0 1.55rem; }
.hero-copy { max-width: 26rem; color: #f0e9de; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .65rem 1.25rem; border-radius: 3px; border: 1px solid transparent; font-weight: 750; text-decoration: none; }
.gold { background: var(--gold); color: #2b2016; }
.gold:hover { background: #ffdb9f; }
.outline { border-color: #ffefda9c; background: #15141166; color: #fff; }
.outline:hover { background: #151411d9; }
.image-note { position: absolute; bottom: .75rem; right: 1.15rem; color: white; background: #161410c9; padding: .1rem .45rem; border-radius: 2px; }
.section { padding-block: 5.1rem; }
h2 { font-size: clamp(2rem, 5vw, 3.05rem); line-height: 1.3; margin-top: .45rem; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.section-head > p, .company-copy { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.card-media { height: clamp(8.5rem, 14vw, 11rem); background-color: #26211b; }
.light-media { background: url("architecture.webp") 87% 30% / 155% auto, #26211b; }
.control-media { display: grid; grid-template-columns: repeat(6, .75rem); justify-content: center; align-content: center; gap: 1.25rem; background: radial-gradient(ellipse at 52% 75%, #4c341e, #201c18 68%); }
.control-media i { width: .75rem; aspect-ratio: 1; border-radius: 50%; background: #755637; box-shadow: 0 0 0 5px #e8b67412; }
.control-media i:nth-child(3n), .control-media i:nth-child(4n + 1) { background: #ffca79; box-shadow: 0 0 20px 4px #ffc16180; }
.component-media { background: url("components.webp") center 52% / cover, #26211b; }
.card-body { padding: 1.35rem; }
.card h3 { font-size: 1.3rem; line-height: 1.5; margin-bottom: .55rem; }
.card-body > p:not(.tags) { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.tags span { background: #f5efe4; color: #60451f; padding: .11rem .55rem; border-radius: 2px; font-size: .875rem; }
.partner-section { margin-top: 3.25rem; }
.partner-section .section-head { align-items: center; margin-bottom: 1.15rem; }
.partner-section .section-head h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.partner-section .section-head a { justify-self: start; }
.partner-list { margin: 0; padding: 0; list-style: none; }
.partner-media { display: grid; place-items: center; min-height: 9.5rem; padding: .75rem; border-bottom: 1px solid var(--line); }
.product-photo { background-image: url("partner-products.png"); background-repeat: no-repeat; }
.product-photo-interled { width: min(100%, 8.5rem); aspect-ratio: 138 / 111; background-size: 642.7536% auto; background-position: 70.0935% 48.2549%; }
.product-photo-opsco { width: min(100%, 17rem); aspect-ratio: 282 / 100; background-size: 314.5390% auto; background-position: 76.1983% 71.1940%; }
.product-photo-toys { width: min(100%, 17rem); aspect-ratio: 316 / 118; background-size: 280.6962% auto; background-position: 74.6060% 99.6933%; }
.partner-list h4 { margin: 0 0 .4rem; font-size: 1.22rem; }
.partner-list .partner-name { margin-bottom: .7rem; overflow-wrap: anywhere; }
.reference-link { display: inline-block; color: #624418; text-underline-offset: .25rem; }
.partner-list .reference-link { margin-top: .6rem; }
.downloads { background: #fff; border-top: 1px solid var(--line); }
.document-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.document-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.document-list h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.document-list p { color: var(--muted); }
.document-meta { font-size: .875rem; margin-top: .35rem; }
.download-button { color: #60451f; border-color: #ac8853; flex-shrink: 0; }
.download-button:hover { background: #f5efe4; }
.company { background: #f0ede5; }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.company-copy { margin-top: 1rem; max-width: 27rem; }
.shop { display: inline-block; margin-top: 1.15rem; color: #624418; text-underline-offset: .25rem; }
.company-facts { border-top: 1px solid #d7cfc0; }
.company-facts > div { display: grid; grid-template-columns: 6rem 1fr; gap: .65rem; border-bottom: 1px solid #d7cfc0; padding: .8rem .25rem; }
dt { color: var(--muted); font-weight: 700; }
.contact { color: white; background: #24211b; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.contact h2 + p { margin-top: .9rem; color: #e9e0d3; }
.contact-actions { display: grid; gap: .65rem; text-align: center; }
.phone { font-size: 1.2rem; font-weight: 700; text-underline-offset: .2em; }
footer { color: #e2dbd0; background: var(--dark); border-top: 1px solid #ffffff18; }
.footer-inner { min-height: 4.25rem; }
.footer-inner a { font: 700 .875rem/1.3 Arial, sans-serif; text-decoration: none; letter-spacing: .13em; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero { min-height: 540px; }
  .company-grid { gap: 2rem; }
  .cards { gap: .8rem; }
  .card-body { padding: 1rem; }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; justify-content: flex-start; gap: .8rem; padding-block: 1rem; }
  nav { width: 100%; justify-content: space-between; gap: .5rem; }
  .nav-contact { padding-inline: .55rem; }
  .hero { min-height: 500px; background-position: 64% center; }
  .hero-inner { padding-block: 3.25rem; }
  .section { padding-block: 3.25rem; }
  .section-head, .cards, .company-grid { grid-template-columns: 1fr; gap: 1rem; }
  .card-media { height: 10.5rem; }
  .company-facts { margin-top: .7rem; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .document-list li { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .desktop { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
