:root {
  --paper: #f4f3ef;
  --ink: #2b2927;
  --link: #234a66;
  --line: #d9d6cf;
  --sans: "Noto Sans JP", sans-serif;
  --serif: "Noto Serif JP", serif;
  --latin: "Montserrat", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.container { width: min(100% - 96px, 1120px); margin-inline: auto; }
.reading-width { max-width: 1120px; }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 0 4.5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 243, 239, .96);
}
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--ink); font-family: var(--serif); font-size: 21px; }
.brand-name { font-family: var(--serif); font-size: 15px; letter-spacing: .08em; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 2.7vw, 44px); font-size: 13px; letter-spacing: .08em; }
.desktop-nav a { text-decoration: none; }
.desktop-nav a:last-child { color: var(--link); }
.menu-button, .mobile-menu { display: none; }

.hero { min-height: 730px; padding: clamp(120px, 13vw, 188px) 0 120px; }
.hero-inner { padding-left: 10.5%; }
.eyebrow { margin: 0 0 22px; font-size: 22px; letter-spacing: .08em; }
.hero h1 { max-width: 900px; margin: 0; font-family: var(--serif); font-size: clamp(42px, 4.2vw, 64px); font-weight: 400; line-height: 1.28; letter-spacing: .015em; }
.hero-copy { margin: 62px 0 0; font-family: var(--serif); font-size: clamp(24px, 2.3vw, 34px); line-height: 1.65; letter-spacing: .055em; }

.section-pad { padding: 138px 0 150px; }
.intro { border-top: 1px solid var(--line); }
.section-label { display: flex; align-items: center; gap: 20px; margin: 0 0 34px; }
.section-label h2 { margin: 0; font-family: var(--serif); font-size: clamp(33.6px, 3vw, 45.6px); font-weight: 400; line-height: 1.4; letter-spacing: .05em; }
.section-number { font-family: var(--latin); font-size: clamp(32.4px, 2.64vw, 40.8px); line-height: 1; letter-spacing: .02em; }
.divider { width: 1px; height: 34px; background: currentColor; opacity: .72; }
.section-label--intro .section-number { font-size: 30px; }
.lead-copy, .feature-copy { margin: 0; font-family: var(--serif); font-size: clamp(25px, 2vw, 32px); line-height: 1.75; letter-spacing: .035em; }
.lead-copy { margin-top: 34px; }
.body-copy { max-width: 1080px; margin-top: 66px; font-size: clamp(16px, 1.28vw, 19px); line-height: 1.9; letter-spacing: .025em; }
.body-copy p { margin: 0 0 27px; }
.body-copy p:last-child { margin-bottom: 0; }
.body-copy strong { font-weight: 500; }

.content-section { padding: 158px 0 170px; border-top: 1px solid var(--line); }
.manufacturing-consulting { padding-bottom: 190px; }
.infographic { margin: 94px 0 0; }
.infographic img { display: block; width: 100%; height: auto; }
.infographic--development { width: min(100%, 1120px); }
.infographic--manufacturing { width: min(100%, 1040px); margin-inline: auto; }

@media (max-width: 820px) {
  body { font-size: 16px; line-height: 1.85; }
  .container { width: min(100% - 44px, 680px); }
  .site-header { min-height: 76px; padding: 0 22px; }
  .brand { gap: 10px; }
  .brand-mark { width: 34px; height: 34px; font-size: 18px; }
  .brand-name { font-size: 12px; letter-spacing: .04em; }
  .desktop-nav { display: none; }
  .menu-button { display: grid; gap: 6px; justify-items: end; padding: 10px 0 10px 16px; color: var(--ink); border: 0; background: transparent; font: 500 10px/1 var(--latin); letter-spacing: .12em; }
  .menu-button i { width: 30px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] i { transform: rotate(-12deg); }
  .mobile-menu { position: absolute; inset: 76px 0 auto; display: grid; padding: 24px 22px 32px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 28px rgba(43,41,39,.07); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { min-height: 48px; display: flex; align-items: center; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 14px; }
  .hero { min-height: 610px; padding: 105px 0 96px; }
  .hero-inner { padding-left: 0; }
  .eyebrow { margin-bottom: 24px; font-size: 18px; }
  .hero h1 { max-width: 680px; font-size: clamp(37px, 11.5vw, 50px); line-height: 1.3; }
  .hero-copy { margin-top: 58px; font-size: clamp(22px, 6.2vw, 28px); line-height: 1.72; letter-spacing: .035em; }
  .pc-only { display: none; }
  .section-pad, .content-section { padding: 100px 0 112px; }
  .section-label { align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 31px; }
  .section-label h2 { width: 100%; margin-top: 5px; font-size: clamp(29px, 8vw, 34px); }
  .section-number { font-size: clamp(28px, 7.5vw, 31px); }
  .section-label--intro .section-number { font-size: 25px; }
  .section-label--intro .divider { height: 30px; }
  .lead-copy, .feature-copy { font-size: clamp(21px, 5.65vw, 25px); line-height: 1.75; overflow-wrap: anywhere; }
  .body-copy { margin-top: 51px; font-size: 16px; line-height: 2; letter-spacing: .015em; }
  .body-copy p { margin-bottom: 26px; }
  .manufacturing-consulting { padding-bottom: 126px; }
  .infographic { width: calc(100% + 20px); margin: 70px -10px 0; }
  .infographic--manufacturing { width: 100%; margin-inline: 0; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 36px); }
  .brand-name { max-width: 138px; white-space: normal; line-height: 1.35; }
  .hero h1 { font-size: 36px; }
  .section-label { gap: 11px; }
  .section-label h2 { font-size: 29px; }
  .section-number { font-size: 28px; }
  .section-label--intro h2,
  #development-title,
  #manufacturing-title { font-size: 26px; letter-spacing: .03em; }
  .lead-copy, .feature-copy { font-size: 21px; }
  .infographic { width: calc(100% + 24px); margin-left: -12px; margin-right: -12px; }
  .infographic--manufacturing { width: 100%; margin-left: 0; margin-right: 0; }
}

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